OSDN Git Service

2007-01-29 Benjamin Kosnik <bkoz@redhat.com>
[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 LIBICONV LTLIBICONV 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 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-rpath         do not hardcode runtime library paths
855   --disable-hosted-libstdcxx
856                           only build freestanding C++ runtime support
857   --enable-sjlj-exceptions
858                           force use of builtin_setjmp for exceptions
859                           [default=auto]
860   --enable-libstdcxx-pch  build pre-compiled libstdc++ headers
861                           [default=$is_hosted]
862   --enable-cstdio=PACKAGE use target-specific I/O package
863                           [default=stdio]
864   --enable-clocale[=MODEL]
865                           use MODEL for target locale package
866                           [default=auto]
867   --enable-nls            use Native Language Support (default)
868   --enable-libstdcxx-allocator=KIND
869                           use KIND for target std::allocator base
870                           [default=auto]
871   --enable-cheaders=KIND  construct "C" headers for g++
872                           [default=$c_model]
873   --enable-long-long      enable template specializations for 'long long'
874                           [default=yes]
875   --enable-wchar_t        enable template specializations for 'wchar_t'
876                           [default=yes]
877   --enable-c99            turns on ISO/IEC 9899:1999 support
878                           [default=yes]
879   --enable-concept-checks use Boost-derived template checks [default=no]
880   --enable-libstdcxx-debug-flags=FLAGS
881                           pass compiler FLAGS when building debug library
882                           [default="-g3 -O0"]
883   --enable-libstdcxx-debug
884                           build extra debug library [default=no]
885   --enable-cxx-flags=FLAGS
886                           pass compiler FLAGS when building library
887                           [default=]
888   --enable-fully-dynamic-string
889                           do not put empty strings in per-process static
890                           memory [default=no]
891   --enable-tls            Use thread-local storage [default=yes]
892   --enable-symvers=STYLE  enables symbol versioning of the shared library
893                           [default=yes]
894   --enable-visibility     enables visibility safe usage [default=yes]
895   --enable-version-specific-runtime-libs
896                           Specify that runtime libraries should be installed
897                           in a compiler-specific directory
898
899 Optional Packages:
900   --with-PACKAGE[=ARG]    use PACKAGE [ARG=yes]
901   --without-PACKAGE       do not use PACKAGE (same as --with-PACKAGE=no)
902   --with-target-subdir=SUBDIR
903                           configuring in a subdirectory
904   --with-cross-host=HOST  configuring with a cross compiler
905   --with-newlib           assume newlib as a system C library
906   --with-gnu-ld           assume the C compiler uses GNU ld default=no
907   --with-pic              try to use only PIC/non-PIC objects default=use both
908   --with-libiconv-prefix[=DIR]  search for libiconv in DIR/include and DIR/lib
909   --without-libiconv-prefix     don't search for libiconv in includedir and libdir
910   --with-gxx-include-dir=DIR
911                           installation directory for include files
912
913 Some influential environment variables:
914   CC          C compiler command
915   CFLAGS      C compiler flags
916   LDFLAGS     linker flags, e.g. -L<lib dir> if you have libraries in a
917               nonstandard directory <lib dir>
918   CPPFLAGS    C/C++ preprocessor flags, e.g. -I<include dir> if you have
919               headers in a nonstandard directory <include dir>
920   CXX         C++ compiler command
921   CXXFLAGS    C++ compiler flags
922   CPP         C preprocessor
923   CXXCPP      C++ preprocessor
924
925 Use these variables to override the choices made by `configure' or to help
926 it to find libraries and programs with nonstandard names/locations.
927
928 _ACEOF
929 fi
930
931 if test "$ac_init_help" = "recursive"; then
932   # If there are subdirs, report their specific --help.
933   ac_popdir=`pwd`
934   for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
935     test -d $ac_dir || continue
936     ac_builddir=.
937
938 if test "$ac_dir" != .; then
939   ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
940   # A "../" for each directory in $ac_dir_suffix.
941   ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
942 else
943   ac_dir_suffix= ac_top_builddir=
944 fi
945
946 case $srcdir in
947   .)  # No --srcdir option.  We are building in place.
948     ac_srcdir=.
949     if test -z "$ac_top_builddir"; then
950        ac_top_srcdir=.
951     else
952        ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
953     fi ;;
954   [\\/]* | ?:[\\/]* )  # Absolute path.
955     ac_srcdir=$srcdir$ac_dir_suffix;
956     ac_top_srcdir=$srcdir ;;
957   *) # Relative path.
958     ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
959     ac_top_srcdir=$ac_top_builddir$srcdir ;;
960 esac
961
962 # Do not use `cd foo && pwd` to compute absolute paths, because
963 # the directories may not exist.
964 case `pwd` in
965 .) ac_abs_builddir="$ac_dir";;
966 *)
967   case "$ac_dir" in
968   .) ac_abs_builddir=`pwd`;;
969   [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
970   *) ac_abs_builddir=`pwd`/"$ac_dir";;
971   esac;;
972 esac
973 case $ac_abs_builddir in
974 .) ac_abs_top_builddir=${ac_top_builddir}.;;
975 *)
976   case ${ac_top_builddir}. in
977   .) ac_abs_top_builddir=$ac_abs_builddir;;
978   [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
979   *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
980   esac;;
981 esac
982 case $ac_abs_builddir in
983 .) ac_abs_srcdir=$ac_srcdir;;
984 *)
985   case $ac_srcdir in
986   .) ac_abs_srcdir=$ac_abs_builddir;;
987   [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
988   *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
989   esac;;
990 esac
991 case $ac_abs_builddir in
992 .) ac_abs_top_srcdir=$ac_top_srcdir;;
993 *)
994   case $ac_top_srcdir in
995   .) ac_abs_top_srcdir=$ac_abs_builddir;;
996   [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
997   *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
998   esac;;
999 esac
1000
1001     cd $ac_dir
1002     # Check for guested configure; otherwise get Cygnus style configure.
1003     if test -f $ac_srcdir/configure.gnu; then
1004       echo
1005       $SHELL $ac_srcdir/configure.gnu  --help=recursive
1006     elif test -f $ac_srcdir/configure; then
1007       echo
1008       $SHELL $ac_srcdir/configure  --help=recursive
1009     elif test -f $ac_srcdir/configure.ac ||
1010            test -f $ac_srcdir/configure.in; then
1011       echo
1012       $ac_configure --help
1013     else
1014       echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1015     fi
1016     cd $ac_popdir
1017   done
1018 fi
1019
1020 test -n "$ac_init_help" && exit 0
1021 if $ac_init_version; then
1022   cat <<\_ACEOF
1023 package-unused configure version-unused
1024 generated by GNU Autoconf 2.59
1025
1026 Copyright (C) 2003 Free Software Foundation, Inc.
1027 This configure script is free software; the Free Software Foundation
1028 gives unlimited permission to copy, distribute and modify it.
1029 _ACEOF
1030   exit 0
1031 fi
1032 exec 5>config.log
1033 cat >&5 <<_ACEOF
1034 This file contains any messages produced by compilers while
1035 running configure, to aid debugging if configure makes a mistake.
1036
1037 It was created by package-unused $as_me version-unused, which was
1038 generated by GNU Autoconf 2.59.  Invocation command line was
1039
1040   $ $0 $@
1041
1042 _ACEOF
1043 {
1044 cat <<_ASUNAME
1045 ## --------- ##
1046 ## Platform. ##
1047 ## --------- ##
1048
1049 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
1050 uname -m = `(uname -m) 2>/dev/null || echo unknown`
1051 uname -r = `(uname -r) 2>/dev/null || echo unknown`
1052 uname -s = `(uname -s) 2>/dev/null || echo unknown`
1053 uname -v = `(uname -v) 2>/dev/null || echo unknown`
1054
1055 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
1056 /bin/uname -X     = `(/bin/uname -X) 2>/dev/null     || echo unknown`
1057
1058 /bin/arch              = `(/bin/arch) 2>/dev/null              || echo unknown`
1059 /usr/bin/arch -k       = `(/usr/bin/arch -k) 2>/dev/null       || echo unknown`
1060 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
1061 hostinfo               = `(hostinfo) 2>/dev/null               || echo unknown`
1062 /bin/machine           = `(/bin/machine) 2>/dev/null           || echo unknown`
1063 /usr/bin/oslevel       = `(/usr/bin/oslevel) 2>/dev/null       || echo unknown`
1064 /bin/universe          = `(/bin/universe) 2>/dev/null          || echo unknown`
1065
1066 _ASUNAME
1067
1068 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1069 for as_dir in $PATH
1070 do
1071   IFS=$as_save_IFS
1072   test -z "$as_dir" && as_dir=.
1073   echo "PATH: $as_dir"
1074 done
1075
1076 } >&5
1077
1078 cat >&5 <<_ACEOF
1079
1080
1081 ## ----------- ##
1082 ## Core tests. ##
1083 ## ----------- ##
1084
1085 _ACEOF
1086
1087
1088 # Keep a trace of the command line.
1089 # Strip out --no-create and --no-recursion so they do not pile up.
1090 # Strip out --silent because we don't want to record it for future runs.
1091 # Also quote any args containing shell meta-characters.
1092 # Make two passes to allow for proper duplicate-argument suppression.
1093 ac_configure_args=
1094 ac_configure_args0=
1095 ac_configure_args1=
1096 ac_sep=
1097 ac_must_keep_next=false
1098 for ac_pass in 1 2
1099 do
1100   for ac_arg
1101   do
1102     case $ac_arg in
1103     -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
1104     -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1105     | -silent | --silent | --silen | --sile | --sil)
1106       continue ;;
1107     *" "*|*"    "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
1108       ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1109     esac
1110     case $ac_pass in
1111     1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;;
1112     2)
1113       ac_configure_args1="$ac_configure_args1 '$ac_arg'"
1114       if test $ac_must_keep_next = true; then
1115         ac_must_keep_next=false # Got value, back to normal.
1116       else
1117         case $ac_arg in
1118           *=* | --config-cache | -C | -disable-* | --disable-* \
1119           | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
1120           | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
1121           | -with-* | --with-* | -without-* | --without-* | --x)
1122             case "$ac_configure_args0 " in
1123               "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1124             esac
1125             ;;
1126           -* ) ac_must_keep_next=true ;;
1127         esac
1128       fi
1129       ac_configure_args="$ac_configure_args$ac_sep'$ac_arg'"
1130       # Get rid of the leading space.
1131       ac_sep=" "
1132       ;;
1133     esac
1134   done
1135 done
1136 $as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; }
1137 $as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; }
1138
1139 # When interrupted or exit'd, cleanup temporary files, and complete
1140 # config.log.  We remove comments because anyway the quotes in there
1141 # would cause problems or look ugly.
1142 # WARNING: Be sure not to use single quotes in there, as some shells,
1143 # such as our DU 5.0 friend, will then `close' the trap.
1144 trap 'exit_status=$?
1145   # Save into config.log some information that might help in debugging.
1146   {
1147     echo
1148
1149     cat <<\_ASBOX
1150 ## ---------------- ##
1151 ## Cache variables. ##
1152 ## ---------------- ##
1153 _ASBOX
1154     echo
1155     # The following way of writing the cache mishandles newlines in values,
1156 {
1157   (set) 2>&1 |
1158     case `(ac_space='"'"' '"'"'; set | grep ac_space) 2>&1` in
1159     *ac_space=\ *)
1160       sed -n \
1161         "s/'"'"'/'"'"'\\\\'"'"''"'"'/g;
1162           s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='"'"'\\2'"'"'/p"
1163       ;;
1164     *)
1165       sed -n \
1166         "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
1167       ;;
1168     esac;
1169 }
1170     echo
1171
1172     cat <<\_ASBOX
1173 ## ----------------- ##
1174 ## Output variables. ##
1175 ## ----------------- ##
1176 _ASBOX
1177     echo
1178     for ac_var in $ac_subst_vars
1179     do
1180       eval ac_val=$`echo $ac_var`
1181       echo "$ac_var='"'"'$ac_val'"'"'"
1182     done | sort
1183     echo
1184
1185     if test -n "$ac_subst_files"; then
1186       cat <<\_ASBOX
1187 ## ------------- ##
1188 ## Output files. ##
1189 ## ------------- ##
1190 _ASBOX
1191       echo
1192       for ac_var in $ac_subst_files
1193       do
1194         eval ac_val=$`echo $ac_var`
1195         echo "$ac_var='"'"'$ac_val'"'"'"
1196       done | sort
1197       echo
1198     fi
1199
1200     if test -s confdefs.h; then
1201       cat <<\_ASBOX
1202 ## ----------- ##
1203 ## confdefs.h. ##
1204 ## ----------- ##
1205 _ASBOX
1206       echo
1207       sed "/^$/d" confdefs.h | sort
1208       echo
1209     fi
1210     test "$ac_signal" != 0 &&
1211       echo "$as_me: caught signal $ac_signal"
1212     echo "$as_me: exit $exit_status"
1213   } >&5
1214   rm -f core *.core &&
1215   rm -rf conftest* confdefs* conf$$* $ac_clean_files &&
1216     exit $exit_status
1217      ' 0
1218 for ac_signal in 1 2 13 15; do
1219   trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
1220 done
1221 ac_signal=0
1222
1223 # confdefs.h avoids OS command line length limits that DEFS can exceed.
1224 rm -rf conftest* confdefs.h
1225 # AIX cpp loses on an empty file, so make sure it contains at least a newline.
1226 echo >confdefs.h
1227
1228 # Predefined preprocessor variables.
1229
1230 cat >>confdefs.h <<_ACEOF
1231 #define PACKAGE_NAME "$PACKAGE_NAME"
1232 _ACEOF
1233
1234
1235 cat >>confdefs.h <<_ACEOF
1236 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1237 _ACEOF
1238
1239
1240 cat >>confdefs.h <<_ACEOF
1241 #define PACKAGE_VERSION "$PACKAGE_VERSION"
1242 _ACEOF
1243
1244
1245 cat >>confdefs.h <<_ACEOF
1246 #define PACKAGE_STRING "$PACKAGE_STRING"
1247 _ACEOF
1248
1249
1250 cat >>confdefs.h <<_ACEOF
1251 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1252 _ACEOF
1253
1254
1255 # Let the site file select an alternate cache file if it wants to.
1256 # Prefer explicitly selected file to automatically selected ones.
1257 if test -z "$CONFIG_SITE"; then
1258   if test "x$prefix" != xNONE; then
1259     CONFIG_SITE="$prefix/share/config.site $prefix/etc/config.site"
1260   else
1261     CONFIG_SITE="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site"
1262   fi
1263 fi
1264 for ac_site_file in $CONFIG_SITE; do
1265   if test -r "$ac_site_file"; then
1266     { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
1267 echo "$as_me: loading site script $ac_site_file" >&6;}
1268     sed 's/^/| /' "$ac_site_file" >&5
1269     . "$ac_site_file"
1270   fi
1271 done
1272
1273 if test -r "$cache_file"; then
1274   # Some versions of bash will fail to source /dev/null (special
1275   # files actually), so we avoid doing that.
1276   if test -f "$cache_file"; then
1277     { echo "$as_me:$LINENO: loading cache $cache_file" >&5
1278 echo "$as_me: loading cache $cache_file" >&6;}
1279     case $cache_file in
1280       [\\/]* | ?:[\\/]* ) . $cache_file;;
1281       *)                      . ./$cache_file;;
1282     esac
1283   fi
1284 else
1285   { echo "$as_me:$LINENO: creating cache $cache_file" >&5
1286 echo "$as_me: creating cache $cache_file" >&6;}
1287   >$cache_file
1288 fi
1289
1290 # Check that the precious variables saved in the cache have kept the same
1291 # value.
1292 ac_cache_corrupted=false
1293 for ac_var in `(set) 2>&1 |
1294                sed -n 's/^ac_env_\([a-zA-Z_0-9]*\)_set=.*/\1/p'`; do
1295   eval ac_old_set=\$ac_cv_env_${ac_var}_set
1296   eval ac_new_set=\$ac_env_${ac_var}_set
1297   eval ac_old_val="\$ac_cv_env_${ac_var}_value"
1298   eval ac_new_val="\$ac_env_${ac_var}_value"
1299   case $ac_old_set,$ac_new_set in
1300     set,)
1301       { echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
1302 echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
1303       ac_cache_corrupted=: ;;
1304     ,set)
1305       { echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5
1306 echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
1307       ac_cache_corrupted=: ;;
1308     ,);;
1309     *)
1310       if test "x$ac_old_val" != "x$ac_new_val"; then
1311         { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
1312 echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
1313         { echo "$as_me:$LINENO:   former value:  $ac_old_val" >&5
1314 echo "$as_me:   former value:  $ac_old_val" >&2;}
1315         { echo "$as_me:$LINENO:   current value: $ac_new_val" >&5
1316 echo "$as_me:   current value: $ac_new_val" >&2;}
1317         ac_cache_corrupted=:
1318       fi;;
1319   esac
1320   # Pass precious variables to config.status.
1321   if test "$ac_new_set" = set; then
1322     case $ac_new_val in
1323     *" "*|*"    "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
1324       ac_arg=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
1325     *) ac_arg=$ac_var=$ac_new_val ;;
1326     esac
1327     case " $ac_configure_args " in
1328       *" '$ac_arg' "*) ;; # Avoid dups.  Use of quotes ensures accuracy.
1329       *) ac_configure_args="$ac_configure_args '$ac_arg'" ;;
1330     esac
1331   fi
1332 done
1333 if $ac_cache_corrupted; then
1334   { echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
1335 echo "$as_me: error: changes in the environment can compromise the build" >&2;}
1336   { { echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5
1337 echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;}
1338    { (exit 1); exit 1; }; }
1339 fi
1340
1341 ac_ext=c
1342 ac_cpp='$CPP $CPPFLAGS'
1343 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1344 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1345 ac_compiler_gnu=$ac_cv_c_compiler_gnu
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
1373
1374           ac_config_headers="$ac_config_headers config.h"
1375
1376
1377 # This works around the fact that libtool configuration may change LD
1378 # for this particular configuration, but some shells, instead of
1379 # keeping the changes in LD private, export them just because LD is
1380 # exported.  Only used at the end of this file.
1381 ### am handles this now?  ORIGINAL_LD_FOR_MULTILIBS=$LD
1382
1383 # For libtool versioning info, format is CURRENT:REVISION:AGE
1384 libtool_VERSION=6:10:0
1385
1386
1387 # Find the rest of the source tree framework.
1388 # Default to --enable-multilib
1389 # Check whether --enable-multilib or --disable-multilib was given.
1390 if test "${enable_multilib+set}" = set; then
1391   enableval="$enable_multilib"
1392   case "$enableval" in
1393   yes) multilib=yes ;;
1394   no)  multilib=no ;;
1395   *)   { { echo "$as_me:$LINENO: error: bad value $enableval for multilib option" >&5
1396 echo "$as_me: error: bad value $enableval for multilib option" >&2;}
1397    { (exit 1); exit 1; }; } ;;
1398  esac
1399 else
1400   multilib=yes
1401 fi;
1402
1403 # We may get other options which we leave undocumented:
1404 # --with-target-subdir, --with-multisrctop, --with-multisubdir
1405 # See config-ml.in if you want the gory details.
1406
1407 if test "$srcdir" = "."; then
1408   if test "$with_target_subdir" != "."; then
1409     multi_basedir="$srcdir/$with_multisrctop../.."
1410   else
1411     multi_basedir="$srcdir/$with_multisrctop.."
1412   fi
1413 else
1414   multi_basedir="$srcdir/.."
1415 fi
1416
1417
1418 # Even if the default multilib is not a cross compilation,
1419 # it may be that some of the other multilibs are.
1420 if test $cross_compiling = no && test $multilib = yes \
1421    && test "x${with_multisubdir}" != x ; then
1422    cross_compiling=maybe
1423 fi
1424
1425           ac_config_commands="$ac_config_commands default-1"
1426
1427
1428 # Gets build, host, target, *_vendor, *_cpu, *_os, etc.
1429 #
1430 # You will slowly go insane if you do not grok the following fact:  when
1431 # building v3 as part of the compiler, the top-level /target/ becomes the
1432 # library's /host/.  configure then causes --target to default to --host,
1433 # exactly like any other package using autoconf.  Therefore, 'target' and
1434 # 'host' will always be the same.  This makes sense both for native and
1435 # cross compilers, just think about it for a little while.  :-)
1436 #
1437 # Also, if v3 is being configured as part of a cross compiler, the top-level
1438 # configure script will pass the "real" host as $with_cross_host.
1439 #
1440 # Do not delete or change the following two lines.  For why, see
1441 # http://gcc.gnu.org/ml/libstdc++/2003-07/msg00451.html
1442 ac_aux_dir=
1443 for ac_dir in $srcdir $srcdir/.. $srcdir/../..; do
1444   if test -f $ac_dir/install-sh; then
1445     ac_aux_dir=$ac_dir
1446     ac_install_sh="$ac_aux_dir/install-sh -c"
1447     break
1448   elif test -f $ac_dir/install.sh; then
1449     ac_aux_dir=$ac_dir
1450     ac_install_sh="$ac_aux_dir/install.sh -c"
1451     break
1452   elif test -f $ac_dir/shtool; then
1453     ac_aux_dir=$ac_dir
1454     ac_install_sh="$ac_aux_dir/shtool install -c"
1455     break
1456   fi
1457 done
1458 if test -z "$ac_aux_dir"; then
1459   { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&5
1460 echo "$as_me: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&2;}
1461    { (exit 1); exit 1; }; }
1462 fi
1463 ac_config_guess="$SHELL $ac_aux_dir/config.guess"
1464 ac_config_sub="$SHELL $ac_aux_dir/config.sub"
1465 ac_configure="$SHELL $ac_aux_dir/configure" # This should be Cygnus configure.
1466
1467 # Make sure we can run config.sub.
1468 $ac_config_sub sun4 >/dev/null 2>&1 ||
1469   { { echo "$as_me:$LINENO: error: cannot run $ac_config_sub" >&5
1470 echo "$as_me: error: cannot run $ac_config_sub" >&2;}
1471    { (exit 1); exit 1; }; }
1472
1473 echo "$as_me:$LINENO: checking build system type" >&5
1474 echo $ECHO_N "checking build system type... $ECHO_C" >&6
1475 if test "${ac_cv_build+set}" = set; then
1476   echo $ECHO_N "(cached) $ECHO_C" >&6
1477 else
1478   ac_cv_build_alias=$build_alias
1479 test -z "$ac_cv_build_alias" &&
1480   ac_cv_build_alias=`$ac_config_guess`
1481 test -z "$ac_cv_build_alias" &&
1482   { { echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5
1483 echo "$as_me: error: cannot guess build type; you must specify one" >&2;}
1484    { (exit 1); exit 1; }; }
1485 ac_cv_build=`$ac_config_sub $ac_cv_build_alias` ||
1486   { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_build_alias failed" >&5
1487 echo "$as_me: error: $ac_config_sub $ac_cv_build_alias failed" >&2;}
1488    { (exit 1); exit 1; }; }
1489
1490 fi
1491 echo "$as_me:$LINENO: result: $ac_cv_build" >&5
1492 echo "${ECHO_T}$ac_cv_build" >&6
1493 build=$ac_cv_build
1494 build_cpu=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
1495 build_vendor=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
1496 build_os=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
1497
1498
1499 echo "$as_me:$LINENO: checking host system type" >&5
1500 echo $ECHO_N "checking host system type... $ECHO_C" >&6
1501 if test "${ac_cv_host+set}" = set; then
1502   echo $ECHO_N "(cached) $ECHO_C" >&6
1503 else
1504   ac_cv_host_alias=$host_alias
1505 test -z "$ac_cv_host_alias" &&
1506   ac_cv_host_alias=$ac_cv_build_alias
1507 ac_cv_host=`$ac_config_sub $ac_cv_host_alias` ||
1508   { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_host_alias failed" >&5
1509 echo "$as_me: error: $ac_config_sub $ac_cv_host_alias failed" >&2;}
1510    { (exit 1); exit 1; }; }
1511
1512 fi
1513 echo "$as_me:$LINENO: result: $ac_cv_host" >&5
1514 echo "${ECHO_T}$ac_cv_host" >&6
1515 host=$ac_cv_host
1516 host_cpu=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
1517 host_vendor=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
1518 host_os=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
1519
1520
1521 echo "$as_me:$LINENO: checking target system type" >&5
1522 echo $ECHO_N "checking target system type... $ECHO_C" >&6
1523 if test "${ac_cv_target+set}" = set; then
1524   echo $ECHO_N "(cached) $ECHO_C" >&6
1525 else
1526   ac_cv_target_alias=$target_alias
1527 test "x$ac_cv_target_alias" = "x" &&
1528   ac_cv_target_alias=$ac_cv_host_alias
1529 ac_cv_target=`$ac_config_sub $ac_cv_target_alias` ||
1530   { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_target_alias failed" >&5
1531 echo "$as_me: error: $ac_config_sub $ac_cv_target_alias failed" >&2;}
1532    { (exit 1); exit 1; }; }
1533
1534 fi
1535 echo "$as_me:$LINENO: result: $ac_cv_target" >&5
1536 echo "${ECHO_T}$ac_cv_target" >&6
1537 target=$ac_cv_target
1538 target_cpu=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
1539 target_vendor=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
1540 target_os=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
1541
1542
1543 # The aliases save the names the user supplied, while $host etc.
1544 # will get canonicalized.
1545 test -n "$target_alias" &&
1546   test "$program_prefix$program_suffix$program_transform_name" = \
1547     NONENONEs,x,x, &&
1548   program_prefix=${target_alias}-
1549 target_alias=${target_alias-$host_alias}
1550
1551 # Handy for debugging:
1552 #AC_MSG_NOTICE($build / $host / $target / $host_alias / $target_alias); sleep 5
1553
1554 if test "$build" != "$host"; then
1555   # We are being configured with some form of cross compiler.
1556   GLIBCXX_IS_NATIVE=false
1557   case "$host","$target" in
1558     # Darwin crosses can use the host system's libraries and headers,
1559     # because of the fat library support.  Of course, it must be the
1560     # same version of Darwin on both sides.  Allow the user to
1561     # just say --target=foo-darwin without a version number to mean
1562     # "the version on this system".
1563       *-*-darwin*,*-*-darwin*)
1564         hostos=`echo $host | sed 's/.*-darwin/darwin/'`
1565         targetos=`echo $target | sed 's/.*-darwin/darwin/'`
1566         if test $hostos = $targetos -o $targetos = darwin ; then
1567           GLIBCXX_IS_NATIVE=true
1568         fi
1569         ;;
1570
1571       *)
1572
1573         ;;
1574   esac
1575 else
1576   GLIBCXX_IS_NATIVE=true
1577 fi
1578
1579 # Sets up automake.  Must come after AC_CANONICAL_SYSTEM.  Each of the
1580 # following is magically included in AUTOMAKE_OPTIONS in each Makefile.am.
1581 #  1.x:  minimum required version
1582 #  no-define:  PACKAGE and VERSION will not be #define'd in config.h (a bunch
1583 #              of other PACKAGE_* variables will, however, and there's nothing
1584 #              we can do about that; they come from AC_INIT).
1585 #  foreign:  we don't follow the normal rules for GNU packages (no COPYING
1586 #            file in the top srcdir, etc, etc), so stop complaining.
1587 #  no-dependencies:  turns off auto dependency generation (just for now)
1588 #  -Wall:  turns on all automake warnings...
1589 #  -Wno-portability:  ...except this one, since GNU make is now required.
1590 am__api_version="1.9"
1591 # Find a good install program.  We prefer a C program (faster),
1592 # so one script is as good as another.  But avoid the broken or
1593 # incompatible versions:
1594 # SysV /etc/install, /usr/sbin/install
1595 # SunOS /usr/etc/install
1596 # IRIX /sbin/install
1597 # AIX /bin/install
1598 # AmigaOS /C/install, which installs bootblocks on floppy discs
1599 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
1600 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
1601 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
1602 # OS/2's system install, which has a completely different semantic
1603 # ./install, which can be erroneously created by make from ./install.sh.
1604 echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
1605 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6
1606 if test -z "$INSTALL"; then
1607 if test "${ac_cv_path_install+set}" = set; then
1608   echo $ECHO_N "(cached) $ECHO_C" >&6
1609 else
1610   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1611 for as_dir in $PATH
1612 do
1613   IFS=$as_save_IFS
1614   test -z "$as_dir" && as_dir=.
1615   # Account for people who put trailing slashes in PATH elements.
1616 case $as_dir/ in
1617   ./ | .// | /cC/* | \
1618   /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
1619   ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \
1620   /usr/ucb/* ) ;;
1621   *)
1622     # OSF1 and SCO ODT 3.0 have their own names for install.
1623     # Don't use installbsd from OSF since it installs stuff as root
1624     # by default.
1625     for ac_prog in ginstall scoinst install; do
1626       for ac_exec_ext in '' $ac_executable_extensions; do
1627         if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
1628           if test $ac_prog = install &&
1629             grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
1630             # AIX install.  It has an incompatible calling convention.
1631             :
1632           elif test $ac_prog = install &&
1633             grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
1634             # program-specific install script used by HP pwplus--don't use.
1635             :
1636           else
1637             ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
1638             break 3
1639           fi
1640         fi
1641       done
1642     done
1643     ;;
1644 esac
1645 done
1646
1647
1648 fi
1649   if test "${ac_cv_path_install+set}" = set; then
1650     INSTALL=$ac_cv_path_install
1651   else
1652     # As a last resort, use the slow shell script.  We don't cache a
1653     # path for INSTALL within a source directory, because that will
1654     # break other packages using the cache if that directory is
1655     # removed, or if the path is relative.
1656     INSTALL=$ac_install_sh
1657   fi
1658 fi
1659 echo "$as_me:$LINENO: result: $INSTALL" >&5
1660 echo "${ECHO_T}$INSTALL" >&6
1661
1662 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
1663 # It thinks the first close brace ends the variable substitution.
1664 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
1665
1666 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
1667
1668 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
1669
1670 echo "$as_me:$LINENO: checking whether build environment is sane" >&5
1671 echo $ECHO_N "checking whether build environment is sane... $ECHO_C" >&6
1672 # Just in case
1673 sleep 1
1674 echo timestamp > conftest.file
1675 # Do `set' in a subshell so we don't clobber the current shell's
1676 # arguments.  Must try -L first in case configure is actually a
1677 # symlink; some systems play weird games with the mod time of symlinks
1678 # (eg FreeBSD returns the mod time of the symlink's containing
1679 # directory).
1680 if (
1681    set X `ls -Lt $srcdir/configure conftest.file 2> /dev/null`
1682    if test "$*" = "X"; then
1683       # -L didn't work.
1684       set X `ls -t $srcdir/configure conftest.file`
1685    fi
1686    rm -f conftest.file
1687    if test "$*" != "X $srcdir/configure conftest.file" \
1688       && test "$*" != "X conftest.file $srcdir/configure"; then
1689
1690       # If neither matched, then we have a broken ls.  This can happen
1691       # if, for instance, CONFIG_SHELL is bash and it inherits a
1692       # broken ls alias from the environment.  This has actually
1693       # happened.  Such a system could not be considered "sane".
1694       { { echo "$as_me:$LINENO: error: ls -t appears to fail.  Make sure there is not a broken
1695 alias in your environment" >&5
1696 echo "$as_me: error: ls -t appears to fail.  Make sure there is not a broken
1697 alias in your environment" >&2;}
1698    { (exit 1); exit 1; }; }
1699    fi
1700
1701    test "$2" = conftest.file
1702    )
1703 then
1704    # Ok.
1705    :
1706 else
1707    { { echo "$as_me:$LINENO: error: newly created file is older than distributed files!
1708 Check your system clock" >&5
1709 echo "$as_me: error: newly created file is older than distributed files!
1710 Check your system clock" >&2;}
1711    { (exit 1); exit 1; }; }
1712 fi
1713 echo "$as_me:$LINENO: result: yes" >&5
1714 echo "${ECHO_T}yes" >&6
1715 test "$program_prefix" != NONE &&
1716   program_transform_name="s,^,$program_prefix,;$program_transform_name"
1717 # Use a double $ so make ignores it.
1718 test "$program_suffix" != NONE &&
1719   program_transform_name="s,\$,$program_suffix,;$program_transform_name"
1720 # Double any \ or $.  echo might interpret backslashes.
1721 # By default was `s,x,x', remove it if useless.
1722 cat <<\_ACEOF >conftest.sed
1723 s/[\\$]/&&/g;s/;s,x,x,$//
1724 _ACEOF
1725 program_transform_name=`echo $program_transform_name | sed -f conftest.sed`
1726 rm conftest.sed
1727
1728 # expand $ac_aux_dir to an absolute path
1729 am_aux_dir=`cd $ac_aux_dir && pwd`
1730
1731 test x"${MISSING+set}" = xset || MISSING="\${SHELL} $am_aux_dir/missing"
1732 # Use eval to expand $SHELL
1733 if eval "$MISSING --run true"; then
1734   am_missing_run="$MISSING --run "
1735 else
1736   am_missing_run=
1737   { echo "$as_me:$LINENO: WARNING: \`missing' script is too old or missing" >&5
1738 echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
1739 fi
1740
1741 if mkdir -p --version . >/dev/null 2>&1 && test ! -d ./--version; then
1742   # We used to keeping the `.' as first argument, in order to
1743   # allow $(mkdir_p) to be used without argument.  As in
1744   #   $(mkdir_p) $(somedir)
1745   # where $(somedir) is conditionally defined.  However this is wrong
1746   # for two reasons:
1747   #  1. if the package is installed by a user who cannot write `.'
1748   #     make install will fail,
1749   #  2. the above comment should most certainly read
1750   #     $(mkdir_p) $(DESTDIR)$(somedir)
1751   #     so it does not work when $(somedir) is undefined and
1752   #     $(DESTDIR) is not.
1753   #  To support the latter case, we have to write
1754   #     test -z "$(somedir)" || $(mkdir_p) $(DESTDIR)$(somedir),
1755   #  so the `.' trick is pointless.
1756   mkdir_p='mkdir -p --'
1757 else
1758   # On NextStep and OpenStep, the `mkdir' command does not
1759   # recognize any option.  It will interpret all options as
1760   # directories to create, and then abort because `.' already
1761   # exists.
1762   for d in ./-p ./--version;
1763   do
1764     test -d $d && rmdir $d
1765   done
1766   # $(mkinstalldirs) is defined by Automake if mkinstalldirs exists.
1767   if test -f "$ac_aux_dir/mkinstalldirs"; then
1768     mkdir_p='$(mkinstalldirs)'
1769   else
1770     mkdir_p='$(install_sh) -d'
1771   fi
1772 fi
1773
1774 for ac_prog in gawk mawk nawk awk
1775 do
1776   # Extract the first word of "$ac_prog", so it can be a program name with args.
1777 set dummy $ac_prog; ac_word=$2
1778 echo "$as_me:$LINENO: checking for $ac_word" >&5
1779 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1780 if test "${ac_cv_prog_AWK+set}" = set; then
1781   echo $ECHO_N "(cached) $ECHO_C" >&6
1782 else
1783   if test -n "$AWK"; then
1784   ac_cv_prog_AWK="$AWK" # Let the user override the test.
1785 else
1786 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1787 for as_dir in $PATH
1788 do
1789   IFS=$as_save_IFS
1790   test -z "$as_dir" && as_dir=.
1791   for ac_exec_ext in '' $ac_executable_extensions; do
1792   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1793     ac_cv_prog_AWK="$ac_prog"
1794     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1795     break 2
1796   fi
1797 done
1798 done
1799
1800 fi
1801 fi
1802 AWK=$ac_cv_prog_AWK
1803 if test -n "$AWK"; then
1804   echo "$as_me:$LINENO: result: $AWK" >&5
1805 echo "${ECHO_T}$AWK" >&6
1806 else
1807   echo "$as_me:$LINENO: result: no" >&5
1808 echo "${ECHO_T}no" >&6
1809 fi
1810
1811   test -n "$AWK" && break
1812 done
1813
1814 echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
1815 echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6
1816 set dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y,:./+-,___p_,'`
1817 if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\" = set"; then
1818   echo $ECHO_N "(cached) $ECHO_C" >&6
1819 else
1820   cat >conftest.make <<\_ACEOF
1821 all:
1822         @echo 'ac_maketemp="$(MAKE)"'
1823 _ACEOF
1824 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
1825 eval `${MAKE-make} -f conftest.make 2>/dev/null | grep temp=`
1826 if test -n "$ac_maketemp"; then
1827   eval ac_cv_prog_make_${ac_make}_set=yes
1828 else
1829   eval ac_cv_prog_make_${ac_make}_set=no
1830 fi
1831 rm -f conftest.make
1832 fi
1833 if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then
1834   echo "$as_me:$LINENO: result: yes" >&5
1835 echo "${ECHO_T}yes" >&6
1836   SET_MAKE=
1837 else
1838   echo "$as_me:$LINENO: result: no" >&5
1839 echo "${ECHO_T}no" >&6
1840   SET_MAKE="MAKE=${MAKE-make}"
1841 fi
1842
1843 rm -rf .tst 2>/dev/null
1844 mkdir .tst 2>/dev/null
1845 if test -d .tst; then
1846   am__leading_dot=.
1847 else
1848   am__leading_dot=_
1849 fi
1850 rmdir .tst 2>/dev/null
1851
1852 # test to see if srcdir already configured
1853 if test "`cd $srcdir && pwd`" != "`pwd`" &&
1854    test -f $srcdir/config.status; then
1855   { { echo "$as_me:$LINENO: error: source directory already configured; run \"make distclean\" there first" >&5
1856 echo "$as_me: error: source directory already configured; run \"make distclean\" there first" >&2;}
1857    { (exit 1); exit 1; }; }
1858 fi
1859
1860 # test whether we have cygpath
1861 if test -z "$CYGPATH_W"; then
1862   if (cygpath --version) >/dev/null 2>/dev/null; then
1863     CYGPATH_W='cygpath -w'
1864   else
1865     CYGPATH_W=echo
1866   fi
1867 fi
1868
1869
1870 # Define the identity of the package.
1871  PACKAGE='libstdc++'
1872  VERSION='version-unused'
1873
1874
1875 # Some tools Automake needs.
1876
1877 ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
1878
1879
1880 AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
1881
1882
1883 AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
1884
1885
1886 AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
1887
1888
1889 MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
1890
1891 install_sh=${install_sh-"$am_aux_dir/install-sh"}
1892
1893 # Installed binaries are usually stripped using `strip' when the user
1894 # run `make install-strip'.  However `strip' might not be the right
1895 # tool to use in cross-compilation environments, therefore Automake
1896 # will honor the `STRIP' environment variable to overrule this program.
1897 if test "$cross_compiling" != no; then
1898   if test -n "$ac_tool_prefix"; then
1899   # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
1900 set dummy ${ac_tool_prefix}strip; ac_word=$2
1901 echo "$as_me:$LINENO: checking for $ac_word" >&5
1902 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1903 if test "${ac_cv_prog_STRIP+set}" = set; then
1904   echo $ECHO_N "(cached) $ECHO_C" >&6
1905 else
1906   if test -n "$STRIP"; then
1907   ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
1908 else
1909 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1910 for as_dir in $PATH
1911 do
1912   IFS=$as_save_IFS
1913   test -z "$as_dir" && as_dir=.
1914   for ac_exec_ext in '' $ac_executable_extensions; do
1915   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1916     ac_cv_prog_STRIP="${ac_tool_prefix}strip"
1917     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1918     break 2
1919   fi
1920 done
1921 done
1922
1923 fi
1924 fi
1925 STRIP=$ac_cv_prog_STRIP
1926 if test -n "$STRIP"; then
1927   echo "$as_me:$LINENO: result: $STRIP" >&5
1928 echo "${ECHO_T}$STRIP" >&6
1929 else
1930   echo "$as_me:$LINENO: result: no" >&5
1931 echo "${ECHO_T}no" >&6
1932 fi
1933
1934 fi
1935 if test -z "$ac_cv_prog_STRIP"; then
1936   ac_ct_STRIP=$STRIP
1937   # Extract the first word of "strip", so it can be a program name with args.
1938 set dummy strip; ac_word=$2
1939 echo "$as_me:$LINENO: checking for $ac_word" >&5
1940 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1941 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
1942   echo $ECHO_N "(cached) $ECHO_C" >&6
1943 else
1944   if test -n "$ac_ct_STRIP"; then
1945   ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
1946 else
1947 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1948 for as_dir in $PATH
1949 do
1950   IFS=$as_save_IFS
1951   test -z "$as_dir" && as_dir=.
1952   for ac_exec_ext in '' $ac_executable_extensions; do
1953   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1954     ac_cv_prog_ac_ct_STRIP="strip"
1955     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1956     break 2
1957   fi
1958 done
1959 done
1960
1961   test -z "$ac_cv_prog_ac_ct_STRIP" && ac_cv_prog_ac_ct_STRIP=":"
1962 fi
1963 fi
1964 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
1965 if test -n "$ac_ct_STRIP"; then
1966   echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
1967 echo "${ECHO_T}$ac_ct_STRIP" >&6
1968 else
1969   echo "$as_me:$LINENO: result: no" >&5
1970 echo "${ECHO_T}no" >&6
1971 fi
1972
1973   STRIP=$ac_ct_STRIP
1974 else
1975   STRIP="$ac_cv_prog_STRIP"
1976 fi
1977
1978 fi
1979 INSTALL_STRIP_PROGRAM="\${SHELL} \$(install_sh) -c -s"
1980
1981 # We need awk for the "check" target.  The system "awk" is bad on
1982 # some platforms.
1983 # Always define AMTAR for backward compatibility.
1984
1985 AMTAR=${AMTAR-"${am_missing_run}tar"}
1986
1987 am__tar='${AMTAR} chof - "$$tardir"'; am__untar='${AMTAR} xf -'
1988
1989
1990
1991
1992
1993
1994
1995
1996
1997
1998 # Runs configure.host, finds CC, CXX, and assorted other critical bits.  Sets
1999 # up critical shell variables.
2000
2001 ac_ext=c
2002 ac_cpp='$CPP $CPPFLAGS'
2003 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2004 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2005 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2006 echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
2007 echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6
2008 # On Suns, sometimes $CPP names a directory.
2009 if test -n "$CPP" && test -d "$CPP"; then
2010   CPP=
2011 fi
2012 if test -z "$CPP"; then
2013   if test "${ac_cv_prog_CPP+set}" = set; then
2014   echo $ECHO_N "(cached) $ECHO_C" >&6
2015 else
2016       # Double quotes because CPP needs to be expanded
2017     for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
2018     do
2019       ac_preproc_ok=false
2020 for ac_c_preproc_warn_flag in '' yes
2021 do
2022   # Use a header file that comes with gcc, so configuring glibc
2023   # with a fresh cross-compiler works.
2024   # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
2025   # <limits.h> exists even on freestanding compilers.
2026   # On the NeXT, cc -E runs the code through the compiler's parser,
2027   # not just through cpp. "Syntax error" is here to catch this case.
2028   cat >conftest.$ac_ext <<_ACEOF
2029 /* confdefs.h.  */
2030 _ACEOF
2031 cat confdefs.h >>conftest.$ac_ext
2032 cat >>conftest.$ac_ext <<_ACEOF
2033 /* end confdefs.h.  */
2034 #ifdef __STDC__
2035 # include <limits.h>
2036 #else
2037 # include <assert.h>
2038 #endif
2039                      Syntax error
2040 _ACEOF
2041 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
2042   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
2043   ac_status=$?
2044   grep -v '^ *+' conftest.er1 >conftest.err
2045   rm -f conftest.er1
2046   cat conftest.err >&5
2047   echo "$as_me:$LINENO: \$? = $ac_status" >&5
2048   (exit $ac_status); } >/dev/null; then
2049   if test -s conftest.err; then
2050     ac_cpp_err=$ac_c_preproc_warn_flag
2051     ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
2052   else
2053     ac_cpp_err=
2054   fi
2055 else
2056   ac_cpp_err=yes
2057 fi
2058 if test -z "$ac_cpp_err"; then
2059   :
2060 else
2061   echo "$as_me: failed program was:" >&5
2062 sed 's/^/| /' conftest.$ac_ext >&5
2063
2064   # Broken: fails on valid input.
2065 continue
2066 fi
2067 rm -f conftest.err conftest.$ac_ext
2068
2069   # OK, works on sane cases.  Now check whether non-existent headers
2070   # can be detected and how.
2071   cat >conftest.$ac_ext <<_ACEOF
2072 /* confdefs.h.  */
2073 _ACEOF
2074 cat confdefs.h >>conftest.$ac_ext
2075 cat >>conftest.$ac_ext <<_ACEOF
2076 /* end confdefs.h.  */
2077 #include <ac_nonexistent.h>
2078 _ACEOF
2079 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
2080   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
2081   ac_status=$?
2082   grep -v '^ *+' conftest.er1 >conftest.err
2083   rm -f conftest.er1
2084   cat conftest.err >&5
2085   echo "$as_me:$LINENO: \$? = $ac_status" >&5
2086   (exit $ac_status); } >/dev/null; then
2087   if test -s conftest.err; then
2088     ac_cpp_err=$ac_c_preproc_warn_flag
2089     ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
2090   else
2091     ac_cpp_err=
2092   fi
2093 else
2094   ac_cpp_err=yes
2095 fi
2096 if test -z "$ac_cpp_err"; then
2097   # Broken: success on invalid input.
2098 continue
2099 else
2100   echo "$as_me: failed program was:" >&5
2101 sed 's/^/| /' conftest.$ac_ext >&5
2102
2103   # Passes both tests.
2104 ac_preproc_ok=:
2105 break
2106 fi
2107 rm -f conftest.err conftest.$ac_ext
2108
2109 done
2110 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
2111 rm -f conftest.err conftest.$ac_ext
2112 if $ac_preproc_ok; then
2113   break
2114 fi
2115
2116     done
2117     ac_cv_prog_CPP=$CPP
2118
2119 fi
2120   CPP=$ac_cv_prog_CPP
2121 else
2122   ac_cv_prog_CPP=$CPP
2123 fi
2124 echo "$as_me:$LINENO: result: $CPP" >&5
2125 echo "${ECHO_T}$CPP" >&6
2126 ac_preproc_ok=false
2127 for ac_c_preproc_warn_flag in '' yes
2128 do
2129   # Use a header file that comes with gcc, so configuring glibc
2130   # with a fresh cross-compiler works.
2131   # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
2132   # <limits.h> exists even on freestanding compilers.
2133   # On the NeXT, cc -E runs the code through the compiler's parser,
2134   # not just through cpp. "Syntax error" is here to catch this case.
2135   cat >conftest.$ac_ext <<_ACEOF
2136 /* confdefs.h.  */
2137 _ACEOF
2138 cat confdefs.h >>conftest.$ac_ext
2139 cat >>conftest.$ac_ext <<_ACEOF
2140 /* end confdefs.h.  */
2141 #ifdef __STDC__
2142 # include <limits.h>
2143 #else
2144 # include <assert.h>
2145 #endif
2146                      Syntax error
2147 _ACEOF
2148 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
2149   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
2150   ac_status=$?
2151   grep -v '^ *+' conftest.er1 >conftest.err
2152   rm -f conftest.er1
2153   cat conftest.err >&5
2154   echo "$as_me:$LINENO: \$? = $ac_status" >&5
2155   (exit $ac_status); } >/dev/null; then
2156   if test -s conftest.err; then
2157     ac_cpp_err=$ac_c_preproc_warn_flag
2158     ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
2159   else
2160     ac_cpp_err=
2161   fi
2162 else
2163   ac_cpp_err=yes
2164 fi
2165 if test -z "$ac_cpp_err"; then
2166   :
2167 else
2168   echo "$as_me: failed program was:" >&5
2169 sed 's/^/| /' conftest.$ac_ext >&5
2170
2171   # Broken: fails on valid input.
2172 continue
2173 fi
2174 rm -f conftest.err conftest.$ac_ext
2175
2176   # OK, works on sane cases.  Now check whether non-existent headers
2177   # can be detected and how.
2178   cat >conftest.$ac_ext <<_ACEOF
2179 /* confdefs.h.  */
2180 _ACEOF
2181 cat confdefs.h >>conftest.$ac_ext
2182 cat >>conftest.$ac_ext <<_ACEOF
2183 /* end confdefs.h.  */
2184 #include <ac_nonexistent.h>
2185 _ACEOF
2186 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
2187   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
2188   ac_status=$?
2189   grep -v '^ *+' conftest.er1 >conftest.err
2190   rm -f conftest.er1
2191   cat conftest.err >&5
2192   echo "$as_me:$LINENO: \$? = $ac_status" >&5
2193   (exit $ac_status); } >/dev/null; then
2194   if test -s conftest.err; then
2195     ac_cpp_err=$ac_c_preproc_warn_flag
2196     ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
2197   else
2198     ac_cpp_err=
2199   fi
2200 else
2201   ac_cpp_err=yes
2202 fi
2203 if test -z "$ac_cpp_err"; then
2204   # Broken: success on invalid input.
2205 continue
2206 else
2207   echo "$as_me: failed program was:" >&5
2208 sed 's/^/| /' conftest.$ac_ext >&5
2209
2210   # Passes both tests.
2211 ac_preproc_ok=:
2212 break
2213 fi
2214 rm -f conftest.err conftest.$ac_ext
2215
2216 done
2217 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
2218 rm -f conftest.err conftest.$ac_ext
2219 if $ac_preproc_ok; then
2220   :
2221 else
2222   { { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
2223 See \`config.log' for more details." >&5
2224 echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
2225 See \`config.log' for more details." >&2;}
2226    { (exit 1); exit 1; }; }
2227 fi
2228
2229 ac_ext=c
2230 ac_cpp='$CPP $CPPFLAGS'
2231 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2232 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2233 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2234
2235
2236 echo "$as_me:$LINENO: checking for egrep" >&5
2237 echo $ECHO_N "checking for egrep... $ECHO_C" >&6
2238 if test "${ac_cv_prog_egrep+set}" = set; then
2239   echo $ECHO_N "(cached) $ECHO_C" >&6
2240 else
2241   if echo a | (grep -E '(a|b)') >/dev/null 2>&1
2242     then ac_cv_prog_egrep='grep -E'
2243     else ac_cv_prog_egrep='egrep'
2244     fi
2245 fi
2246 echo "$as_me:$LINENO: result: $ac_cv_prog_egrep" >&5
2247 echo "${ECHO_T}$ac_cv_prog_egrep" >&6
2248  EGREP=$ac_cv_prog_egrep
2249
2250
2251
2252   # Keep these sync'd with the list in Makefile.am.  The first provides an
2253   # expandable list at autoconf time; the second provides an expandable list
2254   # (i.e., shell variable) at configure time.
2255
2256   SUBDIRS='include libmath libsupc++ src po testsuite'
2257
2258   # These need to be absolute paths, yet at the same time need to
2259   # canonicalize only relative paths, because then amd will not unmount
2260   # drives. Thus the use of PWDCMD: set it to 'pawd' or 'amq -w' if using amd.
2261   glibcxx_builddir=`${PWDCMD-pwd}`
2262   case $srcdir in
2263     \\/$* | ?:\\/*) glibcxx_srcdir=${srcdir} ;;
2264     *) glibcxx_srcdir=`cd "$srcdir" && ${PWDCMD-pwd} || echo "$srcdir"` ;;
2265   esac
2266   toplevel_srcdir=${glibcxx_srcdir}/..
2267
2268
2269
2270
2271   # We use these options to decide which functions to include.  They are
2272   # set from the top level.
2273
2274 # Check whether --with-target-subdir or --without-target-subdir was given.
2275 if test "${with_target_subdir+set}" = set; then
2276   withval="$with_target_subdir"
2277
2278 fi;
2279
2280
2281 # Check whether --with-cross-host or --without-cross-host was given.
2282 if test "${with_cross_host+set}" = set; then
2283   withval="$with_cross_host"
2284
2285 fi;
2286
2287
2288 # Check whether --with-newlib or --without-newlib was given.
2289 if test "${with_newlib+set}" = set; then
2290   withval="$with_newlib"
2291
2292 fi;
2293
2294   # We're almost certainly being configured before anything else which uses
2295   # C++, so all of our AC_PROG_* discoveries will be cached.  It's vital that
2296   # we not cache the value of CXX that we "discover" here, because it's set
2297   # to something unique for us and libjava.  Other target libraries need to
2298   # find CXX for themselves.  We yank the rug out from under the normal AC_*
2299   # process by sneakily renaming the cache variable.  This also lets us debug
2300   # the value of "our" CXX in postmortems.
2301   #
2302   # We must also force CXX to /not/ be a precious variable, otherwise the
2303   # wrong (non-multilib-adjusted) value will be used in multilibs.  This
2304   # little trick also affects CPPFLAGS, CXXFLAGS, and LDFLAGS.  And as a side
2305   # effect, CXXFLAGS is no longer automagically subst'd, so we have to do
2306   # that ourselves.  Un-preciousing AC_PROG_CC also affects CC and CFLAGS.
2307   #
2308   # -fno-builtin must be present here so that a non-conflicting form of
2309   # std::exit can be guessed by AC_PROG_CXX, and used in later tests.
2310
2311
2312
2313
2314   save_CXXFLAGS="$CXXFLAGS"
2315   CXXFLAGS="$CXXFLAGS -fno-builtin"
2316   ac_ext=c
2317 ac_cpp='$CPP $CPPFLAGS'
2318 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2319 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2320 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2321 if test -n "$ac_tool_prefix"; then
2322   # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
2323 set dummy ${ac_tool_prefix}gcc; ac_word=$2
2324 echo "$as_me:$LINENO: checking for $ac_word" >&5
2325 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2326 if test "${ac_cv_prog_CC+set}" = set; then
2327   echo $ECHO_N "(cached) $ECHO_C" >&6
2328 else
2329   if test -n "$CC"; then
2330   ac_cv_prog_CC="$CC" # Let the user override the test.
2331 else
2332 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2333 for as_dir in $PATH
2334 do
2335   IFS=$as_save_IFS
2336   test -z "$as_dir" && as_dir=.
2337   for ac_exec_ext in '' $ac_executable_extensions; do
2338   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2339     ac_cv_prog_CC="${ac_tool_prefix}gcc"
2340     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2341     break 2
2342   fi
2343 done
2344 done
2345
2346 fi
2347 fi
2348 CC=$ac_cv_prog_CC
2349 if test -n "$CC"; then
2350   echo "$as_me:$LINENO: result: $CC" >&5
2351 echo "${ECHO_T}$CC" >&6
2352 else
2353   echo "$as_me:$LINENO: result: no" >&5
2354 echo "${ECHO_T}no" >&6
2355 fi
2356
2357 fi
2358 if test -z "$ac_cv_prog_CC"; then
2359   ac_ct_CC=$CC
2360   # Extract the first word of "gcc", so it can be a program name with args.
2361 set dummy gcc; ac_word=$2
2362 echo "$as_me:$LINENO: checking for $ac_word" >&5
2363 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2364 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2365   echo $ECHO_N "(cached) $ECHO_C" >&6
2366 else
2367   if test -n "$ac_ct_CC"; then
2368   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2369 else
2370 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2371 for as_dir in $PATH
2372 do
2373   IFS=$as_save_IFS
2374   test -z "$as_dir" && as_dir=.
2375   for ac_exec_ext in '' $ac_executable_extensions; do
2376   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2377     ac_cv_prog_ac_ct_CC="gcc"
2378     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2379     break 2
2380   fi
2381 done
2382 done
2383
2384 fi
2385 fi
2386 ac_ct_CC=$ac_cv_prog_ac_ct_CC
2387 if test -n "$ac_ct_CC"; then
2388   echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2389 echo "${ECHO_T}$ac_ct_CC" >&6
2390 else
2391   echo "$as_me:$LINENO: result: no" >&5
2392 echo "${ECHO_T}no" >&6
2393 fi
2394
2395   CC=$ac_ct_CC
2396 else
2397   CC="$ac_cv_prog_CC"
2398 fi
2399
2400 if test -z "$CC"; then
2401   if test -n "$ac_tool_prefix"; then
2402   # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
2403 set dummy ${ac_tool_prefix}cc; ac_word=$2
2404 echo "$as_me:$LINENO: checking for $ac_word" >&5
2405 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2406 if test "${ac_cv_prog_CC+set}" = set; then
2407   echo $ECHO_N "(cached) $ECHO_C" >&6
2408 else
2409   if test -n "$CC"; then
2410   ac_cv_prog_CC="$CC" # Let the user override the test.
2411 else
2412 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2413 for as_dir in $PATH
2414 do
2415   IFS=$as_save_IFS
2416   test -z "$as_dir" && as_dir=.
2417   for ac_exec_ext in '' $ac_executable_extensions; do
2418   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2419     ac_cv_prog_CC="${ac_tool_prefix}cc"
2420     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2421     break 2
2422   fi
2423 done
2424 done
2425
2426 fi
2427 fi
2428 CC=$ac_cv_prog_CC
2429 if test -n "$CC"; then
2430   echo "$as_me:$LINENO: result: $CC" >&5
2431 echo "${ECHO_T}$CC" >&6
2432 else
2433   echo "$as_me:$LINENO: result: no" >&5
2434 echo "${ECHO_T}no" >&6
2435 fi
2436
2437 fi
2438 if test -z "$ac_cv_prog_CC"; then
2439   ac_ct_CC=$CC
2440   # Extract the first word of "cc", so it can be a program name with args.
2441 set dummy cc; ac_word=$2
2442 echo "$as_me:$LINENO: checking for $ac_word" >&5
2443 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2444 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2445   echo $ECHO_N "(cached) $ECHO_C" >&6
2446 else
2447   if test -n "$ac_ct_CC"; then
2448   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2449 else
2450 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2451 for as_dir in $PATH
2452 do
2453   IFS=$as_save_IFS
2454   test -z "$as_dir" && as_dir=.
2455   for ac_exec_ext in '' $ac_executable_extensions; do
2456   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2457     ac_cv_prog_ac_ct_CC="cc"
2458     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2459     break 2
2460   fi
2461 done
2462 done
2463
2464 fi
2465 fi
2466 ac_ct_CC=$ac_cv_prog_ac_ct_CC
2467 if test -n "$ac_ct_CC"; then
2468   echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2469 echo "${ECHO_T}$ac_ct_CC" >&6
2470 else
2471   echo "$as_me:$LINENO: result: no" >&5
2472 echo "${ECHO_T}no" >&6
2473 fi
2474
2475   CC=$ac_ct_CC
2476 else
2477   CC="$ac_cv_prog_CC"
2478 fi
2479
2480 fi
2481 if test -z "$CC"; then
2482   # Extract the first word of "cc", so it can be a program name with args.
2483 set dummy cc; ac_word=$2
2484 echo "$as_me:$LINENO: checking for $ac_word" >&5
2485 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2486 if test "${ac_cv_prog_CC+set}" = set; then
2487   echo $ECHO_N "(cached) $ECHO_C" >&6
2488 else
2489   if test -n "$CC"; then
2490   ac_cv_prog_CC="$CC" # Let the user override the test.
2491 else
2492   ac_prog_rejected=no
2493 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2494 for as_dir in $PATH
2495 do
2496   IFS=$as_save_IFS
2497   test -z "$as_dir" && as_dir=.
2498   for ac_exec_ext in '' $ac_executable_extensions; do
2499   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2500     if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
2501        ac_prog_rejected=yes
2502        continue
2503      fi
2504     ac_cv_prog_CC="cc"
2505     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2506     break 2
2507   fi
2508 done
2509 done
2510
2511 if test $ac_prog_rejected = yes; then
2512   # We found a bogon in the path, so make sure we never use it.
2513   set dummy $ac_cv_prog_CC
2514   shift
2515   if test $# != 0; then
2516     # We chose a different compiler from the bogus one.
2517     # However, it has the same basename, so the bogon will be chosen
2518     # first if we set CC to just the basename; use the full file name.
2519     shift
2520     ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
2521   fi
2522 fi
2523 fi
2524 fi
2525 CC=$ac_cv_prog_CC
2526 if test -n "$CC"; then
2527   echo "$as_me:$LINENO: result: $CC" >&5
2528 echo "${ECHO_T}$CC" >&6
2529 else
2530   echo "$as_me:$LINENO: result: no" >&5
2531 echo "${ECHO_T}no" >&6
2532 fi
2533
2534 fi
2535 if test -z "$CC"; then
2536   if test -n "$ac_tool_prefix"; then
2537   for ac_prog in cl
2538   do
2539     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
2540 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
2541 echo "$as_me:$LINENO: checking for $ac_word" >&5
2542 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2543 if test "${ac_cv_prog_CC+set}" = set; then
2544   echo $ECHO_N "(cached) $ECHO_C" >&6
2545 else
2546   if test -n "$CC"; then
2547   ac_cv_prog_CC="$CC" # Let the user override the test.
2548 else
2549 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2550 for as_dir in $PATH
2551 do
2552   IFS=$as_save_IFS
2553   test -z "$as_dir" && as_dir=.
2554   for ac_exec_ext in '' $ac_executable_extensions; do
2555   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2556     ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
2557     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2558     break 2
2559   fi
2560 done
2561 done
2562
2563 fi
2564 fi
2565 CC=$ac_cv_prog_CC
2566 if test -n "$CC"; then
2567   echo "$as_me:$LINENO: result: $CC" >&5
2568 echo "${ECHO_T}$CC" >&6
2569 else
2570   echo "$as_me:$LINENO: result: no" >&5
2571 echo "${ECHO_T}no" >&6
2572 fi
2573
2574     test -n "$CC" && break
2575   done
2576 fi
2577 if test -z "$CC"; then
2578   ac_ct_CC=$CC
2579   for ac_prog in cl
2580 do
2581   # Extract the first word of "$ac_prog", so it can be a program name with args.
2582 set dummy $ac_prog; ac_word=$2
2583 echo "$as_me:$LINENO: checking for $ac_word" >&5
2584 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2585 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2586   echo $ECHO_N "(cached) $ECHO_C" >&6
2587 else
2588   if test -n "$ac_ct_CC"; then
2589   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2590 else
2591 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2592 for as_dir in $PATH
2593 do
2594   IFS=$as_save_IFS
2595   test -z "$as_dir" && as_dir=.
2596   for ac_exec_ext in '' $ac_executable_extensions; do
2597   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2598     ac_cv_prog_ac_ct_CC="$ac_prog"
2599     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2600     break 2
2601   fi
2602 done
2603 done
2604
2605 fi
2606 fi
2607 ac_ct_CC=$ac_cv_prog_ac_ct_CC
2608 if test -n "$ac_ct_CC"; then
2609   echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2610 echo "${ECHO_T}$ac_ct_CC" >&6
2611 else
2612   echo "$as_me:$LINENO: result: no" >&5
2613 echo "${ECHO_T}no" >&6
2614 fi
2615
2616   test -n "$ac_ct_CC" && break
2617 done
2618
2619   CC=$ac_ct_CC
2620 fi
2621
2622 fi
2623
2624
2625 test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
2626 See \`config.log' for more details." >&5
2627 echo "$as_me: error: no acceptable C compiler found in \$PATH
2628 See \`config.log' for more details." >&2;}
2629    { (exit 1); exit 1; }; }
2630
2631 # Provide some information about the compiler.
2632 echo "$as_me:$LINENO:" \
2633      "checking for C compiler version" >&5
2634 ac_compiler=`set X $ac_compile; echo $2`
2635 { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
2636   (eval $ac_compiler --version </dev/null >&5) 2>&5
2637   ac_status=$?
2638   echo "$as_me:$LINENO: \$? = $ac_status" >&5
2639   (exit $ac_status); }
2640 { (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
2641   (eval $ac_compiler -v </dev/null >&5) 2>&5
2642   ac_status=$?
2643   echo "$as_me:$LINENO: \$? = $ac_status" >&5
2644   (exit $ac_status); }
2645 { (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
2646   (eval $ac_compiler -V </dev/null >&5) 2>&5
2647   ac_status=$?
2648   echo "$as_me:$LINENO: \$? = $ac_status" >&5
2649   (exit $ac_status); }
2650
2651 cat >conftest.$ac_ext <<_ACEOF
2652 /* confdefs.h.  */
2653 _ACEOF
2654 cat confdefs.h >>conftest.$ac_ext
2655 cat >>conftest.$ac_ext <<_ACEOF
2656 /* end confdefs.h.  */
2657
2658 int
2659 main ()
2660 {
2661
2662   ;
2663   return 0;
2664 }
2665 _ACEOF
2666 # FIXME: Cleanup?
2667 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
2668   (eval $ac_link) 2>&5
2669   ac_status=$?
2670   echo "$as_me:$LINENO: \$? = $ac_status" >&5
2671   (exit $ac_status); }; then
2672   gcc_no_link=no
2673 else
2674   gcc_no_link=yes
2675 fi
2676
2677 if test x$gcc_no_link = xyes; then
2678   # Setting cross_compile will disable run tests; it will
2679   # also disable AC_CHECK_FILE but that's generally
2680   # correct if we can't link.
2681   cross_compiling=yes
2682   EXEEXT=
2683 else
2684   cat >conftest.$ac_ext <<_ACEOF
2685 /* confdefs.h.  */
2686 _ACEOF
2687 cat confdefs.h >>conftest.$ac_ext
2688 cat >>conftest.$ac_ext <<_ACEOF
2689 /* end confdefs.h.  */
2690
2691 int
2692 main ()
2693 {
2694
2695   ;
2696   return 0;
2697 }
2698 _ACEOF
2699 ac_clean_files_save=$ac_clean_files
2700 ac_clean_files="$ac_clean_files a.out a.exe b.out"
2701 # Try to create an executable without -o first, disregard a.out.
2702 # It will help us diagnose broken compilers, and finding out an intuition
2703 # of exeext.
2704 echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
2705 echo $ECHO_N "checking for C compiler default output file name... $ECHO_C" >&6
2706 ac_link_default=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
2707 if { (eval echo "$as_me:$LINENO: \"$ac_link_default\"") >&5
2708   (eval $ac_link_default) 2>&5
2709   ac_status=$?
2710   echo "$as_me:$LINENO: \$? = $ac_status" >&5
2711   (exit $ac_status); }; then
2712   # Find the output, starting from the most likely.  This scheme is
2713 # not robust to junk in `.', hence go to wildcards (a.*) only as a last
2714 # resort.
2715
2716 # Be careful to initialize this variable, since it used to be cached.
2717 # Otherwise an old cache value of `no' led to `EXEEXT = no' in a Makefile.
2718 ac_cv_exeext=
2719 # b.out is created by i960 compilers.
2720 for ac_file in a_out.exe a.exe conftest.exe a.out conftest a.* conftest.* b.out
2721 do
2722   test -f "$ac_file" || continue
2723   case $ac_file in
2724     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj )
2725         ;;
2726     conftest.$ac_ext )
2727         # This is the source file.
2728         ;;
2729     [ab].out )
2730         # We found the default executable, but exeext='' is most
2731         # certainly right.
2732         break;;
2733     *.* )
2734         ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2735         # FIXME: I believe we export ac_cv_exeext for Libtool,
2736         # but it would be cool to find out if it's true.  Does anybody
2737         # maintain Libtool? --akim.
2738         export ac_cv_exeext
2739         break;;
2740     * )
2741         break;;
2742   esac
2743 done
2744 else
2745   echo "$as_me: failed program was:" >&5
2746 sed 's/^/| /' conftest.$ac_ext >&5
2747
2748 { { echo "$as_me:$LINENO: error: C compiler cannot create executables
2749 See \`config.log' for more details." >&5
2750 echo "$as_me: error: C compiler cannot create executables
2751 See \`config.log' for more details." >&2;}
2752    { (exit 77); exit 77; }; }
2753 fi
2754
2755 ac_exeext=$ac_cv_exeext
2756 echo "$as_me:$LINENO: result: $ac_file" >&5
2757 echo "${ECHO_T}$ac_file" >&6
2758
2759 # Check the compiler produces executables we can run.  If not, either
2760 # the compiler is broken, or we cross compile.
2761 echo "$as_me:$LINENO: checking whether the C compiler works" >&5
2762 echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6
2763 # FIXME: These cross compiler hacks should be removed for Autoconf 3.0
2764 # If not cross compiling, check that we can run a simple program.
2765 if test "$cross_compiling" != yes; then
2766   if { ac_try='./$ac_file'
2767   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2768   (eval $ac_try) 2>&5
2769   ac_status=$?
2770   echo "$as_me:$LINENO: \$? = $ac_status" >&5
2771   (exit $ac_status); }; }; then
2772     cross_compiling=no
2773   else
2774     if test "$cross_compiling" = maybe; then
2775         cross_compiling=yes
2776     else
2777         { { echo "$as_me:$LINENO: error: cannot run C compiled programs.
2778 If you meant to cross compile, use \`--host'.
2779 See \`config.log' for more details." >&5
2780 echo "$as_me: error: cannot run C compiled programs.
2781 If you meant to cross compile, use \`--host'.
2782 See \`config.log' for more details." >&2;}
2783    { (exit 1); exit 1; }; }
2784     fi
2785   fi
2786 fi
2787 echo "$as_me:$LINENO: result: yes" >&5
2788 echo "${ECHO_T}yes" >&6
2789
2790 rm -f a.out a.exe conftest$ac_cv_exeext b.out
2791 ac_clean_files=$ac_clean_files_save
2792 # Check the compiler produces executables we can run.  If not, either
2793 # the compiler is broken, or we cross compile.
2794 echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
2795 echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6
2796 echo "$as_me:$LINENO: result: $cross_compiling" >&5
2797 echo "${ECHO_T}$cross_compiling" >&6
2798
2799 echo "$as_me:$LINENO: checking for suffix of executables" >&5
2800 echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6
2801 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
2802   (eval $ac_link) 2>&5
2803   ac_status=$?
2804   echo "$as_me:$LINENO: \$? = $ac_status" >&5
2805   (exit $ac_status); }; then
2806   # If both `conftest.exe' and `conftest' are `present' (well, observable)
2807 # catch `conftest.exe'.  For instance with Cygwin, `ls conftest' will
2808 # work properly (i.e., refer to `conftest.exe'), while it won't with
2809 # `rm'.
2810 for ac_file in conftest.exe conftest conftest.*; do
2811   test -f "$ac_file" || continue
2812   case $ac_file in
2813     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj ) ;;
2814     *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2815           export ac_cv_exeext
2816           break;;
2817     * ) break;;
2818   esac
2819 done
2820 else
2821   { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
2822 See \`config.log' for more details." >&5
2823 echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
2824 See \`config.log' for more details." >&2;}
2825    { (exit 1); exit 1; }; }
2826 fi
2827
2828 rm -f conftest$ac_cv_exeext
2829 echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
2830 echo "${ECHO_T}$ac_cv_exeext" >&6
2831
2832 rm -f conftest.$ac_ext
2833 EXEEXT=$ac_cv_exeext
2834 ac_exeext=$EXEEXT
2835 fi
2836 echo "$as_me:$LINENO: checking for suffix of object files" >&5
2837 echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6
2838 if test "${ac_cv_objext+set}" = set; then
2839   echo $ECHO_N "(cached) $ECHO_C" >&6
2840 else
2841   cat >conftest.$ac_ext <<_ACEOF
2842 /* confdefs.h.  */
2843 _ACEOF
2844 cat confdefs.h >>conftest.$ac_ext
2845 cat >>conftest.$ac_ext <<_ACEOF
2846 /* end confdefs.h.  */
2847
2848 int
2849 main ()
2850 {
2851
2852   ;
2853   return 0;
2854 }
2855 _ACEOF
2856 rm -f conftest.o conftest.obj
2857 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2858   (eval $ac_compile) 2>&5
2859   ac_status=$?
2860   echo "$as_me:$LINENO: \$? = $ac_status" >&5
2861   (exit $ac_status); }; then
2862   for ac_file in `(ls conftest.o conftest.obj; ls conftest.*) 2>/dev/null`; do
2863   case $ac_file in
2864     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg ) ;;
2865     *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
2866        break;;
2867   esac
2868 done
2869 else
2870   echo "$as_me: failed program was:" >&5
2871 sed 's/^/| /' conftest.$ac_ext >&5
2872
2873 { { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
2874 See \`config.log' for more details." >&5
2875 echo "$as_me: error: cannot compute suffix of object files: cannot compile
2876 See \`config.log' for more details." >&2;}
2877    { (exit 1); exit 1; }; }
2878 fi
2879
2880 rm -f conftest.$ac_cv_objext conftest.$ac_ext
2881 fi
2882 echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
2883 echo "${ECHO_T}$ac_cv_objext" >&6
2884 OBJEXT=$ac_cv_objext
2885 ac_objext=$OBJEXT
2886 echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
2887 echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6
2888 if test "${ac_cv_c_compiler_gnu+set}" = set; then
2889   echo $ECHO_N "(cached) $ECHO_C" >&6
2890 else
2891   cat >conftest.$ac_ext <<_ACEOF
2892 /* confdefs.h.  */
2893 _ACEOF
2894 cat confdefs.h >>conftest.$ac_ext
2895 cat >>conftest.$ac_ext <<_ACEOF
2896 /* end confdefs.h.  */
2897
2898 int
2899 main ()
2900 {
2901 #ifndef __GNUC__
2902        choke me
2903 #endif
2904
2905   ;
2906   return 0;
2907 }
2908 _ACEOF
2909 rm -f conftest.$ac_objext
2910 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2911   (eval $ac_compile) 2>conftest.er1
2912   ac_status=$?
2913   grep -v '^ *+' conftest.er1 >conftest.err
2914   rm -f conftest.er1
2915   cat conftest.err >&5
2916   echo "$as_me:$LINENO: \$? = $ac_status" >&5
2917   (exit $ac_status); } &&
2918          { ac_try='test -z "$ac_c_werror_flag"
2919                          || test ! -s conftest.err'
2920   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2921   (eval $ac_try) 2>&5
2922   ac_status=$?
2923   echo "$as_me:$LINENO: \$? = $ac_status" >&5
2924   (exit $ac_status); }; } &&
2925          { ac_try='test -s conftest.$ac_objext'
2926   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2927   (eval $ac_try) 2>&5
2928   ac_status=$?
2929   echo "$as_me:$LINENO: \$? = $ac_status" >&5
2930   (exit $ac_status); }; }; then
2931   ac_compiler_gnu=yes
2932 else
2933   echo "$as_me: failed program was:" >&5
2934 sed 's/^/| /' conftest.$ac_ext >&5
2935
2936 ac_compiler_gnu=no
2937 fi
2938 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
2939 ac_cv_c_compiler_gnu=$ac_compiler_gnu
2940
2941 fi
2942 echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
2943 echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6
2944 GCC=`test $ac_compiler_gnu = yes && echo yes`
2945 ac_test_CFLAGS=${CFLAGS+set}
2946 ac_save_CFLAGS=$CFLAGS
2947 CFLAGS="-g"
2948 echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
2949 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6
2950 if test "${ac_cv_prog_cc_g+set}" = set; then
2951   echo $ECHO_N "(cached) $ECHO_C" >&6
2952 else
2953   cat >conftest.$ac_ext <<_ACEOF
2954 /* confdefs.h.  */
2955 _ACEOF
2956 cat confdefs.h >>conftest.$ac_ext
2957 cat >>conftest.$ac_ext <<_ACEOF
2958 /* end confdefs.h.  */
2959
2960 int
2961 main ()
2962 {
2963
2964   ;
2965   return 0;
2966 }
2967 _ACEOF
2968 rm -f conftest.$ac_objext
2969 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2970   (eval $ac_compile) 2>conftest.er1
2971   ac_status=$?
2972   grep -v '^ *+' conftest.er1 >conftest.err
2973   rm -f conftest.er1
2974   cat conftest.err >&5
2975   echo "$as_me:$LINENO: \$? = $ac_status" >&5
2976   (exit $ac_status); } &&
2977          { ac_try='test -z "$ac_c_werror_flag"
2978                          || test ! -s conftest.err'
2979   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2980   (eval $ac_try) 2>&5
2981   ac_status=$?
2982   echo "$as_me:$LINENO: \$? = $ac_status" >&5
2983   (exit $ac_status); }; } &&
2984          { ac_try='test -s conftest.$ac_objext'
2985   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2986   (eval $ac_try) 2>&5
2987   ac_status=$?
2988   echo "$as_me:$LINENO: \$? = $ac_status" >&5
2989   (exit $ac_status); }; }; then
2990   ac_cv_prog_cc_g=yes
2991 else
2992   echo "$as_me: failed program was:" >&5
2993 sed 's/^/| /' conftest.$ac_ext >&5
2994
2995 ac_cv_prog_cc_g=no
2996 fi
2997 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
2998 fi
2999 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
3000 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6
3001 if test "$ac_test_CFLAGS" = set; then
3002   CFLAGS=$ac_save_CFLAGS
3003 elif test $ac_cv_prog_cc_g = yes; then
3004   if test "$GCC" = yes; then
3005     CFLAGS="-g -O2"
3006   else
3007     CFLAGS="-g"
3008   fi
3009 else
3010   if test "$GCC" = yes; then
3011     CFLAGS="-O2"
3012   else
3013     CFLAGS=
3014   fi
3015 fi
3016 echo "$as_me:$LINENO: checking for $CC option to accept ANSI C" >&5
3017 echo $ECHO_N "checking for $CC option to accept ANSI C... $ECHO_C" >&6
3018 if test "${ac_cv_prog_cc_stdc+set}" = set; then
3019   echo $ECHO_N "(cached) $ECHO_C" >&6
3020 else
3021   ac_cv_prog_cc_stdc=no
3022 ac_save_CC=$CC
3023 cat >conftest.$ac_ext <<_ACEOF
3024 /* confdefs.h.  */
3025 _ACEOF
3026 cat confdefs.h >>conftest.$ac_ext
3027 cat >>conftest.$ac_ext <<_ACEOF
3028 /* end confdefs.h.  */
3029 #include <stdarg.h>
3030 #include <stdio.h>
3031 #include <sys/types.h>
3032 #include <sys/stat.h>
3033 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh.  */
3034 struct buf { int x; };
3035 FILE * (*rcsopen) (struct buf *, struct stat *, int);
3036 static char *e (p, i)
3037      char **p;
3038      int i;
3039 {
3040   return p[i];
3041 }
3042 static char *f (char * (*g) (char **, int), char **p, ...)
3043 {
3044   char *s;
3045   va_list v;
3046   va_start (v,p);
3047   s = g (p, va_arg (v,int));
3048   va_end (v);
3049   return s;
3050 }
3051
3052 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default.  It has
3053    function prototypes and stuff, but not '\xHH' hex character constants.
3054    These don't provoke an error unfortunately, instead are silently treated
3055    as 'x'.  The following induces an error, until -std1 is added to get
3056    proper ANSI mode.  Curiously '\x00'!='x' always comes out true, for an
3057    array size at least.  It's necessary to write '\x00'==0 to get something
3058    that's true only with -std1.  */
3059 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
3060
3061 int test (int i, double x);
3062 struct s1 {int (*f) (int a);};
3063 struct s2 {int (*f) (double a);};
3064 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
3065 int argc;
3066 char **argv;
3067 int
3068 main ()
3069 {
3070 return f (e, argv, 0) != argv[0]  ||  f (e, argv, 1) != argv[1];
3071   ;
3072   return 0;
3073 }
3074 _ACEOF
3075 # Don't try gcc -ansi; that turns off useful extensions and
3076 # breaks some systems' header files.
3077 # AIX                   -qlanglvl=ansi
3078 # Ultrix and OSF/1      -std1
3079 # HP-UX 10.20 and later -Ae
3080 # HP-UX older versions  -Aa -D_HPUX_SOURCE
3081 # SVR4                  -Xc -D__EXTENSIONS__
3082 for ac_arg in "" -qlanglvl=ansi -std1 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
3083 do
3084   CC="$ac_save_CC $ac_arg"
3085   rm -f conftest.$ac_objext
3086 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3087   (eval $ac_compile) 2>conftest.er1
3088   ac_status=$?
3089   grep -v '^ *+' conftest.er1 >conftest.err
3090   rm -f conftest.er1
3091   cat conftest.err >&5
3092   echo "$as_me:$LINENO: \$? = $ac_status" >&5
3093   (exit $ac_status); } &&
3094          { ac_try='test -z "$ac_c_werror_flag"
3095                          || test ! -s conftest.err'
3096   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3097   (eval $ac_try) 2>&5
3098   ac_status=$?
3099   echo "$as_me:$LINENO: \$? = $ac_status" >&5
3100   (exit $ac_status); }; } &&
3101          { ac_try='test -s conftest.$ac_objext'
3102   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3103   (eval $ac_try) 2>&5
3104   ac_status=$?
3105   echo "$as_me:$LINENO: \$? = $ac_status" >&5
3106   (exit $ac_status); }; }; then
3107   ac_cv_prog_cc_stdc=$ac_arg
3108 break
3109 else
3110   echo "$as_me: failed program was:" >&5
3111 sed 's/^/| /' conftest.$ac_ext >&5
3112
3113 fi
3114 rm -f conftest.err conftest.$ac_objext
3115 done
3116 rm -f conftest.$ac_ext conftest.$ac_objext
3117 CC=$ac_save_CC
3118
3119 fi
3120
3121 case "x$ac_cv_prog_cc_stdc" in
3122   x|xno)
3123     echo "$as_me:$LINENO: result: none needed" >&5
3124 echo "${ECHO_T}none needed" >&6 ;;
3125   *)
3126     echo "$as_me:$LINENO: result: $ac_cv_prog_cc_stdc" >&5
3127 echo "${ECHO_T}$ac_cv_prog_cc_stdc" >&6
3128     CC="$CC $ac_cv_prog_cc_stdc" ;;
3129 esac
3130
3131 # Some people use a C++ compiler to compile C.  Since we use `exit',
3132 # in C++ we need to declare it.  In case someone uses the same compiler
3133 # for both compiling C and C++ we need to have the C++ compiler decide
3134 # the declaration of exit, since it's the most demanding environment.
3135 cat >conftest.$ac_ext <<_ACEOF
3136 #ifndef __cplusplus
3137   choke me
3138 #endif
3139 _ACEOF
3140 rm -f conftest.$ac_objext
3141 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3142   (eval $ac_compile) 2>conftest.er1
3143   ac_status=$?
3144   grep -v '^ *+' conftest.er1 >conftest.err
3145   rm -f conftest.er1
3146   cat conftest.err >&5
3147   echo "$as_me:$LINENO: \$? = $ac_status" >&5
3148   (exit $ac_status); } &&
3149          { ac_try='test -z "$ac_c_werror_flag"
3150                          || test ! -s conftest.err'
3151   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3152   (eval $ac_try) 2>&5
3153   ac_status=$?
3154   echo "$as_me:$LINENO: \$? = $ac_status" >&5
3155   (exit $ac_status); }; } &&
3156          { ac_try='test -s conftest.$ac_objext'
3157   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3158   (eval $ac_try) 2>&5
3159   ac_status=$?
3160   echo "$as_me:$LINENO: \$? = $ac_status" >&5
3161   (exit $ac_status); }; }; then
3162   for ac_declaration in \
3163    '' \
3164    'extern "C" void std::exit (int) throw (); using std::exit;' \
3165    'extern "C" void std::exit (int); using std::exit;' \
3166    'extern "C" void exit (int) throw ();' \
3167    'extern "C" void exit (int);' \
3168    'void exit (int);'
3169 do
3170   cat >conftest.$ac_ext <<_ACEOF
3171 /* confdefs.h.  */
3172 _ACEOF
3173 cat confdefs.h >>conftest.$ac_ext
3174 cat >>conftest.$ac_ext <<_ACEOF
3175 /* end confdefs.h.  */
3176 $ac_declaration
3177 #include <stdlib.h>
3178 int
3179 main ()
3180 {
3181 exit (42);
3182   ;
3183   return 0;
3184 }
3185 _ACEOF
3186 rm -f conftest.$ac_objext
3187 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3188   (eval $ac_compile) 2>conftest.er1
3189   ac_status=$?
3190   grep -v '^ *+' conftest.er1 >conftest.err
3191   rm -f conftest.er1
3192   cat conftest.err >&5
3193   echo "$as_me:$LINENO: \$? = $ac_status" >&5
3194   (exit $ac_status); } &&
3195          { ac_try='test -z "$ac_c_werror_flag"
3196                          || test ! -s conftest.err'
3197   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3198   (eval $ac_try) 2>&5
3199   ac_status=$?
3200   echo "$as_me:$LINENO: \$? = $ac_status" >&5
3201   (exit $ac_status); }; } &&
3202          { ac_try='test -s conftest.$ac_objext'
3203   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3204   (eval $ac_try) 2>&5
3205   ac_status=$?
3206   echo "$as_me:$LINENO: \$? = $ac_status" >&5
3207   (exit $ac_status); }; }; then
3208   :
3209 else
3210   echo "$as_me: failed program was:" >&5
3211 sed 's/^/| /' conftest.$ac_ext >&5
3212
3213 continue
3214 fi
3215 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
3216   cat >conftest.$ac_ext <<_ACEOF
3217 /* confdefs.h.  */
3218 _ACEOF
3219 cat confdefs.h >>conftest.$ac_ext
3220 cat >>conftest.$ac_ext <<_ACEOF
3221 /* end confdefs.h.  */
3222 $ac_declaration
3223 int
3224 main ()
3225 {
3226 exit (42);
3227   ;
3228   return 0;
3229 }
3230 _ACEOF
3231 rm -f conftest.$ac_objext
3232 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3233   (eval $ac_compile) 2>conftest.er1
3234   ac_status=$?
3235   grep -v '^ *+' conftest.er1 >conftest.err
3236   rm -f conftest.er1
3237   cat conftest.err >&5
3238   echo "$as_me:$LINENO: \$? = $ac_status" >&5
3239   (exit $ac_status); } &&
3240          { ac_try='test -z "$ac_c_werror_flag"
3241                          || test ! -s conftest.err'
3242   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3243   (eval $ac_try) 2>&5
3244   ac_status=$?
3245   echo "$as_me:$LINENO: \$? = $ac_status" >&5
3246   (exit $ac_status); }; } &&
3247          { ac_try='test -s conftest.$ac_objext'
3248   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3249   (eval $ac_try) 2>&5
3250   ac_status=$?
3251   echo "$as_me:$LINENO: \$? = $ac_status" >&5
3252   (exit $ac_status); }; }; then
3253   break
3254 else
3255   echo "$as_me: failed program was:" >&5
3256 sed 's/^/| /' conftest.$ac_ext >&5
3257
3258 fi
3259 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
3260 done
3261 rm -f conftest*
3262 if test -n "$ac_declaration"; then
3263   echo '#ifdef __cplusplus' >>confdefs.h
3264   echo $ac_declaration      >>confdefs.h
3265   echo '#endif'             >>confdefs.h
3266 fi
3267
3268 else
3269   echo "$as_me: failed program was:" >&5
3270 sed 's/^/| /' conftest.$ac_ext >&5
3271
3272 fi
3273 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
3274 ac_ext=c
3275 ac_cpp='$CPP $CPPFLAGS'
3276 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3277 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3278 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3279
3280   ac_ext=cc
3281 ac_cpp='$CXXCPP $CPPFLAGS'
3282 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3283 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3284 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
3285 if test -n "$ac_tool_prefix"; then
3286   for ac_prog in $CCC g++ c++ gpp aCC CC cxx cc++ cl FCC KCC RCC xlC_r xlC
3287   do
3288     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
3289 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
3290 echo "$as_me:$LINENO: checking for $ac_word" >&5
3291 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3292 if test "${glibcxx_cv_prog_CXX+set}" = set; then
3293   echo $ECHO_N "(cached) $ECHO_C" >&6
3294 else
3295   if test -n "$CXX"; then
3296   glibcxx_cv_prog_CXX="$CXX" # Let the user override the test.
3297 else
3298 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3299 for as_dir in $PATH
3300 do
3301   IFS=$as_save_IFS
3302   test -z "$as_dir" && as_dir=.
3303   for ac_exec_ext in '' $ac_executable_extensions; do
3304   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3305     glibcxx_cv_prog_CXX="$ac_tool_prefix$ac_prog"
3306     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3307     break 2
3308   fi
3309 done
3310 done
3311
3312 fi
3313 fi
3314 CXX=$glibcxx_cv_prog_CXX
3315 if test -n "$CXX"; then
3316   echo "$as_me:$LINENO: result: $CXX" >&5
3317 echo "${ECHO_T}$CXX" >&6
3318 else
3319   echo "$as_me:$LINENO: result: no" >&5
3320 echo "${ECHO_T}no" >&6
3321 fi
3322
3323     test -n "$CXX" && break
3324   done
3325 fi
3326 if test -z "$CXX"; then
3327   ac_ct_CXX=$CXX
3328   for ac_prog in $CCC g++ c++ gpp aCC CC cxx cc++ cl FCC KCC RCC xlC_r xlC
3329 do
3330   # Extract the first word of "$ac_prog", so it can be a program name with args.
3331 set dummy $ac_prog; ac_word=$2
3332 echo "$as_me:$LINENO: checking for $ac_word" >&5
3333 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3334 if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then
3335   echo $ECHO_N "(cached) $ECHO_C" >&6
3336 else
3337   if test -n "$ac_ct_CXX"; then
3338   ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
3339 else
3340 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3341 for as_dir in $PATH
3342 do
3343   IFS=$as_save_IFS
3344   test -z "$as_dir" && as_dir=.
3345   for ac_exec_ext in '' $ac_executable_extensions; do
3346   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3347     ac_cv_prog_ac_ct_CXX="$ac_prog"
3348     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3349     break 2
3350   fi
3351 done
3352 done
3353
3354 fi
3355 fi
3356 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
3357 if test -n "$ac_ct_CXX"; then
3358   echo "$as_me:$LINENO: result: $ac_ct_CXX" >&5
3359 echo "${ECHO_T}$ac_ct_CXX" >&6
3360 else
3361   echo "$as_me:$LINENO: result: no" >&5
3362 echo "${ECHO_T}no" >&6
3363 fi
3364
3365   test -n "$ac_ct_CXX" && break
3366 done
3367 test -n "$ac_ct_CXX" || ac_ct_CXX="g++"
3368
3369   CXX=$ac_ct_CXX
3370 fi
3371
3372
3373 # Provide some information about the compiler.
3374 echo "$as_me:$LINENO:" \
3375      "checking for C++ compiler version" >&5
3376 ac_compiler=`set X $ac_compile; echo $2`
3377 { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
3378   (eval $ac_compiler --version </dev/null >&5) 2>&5
3379   ac_status=$?
3380   echo "$as_me:$LINENO: \$? = $ac_status" >&5
3381   (exit $ac_status); }
3382 { (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
3383   (eval $ac_compiler -v </dev/null >&5) 2>&5
3384   ac_status=$?
3385   echo "$as_me:$LINENO: \$? = $ac_status" >&5
3386   (exit $ac_status); }
3387 { (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
3388   (eval $ac_compiler -V </dev/null >&5) 2>&5
3389   ac_status=$?
3390   echo "$as_me:$LINENO: \$? = $ac_status" >&5
3391   (exit $ac_status); }
3392
3393 echo "$as_me:$LINENO: checking whether we are using the GNU C++ compiler" >&5
3394 echo $ECHO_N "checking whether we are using the GNU C++ compiler... $ECHO_C" >&6
3395 if test "${ac_cv_cxx_compiler_gnu+set}" = set; then
3396   echo $ECHO_N "(cached) $ECHO_C" >&6
3397 else
3398   cat >conftest.$ac_ext <<_ACEOF
3399 /* confdefs.h.  */
3400 _ACEOF
3401 cat confdefs.h >>conftest.$ac_ext
3402 cat >>conftest.$ac_ext <<_ACEOF
3403 /* end confdefs.h.  */
3404
3405 int
3406 main ()
3407 {
3408 #ifndef __GNUC__
3409        choke me
3410 #endif
3411
3412   ;
3413   return 0;
3414 }
3415 _ACEOF
3416 rm -f conftest.$ac_objext
3417 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3418   (eval $ac_compile) 2>conftest.er1
3419   ac_status=$?
3420   grep -v '^ *+' conftest.er1 >conftest.err
3421   rm -f conftest.er1
3422   cat conftest.err >&5
3423   echo "$as_me:$LINENO: \$? = $ac_status" >&5
3424   (exit $ac_status); } &&
3425          { ac_try='test -z "$ac_cxx_werror_flag"
3426                          || test ! -s conftest.err'
3427   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3428   (eval $ac_try) 2>&5
3429   ac_status=$?
3430   echo "$as_me:$LINENO: \$? = $ac_status" >&5
3431   (exit $ac_status); }; } &&
3432          { ac_try='test -s conftest.$ac_objext'
3433   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3434   (eval $ac_try) 2>&5
3435   ac_status=$?
3436   echo "$as_me:$LINENO: \$? = $ac_status" >&5
3437   (exit $ac_status); }; }; then
3438   ac_compiler_gnu=yes
3439 else
3440   echo "$as_me: failed program was:" >&5
3441 sed 's/^/| /' conftest.$ac_ext >&5
3442
3443 ac_compiler_gnu=no
3444 fi
3445 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
3446 ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
3447
3448 fi
3449 echo "$as_me:$LINENO: result: $ac_cv_cxx_compiler_gnu" >&5
3450 echo "${ECHO_T}$ac_cv_cxx_compiler_gnu" >&6
3451 GXX=`test $ac_compiler_gnu = yes && echo yes`
3452 ac_test_CXXFLAGS=${CXXFLAGS+set}
3453 ac_save_CXXFLAGS=$CXXFLAGS
3454 CXXFLAGS="-g"
3455 echo "$as_me:$LINENO: checking whether $CXX accepts -g" >&5
3456 echo $ECHO_N "checking whether $CXX accepts -g... $ECHO_C" >&6
3457 if test "${ac_cv_prog_cxx_g+set}" = set; then
3458   echo $ECHO_N "(cached) $ECHO_C" >&6
3459 else
3460   cat >conftest.$ac_ext <<_ACEOF
3461 /* confdefs.h.  */
3462 _ACEOF
3463 cat confdefs.h >>conftest.$ac_ext
3464 cat >>conftest.$ac_ext <<_ACEOF
3465 /* end confdefs.h.  */
3466
3467 int
3468 main ()
3469 {
3470
3471   ;
3472   return 0;
3473 }
3474 _ACEOF
3475 rm -f conftest.$ac_objext
3476 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3477   (eval $ac_compile) 2>conftest.er1
3478   ac_status=$?
3479   grep -v '^ *+' conftest.er1 >conftest.err
3480   rm -f conftest.er1
3481   cat conftest.err >&5
3482   echo "$as_me:$LINENO: \$? = $ac_status" >&5
3483   (exit $ac_status); } &&
3484          { ac_try='test -z "$ac_cxx_werror_flag"
3485                          || test ! -s conftest.err'
3486   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3487   (eval $ac_try) 2>&5
3488   ac_status=$?
3489   echo "$as_me:$LINENO: \$? = $ac_status" >&5
3490   (exit $ac_status); }; } &&
3491          { ac_try='test -s conftest.$ac_objext'
3492   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3493   (eval $ac_try) 2>&5
3494   ac_status=$?
3495   echo "$as_me:$LINENO: \$? = $ac_status" >&5
3496   (exit $ac_status); }; }; then
3497   ac_cv_prog_cxx_g=yes
3498 else
3499   echo "$as_me: failed program was:" >&5
3500 sed 's/^/| /' conftest.$ac_ext >&5
3501
3502 ac_cv_prog_cxx_g=no
3503 fi
3504 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
3505 fi
3506 echo "$as_me:$LINENO: result: $ac_cv_prog_cxx_g" >&5
3507 echo "${ECHO_T}$ac_cv_prog_cxx_g" >&6
3508 if test "$ac_test_CXXFLAGS" = set; then
3509   CXXFLAGS=$ac_save_CXXFLAGS
3510 elif test $ac_cv_prog_cxx_g = yes; then
3511   if test "$GXX" = yes; then
3512     CXXFLAGS="-g -O2"
3513   else
3514     CXXFLAGS="-g"
3515   fi
3516 else
3517   if test "$GXX" = yes; then
3518     CXXFLAGS="-O2"
3519   else
3520     CXXFLAGS=
3521   fi
3522 fi
3523 for ac_declaration in \
3524    '' \
3525    'extern "C" void std::exit (int) throw (); using std::exit;' \
3526    'extern "C" void std::exit (int); using std::exit;' \
3527    'extern "C" void exit (int) throw ();' \
3528    'extern "C" void exit (int);' \
3529    'void exit (int);'
3530 do
3531   cat >conftest.$ac_ext <<_ACEOF
3532 /* confdefs.h.  */
3533 _ACEOF
3534 cat confdefs.h >>conftest.$ac_ext
3535 cat >>conftest.$ac_ext <<_ACEOF
3536 /* end confdefs.h.  */
3537 $ac_declaration
3538 #include <stdlib.h>
3539 int
3540 main ()
3541 {
3542 exit (42);
3543   ;
3544   return 0;
3545 }
3546 _ACEOF
3547 rm -f conftest.$ac_objext
3548 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3549   (eval $ac_compile) 2>conftest.er1
3550   ac_status=$?
3551   grep -v '^ *+' conftest.er1 >conftest.err
3552   rm -f conftest.er1
3553   cat conftest.err >&5
3554   echo "$as_me:$LINENO: \$? = $ac_status" >&5
3555   (exit $ac_status); } &&
3556          { ac_try='test -z "$ac_cxx_werror_flag"
3557                          || test ! -s conftest.err'
3558   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3559   (eval $ac_try) 2>&5
3560   ac_status=$?
3561   echo "$as_me:$LINENO: \$? = $ac_status" >&5
3562   (exit $ac_status); }; } &&
3563          { ac_try='test -s conftest.$ac_objext'
3564   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3565   (eval $ac_try) 2>&5
3566   ac_status=$?
3567   echo "$as_me:$LINENO: \$? = $ac_status" >&5
3568   (exit $ac_status); }; }; then
3569   :
3570 else
3571   echo "$as_me: failed program was:" >&5
3572 sed 's/^/| /' conftest.$ac_ext >&5
3573
3574 continue
3575 fi
3576 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
3577   cat >conftest.$ac_ext <<_ACEOF
3578 /* confdefs.h.  */
3579 _ACEOF
3580 cat confdefs.h >>conftest.$ac_ext
3581 cat >>conftest.$ac_ext <<_ACEOF
3582 /* end confdefs.h.  */
3583 $ac_declaration
3584 int
3585 main ()
3586 {
3587 exit (42);
3588   ;
3589   return 0;
3590 }
3591 _ACEOF
3592 rm -f conftest.$ac_objext
3593 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3594   (eval $ac_compile) 2>conftest.er1
3595   ac_status=$?
3596   grep -v '^ *+' conftest.er1 >conftest.err
3597   rm -f conftest.er1
3598   cat conftest.err >&5
3599   echo "$as_me:$LINENO: \$? = $ac_status" >&5
3600   (exit $ac_status); } &&
3601          { ac_try='test -z "$ac_cxx_werror_flag"
3602                          || test ! -s conftest.err'
3603   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3604   (eval $ac_try) 2>&5
3605   ac_status=$?
3606   echo "$as_me:$LINENO: \$? = $ac_status" >&5
3607   (exit $ac_status); }; } &&
3608          { ac_try='test -s conftest.$ac_objext'
3609   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3610   (eval $ac_try) 2>&5
3611   ac_status=$?
3612   echo "$as_me:$LINENO: \$? = $ac_status" >&5
3613   (exit $ac_status); }; }; then
3614   break
3615 else
3616   echo "$as_me: failed program was:" >&5
3617 sed 's/^/| /' conftest.$ac_ext >&5
3618
3619 fi
3620 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
3621 done
3622 rm -f conftest*
3623 if test -n "$ac_declaration"; then
3624   echo '#ifdef __cplusplus' >>confdefs.h
3625   echo $ac_declaration      >>confdefs.h
3626   echo '#endif'             >>confdefs.h
3627 fi
3628
3629 ac_ext=c
3630 ac_cpp='$CPP $CPPFLAGS'
3631 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3632 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3633 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3634
3635   CXXFLAGS="$save_CXXFLAGS"
3636
3637
3638
3639
3640   # Will set LN_S to either 'ln -s', 'ln', or 'cp -p' (if linking isn't
3641   # available).  Uncomment the next line to force a particular method.
3642   echo "$as_me:$LINENO: checking whether ln -s works" >&5
3643 echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6
3644 LN_S=$as_ln_s
3645 if test "$LN_S" = "ln -s"; then
3646   echo "$as_me:$LINENO: result: yes" >&5
3647 echo "${ECHO_T}yes" >&6
3648 else
3649   echo "$as_me:$LINENO: result: no, using $LN_S" >&5
3650 echo "${ECHO_T}no, using $LN_S" >&6
3651 fi
3652
3653   #LN_S='cp -p'
3654
3655   if test -n "$ac_tool_prefix"; then
3656   # Extract the first word of "${ac_tool_prefix}as", so it can be a program name with args.
3657 set dummy ${ac_tool_prefix}as; ac_word=$2
3658 echo "$as_me:$LINENO: checking for $ac_word" >&5
3659 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3660 if test "${ac_cv_prog_AS+set}" = set; then
3661   echo $ECHO_N "(cached) $ECHO_C" >&6
3662 else
3663   if test -n "$AS"; then
3664   ac_cv_prog_AS="$AS" # Let the user override the test.
3665 else
3666 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3667 for as_dir in $PATH
3668 do
3669   IFS=$as_save_IFS
3670   test -z "$as_dir" && as_dir=.
3671   for ac_exec_ext in '' $ac_executable_extensions; do
3672   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3673     ac_cv_prog_AS="${ac_tool_prefix}as"
3674     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3675     break 2
3676   fi
3677 done
3678 done
3679
3680 fi
3681 fi
3682 AS=$ac_cv_prog_AS
3683 if test -n "$AS"; then
3684   echo "$as_me:$LINENO: result: $AS" >&5
3685 echo "${ECHO_T}$AS" >&6
3686 else
3687   echo "$as_me:$LINENO: result: no" >&5
3688 echo "${ECHO_T}no" >&6
3689 fi
3690
3691 fi
3692 if test -z "$ac_cv_prog_AS"; then
3693   ac_ct_AS=$AS
3694   # Extract the first word of "as", so it can be a program name with args.
3695 set dummy as; ac_word=$2
3696 echo "$as_me:$LINENO: checking for $ac_word" >&5
3697 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3698 if test "${ac_cv_prog_ac_ct_AS+set}" = set; then
3699   echo $ECHO_N "(cached) $ECHO_C" >&6
3700 else
3701   if test -n "$ac_ct_AS"; then
3702   ac_cv_prog_ac_ct_AS="$ac_ct_AS" # Let the user override the test.
3703 else
3704 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3705 for as_dir in $PATH
3706 do
3707   IFS=$as_save_IFS
3708   test -z "$as_dir" && as_dir=.
3709   for ac_exec_ext in '' $ac_executable_extensions; do
3710   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3711     ac_cv_prog_ac_ct_AS="as"
3712     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3713     break 2
3714   fi
3715 done
3716 done
3717
3718 fi
3719 fi
3720 ac_ct_AS=$ac_cv_prog_ac_ct_AS
3721 if test -n "$ac_ct_AS"; then
3722   echo "$as_me:$LINENO: result: $ac_ct_AS" >&5
3723 echo "${ECHO_T}$ac_ct_AS" >&6
3724 else
3725   echo "$as_me:$LINENO: result: no" >&5
3726 echo "${ECHO_T}no" >&6
3727 fi
3728
3729   AS=$ac_ct_AS
3730 else
3731   AS="$ac_cv_prog_AS"
3732 fi
3733
3734   if test -n "$ac_tool_prefix"; then
3735   # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
3736 set dummy ${ac_tool_prefix}ar; ac_word=$2
3737 echo "$as_me:$LINENO: checking for $ac_word" >&5
3738 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3739 if test "${ac_cv_prog_AR+set}" = set; then
3740   echo $ECHO_N "(cached) $ECHO_C" >&6
3741 else
3742   if test -n "$AR"; then
3743   ac_cv_prog_AR="$AR" # Let the user override the test.
3744 else
3745 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3746 for as_dir in $PATH
3747 do
3748   IFS=$as_save_IFS
3749   test -z "$as_dir" && as_dir=.
3750   for ac_exec_ext in '' $ac_executable_extensions; do
3751   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3752     ac_cv_prog_AR="${ac_tool_prefix}ar"
3753     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3754     break 2
3755   fi
3756 done
3757 done
3758
3759 fi
3760 fi
3761 AR=$ac_cv_prog_AR
3762 if test -n "$AR"; then
3763   echo "$as_me:$LINENO: result: $AR" >&5
3764 echo "${ECHO_T}$AR" >&6
3765 else
3766   echo "$as_me:$LINENO: result: no" >&5
3767 echo "${ECHO_T}no" >&6
3768 fi
3769
3770 fi
3771 if test -z "$ac_cv_prog_AR"; then
3772   ac_ct_AR=$AR
3773   # Extract the first word of "ar", so it can be a program name with args.
3774 set dummy ar; ac_word=$2
3775 echo "$as_me:$LINENO: checking for $ac_word" >&5
3776 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3777 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then
3778   echo $ECHO_N "(cached) $ECHO_C" >&6
3779 else
3780   if test -n "$ac_ct_AR"; then
3781   ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
3782 else
3783 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3784 for as_dir in $PATH
3785 do
3786   IFS=$as_save_IFS
3787   test -z "$as_dir" && as_dir=.
3788   for ac_exec_ext in '' $ac_executable_extensions; do
3789   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3790     ac_cv_prog_ac_ct_AR="ar"
3791     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3792     break 2
3793   fi
3794 done
3795 done
3796
3797 fi
3798 fi
3799 ac_ct_AR=$ac_cv_prog_ac_ct_AR
3800 if test -n "$ac_ct_AR"; then
3801   echo "$as_me:$LINENO: result: $ac_ct_AR" >&5
3802 echo "${ECHO_T}$ac_ct_AR" >&6
3803 else
3804   echo "$as_me:$LINENO: result: no" >&5
3805 echo "${ECHO_T}no" >&6
3806 fi
3807
3808   AR=$ac_ct_AR
3809 else
3810   AR="$ac_cv_prog_AR"
3811 fi
3812
3813   if test -n "$ac_tool_prefix"; then
3814   # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
3815 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
3816 echo "$as_me:$LINENO: checking for $ac_word" >&5
3817 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3818 if test "${ac_cv_prog_RANLIB+set}" = set; then
3819   echo $ECHO_N "(cached) $ECHO_C" >&6
3820 else
3821   if test -n "$RANLIB"; then
3822   ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
3823 else
3824 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3825 for as_dir in $PATH
3826 do
3827   IFS=$as_save_IFS
3828   test -z "$as_dir" && as_dir=.
3829   for ac_exec_ext in '' $ac_executable_extensions; do
3830   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3831     ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
3832     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3833     break 2
3834   fi
3835 done
3836 done
3837
3838 fi
3839 fi
3840 RANLIB=$ac_cv_prog_RANLIB
3841 if test -n "$RANLIB"; then
3842   echo "$as_me:$LINENO: result: $RANLIB" >&5
3843 echo "${ECHO_T}$RANLIB" >&6
3844 else
3845   echo "$as_me:$LINENO: result: no" >&5
3846 echo "${ECHO_T}no" >&6
3847 fi
3848
3849 fi
3850 if test -z "$ac_cv_prog_RANLIB"; then
3851   ac_ct_RANLIB=$RANLIB
3852   # Extract the first word of "ranlib", so it can be a program name with args.
3853 set dummy ranlib; ac_word=$2
3854 echo "$as_me:$LINENO: checking for $ac_word" >&5
3855 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3856 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
3857   echo $ECHO_N "(cached) $ECHO_C" >&6
3858 else
3859   if test -n "$ac_ct_RANLIB"; then
3860   ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
3861 else
3862 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3863 for as_dir in $PATH
3864 do
3865   IFS=$as_save_IFS
3866   test -z "$as_dir" && as_dir=.
3867   for ac_exec_ext in '' $ac_executable_extensions; do
3868   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3869     ac_cv_prog_ac_ct_RANLIB="ranlib"
3870     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3871     break 2
3872   fi
3873 done
3874 done
3875
3876   test -z "$ac_cv_prog_ac_ct_RANLIB" && ac_cv_prog_ac_ct_RANLIB="ranlib-not-found-in-path-error"
3877 fi
3878 fi
3879 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
3880 if test -n "$ac_ct_RANLIB"; then
3881   echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
3882 echo "${ECHO_T}$ac_ct_RANLIB" >&6
3883 else
3884   echo "$as_me:$LINENO: result: no" >&5
3885 echo "${ECHO_T}no" >&6
3886 fi
3887
3888   RANLIB=$ac_ct_RANLIB
3889 else
3890   RANLIB="$ac_cv_prog_RANLIB"
3891 fi
3892
3893
3894   echo "$as_me:$LINENO: checking whether to enable maintainer-specific portions of Makefiles" >&5
3895 echo $ECHO_N "checking whether to enable maintainer-specific portions of Makefiles... $ECHO_C" >&6
3896     # Check whether --enable-maintainer-mode or --disable-maintainer-mode was given.
3897 if test "${enable_maintainer_mode+set}" = set; then
3898   enableval="$enable_maintainer_mode"
3899   USE_MAINTAINER_MODE=$enableval
3900 else
3901   USE_MAINTAINER_MODE=no
3902 fi;
3903   echo "$as_me:$LINENO: result: $USE_MAINTAINER_MODE" >&5
3904 echo "${ECHO_T}$USE_MAINTAINER_MODE" >&6
3905
3906
3907 if test $USE_MAINTAINER_MODE = yes; then
3908   MAINTAINER_MODE_TRUE=
3909   MAINTAINER_MODE_FALSE='#'
3910 else
3911   MAINTAINER_MODE_TRUE='#'
3912   MAINTAINER_MODE_FALSE=
3913 fi
3914
3915   MAINT=$MAINTAINER_MODE_TRUE
3916
3917
3918
3919   # Set up safe default values for all subsequent AM_CONDITIONAL tests
3920   # which are themselves conditionally expanded.
3921   ## (Right now, this only matters for enable_wchar_t, but nothing prevents
3922   ## other macros from doing the same.  This should be automated.)  -pme
3923   need_libmath=no
3924
3925   # Check for uClibc since Linux platforms use different configuration
3926   # directories depending on the C library in use.
3927   cat >conftest.$ac_ext <<_ACEOF
3928 /* confdefs.h.  */
3929 _ACEOF
3930 cat confdefs.h >>conftest.$ac_ext
3931 cat >>conftest.$ac_ext <<_ACEOF
3932 /* end confdefs.h.  */
3933
3934   #include <stdio.h>
3935   #if __UCLIBC__
3936     _using_uclibc
3937   #endif
3938
3939 _ACEOF
3940 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
3941   $EGREP "_using_uclibc" >/dev/null 2>&1; then
3942   uclibc=yes
3943 else
3944   uclibc=no
3945 fi
3946 rm -f conftest*
3947
3948
3949   # Find platform-specific directories containing configuration info.
3950   # Also possibly modify flags used elsewhere, as needed by the platform.
3951
3952   . $glibcxx_srcdir/configure.host
3953   { echo "$as_me:$LINENO: CPU config directory is $cpu_include_dir" >&5
3954 echo "$as_me: CPU config directory is $cpu_include_dir" >&6;}
3955   { echo "$as_me:$LINENO: OS config directory is $os_include_dir" >&5
3956 echo "$as_me: OS config directory is $os_include_dir" >&6;}
3957
3958
3959
3960
3961 # Check whether --enable-shared or --disable-shared was given.
3962 if test "${enable_shared+set}" = set; then
3963   enableval="$enable_shared"
3964   p=${PACKAGE-default}
3965 case $enableval in
3966 yes) enable_shared=yes ;;
3967 no) enable_shared=no ;;
3968 *)
3969   enable_shared=no
3970   # Look at the argument we got.  We use all the common list separators.
3971   IFS="${IFS=   }"; ac_save_ifs="$IFS"; IFS="${IFS}:,"
3972   for pkg in $enableval; do
3973     if test "X$pkg" = "X$p"; then
3974       enable_shared=yes
3975     fi
3976   done
3977   IFS="$ac_save_ifs"
3978   ;;
3979 esac
3980 else
3981   enable_shared=yes
3982 fi;
3983 # Check whether --enable-static or --disable-static was given.
3984 if test "${enable_static+set}" = set; then
3985   enableval="$enable_static"
3986   p=${PACKAGE-default}
3987 case $enableval in
3988 yes) enable_static=yes ;;
3989 no) enable_static=no ;;
3990 *)
3991   enable_static=no
3992   # Look at the argument we got.  We use all the common list separators.
3993   IFS="${IFS=   }"; ac_save_ifs="$IFS"; IFS="${IFS}:,"
3994   for pkg in $enableval; do
3995     if test "X$pkg" = "X$p"; then
3996       enable_static=yes
3997     fi
3998   done
3999   IFS="$ac_save_ifs"
4000   ;;
4001 esac
4002 else
4003   enable_static=yes
4004 fi;
4005 # Check whether --enable-fast-install or --disable-fast-install was given.
4006 if test "${enable_fast_install+set}" = set; then
4007   enableval="$enable_fast_install"
4008   p=${PACKAGE-default}
4009 case $enableval in
4010 yes) enable_fast_install=yes ;;
4011 no) enable_fast_install=no ;;
4012 *)
4013   enable_fast_install=no
4014   # Look at the argument we got.  We use all the common list separators.
4015   IFS="${IFS=   }"; ac_save_ifs="$IFS"; IFS="${IFS}:,"
4016   for pkg in $enableval; do
4017     if test "X$pkg" = "X$p"; then
4018       enable_fast_install=yes
4019     fi
4020   done
4021   IFS="$ac_save_ifs"
4022   ;;
4023 esac
4024 else
4025   enable_fast_install=yes
4026 fi;
4027
4028 # Check whether --with-gnu-ld or --without-gnu-ld was given.
4029 if test "${with_gnu_ld+set}" = set; then
4030   withval="$with_gnu_ld"
4031   test "$withval" = no || with_gnu_ld=yes
4032 else
4033   with_gnu_ld=no
4034 fi;
4035 ac_prog=ld
4036 if test "$GCC" = yes; then
4037   # Check if gcc -print-prog-name=ld gives a path.
4038   echo "$as_me:$LINENO: checking for ld used by GCC" >&5
4039 echo $ECHO_N "checking for ld used by GCC... $ECHO_C" >&6
4040   case $host in
4041   *-*-mingw*)
4042     # gcc leaves a trailing carriage return which upsets mingw
4043     ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
4044   *)
4045     ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
4046   esac
4047   case $ac_prog in
4048     # Accept absolute paths.
4049     [\\/]* | [A-Za-z]:[\\/]*)
4050       re_direlt='/[^/][^/]*/\.\./'
4051       # Canonicalize the path of ld
4052       ac_prog=`echo $ac_prog| sed 's%\\\\%/%g'`
4053       while echo $ac_prog | grep "$re_direlt" > /dev/null 2>&1; do
4054         ac_prog=`echo $ac_prog| sed "s%$re_direlt%/%"`
4055       done
4056       test -z "$LD" && LD="$ac_prog"
4057       ;;
4058   "")
4059     # If it fails, then pretend we aren't using GCC.
4060     ac_prog=ld
4061     ;;
4062   *)
4063     # If it is relative, then search for the first ld in PATH.
4064     with_gnu_ld=unknown
4065     ;;
4066   esac
4067 elif test "$with_gnu_ld" = yes; then
4068   echo "$as_me:$LINENO: checking for GNU ld" >&5
4069 echo $ECHO_N "checking for GNU ld... $ECHO_C" >&6
4070 else
4071   echo "$as_me:$LINENO: checking for non-GNU ld" >&5
4072 echo $ECHO_N "checking for non-GNU ld... $ECHO_C" >&6
4073 fi
4074 if test "${lt_cv_path_LD+set}" = set; then
4075   echo $ECHO_N "(cached) $ECHO_C" >&6
4076 else
4077   if test -z "$LD"; then
4078   IFS="${IFS=   }"; ac_save_ifs="$IFS"; IFS="${IFS}${PATH_SEPARATOR-:}"
4079   for ac_dir in $PATH; do
4080     test -z "$ac_dir" && ac_dir=.
4081     if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
4082       lt_cv_path_LD="$ac_dir/$ac_prog"
4083       # Check to see if the program is GNU ld.  I'd rather use --version,
4084       # but apparently some GNU ld's only accept -v.
4085       # Break only if it was the GNU/non-GNU ld that we prefer.
4086       if "$lt_cv_path_LD" -v 2>&1 < /dev/null | egrep '(GNU|with BFD)' > /dev/null; then
4087         test "$with_gnu_ld" != no && break
4088       else
4089         test "$with_gnu_ld" != yes && break
4090       fi
4091     fi
4092   done
4093   IFS="$ac_save_ifs"
4094 else
4095   lt_cv_path_LD="$LD" # Let the user override the test with a path.
4096 fi
4097 fi
4098
4099 LD="$lt_cv_path_LD"
4100 if test -n "$LD"; then
4101   echo "$as_me:$LINENO: result: $LD" >&5
4102 echo "${ECHO_T}$LD" >&6
4103 else
4104   echo "$as_me:$LINENO: result: no" >&5
4105 echo "${ECHO_T}no" >&6
4106 fi
4107 test -z "$LD" && { { echo "$as_me:$LINENO: error: no acceptable ld found in \$PATH" >&5
4108 echo "$as_me: error: no acceptable ld found in \$PATH" >&2;}
4109    { (exit 1); exit 1; }; }
4110 echo "$as_me:$LINENO: checking if the linker ($LD) is GNU ld" >&5
4111 echo $ECHO_N "checking if the linker ($LD) is GNU ld... $ECHO_C" >&6
4112 if test "${lt_cv_prog_gnu_ld+set}" = set; then
4113   echo $ECHO_N "(cached) $ECHO_C" >&6
4114 else
4115   # I'd rather use --version here, but apparently some GNU ld's only accept -v.
4116 if $LD -v 2>&1 </dev/null | egrep '(GNU|with BFD)' 1>&5; then
4117   lt_cv_prog_gnu_ld=yes
4118 else
4119   lt_cv_prog_gnu_ld=no
4120 fi
4121 fi
4122 echo "$as_me:$LINENO: result: $lt_cv_prog_gnu_ld" >&5
4123 echo "${ECHO_T}$lt_cv_prog_gnu_ld" >&6
4124 with_gnu_ld=$lt_cv_prog_gnu_ld
4125
4126
4127 echo "$as_me:$LINENO: checking for $LD option to reload object files" >&5
4128 echo $ECHO_N "checking for $LD option to reload object files... $ECHO_C" >&6
4129 if test "${lt_cv_ld_reload_flag+set}" = set; then
4130   echo $ECHO_N "(cached) $ECHO_C" >&6
4131 else
4132   lt_cv_ld_reload_flag='-r'
4133 fi
4134 echo "$as_me:$LINENO: result: $lt_cv_ld_reload_flag" >&5
4135 echo "${ECHO_T}$lt_cv_ld_reload_flag" >&6
4136 reload_flag=$lt_cv_ld_reload_flag
4137 test -n "$reload_flag" && reload_flag=" $reload_flag"
4138
4139 echo "$as_me:$LINENO: checking for BSD-compatible nm" >&5
4140 echo $ECHO_N "checking for BSD-compatible nm... $ECHO_C" >&6
4141 if test "${lt_cv_path_NM+set}" = set; then
4142   echo $ECHO_N "(cached) $ECHO_C" >&6
4143 else
4144   if test -n "$NM"; then
4145   # Let the user override the test.
4146   lt_cv_path_NM="$NM"
4147 else
4148   IFS="${IFS=   }"; ac_save_ifs="$IFS"; IFS="${IFS}${PATH_SEPARATOR-:}"
4149   for ac_dir in $PATH /usr/ccs/bin /usr/ucb /bin; do
4150     test -z "$ac_dir" && ac_dir=.
4151     tmp_nm=$ac_dir/${ac_tool_prefix}nm
4152     if test -f $tmp_nm || test -f $tmp_nm$ac_exeext ; then
4153       # Check to see if the nm accepts a BSD-compat flag.
4154       # Adding the `sed 1q' prevents false positives on HP-UX, which says:
4155       #   nm: unknown option "B" ignored
4156       # Tru64's nm complains that /dev/null is an invalid object file
4157       if ($tmp_nm -B /dev/null 2>&1 | sed '1q'; exit 0) | egrep '(/dev/null|Invalid file or object type)' >/dev/null; then
4158         lt_cv_path_NM="$tmp_nm -B"
4159         break
4160       elif ($tmp_nm -p /dev/null 2>&1 | sed '1q'; exit 0) | egrep /dev/null >/dev/null; then
4161         lt_cv_path_NM="$tmp_nm -p"
4162         break
4163       else
4164         lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
4165         continue # so that we can try to find one that supports BSD flags
4166       fi
4167     fi
4168   done
4169   IFS="$ac_save_ifs"
4170   test -z "$lt_cv_path_NM" && lt_cv_path_NM=nm
4171 fi
4172 fi
4173
4174 NM="$lt_cv_path_NM"
4175 echo "$as_me:$LINENO: result: $NM" >&5
4176 echo "${ECHO_T}$NM" >&6
4177
4178 echo "$as_me:$LINENO: checking how to recognise dependant libraries" >&5
4179 echo $ECHO_N "checking how to recognise dependant libraries... $ECHO_C" >&6
4180 if test "${lt_cv_deplibs_check_method+set}" = set; then
4181   echo $ECHO_N "(cached) $ECHO_C" >&6
4182 else
4183   lt_cv_file_magic_cmd='$MAGIC_CMD'
4184 lt_cv_file_magic_test_file=
4185 lt_cv_deplibs_check_method='unknown'
4186 # Need to set the preceding variable on all platforms that support
4187 # interlibrary dependencies.
4188 # 'none' -- dependencies not supported.
4189 # `unknown' -- same as none, but documents that we really don't know.
4190 # 'pass_all' -- all dependencies passed with no checks.
4191 # 'test_compile' -- check by making test program.
4192 # 'file_magic [regex]' -- check by looking for files in library path
4193 # which responds to the $file_magic_cmd with a given egrep regex.
4194 # If you have `file' or equivalent on your system and you're not sure
4195 # whether `pass_all' will *always* work, you probably want this one.
4196
4197 case $host_os in
4198 aix*)
4199   lt_cv_deplibs_check_method=pass_all
4200   ;;
4201
4202 beos*)
4203   lt_cv_deplibs_check_method=pass_all
4204   ;;
4205
4206 bsdi4*)
4207   lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
4208   lt_cv_file_magic_cmd='/usr/bin/file -L'
4209   lt_cv_file_magic_test_file=/shlib/libc.so
4210   ;;
4211
4212 cygwin* | mingw* |pw32*)
4213   lt_cv_deplibs_check_method='file_magic file format pei*-i386(.*architecture: i386)?'
4214   lt_cv_file_magic_cmd='$OBJDUMP -f'
4215   ;;
4216
4217 darwin* | rhapsody*)
4218   # this will be overwritten by pass_all, but leave it in just in case
4219   lt_cv_deplibs_check_method='file_magic Mach-O dynamically linked shared library'
4220   lt_cv_file_magic_cmd='/usr/bin/file -L'
4221   case "$host_os" in
4222   rhapsody* | darwin1.012)
4223     lt_cv_file_magic_test_file='/System/Library/Frameworks/System.framework/System'
4224     ;;
4225   *) # Darwin 1.3 on
4226     lt_cv_file_magic_test_file='/usr/lib/libSystem.dylib'
4227     ;;
4228   esac
4229   lt_cv_deplibs_check_method=pass_all
4230   ;;
4231
4232 freebsd* | kfreebsd*-gnu)
4233   if echo __ELF__ | $CC -E - | grep __ELF__ > /dev/null; then
4234     case $host_cpu in
4235     i*86 )
4236       # Not sure whether the presence of OpenBSD here was a mistake.
4237       # Let's accept both of them until this is cleared up.
4238       lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD)/i[3-9]86 (compact )?demand paged shared library'
4239       lt_cv_file_magic_cmd=/usr/bin/file
4240       lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
4241       ;;
4242     esac
4243   else
4244     lt_cv_deplibs_check_method=pass_all
4245   fi
4246   ;;
4247
4248 gnu*)
4249   lt_cv_deplibs_check_method=pass_all
4250   ;;
4251
4252 hpux10.20*|hpux11*)
4253   case $host_cpu in
4254   hppa*)
4255     lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9].[0-9]) shared library'
4256     lt_cv_file_magic_cmd=/usr/bin/file
4257     lt_cv_file_magic_test_file=/usr/lib/libc.sl
4258     ;;
4259   ia64*)
4260     lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
4261     lt_cv_file_magic_cmd=/usr/bin/file
4262     lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so
4263     ;;
4264   esac
4265   ;;
4266
4267 irix5* | irix6*)
4268   case $host_os in
4269   irix5*)
4270     # this will be overridden with pass_all, but let us keep it just in case
4271     lt_cv_deplibs_check_method="file_magic ELF 32-bit MSB dynamic lib MIPS - version 1"
4272     ;;
4273   *)
4274     case $LD in
4275     *-32|*"-32 ") libmagic=32-bit;;
4276     *-n32|*"-n32 ") libmagic=N32;;
4277     *-64|*"-64 ") libmagic=64-bit;;
4278     *) libmagic=never-match;;
4279     esac
4280     # this will be overridden with pass_all, but let us keep it just in case
4281     lt_cv_deplibs_check_method="file_magic ELF ${libmagic} MSB mips-[1234] dynamic lib MIPS - version 1"
4282     ;;
4283   esac
4284   lt_cv_file_magic_test_file=`echo /lib${libsuff}/libc.so*`
4285   lt_cv_deplibs_check_method=pass_all
4286   ;;
4287
4288 # This must be Linux ELF.
4289 linux-gnu*)
4290   lt_cv_deplibs_check_method=pass_all
4291   ;;
4292
4293 netbsd* | knetbsd*-gnu)
4294   if echo __ELF__ | $CC -E - | grep __ELF__ > /dev/null; then
4295     lt_cv_deplibs_check_method='match_pattern /lib[^/\.]+\.so\.[0-9]+\.[0-9]+$'
4296   else
4297     lt_cv_deplibs_check_method='match_pattern /lib[^/\.]+\.so$'
4298   fi
4299   ;;
4300
4301 newsos6)
4302   lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
4303   lt_cv_file_magic_cmd=/usr/bin/file
4304   lt_cv_file_magic_test_file=/usr/lib/libnls.so
4305   ;;
4306
4307 osf3* | osf4* | osf5*)
4308   # this will be overridden with pass_all, but let us keep it just in case
4309   lt_cv_deplibs_check_method='file_magic COFF format alpha shared library'
4310   lt_cv_file_magic_test_file=/shlib/libc.so
4311   lt_cv_deplibs_check_method=pass_all
4312   ;;
4313
4314 sco3.2v5*)
4315   lt_cv_deplibs_check_method=pass_all
4316   ;;
4317
4318 solaris*)
4319   lt_cv_deplibs_check_method=pass_all
4320   lt_cv_file_magic_test_file=/lib/libc.so
4321   ;;
4322
4323 sysv5uw[78]* | sysv4*uw2*)
4324   lt_cv_deplibs_check_method=pass_all
4325   ;;
4326
4327 sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
4328   case $host_vendor in
4329   ncr)
4330     lt_cv_deplibs_check_method=pass_all
4331     ;;
4332   motorola)
4333     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]'
4334     lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*`
4335     ;;
4336   esac
4337   ;;
4338 esac
4339
4340 fi
4341 echo "$as_me:$LINENO: result: $lt_cv_deplibs_check_method" >&5
4342 echo "${ECHO_T}$lt_cv_deplibs_check_method" >&6
4343 file_magic_cmd=$lt_cv_file_magic_cmd
4344 deplibs_check_method=$lt_cv_deplibs_check_method
4345
4346
4347
4348
4349 # Autoconf 2.13's AC_OBJEXT and AC_EXEEXT macros only works for C compilers!
4350
4351 # find the maximum length of command line arguments
4352 echo "$as_me:$LINENO: checking the maximum length of command line arguments" >&5
4353 echo $ECHO_N "checking the maximum length of command line arguments... $ECHO_C" >&6
4354 if test "${lt_cv_sys_max_cmd_len+set}" = set; then
4355   echo $ECHO_N "(cached) $ECHO_C" >&6
4356 else
4357     i=0
4358   teststring="ABCD"
4359
4360   case $build_os in
4361   msdosdjgpp*)
4362     # On DJGPP, this test can blow up pretty badly due to problems in libc
4363     # (any single argument exceeding 2000 bytes causes a buffer overrun
4364     # during glob expansion).  Even if it were fixed, the result of this
4365     # check would be larger than it should be.
4366     lt_cv_sys_max_cmd_len=12288;    # 12K is about right
4367     ;;
4368
4369   cygwin* | mingw*)
4370     # On Win9x/ME, this test blows up -- it succeeds, but takes
4371     # about 5 minutes as the teststring grows exponentially.
4372     # Worse, since 9x/ME are not pre-emptively multitasking,
4373     # you end up with a "frozen" computer, even though with patience
4374     # the test eventually succeeds (with a max line length of 256k).
4375     # Instead, let's just punt: use the minimum linelength reported by
4376     # all of the supported platforms: 8192 (on NT/2K/XP).
4377     lt_cv_sys_max_cmd_len=8192;
4378     ;;
4379
4380   amigaos*)
4381     # On AmigaOS with pdksh, this test takes hours, literally.
4382     # So we just punt and use a minimum line length of 8192.
4383     lt_cv_sys_max_cmd_len=8192;
4384     ;;
4385
4386   netbsd* | freebsd* | openbsd* | darwin* | dragonfly*)
4387     # This has been around since 386BSD, at least.  Likely further.
4388     if test -x /sbin/sysctl; then
4389       lt_cv_sys_max_cmd_len=`/sbin/sysctl -n kern.argmax`
4390     elif test -x /usr/sbin/sysctl; then
4391       lt_cv_sys_max_cmd_len=`/usr/sbin/sysctl -n kern.argmax`
4392     else
4393       lt_cv_sys_max_cmd_len=65536 # usable default for *BSD
4394     fi
4395     # And add a safety zone
4396     lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
4397     lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
4398     ;;
4399   esac
4400
4401 fi
4402
4403 if test -n "$lt_cv_sys_max_cmd_len" ; then
4404   echo "$as_me:$LINENO: result: $lt_cv_sys_max_cmd_len" >&5
4405 echo "${ECHO_T}$lt_cv_sys_max_cmd_len" >&6
4406 else
4407   echo "$as_me:$LINENO: result: none" >&5
4408 echo "${ECHO_T}none" >&6
4409 fi
4410
4411
4412 # Only perform the check for file, if the check method requires it
4413 case $deplibs_check_method in
4414 file_magic*)
4415   if test "$file_magic_cmd" = '$MAGIC_CMD'; then
4416     echo "$as_me:$LINENO: checking for ${ac_tool_prefix}file" >&5
4417 echo $ECHO_N "checking for ${ac_tool_prefix}file... $ECHO_C" >&6
4418 if test "${lt_cv_path_MAGIC_CMD+set}" = set; then
4419   echo $ECHO_N "(cached) $ECHO_C" >&6
4420 else
4421   case $MAGIC_CMD in
4422   /*)
4423   lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
4424   ;;
4425   ?:/*)
4426   lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a dos path.
4427   ;;
4428   *)
4429   ac_save_MAGIC_CMD="$MAGIC_CMD"
4430   IFS="${IFS=   }"; ac_save_ifs="$IFS"; IFS=":"
4431   ac_dummy="/usr/bin:$PATH"
4432   for ac_dir in $ac_dummy; do
4433     test -z "$ac_dir" && ac_dir=.
4434     if test -f $ac_dir/${ac_tool_prefix}file; then
4435       lt_cv_path_MAGIC_CMD="$ac_dir/${ac_tool_prefix}file"
4436       if test -n "$file_magic_test_file"; then
4437         case $deplibs_check_method in
4438         "file_magic "*)
4439           file_magic_regex="`expr \"$deplibs_check_method\" : \"file_magic \(.*\)\"`"
4440           MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
4441           if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
4442             egrep "$file_magic_regex" > /dev/null; then
4443             :
4444           else
4445             cat <<EOF 1>&2
4446
4447 *** Warning: the command libtool uses to detect shared libraries,
4448 *** $file_magic_cmd, produces output that libtool cannot recognize.
4449 *** The result is that libtool may fail to recognize shared libraries
4450 *** as such.  This will affect the creation of libtool libraries that
4451 *** depend on shared libraries, but programs linked with such libtool
4452 *** libraries will work regardless of this problem.  Nevertheless, you
4453 *** may want to report the problem to your system manager and/or to
4454 *** bug-libtool@gnu.org
4455
4456 EOF
4457           fi ;;
4458         esac
4459       fi
4460       break
4461     fi
4462   done
4463   IFS="$ac_save_ifs"
4464   MAGIC_CMD="$ac_save_MAGIC_CMD"
4465   ;;
4466 esac
4467 fi
4468
4469 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
4470 if test -n "$MAGIC_CMD"; then
4471   echo "$as_me:$LINENO: result: $MAGIC_CMD" >&5
4472 echo "${ECHO_T}$MAGIC_CMD" >&6
4473 else
4474   echo "$as_me:$LINENO: result: no" >&5
4475 echo "${ECHO_T}no" >&6
4476 fi
4477
4478 if test -z "$lt_cv_path_MAGIC_CMD"; then
4479   if test -n "$ac_tool_prefix"; then
4480     echo "$as_me:$LINENO: checking for file" >&5
4481 echo $ECHO_N "checking for file... $ECHO_C" >&6
4482 if test "${lt_cv_path_MAGIC_CMD+set}" = set; then
4483   echo $ECHO_N "(cached) $ECHO_C" >&6
4484 else
4485   case $MAGIC_CMD in
4486   /*)
4487   lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
4488   ;;
4489   ?:/*)
4490   lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a dos path.
4491   ;;
4492   *)
4493   ac_save_MAGIC_CMD="$MAGIC_CMD"
4494   IFS="${IFS=   }"; ac_save_ifs="$IFS"; IFS=":"
4495   ac_dummy="/usr/bin:$PATH"
4496   for ac_dir in $ac_dummy; do
4497     test -z "$ac_dir" && ac_dir=.
4498     if test -f $ac_dir/file; then
4499       lt_cv_path_MAGIC_CMD="$ac_dir/file"
4500       if test -n "$file_magic_test_file"; then
4501         case $deplibs_check_method in
4502         "file_magic "*)
4503           file_magic_regex="`expr \"$deplibs_check_method\" : \"file_magic \(.*\)\"`"
4504           MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
4505           if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
4506             egrep "$file_magic_regex" > /dev/null; then
4507             :
4508           else
4509             cat <<EOF 1>&2
4510
4511 *** Warning: the command libtool uses to detect shared libraries,
4512 *** $file_magic_cmd, produces output that libtool cannot recognize.
4513 *** The result is that libtool may fail to recognize shared libraries
4514 *** as such.  This will affect the creation of libtool libraries that
4515 *** depend on shared libraries, but programs linked with such libtool
4516 *** libraries will work regardless of this problem.  Nevertheless, you
4517 *** may want to report the problem to your system manager and/or to
4518 *** bug-libtool@gnu.org
4519
4520 EOF
4521           fi ;;
4522         esac
4523       fi
4524       break
4525     fi
4526   done
4527   IFS="$ac_save_ifs"
4528   MAGIC_CMD="$ac_save_MAGIC_CMD"
4529   ;;
4530 esac
4531 fi
4532
4533 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
4534 if test -n "$MAGIC_CMD"; then
4535   echo "$as_me:$LINENO: result: $MAGIC_CMD" >&5
4536 echo "${ECHO_T}$MAGIC_CMD" >&6
4537 else
4538   echo "$as_me:$LINENO: result: no" >&5
4539 echo "${ECHO_T}no" >&6
4540 fi
4541
4542   else
4543     MAGIC_CMD=:
4544   fi
4545 fi
4546
4547   fi
4548   ;;
4549 esac
4550
4551 if test -n "$ac_tool_prefix"; then
4552   # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
4553 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
4554 echo "$as_me:$LINENO: checking for $ac_word" >&5
4555 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4556 if test "${ac_cv_prog_RANLIB+set}" = set; then
4557   echo $ECHO_N "(cached) $ECHO_C" >&6
4558 else
4559   if test -n "$RANLIB"; then
4560   ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
4561 else
4562 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4563 for as_dir in $PATH
4564 do
4565   IFS=$as_save_IFS
4566   test -z "$as_dir" && as_dir=.
4567   for ac_exec_ext in '' $ac_executable_extensions; do
4568   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4569     ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
4570     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4571     break 2
4572   fi
4573 done
4574 done
4575
4576 fi
4577 fi
4578 RANLIB=$ac_cv_prog_RANLIB
4579 if test -n "$RANLIB"; then
4580   echo "$as_me:$LINENO: result: $RANLIB" >&5
4581 echo "${ECHO_T}$RANLIB" >&6
4582 else
4583   echo "$as_me:$LINENO: result: no" >&5
4584 echo "${ECHO_T}no" >&6
4585 fi
4586
4587 fi
4588 if test -z "$ac_cv_prog_RANLIB"; then
4589   ac_ct_RANLIB=$RANLIB
4590   # Extract the first word of "ranlib", so it can be a program name with args.
4591 set dummy ranlib; ac_word=$2
4592 echo "$as_me:$LINENO: checking for $ac_word" >&5
4593 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4594 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
4595   echo $ECHO_N "(cached) $ECHO_C" >&6
4596 else
4597   if test -n "$ac_ct_RANLIB"; then
4598   ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
4599 else
4600 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4601 for as_dir in $PATH
4602 do
4603   IFS=$as_save_IFS
4604   test -z "$as_dir" && as_dir=.
4605   for ac_exec_ext in '' $ac_executable_extensions; do
4606   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4607     ac_cv_prog_ac_ct_RANLIB="ranlib"
4608     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4609     break 2
4610   fi
4611 done
4612 done
4613
4614   test -z "$ac_cv_prog_ac_ct_RANLIB" && ac_cv_prog_ac_ct_RANLIB=":"
4615 fi
4616 fi
4617 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
4618 if test -n "$ac_ct_RANLIB"; then
4619   echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
4620 echo "${ECHO_T}$ac_ct_RANLIB" >&6
4621 else
4622   echo "$as_me:$LINENO: result: no" >&5
4623 echo "${ECHO_T}no" >&6
4624 fi
4625
4626   RANLIB=$ac_ct_RANLIB
4627 else
4628   RANLIB="$ac_cv_prog_RANLIB"
4629 fi
4630
4631 if test -n "$ac_tool_prefix"; then
4632   # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
4633 set dummy ${ac_tool_prefix}strip; ac_word=$2
4634 echo "$as_me:$LINENO: checking for $ac_word" >&5
4635 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4636 if test "${ac_cv_prog_STRIP+set}" = set; then
4637   echo $ECHO_N "(cached) $ECHO_C" >&6
4638 else
4639   if test -n "$STRIP"; then
4640   ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
4641 else
4642 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4643 for as_dir in $PATH
4644 do
4645   IFS=$as_save_IFS
4646   test -z "$as_dir" && as_dir=.
4647   for ac_exec_ext in '' $ac_executable_extensions; do
4648   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4649     ac_cv_prog_STRIP="${ac_tool_prefix}strip"
4650     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4651     break 2
4652   fi
4653 done
4654 done
4655
4656 fi
4657 fi
4658 STRIP=$ac_cv_prog_STRIP
4659 if test -n "$STRIP"; then
4660   echo "$as_me:$LINENO: result: $STRIP" >&5
4661 echo "${ECHO_T}$STRIP" >&6
4662 else
4663   echo "$as_me:$LINENO: result: no" >&5
4664 echo "${ECHO_T}no" >&6
4665 fi
4666
4667 fi
4668 if test -z "$ac_cv_prog_STRIP"; then
4669   ac_ct_STRIP=$STRIP
4670   # Extract the first word of "strip", so it can be a program name with args.
4671 set dummy strip; ac_word=$2
4672 echo "$as_me:$LINENO: checking for $ac_word" >&5
4673 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4674 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
4675   echo $ECHO_N "(cached) $ECHO_C" >&6
4676 else
4677   if test -n "$ac_ct_STRIP"; then
4678   ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
4679 else
4680 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4681 for as_dir in $PATH
4682 do
4683   IFS=$as_save_IFS
4684   test -z "$as_dir" && as_dir=.
4685   for ac_exec_ext in '' $ac_executable_extensions; do
4686   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4687     ac_cv_prog_ac_ct_STRIP="strip"
4688     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4689     break 2
4690   fi
4691 done
4692 done
4693
4694   test -z "$ac_cv_prog_ac_ct_STRIP" && ac_cv_prog_ac_ct_STRIP=":"
4695 fi
4696 fi
4697 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
4698 if test -n "$ac_ct_STRIP"; then
4699   echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
4700 echo "${ECHO_T}$ac_ct_STRIP" >&6
4701 else
4702   echo "$as_me:$LINENO: result: no" >&5
4703 echo "${ECHO_T}no" >&6
4704 fi
4705
4706   STRIP=$ac_ct_STRIP
4707 else
4708   STRIP="$ac_cv_prog_STRIP"
4709 fi
4710
4711
4712 # Check for any special flags to pass to ltconfig.
4713 libtool_flags="--cache-file=$cache_file"
4714 test "$enable_shared" = no && libtool_flags="$libtool_flags --disable-shared"
4715 test "$enable_static" = no && libtool_flags="$libtool_flags --disable-static"
4716 test "$enable_fast_install" = no && libtool_flags="$libtool_flags --disable-fast-install"
4717 test "$GCC" = yes && libtool_flags="$libtool_flags --with-gcc"
4718 test "$lt_cv_prog_gnu_ld" = yes && libtool_flags="$libtool_flags --with-gnu-ld"
4719
4720
4721 # Check whether --enable-libtool-lock or --disable-libtool-lock was given.
4722 if test "${enable_libtool_lock+set}" = set; then
4723   enableval="$enable_libtool_lock"
4724
4725 fi;
4726 test "x$enable_libtool_lock" = xno && libtool_flags="$libtool_flags --disable-lock"
4727 test x"$silent" = xyes && libtool_flags="$libtool_flags --silent"
4728
4729
4730 # Check whether --with-pic or --without-pic was given.
4731 if test "${with_pic+set}" = set; then
4732   withval="$with_pic"
4733   pic_mode="$withval"
4734 else
4735   pic_mode=default
4736 fi;
4737 test x"$pic_mode" = xyes && libtool_flags="$libtool_flags --prefer-pic"
4738 test x"$pic_mode" = xno && libtool_flags="$libtool_flags --prefer-non-pic"
4739
4740 # Some flags need to be propagated to the compiler or linker for good
4741 # libtool support.
4742 case $host in
4743 *-*-irix6*)
4744   # Find out which ABI we are using.
4745   echo '#line 4745 "configure"' > conftest.$ac_ext
4746   if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4747   (eval $ac_compile) 2>&5
4748   ac_status=$?
4749   echo "$as_me:$LINENO: \$? = $ac_status" >&5
4750   (exit $ac_status); }; then
4751    if test "$lt_cv_prog_gnu_ld" = yes; then
4752     case `/usr/bin/file conftest.$ac_objext` in
4753     *32-bit*)
4754       LD="${LD-ld} -melf32bsmip"
4755       ;;
4756     *N32*)
4757       LD="${LD-ld} -melf32bmipn32"
4758       ;;
4759     *64-bit*)
4760       LD="${LD-ld} -melf64bmip"
4761       ;;
4762     esac
4763    else
4764     case `/usr/bin/file conftest.$ac_objext` in
4765     *32-bit*)
4766       LD="${LD-ld} -32"
4767       ;;
4768     *N32*)
4769       LD="${LD-ld} -n32"
4770       ;;
4771     *64-bit*)
4772       LD="${LD-ld} -64"
4773       ;;
4774     esac
4775    fi
4776   fi
4777   rm -rf conftest*
4778   ;;
4779
4780 ia64-*-hpux*)
4781   # Find out which ABI we are using.
4782   echo 'int i;' > conftest.$ac_ext
4783   if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4784   (eval $ac_compile) 2>&5
4785   ac_status=$?
4786   echo "$as_me:$LINENO: \$? = $ac_status" >&5
4787   (exit $ac_status); }; then
4788     case "`/usr/bin/file conftest.o`" in
4789     *ELF-32*)
4790       HPUX_IA64_MODE="32"
4791       ;;
4792     *ELF-64*)
4793       HPUX_IA64_MODE="64"
4794       ;;
4795     esac
4796   fi
4797   rm -rf conftest*
4798   ;;
4799
4800 x86_64-*linux*|ppc*-*linux*|powerpc*-*linux*|s390*-*linux*|sparc*-*linux*)
4801   # Find out which ABI we are using.
4802   echo 'int i;' > conftest.$ac_ext
4803   if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4804   (eval $ac_compile) 2>&5
4805   ac_status=$?
4806   echo "$as_me:$LINENO: \$? = $ac_status" >&5
4807   (exit $ac_status); }; then
4808     case "`/usr/bin/file conftest.o`" in
4809     *32-bit*)
4810       case $host in
4811         x86_64-*linux*)
4812           LD="${LD-ld} -m elf_i386"
4813           ;;
4814         ppc64-*linux*|powerpc64-*linux*)
4815           LD="${LD-ld} -m elf32ppclinux"
4816           ;;
4817         s390x-*linux*)
4818           LD="${LD-ld} -m elf_s390"
4819           ;;
4820         sparc64-*linux*)
4821           LD="${LD-ld} -m elf32_sparc"
4822           ;;
4823       esac
4824       ;;
4825     *64-bit*)
4826       case $host in
4827         x86_64-*linux*)
4828           LD="${LD-ld} -m elf_x86_64"
4829           ;;
4830         ppc*-*linux*|powerpc*-*linux*)
4831           LD="${LD-ld} -m elf64ppc"
4832           ;;
4833         s390*-*linux*)
4834           LD="${LD-ld} -m elf64_s390"
4835           ;;
4836         sparc*-*linux*)
4837           LD="${LD-ld} -m elf64_sparc"
4838           ;;
4839       esac
4840       ;;
4841     esac
4842   fi
4843   rm -rf conftest*
4844   ;;
4845
4846 *-*-sco3.2v5*)
4847   # On SCO OpenServer 5, we need -belf to get full-featured binaries.
4848   SAVE_CFLAGS="$CFLAGS"
4849   CFLAGS="$CFLAGS -belf"
4850   echo "$as_me:$LINENO: checking whether the C compiler needs -belf" >&5
4851 echo $ECHO_N "checking whether the C compiler needs -belf... $ECHO_C" >&6
4852 if test "${lt_cv_cc_needs_belf+set}" = set; then
4853   echo $ECHO_N "(cached) $ECHO_C" >&6
4854 else
4855
4856
4857      ac_ext=c
4858 ac_cpp='$CPP $CPPFLAGS'
4859 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4860 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4861 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4862
4863      if test x$gcc_no_link = xyes; then
4864   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
4865 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
4866    { (exit 1); exit 1; }; }
4867 fi
4868 cat >conftest.$ac_ext <<_ACEOF
4869 /* confdefs.h.  */
4870 _ACEOF
4871 cat confdefs.h >>conftest.$ac_ext
4872 cat >>conftest.$ac_ext <<_ACEOF
4873 /* end confdefs.h.  */
4874
4875 int
4876 main ()
4877 {
4878
4879   ;
4880   return 0;
4881 }
4882 _ACEOF
4883 rm -f conftest.$ac_objext conftest$ac_exeext
4884 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
4885   (eval $ac_link) 2>conftest.er1
4886   ac_status=$?
4887   grep -v '^ *+' conftest.er1 >conftest.err
4888   rm -f conftest.er1
4889   cat conftest.err >&5
4890   echo "$as_me:$LINENO: \$? = $ac_status" >&5
4891   (exit $ac_status); } &&
4892          { ac_try='test -z "$ac_c_werror_flag"
4893                          || test ! -s conftest.err'
4894   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4895   (eval $ac_try) 2>&5
4896   ac_status=$?
4897   echo "$as_me:$LINENO: \$? = $ac_status" >&5
4898   (exit $ac_status); }; } &&
4899          { ac_try='test -s conftest$ac_exeext'
4900   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4901   (eval $ac_try) 2>&5
4902   ac_status=$?
4903   echo "$as_me:$LINENO: \$? = $ac_status" >&5
4904   (exit $ac_status); }; }; then
4905   lt_cv_cc_needs_belf=yes
4906 else
4907   echo "$as_me: failed program was:" >&5
4908 sed 's/^/| /' conftest.$ac_ext >&5
4909
4910 lt_cv_cc_needs_belf=no
4911 fi
4912 rm -f conftest.err conftest.$ac_objext \
4913       conftest$ac_exeext conftest.$ac_ext
4914      ac_ext=c
4915 ac_cpp='$CPP $CPPFLAGS'
4916 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4917 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4918 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4919
4920 fi
4921 echo "$as_me:$LINENO: result: $lt_cv_cc_needs_belf" >&5
4922 echo "${ECHO_T}$lt_cv_cc_needs_belf" >&6
4923   if test x"$lt_cv_cc_needs_belf" != x"yes"; then
4924     # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
4925     CFLAGS="$SAVE_CFLAGS"
4926   fi
4927   ;;
4928
4929
4930 esac
4931
4932
4933 # Save cache, so that ltconfig can load it
4934 cat >confcache <<\_ACEOF
4935 # This file is a shell script that caches the results of configure
4936 # tests run on this system so they can be shared between configure
4937 # scripts and configure runs, see configure's option --config-cache.
4938 # It is not useful on other systems.  If it contains results you don't
4939 # want to keep, you may remove or edit it.
4940 #
4941 # config.status only pays attention to the cache file if you give it
4942 # the --recheck option to rerun configure.
4943 #
4944 # `ac_cv_env_foo' variables (set or unset) will be overridden when
4945 # loading this file, other *unset* `ac_cv_foo' will be assigned the
4946 # following values.
4947
4948 _ACEOF
4949
4950 # The following way of writing the cache mishandles newlines in values,
4951 # but we know of no workaround that is simple, portable, and efficient.
4952 # So, don't put newlines in cache variables' values.
4953 # Ultrix sh set writes to stderr and can't be redirected directly,
4954 # and sets the high bit in the cache file unless we assign to the vars.
4955 {
4956   (set) 2>&1 |
4957     case `(ac_space=' '; set | grep ac_space) 2>&1` in
4958     *ac_space=\ *)
4959       # `set' does not quote correctly, so add quotes (double-quote
4960       # substitution turns \\\\ into \\, and sed turns \\ into \).
4961       sed -n \
4962         "s/'/'\\\\''/g;
4963           s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
4964       ;;
4965     *)
4966       # `set' quotes correctly as required by POSIX, so do not add quotes.
4967       sed -n \
4968         "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
4969       ;;
4970     esac;
4971 } |
4972   sed '
4973      t clear
4974      : clear
4975      s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
4976      t end
4977      /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
4978      : end' >>confcache
4979 if diff $cache_file confcache >/dev/null 2>&1; then :; else
4980   if test -w $cache_file; then
4981     test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
4982     cat confcache >$cache_file
4983   else
4984     echo "not updating unwritable cache $cache_file"
4985   fi
4986 fi
4987 rm -f confcache
4988
4989 # Actually configure libtool.  ac_aux_dir is where install-sh is found.
4990 AR="$AR" LTCC="$CC" CC="$CC" CFLAGS="$CFLAGS" CPPFLAGS="$CPPFLAGS" \
4991 MAGIC_CMD="$MAGIC_CMD" LD="$LD" LDFLAGS="$LDFLAGS" LIBS="$LIBS" \
4992 LN_S="$LN_S" NM="$NM" RANLIB="$RANLIB" STRIP="$STRIP" \
4993 AS="$AS" DLLTOOL="$DLLTOOL" OBJDUMP="$OBJDUMP" \
4994 objext="$OBJEXT" exeext="$EXEEXT" reload_flag="$reload_flag" \
4995 deplibs_check_method="$deplibs_check_method" file_magic_cmd="$file_magic_cmd" \
4996 ${CONFIG_SHELL-/bin/sh} $ac_aux_dir/ltconfig --no-reexec \
4997 $libtool_flags --no-verify --build="$build" $ac_aux_dir/ltmain.sh $host \
4998 || { { echo "$as_me:$LINENO: error: libtool configure failed" >&5
4999 echo "$as_me: error: libtool configure failed" >&2;}
5000    { (exit 1); exit 1; }; }
5001
5002 # Reload cache, that may have been modified by ltconfig
5003 if test -r "$cache_file"; then
5004   # Some versions of bash will fail to source /dev/null (special
5005   # files actually), so we avoid doing that.
5006   if test -f "$cache_file"; then
5007     { echo "$as_me:$LINENO: loading cache $cache_file" >&5
5008 echo "$as_me: loading cache $cache_file" >&6;}
5009     case $cache_file in
5010       [\\/]* | ?:[\\/]* ) . $cache_file;;
5011       *)                      . ./$cache_file;;
5012     esac
5013   fi
5014 else
5015   { echo "$as_me:$LINENO: creating cache $cache_file" >&5
5016 echo "$as_me: creating cache $cache_file" >&6;}
5017   >$cache_file
5018 fi
5019
5020
5021 # This can be used to rebuild libtool when needed
5022 LIBTOOL_DEPS="$ac_aux_dir/ltconfig $ac_aux_dir/ltmain.sh $ac_aux_dir/ltcf-c.sh"
5023
5024 # Always use our own libtool.
5025 LIBTOOL='$(SHELL) $(top_builddir)/libtool'
5026
5027 # Redirect the config.log output again, so that the ltconfig log is not
5028 # clobbered by the next message.
5029 exec 5>>./config.log
5030
5031 ac_ext=cc
5032 ac_cpp='$CXXCPP $CPPFLAGS'
5033 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5034 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5035 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
5036 echo "$as_me:$LINENO: checking how to run the C++ preprocessor" >&5
5037 echo $ECHO_N "checking how to run the C++ preprocessor... $ECHO_C" >&6
5038 if test -z "$CXXCPP"; then
5039   if test "${ac_cv_prog_CXXCPP+set}" = set; then
5040   echo $ECHO_N "(cached) $ECHO_C" >&6
5041 else
5042       # Double quotes because CXXCPP needs to be expanded
5043     for CXXCPP in "$CXX -E" "/lib/cpp"
5044     do
5045       ac_preproc_ok=false
5046 for ac_cxx_preproc_warn_flag in '' yes
5047 do
5048   # Use a header file that comes with gcc, so configuring glibc
5049   # with a fresh cross-compiler works.
5050   # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
5051   # <limits.h> exists even on freestanding compilers.
5052   # On the NeXT, cc -E runs the code through the compiler's parser,
5053   # not just through cpp. "Syntax error" is here to catch this case.
5054   cat >conftest.$ac_ext <<_ACEOF
5055 /* confdefs.h.  */
5056 _ACEOF
5057 cat confdefs.h >>conftest.$ac_ext
5058 cat >>conftest.$ac_ext <<_ACEOF
5059 /* end confdefs.h.  */
5060 #ifdef __STDC__
5061 # include <limits.h>
5062 #else
5063 # include <assert.h>
5064 #endif
5065                      Syntax error
5066 _ACEOF
5067 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
5068   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
5069   ac_status=$?
5070   grep -v '^ *+' conftest.er1 >conftest.err
5071   rm -f conftest.er1
5072   cat conftest.err >&5
5073   echo "$as_me:$LINENO: \$? = $ac_status" >&5
5074   (exit $ac_status); } >/dev/null; then
5075   if test -s conftest.err; then
5076     ac_cpp_err=$ac_cxx_preproc_warn_flag
5077     ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
5078   else
5079     ac_cpp_err=
5080   fi
5081 else
5082   ac_cpp_err=yes
5083 fi
5084 if test -z "$ac_cpp_err"; then
5085   :
5086 else
5087   echo "$as_me: failed program was:" >&5
5088 sed 's/^/| /' conftest.$ac_ext >&5
5089
5090   # Broken: fails on valid input.
5091 continue
5092 fi
5093 rm -f conftest.err conftest.$ac_ext
5094
5095   # OK, works on sane cases.  Now check whether non-existent headers
5096   # can be detected and how.
5097   cat >conftest.$ac_ext <<_ACEOF
5098 /* confdefs.h.  */
5099 _ACEOF
5100 cat confdefs.h >>conftest.$ac_ext
5101 cat >>conftest.$ac_ext <<_ACEOF
5102 /* end confdefs.h.  */
5103 #include <ac_nonexistent.h>
5104 _ACEOF
5105 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
5106   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
5107   ac_status=$?
5108   grep -v '^ *+' conftest.er1 >conftest.err
5109   rm -f conftest.er1
5110   cat conftest.err >&5
5111   echo "$as_me:$LINENO: \$? = $ac_status" >&5
5112   (exit $ac_status); } >/dev/null; then
5113   if test -s conftest.err; then
5114     ac_cpp_err=$ac_cxx_preproc_warn_flag
5115     ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
5116   else
5117     ac_cpp_err=
5118   fi
5119 else
5120   ac_cpp_err=yes
5121 fi
5122 if test -z "$ac_cpp_err"; then
5123   # Broken: success on invalid input.
5124 continue
5125 else
5126   echo "$as_me: failed program was:" >&5
5127 sed 's/^/| /' conftest.$ac_ext >&5
5128
5129   # Passes both tests.
5130 ac_preproc_ok=:
5131 break
5132 fi
5133 rm -f conftest.err conftest.$ac_ext
5134
5135 done
5136 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
5137 rm -f conftest.err conftest.$ac_ext
5138 if $ac_preproc_ok; then
5139   break
5140 fi
5141
5142     done
5143     ac_cv_prog_CXXCPP=$CXXCPP
5144
5145 fi
5146   CXXCPP=$ac_cv_prog_CXXCPP
5147 else
5148   ac_cv_prog_CXXCPP=$CXXCPP
5149 fi
5150 echo "$as_me:$LINENO: result: $CXXCPP" >&5
5151 echo "${ECHO_T}$CXXCPP" >&6
5152 ac_preproc_ok=false
5153 for ac_cxx_preproc_warn_flag in '' yes
5154 do
5155   # Use a header file that comes with gcc, so configuring glibc
5156   # with a fresh cross-compiler works.
5157   # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
5158   # <limits.h> exists even on freestanding compilers.
5159   # On the NeXT, cc -E runs the code through the compiler's parser,
5160   # not just through cpp. "Syntax error" is here to catch this case.
5161   cat >conftest.$ac_ext <<_ACEOF
5162 /* confdefs.h.  */
5163 _ACEOF
5164 cat confdefs.h >>conftest.$ac_ext
5165 cat >>conftest.$ac_ext <<_ACEOF
5166 /* end confdefs.h.  */
5167 #ifdef __STDC__
5168 # include <limits.h>
5169 #else
5170 # include <assert.h>
5171 #endif
5172                      Syntax error
5173 _ACEOF
5174 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
5175   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
5176   ac_status=$?
5177   grep -v '^ *+' conftest.er1 >conftest.err
5178   rm -f conftest.er1
5179   cat conftest.err >&5
5180   echo "$as_me:$LINENO: \$? = $ac_status" >&5
5181   (exit $ac_status); } >/dev/null; then
5182   if test -s conftest.err; then
5183     ac_cpp_err=$ac_cxx_preproc_warn_flag
5184     ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
5185   else
5186     ac_cpp_err=
5187   fi
5188 else
5189   ac_cpp_err=yes
5190 fi
5191 if test -z "$ac_cpp_err"; then
5192   :
5193 else
5194   echo "$as_me: failed program was:" >&5
5195 sed 's/^/| /' conftest.$ac_ext >&5
5196
5197   # Broken: fails on valid input.
5198 continue
5199 fi
5200 rm -f conftest.err conftest.$ac_ext
5201
5202   # OK, works on sane cases.  Now check whether non-existent headers
5203   # can be detected and how.
5204   cat >conftest.$ac_ext <<_ACEOF
5205 /* confdefs.h.  */
5206 _ACEOF
5207 cat confdefs.h >>conftest.$ac_ext
5208 cat >>conftest.$ac_ext <<_ACEOF
5209 /* end confdefs.h.  */
5210 #include <ac_nonexistent.h>
5211 _ACEOF
5212 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
5213   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
5214   ac_status=$?
5215   grep -v '^ *+' conftest.er1 >conftest.err
5216   rm -f conftest.er1
5217   cat conftest.err >&5
5218   echo "$as_me:$LINENO: \$? = $ac_status" >&5
5219   (exit $ac_status); } >/dev/null; then
5220   if test -s conftest.err; then
5221     ac_cpp_err=$ac_cxx_preproc_warn_flag
5222     ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
5223   else
5224     ac_cpp_err=
5225   fi
5226 else
5227   ac_cpp_err=yes
5228 fi
5229 if test -z "$ac_cpp_err"; then
5230   # Broken: success on invalid input.
5231 continue
5232 else
5233   echo "$as_me: failed program was:" >&5
5234 sed 's/^/| /' conftest.$ac_ext >&5
5235
5236   # Passes both tests.
5237 ac_preproc_ok=:
5238 break
5239 fi
5240 rm -f conftest.err conftest.$ac_ext
5241
5242 done
5243 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
5244 rm -f conftest.err conftest.$ac_ext
5245 if $ac_preproc_ok; then
5246   :
5247 else
5248   { { echo "$as_me:$LINENO: error: C++ preprocessor \"$CXXCPP\" fails sanity check
5249 See \`config.log' for more details." >&5
5250 echo "$as_me: error: C++ preprocessor \"$CXXCPP\" fails sanity check
5251 See \`config.log' for more details." >&2;}
5252    { (exit 1); exit 1; }; }
5253 fi
5254
5255 ac_ext=c
5256 ac_cpp='$CPP $CPPFLAGS'
5257 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5258 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5259 ac_compiler_gnu=$ac_cv_c_compiler_gnu
5260
5261
5262
5263 LIBTOOL_DEPS=$LIBTOOL_DEPS" $ac_aux_dir/ltcf-cxx.sh"
5264 lt_save_CC="$CC"
5265 lt_save_CFLAGS="$CFLAGS"
5266 AR="$AR" LTCC="$CC" CC="$CXX" CXX="$CXX" CFLAGS="$CXXFLAGS" CPPFLAGS="$CPPFLAGS" \
5267 MAGIC_CMD="$MAGIC_CMD" LD="$LD" LDFLAGS="$LDFLAGS" LIBS="$LIBS" \
5268 LN_S="$LN_S" NM="$NM" RANLIB="$RANLIB" STRIP="$STRIP" \
5269 AS="$AS" DLLTOOL="$DLLTOOL" OBJDUMP="$OBJDUMP" \
5270 objext="$OBJEXT" exeext="$EXEEXT" reload_flag="$reload_flag" \
5271 deplibs_check_method="$deplibs_check_method" \
5272 file_magic_cmd="$file_magic_cmd" \
5273 ${CONFIG_SHELL-/bin/sh} $ac_aux_dir/ltconfig -o libtool $libtool_flags \
5274 --build="$build" --add-tag=CXX $ac_aux_dir/ltcf-cxx.sh $host \
5275 || { { echo "$as_me:$LINENO: error: libtool tag configuration failed" >&5
5276 echo "$as_me: error: libtool tag configuration failed" >&2;}
5277    { (exit 1); exit 1; }; }
5278 CC="$lt_save_CC"
5279 CFLAGS="$lt_save_CFLAGS"
5280
5281 # Redirect the config.log output again, so that the ltconfig log is not
5282 # clobbered by the next message.
5283 exec 5>>./config.log
5284
5285
5286
5287
5288
5289
5290
5291
5292
5293       if test "X$prefix" = "XNONE"; then
5294     acl_final_prefix="$ac_default_prefix"
5295   else
5296     acl_final_prefix="$prefix"
5297   fi
5298   if test "X$exec_prefix" = "XNONE"; then
5299     acl_final_exec_prefix='${prefix}'
5300   else
5301     acl_final_exec_prefix="$exec_prefix"
5302   fi
5303   acl_save_prefix="$prefix"
5304   prefix="$acl_final_prefix"
5305   eval acl_final_exec_prefix=\"$acl_final_exec_prefix\"
5306   prefix="$acl_save_prefix"
5307
5308
5309 # Check whether --with-gnu-ld or --without-gnu-ld was given.
5310 if test "${with_gnu_ld+set}" = set; then
5311   withval="$with_gnu_ld"
5312   test "$withval" = no || with_gnu_ld=yes
5313 else
5314   with_gnu_ld=no
5315 fi;
5316 # Prepare PATH_SEPARATOR.
5317 # The user is always right.
5318 if test "${PATH_SEPARATOR+set}" != set; then
5319   echo "#! /bin/sh" >conf$$.sh
5320   echo  "exit 0"   >>conf$$.sh
5321   chmod +x conf$$.sh
5322   if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
5323     PATH_SEPARATOR=';'
5324   else
5325     PATH_SEPARATOR=:
5326   fi
5327   rm -f conf$$.sh
5328 fi
5329 ac_prog=ld
5330 if test "$GCC" = yes; then
5331   # Check if gcc -print-prog-name=ld gives a path.
5332   echo "$as_me:$LINENO: checking for ld used by GCC" >&5
5333 echo $ECHO_N "checking for ld used by GCC... $ECHO_C" >&6
5334   case $host in
5335   *-*-mingw*)
5336     # gcc leaves a trailing carriage return which upsets mingw
5337     ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
5338   *)
5339     ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
5340   esac
5341   case $ac_prog in
5342     # Accept absolute paths.
5343     [\\/]* | [A-Za-z]:[\\/]*)
5344       re_direlt='/[^/][^/]*/\.\./'
5345       # Canonicalize the path of ld
5346       ac_prog=`echo $ac_prog| sed 's%\\\\%/%g'`
5347       while echo $ac_prog | grep "$re_direlt" > /dev/null 2>&1; do
5348         ac_prog=`echo $ac_prog| sed "s%$re_direlt%/%"`
5349       done
5350       test -z "$LD" && LD="$ac_prog"
5351       ;;
5352   "")
5353     # If it fails, then pretend we aren't using GCC.
5354     ac_prog=ld
5355     ;;
5356   *)
5357     # If it is relative, then search for the first ld in PATH.
5358     with_gnu_ld=unknown
5359     ;;
5360   esac
5361 elif test "$with_gnu_ld" = yes; then
5362   echo "$as_me:$LINENO: checking for GNU ld" >&5
5363 echo $ECHO_N "checking for GNU ld... $ECHO_C" >&6
5364 else
5365   echo "$as_me:$LINENO: checking for non-GNU ld" >&5
5366 echo $ECHO_N "checking for non-GNU ld... $ECHO_C" >&6
5367 fi
5368 if test "${acl_cv_path_LD+set}" = set; then
5369   echo $ECHO_N "(cached) $ECHO_C" >&6
5370 else
5371   if test -z "$LD"; then
5372   IFS="${IFS=   }"; ac_save_ifs="$IFS"; IFS="${IFS}${PATH_SEPARATOR-:}"
5373   for ac_dir in $PATH; do
5374     test -z "$ac_dir" && ac_dir=.
5375     if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
5376       acl_cv_path_LD="$ac_dir/$ac_prog"
5377       # Check to see if the program is GNU ld.  I'd rather use --version,
5378       # but apparently some GNU ld's only accept -v.
5379       # Break only if it was the GNU/non-GNU ld that we prefer.
5380       if "$acl_cv_path_LD" -v 2>&1 < /dev/null | egrep '(GNU|with BFD)' > /dev/null; then
5381         test "$with_gnu_ld" != no && break
5382       else
5383         test "$with_gnu_ld" != yes && break
5384       fi
5385     fi
5386   done
5387   IFS="$ac_save_ifs"
5388 else
5389   acl_cv_path_LD="$LD" # Let the user override the test with a path.
5390 fi
5391 fi
5392
5393 LD="$acl_cv_path_LD"
5394 if test -n "$LD"; then
5395   echo "$as_me:$LINENO: result: $LD" >&5
5396 echo "${ECHO_T}$LD" >&6
5397 else
5398   echo "$as_me:$LINENO: result: no" >&5
5399 echo "${ECHO_T}no" >&6
5400 fi
5401 test -z "$LD" && { { echo "$as_me:$LINENO: error: no acceptable ld found in \$PATH" >&5
5402 echo "$as_me: error: no acceptable ld found in \$PATH" >&2;}
5403    { (exit 1); exit 1; }; }
5404 echo "$as_me:$LINENO: checking if the linker ($LD) is GNU ld" >&5
5405 echo $ECHO_N "checking if the linker ($LD) is GNU ld... $ECHO_C" >&6
5406 if test "${acl_cv_prog_gnu_ld+set}" = set; then
5407   echo $ECHO_N "(cached) $ECHO_C" >&6
5408 else
5409   # I'd rather use --version here, but apparently some GNU ld's only accept -v.
5410 if $LD -v 2>&1 </dev/null | egrep '(GNU|with BFD)' 1>&5; then
5411   acl_cv_prog_gnu_ld=yes
5412 else
5413   acl_cv_prog_gnu_ld=no
5414 fi
5415 fi
5416 echo "$as_me:$LINENO: result: $acl_cv_prog_gnu_ld" >&5
5417 echo "${ECHO_T}$acl_cv_prog_gnu_ld" >&6
5418 with_gnu_ld=$acl_cv_prog_gnu_ld
5419
5420
5421
5422                                                 echo "$as_me:$LINENO: checking for shared library run path origin" >&5
5423 echo $ECHO_N "checking for shared library run path origin... $ECHO_C" >&6
5424 if test "${acl_cv_rpath+set}" = set; then
5425   echo $ECHO_N "(cached) $ECHO_C" >&6
5426 else
5427
5428     CC="$CC" GCC="$GCC" LDFLAGS="$LDFLAGS" LD="$LD" with_gnu_ld="$with_gnu_ld" \
5429     ${CONFIG_SHELL-/bin/sh} "$ac_aux_dir/config.rpath" "$host" > conftest.sh
5430     . ./conftest.sh
5431     rm -f ./conftest.sh
5432     acl_cv_rpath=done
5433
5434 fi
5435 echo "$as_me:$LINENO: result: $acl_cv_rpath" >&5
5436 echo "${ECHO_T}$acl_cv_rpath" >&6
5437   wl="$acl_cv_wl"
5438   libext="$acl_cv_libext"
5439   shlibext="$acl_cv_shlibext"
5440   hardcode_libdir_flag_spec="$acl_cv_hardcode_libdir_flag_spec"
5441   hardcode_libdir_separator="$acl_cv_hardcode_libdir_separator"
5442   hardcode_direct="$acl_cv_hardcode_direct"
5443   hardcode_minus_L="$acl_cv_hardcode_minus_L"
5444     # Check whether --enable-rpath or --disable-rpath was given.
5445 if test "${enable_rpath+set}" = set; then
5446   enableval="$enable_rpath"
5447   :
5448 else
5449   enable_rpath=yes
5450 fi;
5451
5452
5453
5454
5455
5456
5457
5458     use_additional=yes
5459
5460   acl_save_prefix="$prefix"
5461   prefix="$acl_final_prefix"
5462   acl_save_exec_prefix="$exec_prefix"
5463   exec_prefix="$acl_final_exec_prefix"
5464
5465     eval additional_includedir=\"$includedir\"
5466     eval additional_libdir=\"$libdir\"
5467
5468   exec_prefix="$acl_save_exec_prefix"
5469   prefix="$acl_save_prefix"
5470
5471
5472 # Check whether --with-libiconv-prefix or --without-libiconv-prefix was given.
5473 if test "${with_libiconv_prefix+set}" = set; then
5474   withval="$with_libiconv_prefix"
5475
5476     if test "X$withval" = "Xno"; then
5477       use_additional=no
5478     else
5479       if test "X$withval" = "X"; then
5480
5481   acl_save_prefix="$prefix"
5482   prefix="$acl_final_prefix"
5483   acl_save_exec_prefix="$exec_prefix"
5484   exec_prefix="$acl_final_exec_prefix"
5485
5486           eval additional_includedir=\"$includedir\"
5487           eval additional_libdir=\"$libdir\"
5488
5489   exec_prefix="$acl_save_exec_prefix"
5490   prefix="$acl_save_prefix"
5491
5492       else
5493         additional_includedir="$withval/include"
5494         additional_libdir="$withval/lib"
5495       fi
5496     fi
5497
5498 fi;
5499       LIBICONV=
5500   LTLIBICONV=
5501   INCICONV=
5502   rpathdirs=
5503   ltrpathdirs=
5504   names_already_handled=
5505   names_next_round='iconv '
5506   while test -n "$names_next_round"; do
5507     names_this_round="$names_next_round"
5508     names_next_round=
5509     for name in $names_this_round; do
5510       already_handled=
5511       for n in $names_already_handled; do
5512         if test "$n" = "$name"; then
5513           already_handled=yes
5514           break
5515         fi
5516       done
5517       if test -z "$already_handled"; then
5518         names_already_handled="$names_already_handled $name"
5519                         uppername=`echo "$name" | sed -e 'y|abcdefghijklmnopqrstuvwxyz./-|ABCDEFGHIJKLMNOPQRSTUVWXYZ___|'`
5520         eval value=\"\$HAVE_LIB$uppername\"
5521         if test -n "$value"; then
5522           if test "$value" = yes; then
5523             eval value=\"\$LIB$uppername\"
5524             test -z "$value" || LIBICONV="${LIBICONV}${LIBICONV:+ }$value"
5525             eval value=\"\$LTLIB$uppername\"
5526             test -z "$value" || LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }$value"
5527           else
5528                                     :
5529           fi
5530         else
5531                               found_dir=
5532           found_la=
5533           found_so=
5534           found_a=
5535           if test $use_additional = yes; then
5536             if test -n "$shlibext" && test -f "$additional_libdir/lib$name.$shlibext"; then
5537               found_dir="$additional_libdir"
5538               found_so="$additional_libdir/lib$name.$shlibext"
5539               if test -f "$additional_libdir/lib$name.la"; then
5540                 found_la="$additional_libdir/lib$name.la"
5541               fi
5542             else
5543               if test -f "$additional_libdir/lib$name.$libext"; then
5544                 found_dir="$additional_libdir"
5545                 found_a="$additional_libdir/lib$name.$libext"
5546                 if test -f "$additional_libdir/lib$name.la"; then
5547                   found_la="$additional_libdir/lib$name.la"
5548                 fi
5549               fi
5550             fi
5551           fi
5552           if test "X$found_dir" = "X"; then
5553             for x in $LDFLAGS $LTLIBICONV; do
5554
5555   acl_save_prefix="$prefix"
5556   prefix="$acl_final_prefix"
5557   acl_save_exec_prefix="$exec_prefix"
5558   exec_prefix="$acl_final_exec_prefix"
5559   eval x=\"$x\"
5560   exec_prefix="$acl_save_exec_prefix"
5561   prefix="$acl_save_prefix"
5562
5563               case "$x" in
5564                 -L*)
5565                   dir=`echo "X$x" | sed -e 's/^X-L//'`
5566                   if test -n "$shlibext" && test -f "$dir/lib$name.$shlibext"; then
5567                     found_dir="$dir"
5568                     found_so="$dir/lib$name.$shlibext"
5569                     if test -f "$dir/lib$name.la"; then
5570                       found_la="$dir/lib$name.la"
5571                     fi
5572                   else
5573                     if test -f "$dir/lib$name.$libext"; then
5574                       found_dir="$dir"
5575                       found_a="$dir/lib$name.$libext"
5576                       if test -f "$dir/lib$name.la"; then
5577                         found_la="$dir/lib$name.la"
5578                       fi
5579                     fi
5580                   fi
5581                   ;;
5582               esac
5583               if test "X$found_dir" != "X"; then
5584                 break
5585               fi
5586             done
5587           fi
5588           if test "X$found_dir" != "X"; then
5589                         LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }-L$found_dir -l$name"
5590             if test "X$found_so" != "X"; then
5591                                                         if test "$enable_rpath" = no || test "X$found_dir" = "X/usr/lib"; then
5592                                 LIBICONV="${LIBICONV}${LIBICONV:+ }$found_so"
5593               else
5594                                                                                 haveit=
5595                 for x in $ltrpathdirs; do
5596                   if test "X$x" = "X$found_dir"; then
5597                     haveit=yes
5598                     break
5599                   fi
5600                 done
5601                 if test -z "$haveit"; then
5602                   ltrpathdirs="$ltrpathdirs $found_dir"
5603                 fi
5604                                 if test "$hardcode_direct" = yes; then
5605                                                       LIBICONV="${LIBICONV}${LIBICONV:+ }$found_so"
5606                 else
5607                   if test -n "$hardcode_libdir_flag_spec" && test "$hardcode_minus_L" = no; then
5608                                                             LIBICONV="${LIBICONV}${LIBICONV:+ }$found_so"
5609                                                             haveit=
5610                     for x in $rpathdirs; do
5611                       if test "X$x" = "X$found_dir"; then
5612                         haveit=yes
5613                         break
5614                       fi
5615                     done
5616                     if test -z "$haveit"; then
5617                       rpathdirs="$rpathdirs $found_dir"
5618                     fi
5619                   else
5620                                                                                 haveit=
5621                     for x in $LDFLAGS $LIBICONV; do
5622
5623   acl_save_prefix="$prefix"
5624   prefix="$acl_final_prefix"
5625   acl_save_exec_prefix="$exec_prefix"
5626   exec_prefix="$acl_final_exec_prefix"
5627   eval x=\"$x\"
5628   exec_prefix="$acl_save_exec_prefix"
5629   prefix="$acl_save_prefix"
5630
5631                       if test "X$x" = "X-L$found_dir"; then
5632                         haveit=yes
5633                         break
5634                       fi
5635                     done
5636                     if test -z "$haveit"; then
5637                       LIBICONV="${LIBICONV}${LIBICONV:+ }-L$found_dir"
5638                     fi
5639                     if test "$hardcode_minus_L" != no; then
5640                                                                                         LIBICONV="${LIBICONV}${LIBICONV:+ }$found_so"
5641                     else
5642                                                                                                                                                                                 LIBICONV="${LIBICONV}${LIBICONV:+ }-l$name"
5643                     fi
5644                   fi
5645                 fi
5646               fi
5647             else
5648               if test "X$found_a" != "X"; then
5649                                 LIBICONV="${LIBICONV}${LIBICONV:+ }$found_a"
5650               else
5651                                                 LIBICONV="${LIBICONV}${LIBICONV:+ }-L$found_dir -l$name"
5652               fi
5653             fi
5654                         additional_includedir=
5655             case "$found_dir" in
5656               */lib | */lib/)
5657                 basedir=`echo "X$found_dir" | sed -e 's,^X,,' -e 's,/lib/*$,,'`
5658                 additional_includedir="$basedir/include"
5659                 ;;
5660             esac
5661             if test "X$additional_includedir" != "X"; then
5662                                                                                                                 if test "X$additional_includedir" != "X/usr/include"; then
5663                 haveit=
5664                 if test "X$additional_includedir" = "X/usr/local/include"; then
5665                   if test -n "$GCC"; then
5666                     case $host_os in
5667                       linux*) haveit=yes;;
5668                     esac
5669                   fi
5670                 fi
5671                 if test -z "$haveit"; then
5672                   for x in $CPPFLAGS $INCICONV; do
5673
5674   acl_save_prefix="$prefix"
5675   prefix="$acl_final_prefix"
5676   acl_save_exec_prefix="$exec_prefix"
5677   exec_prefix="$acl_final_exec_prefix"
5678   eval x=\"$x\"
5679   exec_prefix="$acl_save_exec_prefix"
5680   prefix="$acl_save_prefix"
5681
5682                     if test "X$x" = "X-I$additional_includedir"; then
5683                       haveit=yes
5684                       break
5685                     fi
5686                   done
5687                   if test -z "$haveit"; then
5688                     if test -d "$additional_includedir"; then
5689                                             INCICONV="${INCICONV}${INCICONV:+ }-I$additional_includedir"
5690                     fi
5691                   fi
5692                 fi
5693               fi
5694             fi
5695                         if test -n "$found_la"; then
5696                                                         save_libdir="$libdir"
5697               case "$found_la" in
5698                 */* | *\\*) . "$found_la" ;;
5699                 *) . "./$found_la" ;;
5700               esac
5701               libdir="$save_libdir"
5702                             for dep in $dependency_libs; do
5703                 case "$dep" in
5704                   -L*)
5705                     additional_libdir=`echo "X$dep" | sed -e 's/^X-L//'`
5706                                                                                                                                                                 if test "X$additional_libdir" != "X/usr/lib"; then
5707                       haveit=
5708                       if test "X$additional_libdir" = "X/usr/local/lib"; then
5709                         if test -n "$GCC"; then
5710                           case $host_os in
5711                             linux*) haveit=yes;;
5712                           esac
5713                         fi
5714                       fi
5715                       if test -z "$haveit"; then
5716                         haveit=
5717                         for x in $LDFLAGS $LIBICONV; do
5718
5719   acl_save_prefix="$prefix"
5720   prefix="$acl_final_prefix"
5721   acl_save_exec_prefix="$exec_prefix"
5722   exec_prefix="$acl_final_exec_prefix"
5723   eval x=\"$x\"
5724   exec_prefix="$acl_save_exec_prefix"
5725   prefix="$acl_save_prefix"
5726
5727                           if test "X$x" = "X-L$additional_libdir"; then
5728                             haveit=yes
5729                             break
5730                           fi
5731                         done
5732                         if test -z "$haveit"; then
5733                           if test -d "$additional_libdir"; then
5734                                                         LIBICONV="${LIBICONV}${LIBICONV:+ }-L$additional_libdir"
5735                           fi
5736                         fi
5737                         haveit=
5738                         for x in $LDFLAGS $LTLIBICONV; do
5739
5740   acl_save_prefix="$prefix"
5741   prefix="$acl_final_prefix"
5742   acl_save_exec_prefix="$exec_prefix"
5743   exec_prefix="$acl_final_exec_prefix"
5744   eval x=\"$x\"
5745   exec_prefix="$acl_save_exec_prefix"
5746   prefix="$acl_save_prefix"
5747
5748                           if test "X$x" = "X-L$additional_libdir"; then
5749                             haveit=yes
5750                             break
5751                           fi
5752                         done
5753                         if test -z "$haveit"; then
5754                           if test -d "$additional_libdir"; then
5755                                                         LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }-L$additional_libdir"
5756                           fi
5757                         fi
5758                       fi
5759                     fi
5760                     ;;
5761                   -R*)
5762                     dir=`echo "X$dep" | sed -e 's/^X-R//'`
5763                     if test "$enable_rpath" != no; then
5764                                                                   haveit=
5765                       for x in $rpathdirs; do
5766                         if test "X$x" = "X$dir"; then
5767                           haveit=yes
5768                           break
5769                         fi
5770                       done
5771                       if test -z "$haveit"; then
5772                         rpathdirs="$rpathdirs $dir"
5773                       fi
5774                                                                   haveit=
5775                       for x in $ltrpathdirs; do
5776                         if test "X$x" = "X$dir"; then
5777                           haveit=yes
5778                           break
5779                         fi
5780                       done
5781                       if test -z "$haveit"; then
5782                         ltrpathdirs="$ltrpathdirs $dir"
5783                       fi
5784                     fi
5785                     ;;
5786                   -l*)
5787                                         names_next_round="$names_next_round "`echo "X$dep" | sed -e 's/^X-l//'`
5788                     ;;
5789                   *.la)
5790                                                                                 names_next_round="$names_next_round "`echo "X$dep" | sed -e 's,^X.*/,,' -e 's,^lib,,' -e 's,\.la$,,'`
5791                     ;;
5792                   *)
5793                                         LIBICONV="${LIBICONV}${LIBICONV:+ }$dep"
5794                     LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }$dep"
5795                     ;;
5796                 esac
5797               done
5798             fi
5799           else
5800                                                             LIBICONV="${LIBICONV}${LIBICONV:+ }-l$name"
5801             LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }-l$name"
5802           fi
5803         fi
5804       fi
5805     done
5806   done
5807   if test "X$rpathdirs" != "X"; then
5808     if test -n "$hardcode_libdir_separator"; then
5809                         alldirs=
5810       for found_dir in $rpathdirs; do
5811         alldirs="${alldirs}${alldirs:+$hardcode_libdir_separator}$found_dir"
5812       done
5813             acl_save_libdir="$libdir"
5814       libdir="$alldirs"
5815       eval flag=\"$hardcode_libdir_flag_spec\"
5816       libdir="$acl_save_libdir"
5817       LIBICONV="${LIBICONV}${LIBICONV:+ }$flag"
5818     else
5819             for found_dir in $rpathdirs; do
5820         acl_save_libdir="$libdir"
5821         libdir="$found_dir"
5822         eval flag=\"$hardcode_libdir_flag_spec\"
5823         libdir="$acl_save_libdir"
5824         LIBICONV="${LIBICONV}${LIBICONV:+ }$flag"
5825       done
5826     fi
5827   fi
5828   if test "X$ltrpathdirs" != "X"; then
5829             for found_dir in $ltrpathdirs; do
5830       LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }-R$found_dir"
5831     done
5832   fi
5833
5834
5835
5836
5837
5838
5839
5840           am_save_CPPFLAGS="$CPPFLAGS"
5841
5842   for element in $INCICONV; do
5843     haveit=
5844     for x in $CPPFLAGS; do
5845
5846   acl_save_prefix="$prefix"
5847   prefix="$acl_final_prefix"
5848   acl_save_exec_prefix="$exec_prefix"
5849   exec_prefix="$acl_final_exec_prefix"
5850   eval x=\"$x\"
5851   exec_prefix="$acl_save_exec_prefix"
5852   prefix="$acl_save_prefix"
5853
5854       if test "X$x" = "X$element"; then
5855         haveit=yes
5856         break
5857       fi
5858     done
5859     if test -z "$haveit"; then
5860       CPPFLAGS="${CPPFLAGS}${CPPFLAGS:+ }$element"
5861     fi
5862   done
5863
5864
5865   echo "$as_me:$LINENO: checking for iconv" >&5
5866 echo $ECHO_N "checking for iconv... $ECHO_C" >&6
5867 if test "${am_cv_func_iconv+set}" = set; then
5868   echo $ECHO_N "(cached) $ECHO_C" >&6
5869 else
5870
5871     am_cv_func_iconv="no, consider installing GNU libiconv"
5872     am_cv_lib_iconv=no
5873     if test x$gcc_no_link = xyes; then
5874   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
5875 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
5876    { (exit 1); exit 1; }; }
5877 fi
5878 cat >conftest.$ac_ext <<_ACEOF
5879 /* confdefs.h.  */
5880 _ACEOF
5881 cat confdefs.h >>conftest.$ac_ext
5882 cat >>conftest.$ac_ext <<_ACEOF
5883 /* end confdefs.h.  */
5884 #include <stdlib.h>
5885 #include <iconv.h>
5886 int
5887 main ()
5888 {
5889 iconv_t cd = iconv_open("","");
5890        iconv(cd,NULL,NULL,NULL,NULL);
5891        iconv_close(cd);
5892   ;
5893   return 0;
5894 }
5895 _ACEOF
5896 rm -f conftest.$ac_objext conftest$ac_exeext
5897 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
5898   (eval $ac_link) 2>conftest.er1
5899   ac_status=$?
5900   grep -v '^ *+' conftest.er1 >conftest.err
5901   rm -f conftest.er1
5902   cat conftest.err >&5
5903   echo "$as_me:$LINENO: \$? = $ac_status" >&5
5904   (exit $ac_status); } &&
5905          { ac_try='test -z "$ac_c_werror_flag"
5906                          || test ! -s conftest.err'
5907   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5908   (eval $ac_try) 2>&5
5909   ac_status=$?
5910   echo "$as_me:$LINENO: \$? = $ac_status" >&5
5911   (exit $ac_status); }; } &&
5912          { ac_try='test -s conftest$ac_exeext'
5913   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5914   (eval $ac_try) 2>&5
5915   ac_status=$?
5916   echo "$as_me:$LINENO: \$? = $ac_status" >&5
5917   (exit $ac_status); }; }; then
5918   am_cv_func_iconv=yes
5919 else
5920   echo "$as_me: failed program was:" >&5
5921 sed 's/^/| /' conftest.$ac_ext >&5
5922
5923 fi
5924 rm -f conftest.err conftest.$ac_objext \
5925       conftest$ac_exeext conftest.$ac_ext
5926     if test "$am_cv_func_iconv" != yes; then
5927       am_save_LIBS="$LIBS"
5928       LIBS="$LIBS $LIBICONV"
5929       if test x$gcc_no_link = xyes; then
5930   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
5931 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
5932    { (exit 1); exit 1; }; }
5933 fi
5934 cat >conftest.$ac_ext <<_ACEOF
5935 /* confdefs.h.  */
5936 _ACEOF
5937 cat confdefs.h >>conftest.$ac_ext
5938 cat >>conftest.$ac_ext <<_ACEOF
5939 /* end confdefs.h.  */
5940 #include <stdlib.h>
5941 #include <iconv.h>
5942 int
5943 main ()
5944 {
5945 iconv_t cd = iconv_open("","");
5946          iconv(cd,NULL,NULL,NULL,NULL);
5947          iconv_close(cd);
5948   ;
5949   return 0;
5950 }
5951 _ACEOF
5952 rm -f conftest.$ac_objext conftest$ac_exeext
5953 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
5954   (eval $ac_link) 2>conftest.er1
5955   ac_status=$?
5956   grep -v '^ *+' conftest.er1 >conftest.err
5957   rm -f conftest.er1
5958   cat conftest.err >&5
5959   echo "$as_me:$LINENO: \$? = $ac_status" >&5
5960   (exit $ac_status); } &&
5961          { ac_try='test -z "$ac_c_werror_flag"
5962                          || test ! -s conftest.err'
5963   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5964   (eval $ac_try) 2>&5
5965   ac_status=$?
5966   echo "$as_me:$LINENO: \$? = $ac_status" >&5
5967   (exit $ac_status); }; } &&
5968          { ac_try='test -s conftest$ac_exeext'
5969   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5970   (eval $ac_try) 2>&5
5971   ac_status=$?
5972   echo "$as_me:$LINENO: \$? = $ac_status" >&5
5973   (exit $ac_status); }; }; then
5974   am_cv_lib_iconv=yes
5975         am_cv_func_iconv=yes
5976 else
5977   echo "$as_me: failed program was:" >&5
5978 sed 's/^/| /' conftest.$ac_ext >&5
5979
5980 fi
5981 rm -f conftest.err conftest.$ac_objext \
5982       conftest$ac_exeext conftest.$ac_ext
5983       LIBS="$am_save_LIBS"
5984     fi
5985
5986 fi
5987 echo "$as_me:$LINENO: result: $am_cv_func_iconv" >&5
5988 echo "${ECHO_T}$am_cv_func_iconv" >&6
5989   if test "$am_cv_func_iconv" = yes; then
5990
5991 cat >>confdefs.h <<\_ACEOF
5992 #define HAVE_ICONV 1
5993 _ACEOF
5994
5995   fi
5996   if test "$am_cv_lib_iconv" = yes; then
5997     echo "$as_me:$LINENO: checking how to link with libiconv" >&5
5998 echo $ECHO_N "checking how to link with libiconv... $ECHO_C" >&6
5999     echo "$as_me:$LINENO: result: $LIBICONV" >&5
6000 echo "${ECHO_T}$LIBICONV" >&6
6001   else
6002             CPPFLAGS="$am_save_CPPFLAGS"
6003     LIBICONV=
6004     LTLIBICONV=
6005   fi
6006
6007
6008
6009   if test "$am_cv_func_iconv" = yes; then
6010     echo "$as_me:$LINENO: checking for iconv declaration" >&5
6011 echo $ECHO_N "checking for iconv declaration... $ECHO_C" >&6
6012     if test "${am_cv_proto_iconv+set}" = set; then
6013   echo $ECHO_N "(cached) $ECHO_C" >&6
6014 else
6015
6016       cat >conftest.$ac_ext <<_ACEOF
6017 /* confdefs.h.  */
6018 _ACEOF
6019 cat confdefs.h >>conftest.$ac_ext
6020 cat >>conftest.$ac_ext <<_ACEOF
6021 /* end confdefs.h.  */
6022
6023 #include <stdlib.h>
6024 #include <iconv.h>
6025 extern
6026 #ifdef __cplusplus
6027 "C"
6028 #endif
6029 #if defined(__STDC__) || defined(__cplusplus)
6030 size_t iconv (iconv_t cd, char * *inbuf, size_t *inbytesleft, char * *outbuf, size_t *outbytesleft);
6031 #else
6032 size_t iconv();
6033 #endif
6034
6035 int
6036 main ()
6037 {
6038
6039   ;
6040   return 0;
6041 }
6042 _ACEOF
6043 rm -f conftest.$ac_objext
6044 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6045   (eval $ac_compile) 2>conftest.er1
6046   ac_status=$?
6047   grep -v '^ *+' conftest.er1 >conftest.err
6048   rm -f conftest.er1
6049   cat conftest.err >&5
6050   echo "$as_me:$LINENO: \$? = $ac_status" >&5
6051   (exit $ac_status); } &&
6052          { ac_try='test -z "$ac_c_werror_flag"
6053                          || test ! -s conftest.err'
6054   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6055   (eval $ac_try) 2>&5
6056   ac_status=$?
6057   echo "$as_me:$LINENO: \$? = $ac_status" >&5
6058   (exit $ac_status); }; } &&
6059          { ac_try='test -s conftest.$ac_objext'
6060   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6061   (eval $ac_try) 2>&5
6062   ac_status=$?
6063   echo "$as_me:$LINENO: \$? = $ac_status" >&5
6064   (exit $ac_status); }; }; then
6065   am_cv_proto_iconv_arg1=""
6066 else
6067   echo "$as_me: failed program was:" >&5
6068 sed 's/^/| /' conftest.$ac_ext >&5
6069
6070 am_cv_proto_iconv_arg1="const"
6071 fi
6072 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
6073       am_cv_proto_iconv="extern size_t iconv (iconv_t cd, $am_cv_proto_iconv_arg1 char * *inbuf, size_t *inbytesleft, char * *outbuf, size_t *outbytesleft);"
6074 fi
6075
6076     am_cv_proto_iconv=`echo "$am_cv_proto_iconv" | tr -s ' ' | sed -e 's/( /(/'`
6077     echo "$as_me:$LINENO: result: ${ac_t:-
6078          }$am_cv_proto_iconv" >&5
6079 echo "${ECHO_T}${ac_t:-
6080          }$am_cv_proto_iconv" >&6
6081
6082 cat >>confdefs.h <<_ACEOF
6083 #define ICONV_CONST $am_cv_proto_iconv_arg1
6084 _ACEOF
6085
6086   fi
6087
6088
6089 # Possibly disable most of the library.
6090 ## TODO: Consider skipping unncessary tests altogether in this case, rather
6091 ## than just ignoring the results.  Faster /and/ more correct, win win.
6092
6093   # Check whether --enable-hosted-libstdcxx or --disable-hosted-libstdcxx was given.
6094 if test "${enable_hosted_libstdcxx+set}" = set; then
6095   enableval="$enable_hosted_libstdcxx"
6096
6097 else
6098   case "$host" in
6099         arm*-*-symbianelf*)
6100             enable_hosted_libstdcxx=no
6101             ;;
6102         *)
6103             enable_hosted_libstdcxx=yes
6104             ;;
6105      esac
6106 fi;
6107   if test "$enable_hosted_libstdcxx" = no; then
6108     { echo "$as_me:$LINENO: Only freestanding libraries will be built" >&5
6109 echo "$as_me: Only freestanding libraries will be built" >&6;}
6110     is_hosted=no
6111     hosted_define=0
6112     enable_abi_check=no
6113     enable_libstdcxx_pch=no
6114   else
6115     is_hosted=yes
6116     hosted_define=1
6117   fi
6118
6119
6120 cat >>confdefs.h <<_ACEOF
6121 #define _GLIBCXX_HOSTED $hosted_define
6122 _ACEOF
6123
6124
6125
6126 # Check for compiler support that doesn't require linking.
6127
6128   echo "$as_me:$LINENO: checking for exception model to use" >&5
6129 echo $ECHO_N "checking for exception model to use... $ECHO_C" >&6
6130
6131
6132   ac_ext=cc
6133 ac_cpp='$CXXCPP $CPPFLAGS'
6134 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6135 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6136 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
6137
6138    # Check whether --enable-sjlj-exceptions or --disable-sjlj-exceptions was given.
6139 if test "${enable_sjlj_exceptions+set}" = set; then
6140   enableval="$enable_sjlj_exceptions"
6141
6142       case "$enableval" in
6143        yes|no|auto) ;;
6144        *) { { echo "$as_me:$LINENO: error: Unknown argument to enable/disable sjlj-exceptions" >&5
6145 echo "$as_me: error: Unknown argument to enable/disable sjlj-exceptions" >&2;}
6146    { (exit 1); exit 1; }; } ;;
6147                           esac
6148
6149 else
6150   enable_sjlj_exceptions=auto
6151 fi;
6152
6153
6154   if test $enable_sjlj_exceptions = auto; then
6155     # Botheration.  Now we've got to detect the exception model.  Link tests
6156     # against libgcc.a are problematic since we've not been given proper -L
6157     # bits for single-tree newlib and libgloss.
6158     #
6159     # Fake what AC_TRY_COMPILE does.  XXX Look at redoing this new-style.
6160     cat > conftest.$ac_ext << EOF
6161 #line 6161 "configure"
6162 struct S { ~S(); };
6163 void bar();
6164 void foo()
6165 {
6166   S s;
6167   bar();
6168 }
6169 EOF
6170     old_CXXFLAGS="$CXXFLAGS"
6171     CXXFLAGS=-S
6172     if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6173   (eval $ac_compile) 2>&5
6174   ac_status=$?
6175   echo "$as_me:$LINENO: \$? = $ac_status" >&5
6176   (exit $ac_status); }; then
6177       if grep _Unwind_SjLj_Resume conftest.s >/dev/null 2>&1 ; then
6178         enable_sjlj_exceptions=yes
6179       elif grep _Unwind_Resume conftest.s >/dev/null 2>&1 ; then
6180         enable_sjlj_exceptions=no
6181       elif grep __cxa_end_cleanup conftest.s >/dev/null 2>&1 ; then
6182         enable_sjlj_exceptions=no
6183       fi
6184     fi
6185     CXXFLAGS="$old_CXXFLAGS"
6186     rm -f conftest*
6187   fi
6188
6189   # This is a tad weird, for hysterical raisins.  We have to map
6190   # enable/disable to two different models.
6191   case $enable_sjlj_exceptions in
6192     yes)
6193
6194 cat >>confdefs.h <<\_ACEOF
6195 #define _GLIBCXX_SJLJ_EXCEPTIONS 1
6196 _ACEOF
6197
6198       ac_exception_model_name=sjlj
6199       ;;
6200     no)
6201       ac_exception_model_name="call frame"
6202       ;;
6203     *)
6204       { { echo "$as_me:$LINENO: error: unable to detect exception model" >&5
6205 echo "$as_me: error: unable to detect exception model" >&2;}
6206    { (exit 1); exit 1; }; }
6207       ;;
6208   esac
6209  ac_ext=c
6210 ac_cpp='$CPP $CPPFLAGS'
6211 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6212 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6213 ac_compiler_gnu=$ac_cv_c_compiler_gnu
6214
6215  echo "$as_me:$LINENO: result: $ac_exception_model_name" >&5
6216 echo "${ECHO_T}$ac_exception_model_name" >&6
6217
6218
6219    # Check whether --enable-libstdcxx-pch or --disable-libstdcxx-pch was given.
6220 if test "${enable_libstdcxx_pch+set}" = set; then
6221   enableval="$enable_libstdcxx_pch"
6222
6223       case "$enableval" in
6224        yes|no) ;;
6225        *) { { echo "$as_me:$LINENO: error: Argument to enable/disable libstdcxx-pch must be yes or no" >&5
6226 echo "$as_me: error: Argument to enable/disable libstdcxx-pch must be yes or no" >&2;}
6227    { (exit 1); exit 1; }; } ;;
6228       esac
6229
6230 else
6231   enable_libstdcxx_pch=$is_hosted
6232 fi;
6233
6234   if test $enable_libstdcxx_pch = yes; then
6235     echo "$as_me:$LINENO: checking for compiler with PCH support" >&5
6236 echo $ECHO_N "checking for compiler with PCH support... $ECHO_C" >&6
6237 if test "${glibcxx_cv_prog_CXX_pch+set}" = set; then
6238   echo $ECHO_N "(cached) $ECHO_C" >&6
6239 else
6240   ac_save_CXXFLAGS="$CXXFLAGS"
6241        CXXFLAGS="$CXXFLAGS -Werror -Winvalid-pch -Wno-deprecated"
6242
6243
6244        ac_ext=cc
6245 ac_cpp='$CXXCPP $CPPFLAGS'
6246 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6247 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6248 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
6249
6250        echo '#include <math.h>' > conftest.h
6251        if $CXX $CXXFLAGS $CPPFLAGS -x c++-header conftest.h \
6252                           -o conftest.h.gch 1>&5 2>&1 &&
6253                 echo '#error "pch failed"' > conftest.h &&
6254           echo '#include "conftest.h"' > conftest.cc &&
6255                $CXX -c $CXXFLAGS $CPPFLAGS conftest.cc 1>&5 2>&1 ;
6256        then
6257          glibcxx_cv_prog_CXX_pch=yes
6258        else
6259          glibcxx_cv_prog_CXX_pch=no
6260        fi
6261        rm -f conftest*
6262        CXXFLAGS=$ac_save_CXXFLAGS
6263        ac_ext=c
6264 ac_cpp='$CPP $CPPFLAGS'
6265 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6266 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6267 ac_compiler_gnu=$ac_cv_c_compiler_gnu
6268
6269
6270 fi
6271 echo "$as_me:$LINENO: result: $glibcxx_cv_prog_CXX_pch" >&5
6272 echo "${ECHO_T}$glibcxx_cv_prog_CXX_pch" >&6
6273     enable_libstdcxx_pch=$glibcxx_cv_prog_CXX_pch
6274   fi
6275
6276   echo "$as_me:$LINENO: checking for enabled PCH" >&5
6277 echo $ECHO_N "checking for enabled PCH... $ECHO_C" >&6
6278   echo "$as_me:$LINENO: result: $enable_libstdcxx_pch" >&5
6279 echo "${ECHO_T}$enable_libstdcxx_pch" >&6
6280
6281
6282   if test $enable_libstdcxx_pch = yes; then
6283     glibcxx_PCHFLAGS="-include bits/stdtr1c++.h"
6284   else
6285     glibcxx_PCHFLAGS=""
6286   fi
6287
6288
6289
6290 # Enable all the variable C++ runtime options.
6291
6292   echo "$as_me:$LINENO: checking for underlying I/O to use" >&5
6293 echo $ECHO_N "checking for underlying I/O to use... $ECHO_C" >&6
6294    # Check whether --enable-cstdio or --disable-cstdio was given.
6295 if test "${enable_cstdio+set}" = set; then
6296   enableval="$enable_cstdio"
6297
6298       case "$enableval" in
6299        stdio) ;;
6300        *) { { echo "$as_me:$LINENO: error: Unknown argument to enable/disable cstdio" >&5
6301 echo "$as_me: error: Unknown argument to enable/disable cstdio" >&2;}
6302    { (exit 1); exit 1; }; } ;;
6303                           esac
6304
6305 else
6306   enable_cstdio=stdio
6307 fi;
6308
6309
6310   # Now that libio has been removed, you can have any color you want as long
6311   # as it's black.  This is one big no-op until other packages are added, but
6312   # showing the framework never hurts.
6313   case ${enable_cstdio} in
6314     stdio)
6315       CSTDIO_H=config/io/c_io_stdio.h
6316       BASIC_FILE_H=config/io/basic_file_stdio.h
6317       BASIC_FILE_CC=config/io/basic_file_stdio.cc
6318       echo "$as_me:$LINENO: result: stdio" >&5
6319 echo "${ECHO_T}stdio" >&6
6320       ;;
6321   esac
6322
6323
6324
6325
6326
6327 echo "$as_me:$LINENO: checking for ANSI C header files" >&5
6328 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6
6329 if test "${ac_cv_header_stdc+set}" = set; then
6330   echo $ECHO_N "(cached) $ECHO_C" >&6
6331 else
6332   cat >conftest.$ac_ext <<_ACEOF
6333 /* confdefs.h.  */
6334 _ACEOF
6335 cat confdefs.h >>conftest.$ac_ext
6336 cat >>conftest.$ac_ext <<_ACEOF
6337 /* end confdefs.h.  */
6338 #include <stdlib.h>
6339 #include <stdarg.h>
6340 #include <string.h>
6341 #include <float.h>
6342
6343 int
6344 main ()
6345 {
6346
6347   ;
6348   return 0;
6349 }
6350 _ACEOF
6351 rm -f conftest.$ac_objext
6352 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6353   (eval $ac_compile) 2>conftest.er1
6354   ac_status=$?
6355   grep -v '^ *+' conftest.er1 >conftest.err
6356   rm -f conftest.er1
6357   cat conftest.err >&5
6358   echo "$as_me:$LINENO: \$? = $ac_status" >&5
6359   (exit $ac_status); } &&
6360          { ac_try='test -z "$ac_c_werror_flag"
6361                          || test ! -s conftest.err'
6362   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6363   (eval $ac_try) 2>&5
6364   ac_status=$?
6365   echo "$as_me:$LINENO: \$? = $ac_status" >&5
6366   (exit $ac_status); }; } &&
6367          { ac_try='test -s conftest.$ac_objext'
6368   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6369   (eval $ac_try) 2>&5
6370   ac_status=$?
6371   echo "$as_me:$LINENO: \$? = $ac_status" >&5
6372   (exit $ac_status); }; }; then
6373   ac_cv_header_stdc=yes
6374 else
6375   echo "$as_me: failed program was:" >&5
6376 sed 's/^/| /' conftest.$ac_ext >&5
6377
6378 ac_cv_header_stdc=no
6379 fi
6380 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
6381
6382 if test $ac_cv_header_stdc = yes; then
6383   # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
6384   cat >conftest.$ac_ext <<_ACEOF
6385 /* confdefs.h.  */
6386 _ACEOF
6387 cat confdefs.h >>conftest.$ac_ext
6388 cat >>conftest.$ac_ext <<_ACEOF
6389 /* end confdefs.h.  */
6390 #include <string.h>
6391
6392 _ACEOF
6393 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
6394   $EGREP "memchr" >/dev/null 2>&1; then
6395   :
6396 else
6397   ac_cv_header_stdc=no
6398 fi
6399 rm -f conftest*
6400
6401 fi
6402
6403 if test $ac_cv_header_stdc = yes; then
6404   # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
6405   cat >conftest.$ac_ext <<_ACEOF
6406 /* confdefs.h.  */
6407 _ACEOF
6408 cat confdefs.h >>conftest.$ac_ext
6409 cat >>conftest.$ac_ext <<_ACEOF
6410 /* end confdefs.h.  */
6411 #include <stdlib.h>
6412
6413 _ACEOF
6414 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
6415   $EGREP "free" >/dev/null 2>&1; then
6416   :
6417 else
6418   ac_cv_header_stdc=no
6419 fi
6420 rm -f conftest*
6421
6422 fi
6423
6424 if test $ac_cv_header_stdc = yes; then
6425   # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
6426   if test "$cross_compiling" = yes; then
6427   :
6428 else
6429   cat >conftest.$ac_ext <<_ACEOF
6430 /* confdefs.h.  */
6431 _ACEOF
6432 cat confdefs.h >>conftest.$ac_ext
6433 cat >>conftest.$ac_ext <<_ACEOF
6434 /* end confdefs.h.  */
6435 #include <ctype.h>
6436 #if ((' ' & 0x0FF) == 0x020)
6437 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
6438 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
6439 #else
6440 # define ISLOWER(c) \
6441                    (('a' <= (c) && (c) <= 'i') \
6442                      || ('j' <= (c) && (c) <= 'r') \
6443                      || ('s' <= (c) && (c) <= 'z'))
6444 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
6445 #endif
6446
6447 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
6448 int
6449 main ()
6450 {
6451   int i;
6452   for (i = 0; i < 256; i++)
6453     if (XOR (islower (i), ISLOWER (i))
6454         || toupper (i) != TOUPPER (i))
6455       exit(2);
6456   exit (0);
6457 }
6458 _ACEOF
6459 rm -f conftest$ac_exeext
6460 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
6461   (eval $ac_link) 2>&5
6462   ac_status=$?
6463   echo "$as_me:$LINENO: \$? = $ac_status" >&5
6464   (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
6465   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6466   (eval $ac_try) 2>&5
6467   ac_status=$?
6468   echo "$as_me:$LINENO: \$? = $ac_status" >&5
6469   (exit $ac_status); }; }; then
6470   :
6471 else
6472   echo "$as_me: program exited with status $ac_status" >&5
6473 echo "$as_me: failed program was:" >&5
6474 sed 's/^/| /' conftest.$ac_ext >&5
6475
6476 ( exit $ac_status )
6477 ac_cv_header_stdc=no
6478 fi
6479 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
6480 fi
6481 fi
6482 fi
6483 echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
6484 echo "${ECHO_T}$ac_cv_header_stdc" >&6
6485 if test $ac_cv_header_stdc = yes; then
6486
6487 cat >>confdefs.h <<\_ACEOF
6488 #define STDC_HEADERS 1
6489 _ACEOF
6490
6491 fi
6492
6493 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
6494
6495
6496
6497
6498
6499
6500
6501
6502
6503 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
6504                   inttypes.h stdint.h unistd.h
6505 do
6506 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
6507 echo "$as_me:$LINENO: checking for $ac_header" >&5
6508 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
6509 if eval "test \"\${$as_ac_Header+set}\" = set"; then
6510   echo $ECHO_N "(cached) $ECHO_C" >&6
6511 else
6512   cat >conftest.$ac_ext <<_ACEOF
6513 /* confdefs.h.  */
6514 _ACEOF
6515 cat confdefs.h >>conftest.$ac_ext
6516 cat >>conftest.$ac_ext <<_ACEOF
6517 /* end confdefs.h.  */
6518 $ac_includes_default
6519
6520 #include <$ac_header>
6521 _ACEOF
6522 rm -f conftest.$ac_objext
6523 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6524   (eval $ac_compile) 2>conftest.er1
6525   ac_status=$?
6526   grep -v '^ *+' conftest.er1 >conftest.err
6527   rm -f conftest.er1
6528   cat conftest.err >&5
6529   echo "$as_me:$LINENO: \$? = $ac_status" >&5
6530   (exit $ac_status); } &&
6531          { ac_try='test -z "$ac_c_werror_flag"
6532                          || test ! -s conftest.err'
6533   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6534   (eval $ac_try) 2>&5
6535   ac_status=$?
6536   echo "$as_me:$LINENO: \$? = $ac_status" >&5
6537   (exit $ac_status); }; } &&
6538          { ac_try='test -s conftest.$ac_objext'
6539   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6540   (eval $ac_try) 2>&5
6541   ac_status=$?
6542   echo "$as_me:$LINENO: \$? = $ac_status" >&5
6543   (exit $ac_status); }; }; then
6544   eval "$as_ac_Header=yes"
6545 else
6546   echo "$as_me: failed program was:" >&5
6547 sed 's/^/| /' conftest.$ac_ext >&5
6548
6549 eval "$as_ac_Header=no"
6550 fi
6551 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
6552 fi
6553 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
6554 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
6555 if test `eval echo '${'$as_ac_Header'}'` = yes; then
6556   cat >>confdefs.h <<_ACEOF
6557 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
6558 _ACEOF
6559
6560 fi
6561
6562 done
6563
6564
6565
6566   echo "$as_me:$LINENO: checking for C locale to use" >&5
6567 echo $ECHO_N "checking for C locale to use... $ECHO_C" >&6
6568    # Check whether --enable-clocale or --disable-clocale was given.
6569 if test "${enable_clocale+set}" = set; then
6570   enableval="$enable_clocale"
6571
6572       case "$enableval" in
6573        generic|gnu|ieee_1003.1-2001|yes|no|auto) ;;
6574        *) { { echo "$as_me:$LINENO: error: Unknown argument to enable/disable clocale" >&5
6575 echo "$as_me: error: Unknown argument to enable/disable clocale" >&2;}
6576    { (exit 1); exit 1; }; } ;;
6577                           esac
6578
6579 else
6580   enable_clocale=auto
6581 fi;
6582
6583
6584   # If they didn't use this option switch, or if they specified --enable
6585   # with no specific model, we'll have to look for one.  If they
6586   # specified --disable (???), do likewise.
6587   if test $enable_clocale = no || test $enable_clocale = yes; then
6588      enable_clocale=auto
6589   fi
6590
6591   # Either a known package, or "auto"
6592   enable_clocale_flag=$enable_clocale
6593
6594   # Probe for locale support if no specific model is specified.
6595   # Default to "generic".
6596   if test $enable_clocale_flag = auto; then
6597     case ${target_os} in
6598       linux* | gnu* | kfreebsd*-gnu | knetbsd*-gnu)
6599         cat >conftest.$ac_ext <<_ACEOF
6600 /* confdefs.h.  */
6601 _ACEOF
6602 cat confdefs.h >>conftest.$ac_ext
6603 cat >>conftest.$ac_ext <<_ACEOF
6604 /* end confdefs.h.  */
6605
6606         #include <features.h>
6607         #if __GLIBC__ > 2 || (__GLIBC__ == 2 && __GLIBC_MINOR__ >= 2)
6608           _GLIBCXX_ok
6609         #endif
6610
6611 _ACEOF
6612 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
6613   $EGREP "_GLIBCXX_ok" >/dev/null 2>&1; then
6614   enable_clocale_flag=gnu
6615 else
6616   enable_clocale_flag=generic
6617 fi
6618 rm -f conftest*
6619
6620
6621         # Test for bugs early in glibc-2.2.x series
6622           if test $enable_clocale_flag = gnu; then
6623           if test "$cross_compiling" = yes; then
6624   enable_clocale_flag=generic
6625 else
6626   cat >conftest.$ac_ext <<_ACEOF
6627 /* confdefs.h.  */
6628 _ACEOF
6629 cat confdefs.h >>conftest.$ac_ext
6630 cat >>conftest.$ac_ext <<_ACEOF
6631 /* end confdefs.h.  */
6632
6633           #define _GNU_SOURCE 1
6634           #include <locale.h>
6635           #include <string.h>
6636           #if __GLIBC__ > 2 || (__GLIBC__ == 2 && __GLIBC_MINOR__ > 2)
6637           extern __typeof(newlocale) __newlocale;
6638           extern __typeof(duplocale) __duplocale;
6639           extern __typeof(strcoll_l) __strcoll_l;
6640           #endif
6641           int main()
6642           {
6643               const char __one[] = "Äuglein Augmen";
6644               const char __two[] = "Äuglein";
6645               int i;
6646               int j;
6647               __locale_t        loc;
6648                __locale_t        loc_dup;
6649               loc = __newlocale(1 << LC_ALL, "de_DE", 0);
6650               loc_dup = __duplocale(loc);
6651               i = __strcoll_l(__one, __two, loc);
6652               j = __strcoll_l(__one, __two, loc_dup);
6653               return 0;
6654           }
6655
6656 _ACEOF
6657 rm -f conftest$ac_exeext
6658 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
6659   (eval $ac_link) 2>&5
6660   ac_status=$?
6661   echo "$as_me:$LINENO: \$? = $ac_status" >&5
6662   (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
6663   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6664   (eval $ac_try) 2>&5
6665   ac_status=$?
6666   echo "$as_me:$LINENO: \$? = $ac_status" >&5
6667   (exit $ac_status); }; }; then
6668   enable_clocale_flag=gnu
6669 else
6670   echo "$as_me: program exited with status $ac_status" >&5
6671 echo "$as_me: failed program was:" >&5
6672 sed 's/^/| /' conftest.$ac_ext >&5
6673
6674 ( exit $ac_status )
6675 enable_clocale_flag=generic
6676 fi
6677 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
6678 fi
6679           fi
6680
6681         # ... at some point put __strxfrm_l tests in as well.
6682         ;;
6683       darwin* | freebsd*)
6684         enable_clocale_flag=darwin
6685         ;;
6686       *)
6687         enable_clocale_flag=generic
6688         ;;
6689     esac
6690   fi
6691
6692   # Deal with gettext issues.  Default to not using it (=no) until we detect
6693   # support for it later.  Let the user turn it off via --e/d, but let that
6694   # default to on for easier handling.
6695   USE_NLS=no
6696   # Check whether --enable-nls or --disable-nls was given.
6697 if test "${enable_nls+set}" = set; then
6698   enableval="$enable_nls"
6699
6700 else
6701   enable_nls=yes
6702 fi;
6703
6704   # Set configure bits for specified locale package
6705   case ${enable_clocale_flag} in
6706     generic)
6707       echo "$as_me:$LINENO: result: generic" >&5
6708 echo "${ECHO_T}generic" >&6
6709
6710       CLOCALE_H=config/locale/generic/c_locale.h
6711       CLOCALE_CC=config/locale/generic/c_locale.cc
6712       CCODECVT_CC=config/locale/generic/codecvt_members.cc
6713       CCOLLATE_CC=config/locale/generic/collate_members.cc
6714       CCTYPE_CC=config/locale/generic/ctype_members.cc
6715       CMESSAGES_H=config/locale/generic/messages_members.h
6716       CMESSAGES_CC=config/locale/generic/messages_members.cc
6717       CMONEY_CC=config/locale/generic/monetary_members.cc
6718       CNUMERIC_CC=config/locale/generic/numeric_members.cc
6719       CTIME_H=config/locale/generic/time_members.h
6720       CTIME_CC=config/locale/generic/time_members.cc
6721       CLOCALE_INTERNAL_H=config/locale/generic/c++locale_internal.h
6722       ;;
6723     darwin)
6724       echo "$as_me:$LINENO: result: darwin or freebsd" >&5
6725 echo "${ECHO_T}darwin or freebsd" >&6
6726
6727       CLOCALE_H=config/locale/generic/c_locale.h
6728       CLOCALE_CC=config/locale/generic/c_locale.cc
6729       CCODECVT_CC=config/locale/generic/codecvt_members.cc
6730       CCOLLATE_CC=config/locale/generic/collate_members.cc
6731       CCTYPE_CC=config/locale/darwin/ctype_members.cc
6732       CMESSAGES_H=config/locale/generic/messages_members.h
6733       CMESSAGES_CC=config/locale/generic/messages_members.cc
6734       CMONEY_CC=config/locale/generic/monetary_members.cc
6735       CNUMERIC_CC=config/locale/generic/numeric_members.cc
6736       CTIME_H=config/locale/generic/time_members.h
6737       CTIME_CC=config/locale/generic/time_members.cc
6738       CLOCALE_INTERNAL_H=config/locale/generic/c++locale_internal.h
6739       ;;
6740
6741     gnu)
6742       echo "$as_me:$LINENO: result: gnu" >&5
6743 echo "${ECHO_T}gnu" >&6
6744
6745       # Declare intention to use gettext, and add support for specific
6746       # languages.
6747       # For some reason, ALL_LINGUAS has to be before AM-GNU-GETTEXT
6748       ALL_LINGUAS="de fr"
6749
6750       # Don't call AM-GNU-GETTEXT here. Instead, assume glibc.
6751       # Extract the first word of "msgfmt", so it can be a program name with args.
6752 set dummy msgfmt; ac_word=$2
6753 echo "$as_me:$LINENO: checking for $ac_word" >&5
6754 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
6755 if test "${ac_cv_prog_check_msgfmt+set}" = set; then
6756   echo $ECHO_N "(cached) $ECHO_C" >&6
6757 else
6758   if test -n "$check_msgfmt"; then
6759   ac_cv_prog_check_msgfmt="$check_msgfmt" # Let the user override the test.
6760 else
6761 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6762 for as_dir in $PATH
6763 do
6764   IFS=$as_save_IFS
6765   test -z "$as_dir" && as_dir=.
6766   for ac_exec_ext in '' $ac_executable_extensions; do
6767   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6768     ac_cv_prog_check_msgfmt="yes"
6769     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6770     break 2
6771   fi
6772 done
6773 done
6774
6775   test -z "$ac_cv_prog_check_msgfmt" && ac_cv_prog_check_msgfmt="no"
6776 fi
6777 fi
6778 check_msgfmt=$ac_cv_prog_check_msgfmt
6779 if test -n "$check_msgfmt"; then
6780   echo "$as_me:$LINENO: result: $check_msgfmt" >&5
6781 echo "${ECHO_T}$check_msgfmt" >&6
6782 else
6783   echo "$as_me:$LINENO: result: no" >&5
6784 echo "${ECHO_T}no" >&6
6785 fi
6786
6787       if test x"$check_msgfmt" = x"yes" && test x"$enable_nls" = x"yes"; then
6788         USE_NLS=yes
6789       fi
6790       # Export the build objects.
6791       for ling in $ALL_LINGUAS; do \
6792         glibcxx_MOFILES="$glibcxx_MOFILES $ling.mo"; \
6793         glibcxx_POFILES="$glibcxx_POFILES $ling.po"; \
6794       done
6795
6796
6797
6798       CLOCALE_H=config/locale/gnu/c_locale.h
6799       CLOCALE_CC=config/locale/gnu/c_locale.cc
6800       CCODECVT_CC=config/locale/gnu/codecvt_members.cc
6801       CCOLLATE_CC=config/locale/gnu/collate_members.cc
6802       CCTYPE_CC=config/locale/gnu/ctype_members.cc
6803       CMESSAGES_H=config/locale/gnu/messages_members.h
6804       CMESSAGES_CC=config/locale/gnu/messages_members.cc
6805       CMONEY_CC=config/locale/gnu/monetary_members.cc
6806       CNUMERIC_CC=config/locale/gnu/numeric_members.cc
6807       CTIME_H=config/locale/gnu/time_members.h
6808       CTIME_CC=config/locale/gnu/time_members.cc
6809       CLOCALE_INTERNAL_H=config/locale/gnu/c++locale_internal.h
6810       ;;
6811     ieee_1003.1-2001)
6812       echo "$as_me:$LINENO: result: IEEE 1003.1" >&5
6813 echo "${ECHO_T}IEEE 1003.1" >&6
6814
6815       CLOCALE_H=config/locale/ieee_1003.1-2001/c_locale.h
6816       CLOCALE_CC=config/locale/ieee_1003.1-2001/c_locale.cc
6817       CCODECVT_CC=config/locale/generic/codecvt_members.cc
6818       CCOLLATE_CC=config/locale/generic/collate_members.cc
6819       CCTYPE_CC=config/locale/generic/ctype_members.cc
6820       CMESSAGES_H=config/locale/ieee_1003.1-2001/messages_members.h
6821       CMESSAGES_CC=config/locale/ieee_1003.1-2001/messages_members.cc
6822       CMONEY_CC=config/locale/generic/monetary_members.cc
6823       CNUMERIC_CC=config/locale/generic/numeric_members.cc
6824       CTIME_H=config/locale/generic/time_members.h
6825       CTIME_CC=config/locale/generic/time_members.cc
6826       CLOCALE_INTERNAL_H=config/locale/generic/c++locale_internal.h
6827       ;;
6828   esac
6829
6830   # This is where the testsuite looks for locale catalogs, using the
6831   # -DLOCALEDIR define during testsuite compilation.
6832   glibcxx_localedir=${glibcxx_builddir}/po/share/locale
6833
6834
6835   # A standalone libintl (e.g., GNU libintl) may be in use.
6836   if test $USE_NLS = yes; then
6837
6838 for ac_header in libintl.h
6839 do
6840 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
6841 if eval "test \"\${$as_ac_Header+set}\" = set"; then
6842   echo "$as_me:$LINENO: checking for $ac_header" >&5
6843 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
6844 if eval "test \"\${$as_ac_Header+set}\" = set"; then
6845   echo $ECHO_N "(cached) $ECHO_C" >&6
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 else
6850   # Is the header compilable?
6851 echo "$as_me:$LINENO: checking $ac_header usability" >&5
6852 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
6853 cat >conftest.$ac_ext <<_ACEOF
6854 /* confdefs.h.  */
6855 _ACEOF
6856 cat confdefs.h >>conftest.$ac_ext
6857 cat >>conftest.$ac_ext <<_ACEOF
6858 /* end confdefs.h.  */
6859 $ac_includes_default
6860 #include <$ac_header>
6861 _ACEOF
6862 rm -f conftest.$ac_objext
6863 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6864   (eval $ac_compile) 2>conftest.er1
6865   ac_status=$?
6866   grep -v '^ *+' conftest.er1 >conftest.err
6867   rm -f conftest.er1
6868   cat conftest.err >&5
6869   echo "$as_me:$LINENO: \$? = $ac_status" >&5
6870   (exit $ac_status); } &&
6871          { ac_try='test -z "$ac_c_werror_flag"
6872                          || test ! -s conftest.err'
6873   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6874   (eval $ac_try) 2>&5
6875   ac_status=$?
6876   echo "$as_me:$LINENO: \$? = $ac_status" >&5
6877   (exit $ac_status); }; } &&
6878          { ac_try='test -s conftest.$ac_objext'
6879   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6880   (eval $ac_try) 2>&5
6881   ac_status=$?
6882   echo "$as_me:$LINENO: \$? = $ac_status" >&5
6883   (exit $ac_status); }; }; then
6884   ac_header_compiler=yes
6885 else
6886   echo "$as_me: failed program was:" >&5
6887 sed 's/^/| /' conftest.$ac_ext >&5
6888
6889 ac_header_compiler=no
6890 fi
6891 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
6892 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
6893 echo "${ECHO_T}$ac_header_compiler" >&6
6894
6895 # Is the header present?
6896 echo "$as_me:$LINENO: checking $ac_header presence" >&5
6897 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
6898 cat >conftest.$ac_ext <<_ACEOF
6899 /* confdefs.h.  */
6900 _ACEOF
6901 cat confdefs.h >>conftest.$ac_ext
6902 cat >>conftest.$ac_ext <<_ACEOF
6903 /* end confdefs.h.  */
6904 #include <$ac_header>
6905 _ACEOF
6906 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
6907   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
6908   ac_status=$?
6909   grep -v '^ *+' conftest.er1 >conftest.err
6910   rm -f conftest.er1
6911   cat conftest.err >&5
6912   echo "$as_me:$LINENO: \$? = $ac_status" >&5
6913   (exit $ac_status); } >/dev/null; then
6914   if test -s conftest.err; then
6915     ac_cpp_err=$ac_c_preproc_warn_flag
6916     ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
6917   else
6918     ac_cpp_err=
6919   fi
6920 else
6921   ac_cpp_err=yes
6922 fi
6923 if test -z "$ac_cpp_err"; then
6924   ac_header_preproc=yes
6925 else
6926   echo "$as_me: failed program was:" >&5
6927 sed 's/^/| /' conftest.$ac_ext >&5
6928
6929   ac_header_preproc=no
6930 fi
6931 rm -f conftest.err conftest.$ac_ext
6932 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
6933 echo "${ECHO_T}$ac_header_preproc" >&6
6934
6935 # So?  What about this header?
6936 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
6937   yes:no: )
6938     { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
6939 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
6940     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
6941 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
6942     ac_header_preproc=yes
6943     ;;
6944   no:yes:* )
6945     { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
6946 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
6947     { echo "$as_me:$LINENO: WARNING: $ac_header:     check for missing prerequisite headers?" >&5
6948 echo "$as_me: WARNING: $ac_header:     check for missing prerequisite headers?" >&2;}
6949     { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
6950 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
6951     { echo "$as_me:$LINENO: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&5
6952 echo "$as_me: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&2;}
6953     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
6954 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
6955     { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
6956 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
6957     (
6958       cat <<\_ASBOX
6959 ## ----------------------------------------- ##
6960 ## Report this to the package-unused lists.  ##
6961 ## ----------------------------------------- ##
6962 _ASBOX
6963     ) |
6964       sed "s/^/$as_me: WARNING:     /" >&2
6965     ;;
6966 esac
6967 echo "$as_me:$LINENO: checking for $ac_header" >&5
6968 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
6969 if eval "test \"\${$as_ac_Header+set}\" = set"; then
6970   echo $ECHO_N "(cached) $ECHO_C" >&6
6971 else
6972   eval "$as_ac_Header=\$ac_header_preproc"
6973 fi
6974 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
6975 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
6976
6977 fi
6978 if test `eval echo '${'$as_ac_Header'}'` = yes; then
6979   cat >>confdefs.h <<_ACEOF
6980 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
6981 _ACEOF
6982
6983 else
6984   USE_NLS=no
6985 fi
6986
6987 done
6988
6989     echo "$as_me:$LINENO: checking for library containing gettext" >&5
6990 echo $ECHO_N "checking for library containing gettext... $ECHO_C" >&6
6991 if test "${ac_cv_search_gettext+set}" = set; then
6992   echo $ECHO_N "(cached) $ECHO_C" >&6
6993 else
6994   ac_func_search_save_LIBS=$LIBS
6995 ac_cv_search_gettext=no
6996 if test x$gcc_no_link = xyes; then
6997   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
6998 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
6999    { (exit 1); exit 1; }; }
7000 fi
7001 cat >conftest.$ac_ext <<_ACEOF
7002 /* confdefs.h.  */
7003 _ACEOF
7004 cat confdefs.h >>conftest.$ac_ext
7005 cat >>conftest.$ac_ext <<_ACEOF
7006 /* end confdefs.h.  */
7007
7008 /* Override any gcc2 internal prototype to avoid an error.  */
7009 #ifdef __cplusplus
7010 extern "C"
7011 #endif
7012 /* We use char because int might match the return type of a gcc2
7013    builtin and then its argument prototype would still apply.  */
7014 char gettext ();
7015 int
7016 main ()
7017 {
7018 gettext ();
7019   ;
7020   return 0;
7021 }
7022 _ACEOF
7023 rm -f conftest.$ac_objext conftest$ac_exeext
7024 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
7025   (eval $ac_link) 2>conftest.er1
7026   ac_status=$?
7027   grep -v '^ *+' conftest.er1 >conftest.err
7028   rm -f conftest.er1
7029   cat conftest.err >&5
7030   echo "$as_me:$LINENO: \$? = $ac_status" >&5
7031   (exit $ac_status); } &&
7032          { ac_try='test -z "$ac_c_werror_flag"
7033                          || test ! -s conftest.err'
7034   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7035   (eval $ac_try) 2>&5
7036   ac_status=$?
7037   echo "$as_me:$LINENO: \$? = $ac_status" >&5
7038   (exit $ac_status); }; } &&
7039          { ac_try='test -s conftest$ac_exeext'
7040   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7041   (eval $ac_try) 2>&5
7042   ac_status=$?
7043   echo "$as_me:$LINENO: \$? = $ac_status" >&5
7044   (exit $ac_status); }; }; then
7045   ac_cv_search_gettext="none required"
7046 else
7047   echo "$as_me: failed program was:" >&5
7048 sed 's/^/| /' conftest.$ac_ext >&5
7049
7050 fi
7051 rm -f conftest.err conftest.$ac_objext \
7052       conftest$ac_exeext conftest.$ac_ext
7053 if test "$ac_cv_search_gettext" = no; then
7054   for ac_lib in intl; do
7055     LIBS="-l$ac_lib  $ac_func_search_save_LIBS"
7056     if test x$gcc_no_link = xyes; then
7057   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
7058 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
7059    { (exit 1); exit 1; }; }
7060 fi
7061 cat >conftest.$ac_ext <<_ACEOF
7062 /* confdefs.h.  */
7063 _ACEOF
7064 cat confdefs.h >>conftest.$ac_ext
7065 cat >>conftest.$ac_ext <<_ACEOF
7066 /* end confdefs.h.  */
7067
7068 /* Override any gcc2 internal prototype to avoid an error.  */
7069 #ifdef __cplusplus
7070 extern "C"
7071 #endif
7072 /* We use char because int might match the return type of a gcc2
7073    builtin and then its argument prototype would still apply.  */
7074 char gettext ();
7075 int
7076 main ()
7077 {
7078 gettext ();
7079   ;
7080   return 0;
7081 }
7082 _ACEOF
7083 rm -f conftest.$ac_objext conftest$ac_exeext
7084 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
7085   (eval $ac_link) 2>conftest.er1
7086   ac_status=$?
7087   grep -v '^ *+' conftest.er1 >conftest.err
7088   rm -f conftest.er1
7089   cat conftest.err >&5
7090   echo "$as_me:$LINENO: \$? = $ac_status" >&5
7091   (exit $ac_status); } &&
7092          { ac_try='test -z "$ac_c_werror_flag"
7093                          || test ! -s conftest.err'
7094   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7095   (eval $ac_try) 2>&5
7096   ac_status=$?
7097   echo "$as_me:$LINENO: \$? = $ac_status" >&5
7098   (exit $ac_status); }; } &&
7099          { ac_try='test -s conftest$ac_exeext'
7100   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7101   (eval $ac_try) 2>&5
7102   ac_status=$?
7103   echo "$as_me:$LINENO: \$? = $ac_status" >&5
7104   (exit $ac_status); }; }; then
7105   ac_cv_search_gettext="-l$ac_lib"
7106 break
7107 else
7108   echo "$as_me: failed program was:" >&5
7109 sed 's/^/| /' conftest.$ac_ext >&5
7110
7111 fi
7112 rm -f conftest.err conftest.$ac_objext \
7113       conftest$ac_exeext conftest.$ac_ext
7114   done
7115 fi
7116 LIBS=$ac_func_search_save_LIBS
7117 fi
7118 echo "$as_me:$LINENO: result: $ac_cv_search_gettext" >&5
7119 echo "${ECHO_T}$ac_cv_search_gettext" >&6
7120 if test "$ac_cv_search_gettext" != no; then
7121   test "$ac_cv_search_gettext" = "none required" || LIBS="$ac_cv_search_gettext $LIBS"
7122
7123 else
7124   USE_NLS=no
7125 fi
7126
7127   fi
7128   if test $USE_NLS = yes; then
7129
7130 cat >>confdefs.h <<\_ACEOF
7131 #define _GLIBCXX_USE_NLS 1
7132 _ACEOF
7133
7134   fi
7135
7136
7137
7138
7139
7140
7141
7142
7143
7144
7145
7146
7147
7148
7149
7150
7151   echo "$as_me:$LINENO: checking for std::allocator base class" >&5
7152 echo $ECHO_N "checking for std::allocator base class... $ECHO_C" >&6
7153    # Check whether --enable-libstdcxx-allocator or --disable-libstdcxx-allocator was given.
7154 if test "${enable_libstdcxx_allocator+set}" = set; then
7155   enableval="$enable_libstdcxx_allocator"
7156
7157       case "$enableval" in
7158        new|malloc|mt|bitmap|pool|yes|no|auto) ;;
7159        *) { { echo "$as_me:$LINENO: error: Unknown argument to enable/disable libstdcxx-allocator" >&5
7160 echo "$as_me: error: Unknown argument to enable/disable libstdcxx-allocator" >&2;}
7161    { (exit 1); exit 1; }; } ;;
7162                           esac
7163
7164 else
7165   enable_libstdcxx_allocator=auto
7166 fi;
7167
7168
7169   # If they didn't use this option switch, or if they specified --enable
7170   # with no specific model, we'll have to look for one.  If they
7171   # specified --disable (???), do likewise.
7172   if test $enable_libstdcxx_allocator = no ||
7173      test $enable_libstdcxx_allocator = yes;
7174   then
7175      enable_libstdcxx_allocator=auto
7176   fi
7177
7178   # Either a known package, or "auto". Auto implies the default choice
7179   # for a particular platform.
7180   enable_libstdcxx_allocator_flag=$enable_libstdcxx_allocator
7181
7182   # Probe for host-specific support if no specific model is specified.
7183   # Default to "new".
7184   if test $enable_libstdcxx_allocator_flag = auto; then
7185     case ${target_os} in
7186       linux* | gnu* | kfreebsd*-gnu | knetbsd*-gnu)
7187         enable_libstdcxx_allocator_flag=new
7188         ;;
7189       *)
7190         enable_libstdcxx_allocator_flag=new
7191         ;;
7192     esac
7193   fi
7194   echo "$as_me:$LINENO: result: $enable_libstdcxx_allocator_flag" >&5
7195 echo "${ECHO_T}$enable_libstdcxx_allocator_flag" >&6
7196
7197
7198   # Set configure bits for specified locale package
7199   case ${enable_libstdcxx_allocator_flag} in
7200     bitmap)
7201       ALLOCATOR_H=config/allocator/bitmap_allocator_base.h
7202       ALLOCATOR_NAME=__gnu_cxx::bitmap_allocator
7203       ;;
7204     malloc)
7205       ALLOCATOR_H=config/allocator/malloc_allocator_base.h
7206       ALLOCATOR_NAME=__gnu_cxx::malloc_allocator
7207       ;;
7208     mt)
7209       ALLOCATOR_H=config/allocator/mt_allocator_base.h
7210       ALLOCATOR_NAME=__gnu_cxx::__mt_alloc
7211       ;;
7212     new)
7213       ALLOCATOR_H=config/allocator/new_allocator_base.h
7214       ALLOCATOR_NAME=__gnu_cxx::new_allocator
7215       ;;
7216     pool)
7217       ALLOCATOR_H=config/allocator/pool_allocator_base.h
7218       ALLOCATOR_NAME=__gnu_cxx::__pool_alloc
7219       ;;
7220   esac
7221
7222
7223
7224
7225
7226    # Check whether --enable-cheaders or --disable-cheaders was given.
7227 if test "${enable_cheaders+set}" = set; then
7228   enableval="$enable_cheaders"
7229
7230       case "$enableval" in
7231        c|c_std) ;;
7232        *) { { echo "$as_me:$LINENO: error: Unknown argument to enable/disable cheaders" >&5
7233 echo "$as_me: error: Unknown argument to enable/disable cheaders" >&2;}
7234    { (exit 1); exit 1; }; } ;;
7235                           esac
7236
7237 else
7238   enable_cheaders=$c_model
7239 fi;
7240
7241   { echo "$as_me:$LINENO: \"C\" header strategy set to $enable_cheaders" >&5
7242 echo "$as_me: \"C\" header strategy set to $enable_cheaders" >&6;}
7243
7244   C_INCLUDE_DIR='${glibcxx_srcdir}/include/'$enable_cheaders
7245
7246
7247
7248
7249
7250
7251    # Check whether --enable-long-long or --disable-long-long was given.
7252 if test "${enable_long_long+set}" = set; then
7253   enableval="$enable_long_long"
7254
7255       case "$enableval" in
7256        yes|no) ;;
7257        *) { { echo "$as_me:$LINENO: error: Argument to enable/disable long-long must be yes or no" >&5
7258 echo "$as_me: error: Argument to enable/disable long-long must be yes or no" >&2;}
7259    { (exit 1); exit 1; }; } ;;
7260       esac
7261
7262 else
7263   enable_long_long=yes
7264 fi;
7265
7266   if test $enable_long_long = yes; then
7267
7268 cat >>confdefs.h <<\_ACEOF
7269 #define _GLIBCXX_USE_LONG_LONG 1
7270 _ACEOF
7271
7272   fi
7273   echo "$as_me:$LINENO: checking for enabled long long specializations" >&5
7274 echo $ECHO_N "checking for enabled long long specializations... $ECHO_C" >&6
7275   echo "$as_me:$LINENO: result: $enable_long_long" >&5
7276 echo "${ECHO_T}$enable_long_long" >&6
7277
7278
7279
7280    # Check whether --enable-wchar_t or --disable-wchar_t was given.
7281 if test "${enable_wchar_t+set}" = set; then
7282   enableval="$enable_wchar_t"
7283
7284       case "$enableval" in
7285        yes|no) ;;
7286        *) { { echo "$as_me:$LINENO: error: Argument to enable/disable wchar_t must be yes or no" >&5
7287 echo "$as_me: error: Argument to enable/disable wchar_t must be yes or no" >&2;}
7288    { (exit 1); exit 1; }; } ;;
7289       esac
7290
7291 else
7292   enable_wchar_t=yes
7293 fi;
7294
7295
7296   # Test wchar.h for mbstate_t, which is needed for char_traits and fpos.
7297
7298 for ac_header in wchar.h
7299 do
7300 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
7301 if eval "test \"\${$as_ac_Header+set}\" = set"; then
7302   echo "$as_me:$LINENO: checking for $ac_header" >&5
7303 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
7304 if eval "test \"\${$as_ac_Header+set}\" = set"; then
7305   echo $ECHO_N "(cached) $ECHO_C" >&6
7306 fi
7307 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
7308 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
7309 else
7310   # Is the header compilable?
7311 echo "$as_me:$LINENO: checking $ac_header usability" >&5
7312 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
7313 cat >conftest.$ac_ext <<_ACEOF
7314 /* confdefs.h.  */
7315 _ACEOF
7316 cat confdefs.h >>conftest.$ac_ext
7317 cat >>conftest.$ac_ext <<_ACEOF
7318 /* end confdefs.h.  */
7319 $ac_includes_default
7320 #include <$ac_header>
7321 _ACEOF
7322 rm -f conftest.$ac_objext
7323 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7324   (eval $ac_compile) 2>conftest.er1
7325   ac_status=$?
7326   grep -v '^ *+' conftest.er1 >conftest.err
7327   rm -f conftest.er1
7328   cat conftest.err >&5
7329   echo "$as_me:$LINENO: \$? = $ac_status" >&5
7330   (exit $ac_status); } &&
7331          { ac_try='test -z "$ac_c_werror_flag"
7332                          || test ! -s conftest.err'
7333   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7334   (eval $ac_try) 2>&5
7335   ac_status=$?
7336   echo "$as_me:$LINENO: \$? = $ac_status" >&5
7337   (exit $ac_status); }; } &&
7338          { ac_try='test -s conftest.$ac_objext'
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); }; }; then
7344   ac_header_compiler=yes
7345 else
7346   echo "$as_me: failed program was:" >&5
7347 sed 's/^/| /' conftest.$ac_ext >&5
7348
7349 ac_header_compiler=no
7350 fi
7351 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
7352 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
7353 echo "${ECHO_T}$ac_header_compiler" >&6
7354
7355 # Is the header present?
7356 echo "$as_me:$LINENO: checking $ac_header presence" >&5
7357 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
7358 cat >conftest.$ac_ext <<_ACEOF
7359 /* confdefs.h.  */
7360 _ACEOF
7361 cat confdefs.h >>conftest.$ac_ext
7362 cat >>conftest.$ac_ext <<_ACEOF
7363 /* end confdefs.h.  */
7364 #include <$ac_header>
7365 _ACEOF
7366 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
7367   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
7368   ac_status=$?
7369   grep -v '^ *+' conftest.er1 >conftest.err
7370   rm -f conftest.er1
7371   cat conftest.err >&5
7372   echo "$as_me:$LINENO: \$? = $ac_status" >&5
7373   (exit $ac_status); } >/dev/null; then
7374   if test -s conftest.err; then
7375     ac_cpp_err=$ac_c_preproc_warn_flag
7376     ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
7377   else
7378     ac_cpp_err=
7379   fi
7380 else
7381   ac_cpp_err=yes
7382 fi
7383 if test -z "$ac_cpp_err"; then
7384   ac_header_preproc=yes
7385 else
7386   echo "$as_me: failed program was:" >&5
7387 sed 's/^/| /' conftest.$ac_ext >&5
7388
7389   ac_header_preproc=no
7390 fi
7391 rm -f conftest.err conftest.$ac_ext
7392 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
7393 echo "${ECHO_T}$ac_header_preproc" >&6
7394
7395 # So?  What about this header?
7396 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
7397   yes:no: )
7398     { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
7399 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
7400     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
7401 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
7402     ac_header_preproc=yes
7403     ;;
7404   no:yes:* )
7405     { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
7406 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
7407     { echo "$as_me:$LINENO: WARNING: $ac_header:     check for missing prerequisite headers?" >&5
7408 echo "$as_me: WARNING: $ac_header:     check for missing prerequisite headers?" >&2;}
7409     { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
7410 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
7411     { echo "$as_me:$LINENO: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&5
7412 echo "$as_me: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&2;}
7413     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
7414 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
7415     { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
7416 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
7417     (
7418       cat <<\_ASBOX
7419 ## ----------------------------------------- ##
7420 ## Report this to the package-unused lists.  ##
7421 ## ----------------------------------------- ##
7422 _ASBOX
7423     ) |
7424       sed "s/^/$as_me: WARNING:     /" >&2
7425     ;;
7426 esac
7427 echo "$as_me:$LINENO: checking for $ac_header" >&5
7428 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
7429 if eval "test \"\${$as_ac_Header+set}\" = set"; then
7430   echo $ECHO_N "(cached) $ECHO_C" >&6
7431 else
7432   eval "$as_ac_Header=\$ac_header_preproc"
7433 fi
7434 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
7435 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
7436
7437 fi
7438 if test `eval echo '${'$as_ac_Header'}'` = yes; then
7439   cat >>confdefs.h <<_ACEOF
7440 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
7441 _ACEOF
7442  ac_has_wchar_h=yes
7443 else
7444   ac_has_wchar_h=no
7445 fi
7446
7447 done
7448
7449   echo "$as_me:$LINENO: checking for mbstate_t" >&5
7450 echo $ECHO_N "checking for mbstate_t... $ECHO_C" >&6
7451   cat >conftest.$ac_ext <<_ACEOF
7452 /* confdefs.h.  */
7453 _ACEOF
7454 cat confdefs.h >>conftest.$ac_ext
7455 cat >>conftest.$ac_ext <<_ACEOF
7456 /* end confdefs.h.  */
7457 #include <wchar.h>
7458 int
7459 main ()
7460 {
7461 mbstate_t teststate;
7462   ;
7463   return 0;
7464 }
7465 _ACEOF
7466 rm -f conftest.$ac_objext
7467 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7468   (eval $ac_compile) 2>conftest.er1
7469   ac_status=$?
7470   grep -v '^ *+' conftest.er1 >conftest.err
7471   rm -f conftest.er1
7472   cat conftest.err >&5
7473   echo "$as_me:$LINENO: \$? = $ac_status" >&5
7474   (exit $ac_status); } &&
7475          { ac_try='test -z "$ac_c_werror_flag"
7476                          || test ! -s conftest.err'
7477   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7478   (eval $ac_try) 2>&5
7479   ac_status=$?
7480   echo "$as_me:$LINENO: \$? = $ac_status" >&5
7481   (exit $ac_status); }; } &&
7482          { ac_try='test -s conftest.$ac_objext'
7483   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7484   (eval $ac_try) 2>&5
7485   ac_status=$?
7486   echo "$as_me:$LINENO: \$? = $ac_status" >&5
7487   (exit $ac_status); }; }; then
7488   have_mbstate_t=yes
7489 else
7490   echo "$as_me: failed program was:" >&5
7491 sed 's/^/| /' conftest.$ac_ext >&5
7492
7493 have_mbstate_t=no
7494 fi
7495 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
7496   echo "$as_me:$LINENO: result: $have_mbstate_t" >&5
7497 echo "${ECHO_T}$have_mbstate_t" >&6
7498   if test x"$have_mbstate_t" = xyes; then
7499
7500 cat >>confdefs.h <<\_ACEOF
7501 #define HAVE_MBSTATE_T 1
7502 _ACEOF
7503
7504   fi
7505
7506   # Test it always, for use in GLIBCXX_ENABLE_C99, together with
7507   # ac_has_wchar_h.
7508
7509 for ac_header in wctype.h
7510 do
7511 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
7512 if eval "test \"\${$as_ac_Header+set}\" = set"; then
7513   echo "$as_me:$LINENO: checking for $ac_header" >&5
7514 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
7515 if eval "test \"\${$as_ac_Header+set}\" = set"; then
7516   echo $ECHO_N "(cached) $ECHO_C" >&6
7517 fi
7518 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
7519 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
7520 else
7521   # Is the header compilable?
7522 echo "$as_me:$LINENO: checking $ac_header usability" >&5
7523 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
7524 cat >conftest.$ac_ext <<_ACEOF
7525 /* confdefs.h.  */
7526 _ACEOF
7527 cat confdefs.h >>conftest.$ac_ext
7528 cat >>conftest.$ac_ext <<_ACEOF
7529 /* end confdefs.h.  */
7530 $ac_includes_default
7531 #include <$ac_header>
7532 _ACEOF
7533 rm -f conftest.$ac_objext
7534 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7535   (eval $ac_compile) 2>conftest.er1
7536   ac_status=$?
7537   grep -v '^ *+' conftest.er1 >conftest.err
7538   rm -f conftest.er1
7539   cat conftest.err >&5
7540   echo "$as_me:$LINENO: \$? = $ac_status" >&5
7541   (exit $ac_status); } &&
7542          { ac_try='test -z "$ac_c_werror_flag"
7543                          || test ! -s conftest.err'
7544   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7545   (eval $ac_try) 2>&5
7546   ac_status=$?
7547   echo "$as_me:$LINENO: \$? = $ac_status" >&5
7548   (exit $ac_status); }; } &&
7549          { ac_try='test -s conftest.$ac_objext'
7550   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7551   (eval $ac_try) 2>&5
7552   ac_status=$?
7553   echo "$as_me:$LINENO: \$? = $ac_status" >&5
7554   (exit $ac_status); }; }; then
7555   ac_header_compiler=yes
7556 else
7557   echo "$as_me: failed program was:" >&5
7558 sed 's/^/| /' conftest.$ac_ext >&5
7559
7560 ac_header_compiler=no
7561 fi
7562 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
7563 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
7564 echo "${ECHO_T}$ac_header_compiler" >&6
7565
7566 # Is the header present?
7567 echo "$as_me:$LINENO: checking $ac_header presence" >&5
7568 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
7569 cat >conftest.$ac_ext <<_ACEOF
7570 /* confdefs.h.  */
7571 _ACEOF
7572 cat confdefs.h >>conftest.$ac_ext
7573 cat >>conftest.$ac_ext <<_ACEOF
7574 /* end confdefs.h.  */
7575 #include <$ac_header>
7576 _ACEOF
7577 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
7578   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
7579   ac_status=$?
7580   grep -v '^ *+' conftest.er1 >conftest.err
7581   rm -f conftest.er1
7582   cat conftest.err >&5
7583   echo "$as_me:$LINENO: \$? = $ac_status" >&5
7584   (exit $ac_status); } >/dev/null; then
7585   if test -s conftest.err; then
7586     ac_cpp_err=$ac_c_preproc_warn_flag
7587     ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
7588   else
7589     ac_cpp_err=
7590   fi
7591 else
7592   ac_cpp_err=yes
7593 fi
7594 if test -z "$ac_cpp_err"; then
7595   ac_header_preproc=yes
7596 else
7597   echo "$as_me: failed program was:" >&5
7598 sed 's/^/| /' conftest.$ac_ext >&5
7599
7600   ac_header_preproc=no
7601 fi
7602 rm -f conftest.err conftest.$ac_ext
7603 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
7604 echo "${ECHO_T}$ac_header_preproc" >&6
7605
7606 # So?  What about this header?
7607 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
7608   yes:no: )
7609     { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
7610 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
7611     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
7612 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
7613     ac_header_preproc=yes
7614     ;;
7615   no:yes:* )
7616     { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
7617 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
7618     { echo "$as_me:$LINENO: WARNING: $ac_header:     check for missing prerequisite headers?" >&5
7619 echo "$as_me: WARNING: $ac_header:     check for missing prerequisite headers?" >&2;}
7620     { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
7621 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
7622     { echo "$as_me:$LINENO: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&5
7623 echo "$as_me: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&2;}
7624     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
7625 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
7626     { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
7627 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
7628     (
7629       cat <<\_ASBOX
7630 ## ----------------------------------------- ##
7631 ## Report this to the package-unused lists.  ##
7632 ## ----------------------------------------- ##
7633 _ASBOX
7634     ) |
7635       sed "s/^/$as_me: WARNING:     /" >&2
7636     ;;
7637 esac
7638 echo "$as_me:$LINENO: checking for $ac_header" >&5
7639 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
7640 if eval "test \"\${$as_ac_Header+set}\" = set"; then
7641   echo $ECHO_N "(cached) $ECHO_C" >&6
7642 else
7643   eval "$as_ac_Header=\$ac_header_preproc"
7644 fi
7645 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
7646 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
7647
7648 fi
7649 if test `eval echo '${'$as_ac_Header'}'` = yes; then
7650   cat >>confdefs.h <<_ACEOF
7651 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
7652 _ACEOF
7653  ac_has_wctype_h=yes
7654 else
7655   ac_has_wctype_h=no
7656 fi
7657
7658 done
7659
7660
7661   if test x"$enable_wchar_t" = x"yes"; then
7662
7663
7664
7665     ac_ext=cc
7666 ac_cpp='$CXXCPP $CPPFLAGS'
7667 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7668 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7669 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
7670
7671
7672     if test x"$ac_has_wchar_h" = xyes &&
7673        test x"$ac_has_wctype_h" = xyes; then
7674       cat >conftest.$ac_ext <<_ACEOF
7675 /* confdefs.h.  */
7676 _ACEOF
7677 cat confdefs.h >>conftest.$ac_ext
7678 cat >>conftest.$ac_ext <<_ACEOF
7679 /* end confdefs.h.  */
7680 #include <wchar.h>
7681                       #include <stddef.h>
7682                       wint_t i;
7683                       long l = WEOF;
7684                       long j = WCHAR_MIN;
7685                       long k = WCHAR_MAX;
7686                       namespace test
7687                       {
7688                         using ::btowc;
7689                         using ::fgetwc;
7690                         using ::fgetws;
7691                         using ::fputwc;
7692                         using ::fputws;
7693                         using ::fwide;
7694                         using ::fwprintf;
7695                         using ::fwscanf;
7696                         using ::getwc;
7697                         using ::getwchar;
7698                         using ::mbrlen;
7699                         using ::mbrtowc;
7700                         using ::mbsinit;
7701                         using ::mbsrtowcs;
7702                         using ::putwc;
7703                         using ::putwchar;
7704                         using ::swprintf;
7705                         using ::swscanf;
7706                         using ::ungetwc;
7707                         using ::vfwprintf;
7708                         using ::vswprintf;
7709                         using ::vwprintf;
7710                         using ::wcrtomb;
7711                         using ::wcscat;
7712                         using ::wcschr;
7713                         using ::wcscmp;
7714                         using ::wcscoll;
7715                         using ::wcscpy;
7716                         using ::wcscspn;
7717                         using ::wcsftime;
7718                         using ::wcslen;
7719                         using ::wcsncat;
7720                         using ::wcsncmp;
7721                         using ::wcsncpy;
7722                         using ::wcspbrk;
7723                         using ::wcsrchr;
7724                         using ::wcsrtombs;
7725                         using ::wcsspn;
7726                         using ::wcsstr;
7727                         using ::wcstod;
7728                         using ::wcstok;
7729                         using ::wcstol;
7730                         using ::wcstoul;
7731                         using ::wcsxfrm;
7732                         using ::wctob;
7733                         using ::wmemchr;
7734                         using ::wmemcmp;
7735                         using ::wmemcpy;
7736                         using ::wmemmove;
7737                         using ::wmemset;
7738                         using ::wprintf;
7739                         using ::wscanf;
7740                       }
7741
7742 int
7743 main ()
7744 {
7745
7746   ;
7747   return 0;
7748 }
7749 _ACEOF
7750 rm -f conftest.$ac_objext
7751 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7752   (eval $ac_compile) 2>conftest.er1
7753   ac_status=$?
7754   grep -v '^ *+' conftest.er1 >conftest.err
7755   rm -f conftest.er1
7756   cat conftest.err >&5
7757   echo "$as_me:$LINENO: \$? = $ac_status" >&5
7758   (exit $ac_status); } &&
7759          { ac_try='test -z "$ac_cxx_werror_flag"
7760                          || test ! -s conftest.err'
7761   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7762   (eval $ac_try) 2>&5
7763   ac_status=$?
7764   echo "$as_me:$LINENO: \$? = $ac_status" >&5
7765   (exit $ac_status); }; } &&
7766          { ac_try='test -s conftest.$ac_objext'
7767   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7768   (eval $ac_try) 2>&5
7769   ac_status=$?
7770   echo "$as_me:$LINENO: \$? = $ac_status" >&5
7771   (exit $ac_status); }; }; then
7772   :
7773 else
7774   echo "$as_me: failed program was:" >&5
7775 sed 's/^/| /' conftest.$ac_ext >&5
7776
7777 enable_wchar_t=no
7778 fi
7779 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
7780     else
7781       enable_wchar_t=no
7782     fi
7783
7784     ac_ext=c
7785 ac_cpp='$CPP $CPPFLAGS'
7786 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7787 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7788 ac_compiler_gnu=$ac_cv_c_compiler_gnu
7789
7790   fi
7791
7792   if test x"$enable_wchar_t" = x"yes"; then
7793
7794 cat >>confdefs.h <<\_ACEOF
7795 #define _GLIBCXX_USE_WCHAR_T 1
7796 _ACEOF
7797
7798   fi
7799
7800   echo "$as_me:$LINENO: checking for enabled wchar_t specializations" >&5
7801 echo $ECHO_N "checking for enabled wchar_t specializations... $ECHO_C" >&6
7802   echo "$as_me:$LINENO: result: $enable_wchar_t" >&5
7803 echo "${ECHO_T}$enable_wchar_t" >&6
7804
7805
7806
7807    # Check whether --enable-c99 or --disable-c99 was given.
7808 if test "${enable_c99+set}" = set; then
7809   enableval="$enable_c99"
7810
7811       case "$enableval" in
7812        yes|no) ;;
7813        *) { { echo "$as_me:$LINENO: error: Argument to enable/disable c99 must be yes or no" >&5
7814 echo "$as_me: error: Argument to enable/disable c99 must be yes or no" >&2;}
7815    { (exit 1); exit 1; }; } ;;
7816       esac
7817
7818 else
7819   enable_c99=yes
7820 fi;
7821
7822
7823   if test x"$enable_c99" = x"yes"; then
7824
7825
7826
7827   ac_ext=cc
7828 ac_cpp='$CXXCPP $CPPFLAGS'
7829 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7830 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7831 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
7832
7833
7834   # Check for the existence of <math.h> functions used if C99 is enabled.
7835   echo "$as_me:$LINENO: checking for ISO C99 support in <math.h>" >&5
7836 echo $ECHO_N "checking for ISO C99 support in <math.h>... $ECHO_C" >&6
7837   if test "${ac_c99_math+set}" = set; then
7838   echo $ECHO_N "(cached) $ECHO_C" >&6
7839 else
7840
7841   cat >conftest.$ac_ext <<_ACEOF
7842 /* confdefs.h.  */
7843 _ACEOF
7844 cat confdefs.h >>conftest.$ac_ext
7845 cat >>conftest.$ac_ext <<_ACEOF
7846 /* end confdefs.h.  */
7847 #include <math.h>
7848 int
7849 main ()
7850 {
7851 fpclassify(0.0);
7852                   isfinite(0.0);
7853                   isinf(0.0);
7854                   isnan(0.0);
7855                   isnormal(0.0);
7856                   signbit(0.0);
7857                   isgreater(0.0,0.0);
7858                   isgreaterequal(0.0,0.0);
7859                   isless(0.0,0.0);
7860                   islessequal(0.0,0.0);
7861                   islessgreater(0.0,0.0);
7862                   islessgreater(0.0,0.0);
7863                   isunordered(0.0,0.0);
7864
7865   ;
7866   return 0;
7867 }
7868 _ACEOF
7869 rm -f conftest.$ac_objext
7870 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7871   (eval $ac_compile) 2>conftest.er1
7872   ac_status=$?
7873   grep -v '^ *+' conftest.er1 >conftest.err
7874   rm -f conftest.er1
7875   cat conftest.err >&5
7876   echo "$as_me:$LINENO: \$? = $ac_status" >&5
7877   (exit $ac_status); } &&
7878          { ac_try='test -z "$ac_cxx_werror_flag"
7879                          || test ! -s conftest.err'
7880   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7881   (eval $ac_try) 2>&5
7882   ac_status=$?
7883   echo "$as_me:$LINENO: \$? = $ac_status" >&5
7884   (exit $ac_status); }; } &&
7885          { ac_try='test -s conftest.$ac_objext'
7886   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7887   (eval $ac_try) 2>&5
7888   ac_status=$?
7889   echo "$as_me:$LINENO: \$? = $ac_status" >&5
7890   (exit $ac_status); }; }; then
7891   ac_c99_math=yes
7892 else
7893   echo "$as_me: failed program was:" >&5
7894 sed 's/^/| /' conftest.$ac_ext >&5
7895
7896 ac_c99_math=no
7897 fi
7898 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
7899
7900 fi
7901
7902   echo "$as_me:$LINENO: result: $ac_c99_math" >&5
7903 echo "${ECHO_T}$ac_c99_math" >&6
7904   if test x"$ac_c99_math" = x"yes"; then
7905
7906 cat >>confdefs.h <<\_ACEOF
7907 #define _GLIBCXX_USE_C99_MATH 1
7908 _ACEOF
7909
7910   fi
7911
7912   # Check for the existence of <complex.h> complex math functions.
7913   # This is necessary even though libstdc++ uses the builtin versions
7914   # of these functions, because if the builtin cannot be used, a reference
7915   # to the library function is emitted.
7916
7917 for ac_header in complex.h
7918 do
7919 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
7920 if eval "test \"\${$as_ac_Header+set}\" = set"; then
7921   echo "$as_me:$LINENO: checking for $ac_header" >&5
7922 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
7923 if eval "test \"\${$as_ac_Header+set}\" = set"; then
7924   echo $ECHO_N "(cached) $ECHO_C" >&6
7925 fi
7926 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
7927 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
7928 else
7929   # Is the header compilable?
7930 echo "$as_me:$LINENO: checking $ac_header usability" >&5
7931 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
7932 cat >conftest.$ac_ext <<_ACEOF
7933 /* confdefs.h.  */
7934 _ACEOF
7935 cat confdefs.h >>conftest.$ac_ext
7936 cat >>conftest.$ac_ext <<_ACEOF
7937 /* end confdefs.h.  */
7938 $ac_includes_default
7939 #include <$ac_header>
7940 _ACEOF
7941 rm -f conftest.$ac_objext
7942 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7943   (eval $ac_compile) 2>conftest.er1
7944   ac_status=$?
7945   grep -v '^ *+' conftest.er1 >conftest.err
7946   rm -f conftest.er1
7947   cat conftest.err >&5
7948   echo "$as_me:$LINENO: \$? = $ac_status" >&5
7949   (exit $ac_status); } &&
7950          { ac_try='test -z "$ac_cxx_werror_flag"
7951                          || test ! -s conftest.err'
7952   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7953   (eval $ac_try) 2>&5
7954   ac_status=$?
7955   echo "$as_me:$LINENO: \$? = $ac_status" >&5
7956   (exit $ac_status); }; } &&
7957          { ac_try='test -s conftest.$ac_objext'
7958   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7959   (eval $ac_try) 2>&5
7960   ac_status=$?
7961   echo "$as_me:$LINENO: \$? = $ac_status" >&5
7962   (exit $ac_status); }; }; then
7963   ac_header_compiler=yes
7964 else
7965   echo "$as_me: failed program was:" >&5
7966 sed 's/^/| /' conftest.$ac_ext >&5
7967
7968 ac_header_compiler=no
7969 fi
7970 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
7971 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
7972 echo "${ECHO_T}$ac_header_compiler" >&6
7973
7974 # Is the header present?
7975 echo "$as_me:$LINENO: checking $ac_header presence" >&5
7976 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
7977 cat >conftest.$ac_ext <<_ACEOF
7978 /* confdefs.h.  */
7979 _ACEOF
7980 cat confdefs.h >>conftest.$ac_ext
7981 cat >>conftest.$ac_ext <<_ACEOF
7982 /* end confdefs.h.  */
7983 #include <$ac_header>
7984 _ACEOF
7985 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
7986   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
7987   ac_status=$?
7988   grep -v '^ *+' conftest.er1 >conftest.err
7989   rm -f conftest.er1
7990   cat conftest.err >&5
7991   echo "$as_me:$LINENO: \$? = $ac_status" >&5
7992   (exit $ac_status); } >/dev/null; then
7993   if test -s conftest.err; then
7994     ac_cpp_err=$ac_cxx_preproc_warn_flag
7995     ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
7996   else
7997     ac_cpp_err=
7998   fi
7999 else
8000   ac_cpp_err=yes
8001 fi
8002 if test -z "$ac_cpp_err"; then
8003   ac_header_preproc=yes
8004 else
8005   echo "$as_me: failed program was:" >&5
8006 sed 's/^/| /' conftest.$ac_ext >&5
8007
8008   ac_header_preproc=no
8009 fi
8010 rm -f conftest.err conftest.$ac_ext
8011 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
8012 echo "${ECHO_T}$ac_header_preproc" >&6
8013
8014 # So?  What about this header?
8015 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
8016   yes:no: )
8017     { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
8018 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
8019     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
8020 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
8021     ac_header_preproc=yes
8022     ;;
8023   no:yes:* )
8024     { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
8025 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
8026     { echo "$as_me:$LINENO: WARNING: $ac_header:     check for missing prerequisite headers?" >&5
8027 echo "$as_me: WARNING: $ac_header:     check for missing prerequisite headers?" >&2;}
8028     { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
8029 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
8030     { echo "$as_me:$LINENO: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&5
8031 echo "$as_me: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&2;}
8032     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
8033 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
8034     { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
8035 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
8036     (
8037       cat <<\_ASBOX
8038 ## ----------------------------------------- ##
8039 ## Report this to the package-unused lists.  ##
8040 ## ----------------------------------------- ##
8041 _ASBOX
8042     ) |
8043       sed "s/^/$as_me: WARNING:     /" >&2
8044     ;;
8045 esac
8046 echo "$as_me:$LINENO: checking for $ac_header" >&5
8047 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
8048 if eval "test \"\${$as_ac_Header+set}\" = set"; then
8049   echo $ECHO_N "(cached) $ECHO_C" >&6
8050 else
8051   eval "$as_ac_Header=\$ac_header_preproc"
8052 fi
8053 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
8054 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
8055
8056 fi
8057 if test `eval echo '${'$as_ac_Header'}'` = yes; then
8058   cat >>confdefs.h <<_ACEOF
8059 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
8060 _ACEOF
8061  ac_has_complex_h=yes
8062 else
8063   ac_has_complex_h=no
8064 fi
8065
8066 done
8067
8068   ac_c99_complex=no;
8069   if test x"$ac_has_complex_h" = x"yes"; then
8070     echo "$as_me:$LINENO: checking for ISO C99 support in <complex.h>" >&5
8071 echo $ECHO_N "checking for ISO C99 support in <complex.h>... $ECHO_C" >&6
8072     cat >conftest.$ac_ext <<_ACEOF
8073 /* confdefs.h.  */
8074 _ACEOF
8075 cat confdefs.h >>conftest.$ac_ext
8076 cat >>conftest.$ac_ext <<_ACEOF
8077 /* end confdefs.h.  */
8078 #include <complex.h>
8079 int
8080 main ()
8081 {
8082 typedef __complex__ float float_type; float_type tmpf;
8083                     cabsf(tmpf);
8084                     cargf(tmpf);
8085                     ccosf(tmpf);
8086                     ccoshf(tmpf);
8087                     cexpf(tmpf);
8088                     clogf(tmpf);
8089                     csinf(tmpf);
8090                     csinhf(tmpf);
8091                     csqrtf(tmpf);
8092                     ctanf(tmpf);
8093                     ctanhf(tmpf);
8094                     cpowf(tmpf, tmpf);
8095                     typedef __complex__ double double_type; double_type tmpd;
8096                     cabs(tmpd);
8097                     carg(tmpd);
8098                     ccos(tmpd);
8099                     ccosh(tmpd);
8100                     cexp(tmpd);
8101                     clog(tmpd);
8102                     csin(tmpd);
8103                     csinh(tmpd);
8104                     csqrt(tmpd);
8105                     ctan(tmpd);
8106                     ctanh(tmpd);
8107                     cpow(tmpd, tmpd);
8108                     typedef __complex__ long double ld_type; ld_type tmpld;
8109                     cabsl(tmpld);
8110                     cargl(tmpld);
8111                     ccosl(tmpld);
8112                     ccoshl(tmpld);
8113                     cexpl(tmpld);
8114                     clogl(tmpld);
8115                     csinl(tmpld);
8116                     csinhl(tmpld);
8117                     csqrtl(tmpld);
8118                     ctanl(tmpld);
8119                     ctanhl(tmpld);
8120                     cpowl(tmpld, tmpld);
8121
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_c99_complex=yes
8149 else
8150   echo "$as_me: failed program was:" >&5
8151 sed 's/^/| /' conftest.$ac_ext >&5
8152
8153 ac_c99_complex=no
8154 fi
8155 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
8156   fi
8157   echo "$as_me:$LINENO: result: $ac_c99_complex" >&5
8158 echo "${ECHO_T}$ac_c99_complex" >&6
8159   if test x"$ac_c99_complex" = x"yes"; then
8160
8161 cat >>confdefs.h <<\_ACEOF
8162 #define _GLIBCXX_USE_C99_COMPLEX 1
8163 _ACEOF
8164
8165   fi
8166
8167   # Check for the existence in <stdio.h> of vscanf, et. al.
8168   echo "$as_me:$LINENO: checking for ISO C99 support in <stdio.h>" >&5
8169 echo $ECHO_N "checking for ISO C99 support in <stdio.h>... $ECHO_C" >&6
8170   if test "${ac_c99_stdio+set}" = set; then
8171   echo $ECHO_N "(cached) $ECHO_C" >&6
8172 else
8173
8174   cat >conftest.$ac_ext <<_ACEOF
8175 /* confdefs.h.  */
8176 _ACEOF
8177 cat confdefs.h >>conftest.$ac_ext
8178 cat >>conftest.$ac_ext <<_ACEOF
8179 /* end confdefs.h.  */
8180 #include <stdio.h>
8181                   #include <stdarg.h>
8182                   void foo(char* fmt, ...)
8183                   {
8184                     va_list args; va_start(args, fmt);
8185                     vfscanf(stderr, "%i", args);
8186                     vscanf("%i", args);
8187                     vsnprintf(fmt, 0, "%i", args);
8188                     vsscanf(fmt, "%i", args);
8189                   }
8190 int
8191 main ()
8192 {
8193 snprintf("12", 0, "%i");
8194   ;
8195   return 0;
8196 }
8197 _ACEOF
8198 rm -f conftest.$ac_objext
8199 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
8200   (eval $ac_compile) 2>conftest.er1
8201   ac_status=$?
8202   grep -v '^ *+' conftest.er1 >conftest.err
8203   rm -f conftest.er1
8204   cat conftest.err >&5
8205   echo "$as_me:$LINENO: \$? = $ac_status" >&5
8206   (exit $ac_status); } &&
8207          { ac_try='test -z "$ac_cxx_werror_flag"
8208                          || test ! -s conftest.err'
8209   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8210   (eval $ac_try) 2>&5
8211   ac_status=$?
8212   echo "$as_me:$LINENO: \$? = $ac_status" >&5
8213   (exit $ac_status); }; } &&
8214          { ac_try='test -s conftest.$ac_objext'
8215   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8216   (eval $ac_try) 2>&5
8217   ac_status=$?
8218   echo "$as_me:$LINENO: \$? = $ac_status" >&5
8219   (exit $ac_status); }; }; then
8220   ac_c99_stdio=yes
8221 else
8222   echo "$as_me: failed program was:" >&5
8223 sed 's/^/| /' conftest.$ac_ext >&5
8224
8225 ac_c99_stdio=no
8226 fi
8227 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
8228
8229 fi
8230
8231   echo "$as_me:$LINENO: result: $ac_c99_stdio" >&5
8232 echo "${ECHO_T}$ac_c99_stdio" >&6
8233
8234   # Check for the existence in <stdlib.h> of lldiv_t, et. al.
8235   echo "$as_me:$LINENO: checking for ISO C99 support in <stdlib.h>" >&5
8236 echo $ECHO_N "checking for ISO C99 support in <stdlib.h>... $ECHO_C" >&6
8237   if test "${ac_c99_stdlib+set}" = set; then
8238   echo $ECHO_N "(cached) $ECHO_C" >&6
8239 else
8240
8241   cat >conftest.$ac_ext <<_ACEOF
8242 /* confdefs.h.  */
8243 _ACEOF
8244 cat confdefs.h >>conftest.$ac_ext
8245 cat >>conftest.$ac_ext <<_ACEOF
8246 /* end confdefs.h.  */
8247 #include <stdlib.h>
8248 int
8249 main ()
8250 {
8251 char* tmp;
8252                   strtof("gnu", &tmp);
8253                   strtold("gnu", &tmp);
8254                   strtoll("gnu", &tmp, 10);
8255                   strtoull("gnu", &tmp, 10);
8256                   llabs(10);
8257                   lldiv(10,1);
8258                   atoll("10");
8259                   _Exit(0);
8260                   lldiv_t mydivt;
8261   ;
8262   return 0;
8263 }
8264 _ACEOF
8265 rm -f conftest.$ac_objext
8266 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
8267   (eval $ac_compile) 2>conftest.er1
8268   ac_status=$?
8269   grep -v '^ *+' conftest.er1 >conftest.err
8270   rm -f conftest.er1
8271   cat conftest.err >&5
8272   echo "$as_me:$LINENO: \$? = $ac_status" >&5
8273   (exit $ac_status); } &&
8274          { ac_try='test -z "$ac_cxx_werror_flag"
8275                          || test ! -s conftest.err'
8276   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8277   (eval $ac_try) 2>&5
8278   ac_status=$?
8279   echo "$as_me:$LINENO: \$? = $ac_status" >&5
8280   (exit $ac_status); }; } &&
8281          { ac_try='test -s conftest.$ac_objext'
8282   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8283   (eval $ac_try) 2>&5
8284   ac_status=$?
8285   echo "$as_me:$LINENO: \$? = $ac_status" >&5
8286   (exit $ac_status); }; }; then
8287   ac_c99_stdlib=yes
8288 else
8289   echo "$as_me: failed program was:" >&5
8290 sed 's/^/| /' conftest.$ac_ext >&5
8291
8292 ac_c99_stdlib=no
8293 fi
8294 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
8295
8296 fi
8297
8298   echo "$as_me:$LINENO: result: $ac_c99_stdlib" >&5
8299 echo "${ECHO_T}$ac_c99_stdlib" >&6
8300
8301   # Check for the existence in <wchar.h> of wcstold, etc.
8302   ac_c99_wchar=no;
8303   if test x"$ac_has_wchar_h" = xyes &&
8304      test x"$ac_has_wctype_h" = xyes; then
8305     echo "$as_me:$LINENO: checking for ISO C99 support in <wchar.h>" >&5
8306 echo $ECHO_N "checking for ISO C99 support in <wchar.h>... $ECHO_C" >&6
8307     cat >conftest.$ac_ext <<_ACEOF
8308 /* confdefs.h.  */
8309 _ACEOF
8310 cat confdefs.h >>conftest.$ac_ext
8311 cat >>conftest.$ac_ext <<_ACEOF
8312 /* end confdefs.h.  */
8313 #include <wchar.h>
8314                     namespace test
8315                     {
8316                       using ::wcstold;
8317                       using ::wcstoll;
8318                       using ::wcstoull;
8319                     }
8320
8321 int
8322 main ()
8323 {
8324
8325   ;
8326   return 0;
8327 }
8328 _ACEOF
8329 rm -f conftest.$ac_objext
8330 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
8331   (eval $ac_compile) 2>conftest.er1
8332   ac_status=$?
8333   grep -v '^ *+' conftest.er1 >conftest.err
8334   rm -f conftest.er1
8335   cat conftest.err >&5
8336   echo "$as_me:$LINENO: \$? = $ac_status" >&5
8337   (exit $ac_status); } &&
8338          { ac_try='test -z "$ac_cxx_werror_flag"
8339                          || test ! -s conftest.err'
8340   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8341   (eval $ac_try) 2>&5
8342   ac_status=$?
8343   echo "$as_me:$LINENO: \$? = $ac_status" >&5
8344   (exit $ac_status); }; } &&
8345          { ac_try='test -s conftest.$ac_objext'
8346   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8347   (eval $ac_try) 2>&5
8348   ac_status=$?
8349   echo "$as_me:$LINENO: \$? = $ac_status" >&5
8350   (exit $ac_status); }; }; then
8351   ac_c99_wchar=yes
8352 else
8353   echo "$as_me: failed program was:" >&5
8354 sed 's/^/| /' conftest.$ac_ext >&5
8355
8356 ac_c99_wchar=no
8357 fi
8358 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
8359
8360     # Checks for wide character functions that may not be present.
8361     # Injection of these is wrapped with guard macros.
8362     # NB: only put functions here, instead of immediately above, if
8363     # absolutely necessary.
8364     cat >conftest.$ac_ext <<_ACEOF
8365 /* confdefs.h.  */
8366 _ACEOF
8367 cat confdefs.h >>conftest.$ac_ext
8368 cat >>conftest.$ac_ext <<_ACEOF
8369 /* end confdefs.h.  */
8370 #include <wchar.h>
8371                     namespace test { using ::vfwscanf; }
8372 int
8373 main ()
8374 {
8375
8376   ;
8377   return 0;
8378 }
8379 _ACEOF
8380 rm -f conftest.$ac_objext
8381 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
8382   (eval $ac_compile) 2>conftest.er1
8383   ac_status=$?
8384   grep -v '^ *+' conftest.er1 >conftest.err
8385   rm -f conftest.er1
8386   cat conftest.err >&5
8387   echo "$as_me:$LINENO: \$? = $ac_status" >&5
8388   (exit $ac_status); } &&
8389          { ac_try='test -z "$ac_cxx_werror_flag"
8390                          || test ! -s conftest.err'
8391   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8392   (eval $ac_try) 2>&5
8393   ac_status=$?
8394   echo "$as_me:$LINENO: \$? = $ac_status" >&5
8395   (exit $ac_status); }; } &&
8396          { ac_try='test -s conftest.$ac_objext'
8397   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8398   (eval $ac_try) 2>&5
8399   ac_status=$?
8400   echo "$as_me:$LINENO: \$? = $ac_status" >&5
8401   (exit $ac_status); }; }; then
8402
8403 cat >>confdefs.h <<\_ACEOF
8404 #define HAVE_VFWSCANF 1
8405 _ACEOF
8406
8407 else
8408   echo "$as_me: failed program was:" >&5
8409 sed 's/^/| /' conftest.$ac_ext >&5
8410
8411 fi
8412 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
8413
8414     cat >conftest.$ac_ext <<_ACEOF
8415 /* confdefs.h.  */
8416 _ACEOF
8417 cat confdefs.h >>conftest.$ac_ext
8418 cat >>conftest.$ac_ext <<_ACEOF
8419 /* end confdefs.h.  */
8420 #include <wchar.h>
8421                     namespace test { using ::vswscanf; }
8422 int
8423 main ()
8424 {
8425
8426   ;
8427   return 0;
8428 }
8429 _ACEOF
8430 rm -f conftest.$ac_objext
8431 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
8432   (eval $ac_compile) 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_cxx_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_objext'
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
8453 cat >>confdefs.h <<\_ACEOF
8454 #define HAVE_VSWSCANF 1
8455 _ACEOF
8456
8457 else
8458   echo "$as_me: failed program was:" >&5
8459 sed 's/^/| /' conftest.$ac_ext >&5
8460
8461 fi
8462 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
8463
8464     cat >conftest.$ac_ext <<_ACEOF
8465 /* confdefs.h.  */
8466 _ACEOF
8467 cat confdefs.h >>conftest.$ac_ext
8468 cat >>conftest.$ac_ext <<_ACEOF
8469 /* end confdefs.h.  */
8470 #include <wchar.h>
8471                     namespace test { using ::vwscanf; }
8472 int
8473 main ()
8474 {
8475
8476   ;
8477   return 0;
8478 }
8479 _ACEOF
8480 rm -f conftest.$ac_objext
8481 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
8482   (eval $ac_compile) 2>conftest.er1
8483   ac_status=$?
8484   grep -v '^ *+' conftest.er1 >conftest.err
8485   rm -f conftest.er1
8486   cat conftest.err >&5
8487   echo "$as_me:$LINENO: \$? = $ac_status" >&5
8488   (exit $ac_status); } &&
8489          { ac_try='test -z "$ac_cxx_werror_flag"
8490                          || test ! -s conftest.err'
8491   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8492   (eval $ac_try) 2>&5
8493   ac_status=$?
8494   echo "$as_me:$LINENO: \$? = $ac_status" >&5
8495   (exit $ac_status); }; } &&
8496          { ac_try='test -s conftest.$ac_objext'
8497   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8498   (eval $ac_try) 2>&5
8499   ac_status=$?
8500   echo "$as_me:$LINENO: \$? = $ac_status" >&5
8501   (exit $ac_status); }; }; then
8502
8503 cat >>confdefs.h <<\_ACEOF
8504 #define HAVE_VWSCANF 1
8505 _ACEOF
8506
8507 else
8508   echo "$as_me: failed program was:" >&5
8509 sed 's/^/| /' conftest.$ac_ext >&5
8510
8511 fi
8512 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
8513
8514     cat >conftest.$ac_ext <<_ACEOF
8515 /* confdefs.h.  */
8516 _ACEOF
8517 cat confdefs.h >>conftest.$ac_ext
8518 cat >>conftest.$ac_ext <<_ACEOF
8519 /* end confdefs.h.  */
8520 #include <wchar.h>
8521                     namespace test { using ::wcstof; }
8522 int
8523 main ()
8524 {
8525
8526   ;
8527   return 0;
8528 }
8529 _ACEOF
8530 rm -f conftest.$ac_objext
8531 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
8532   (eval $ac_compile) 2>conftest.er1
8533   ac_status=$?
8534   grep -v '^ *+' conftest.er1 >conftest.err
8535   rm -f conftest.er1
8536   cat conftest.err >&5
8537   echo "$as_me:$LINENO: \$? = $ac_status" >&5
8538   (exit $ac_status); } &&
8539          { ac_try='test -z "$ac_cxx_werror_flag"
8540                          || test ! -s conftest.err'
8541   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8542   (eval $ac_try) 2>&5
8543   ac_status=$?
8544   echo "$as_me:$LINENO: \$? = $ac_status" >&5
8545   (exit $ac_status); }; } &&
8546          { ac_try='test -s conftest.$ac_objext'
8547   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8548   (eval $ac_try) 2>&5
8549   ac_status=$?
8550   echo "$as_me:$LINENO: \$? = $ac_status" >&5
8551   (exit $ac_status); }; }; then
8552
8553 cat >>confdefs.h <<\_ACEOF
8554 #define HAVE_WCSTOF 1
8555 _ACEOF
8556
8557 else
8558   echo "$as_me: failed program was:" >&5
8559 sed 's/^/| /' conftest.$ac_ext >&5
8560
8561 fi
8562 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
8563
8564     cat >conftest.$ac_ext <<_ACEOF
8565 /* confdefs.h.  */
8566 _ACEOF
8567 cat confdefs.h >>conftest.$ac_ext
8568 cat >>conftest.$ac_ext <<_ACEOF
8569 /* end confdefs.h.  */
8570 #include <wctype.h>
8571 int
8572 main ()
8573 {
8574  wint_t t; int i = iswblank(t);
8575   ;
8576   return 0;
8577 }
8578 _ACEOF
8579 rm -f conftest.$ac_objext
8580 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
8581   (eval $ac_compile) 2>conftest.er1
8582   ac_status=$?
8583   grep -v '^ *+' conftest.er1 >conftest.err
8584   rm -f conftest.er1
8585   cat conftest.err >&5
8586   echo "$as_me:$LINENO: \$? = $ac_status" >&5
8587   (exit $ac_status); } &&
8588          { ac_try='test -z "$ac_cxx_werror_flag"
8589                          || test ! -s conftest.err'
8590   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8591   (eval $ac_try) 2>&5
8592   ac_status=$?
8593   echo "$as_me:$LINENO: \$? = $ac_status" >&5
8594   (exit $ac_status); }; } &&
8595          { ac_try='test -s conftest.$ac_objext'
8596   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8597   (eval $ac_try) 2>&5
8598   ac_status=$?
8599   echo "$as_me:$LINENO: \$? = $ac_status" >&5
8600   (exit $ac_status); }; }; then
8601
8602 cat >>confdefs.h <<\_ACEOF
8603 #define HAVE_ISWBLANK 1
8604 _ACEOF
8605
8606 else
8607   echo "$as_me: failed program was:" >&5
8608 sed 's/^/| /' conftest.$ac_ext >&5
8609
8610 fi
8611 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
8612
8613     echo "$as_me:$LINENO: result: $ac_c99_wchar" >&5
8614 echo "${ECHO_T}$ac_c99_wchar" >&6
8615   fi
8616
8617   # Option parsed, now set things appropriately.
8618   if test x"$ac_c99_math" = x"no" ||
8619      test x"$ac_c99_complex" = x"no" ||
8620      test x"$ac_c99_stdio" = x"no" ||
8621      test x"$ac_c99_stdlib" = x"no" ||
8622      test x"$ac_c99_wchar" = x"no"; then
8623     enable_c99=no;
8624   else
8625
8626 cat >>confdefs.h <<\_ACEOF
8627 #define _GLIBCXX_USE_C99 1
8628 _ACEOF
8629
8630   fi
8631
8632   ac_ext=c
8633 ac_cpp='$CPP $CPPFLAGS'
8634 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8635 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8636 ac_compiler_gnu=$ac_cv_c_compiler_gnu
8637
8638   fi
8639
8640   echo "$as_me:$LINENO: checking for fully enabled ISO C99 support" >&5
8641 echo $ECHO_N "checking for fully enabled ISO C99 support... $ECHO_C" >&6
8642   echo "$as_me:$LINENO: result: $enable_c99" >&5
8643 echo "${ECHO_T}$enable_c99" >&6
8644
8645
8646    # Check whether --enable-concept-checks or --disable-concept-checks was given.
8647 if test "${enable_concept_checks+set}" = set; then
8648   enableval="$enable_concept_checks"
8649
8650       case "$enableval" in
8651        yes|no) ;;
8652        *) { { echo "$as_me:$LINENO: error: Argument to enable/disable concept-checks must be yes or no" >&5
8653 echo "$as_me: error: Argument to enable/disable concept-checks must be yes or no" >&2;}
8654    { (exit 1); exit 1; }; } ;;
8655       esac
8656
8657 else
8658   enable_concept_checks=no
8659 fi;
8660
8661   if test $enable_concept_checks = yes; then
8662
8663 cat >>confdefs.h <<\_ACEOF
8664 #define _GLIBCXX_CONCEPT_CHECKS 1
8665 _ACEOF
8666
8667   fi
8668
8669
8670    # Check whether --enable-libstdcxx-debug-flags or --disable-libstdcxx-debug-flags was given.
8671 if test "${enable_libstdcxx_debug_flags+set}" = set; then
8672   enableval="$enable_libstdcxx_debug_flags"
8673   case "x$enable_libstdcxx_debug_flags" in
8674       xno | x)    enable_libstdcxx_debug_flags= ;;
8675       x-*)        ;;
8676       *)          { { echo "$as_me:$LINENO: error: --enable-libstdcxx-debug-flags needs compiler flags as arguments" >&5
8677 echo "$as_me: error: --enable-libstdcxx-debug-flags needs compiler flags as arguments" >&2;}
8678    { (exit 1); exit 1; }; } ;;
8679      esac
8680 else
8681   enable_libstdcxx_debug_flags="-g3 -O0"
8682 fi;
8683
8684
8685   # Option parsed, now set things appropriately
8686   DEBUG_FLAGS="$enable_libstdcxx_debug_flags"
8687
8688
8689   { echo "$as_me:$LINENO: Debug build flags set to $DEBUG_FLAGS" >&5
8690 echo "$as_me: Debug build flags set to $DEBUG_FLAGS" >&6;}
8691
8692
8693   echo "$as_me:$LINENO: checking for additional debug build" >&5
8694 echo $ECHO_N "checking for additional debug build... $ECHO_C" >&6
8695    # Check whether --enable-libstdcxx-debug or --disable-libstdcxx-debug was given.
8696 if test "${enable_libstdcxx_debug+set}" = set; then
8697   enableval="$enable_libstdcxx_debug"
8698
8699       case "$enableval" in
8700        yes|no) ;;
8701        *) { { echo "$as_me:$LINENO: error: Argument to enable/disable libstdcxx-debug must be yes or no" >&5
8702 echo "$as_me: error: Argument to enable/disable libstdcxx-debug must be yes or no" >&2;}
8703    { (exit 1); exit 1; }; } ;;
8704       esac
8705
8706 else
8707   enable_libstdcxx_debug=no
8708 fi;
8709
8710   echo "$as_me:$LINENO: result: $enable_libstdcxx_debug" >&5
8711 echo "${ECHO_T}$enable_libstdcxx_debug" >&6
8712
8713
8714   echo "$as_me:$LINENO: checking for extra compiler flags for building" >&5
8715 echo $ECHO_N "checking for extra compiler flags for building... $ECHO_C" >&6
8716    # Check whether --enable-cxx-flags or --disable-cxx-flags was given.
8717 if test "${enable_cxx_flags+set}" = set; then
8718   enableval="$enable_cxx_flags"
8719   case "x$enable_cxx_flags" in
8720       xno | x)   enable_cxx_flags= ;;
8721       x-*)       ;;
8722       *)         { { echo "$as_me:$LINENO: error: --enable-cxx-flags needs compiler flags as arguments" >&5
8723 echo "$as_me: error: --enable-cxx-flags needs compiler flags as arguments" >&2;}
8724    { (exit 1); exit 1; }; } ;;
8725      esac
8726 else
8727   enable_cxx_flags=
8728 fi;
8729
8730
8731   # Run through flags (either default or command-line) and set anything
8732   # extra (e.g., #defines) that must accompany particular g++ options.
8733   if test -n "$enable_cxx_flags"; then
8734     for f in $enable_cxx_flags; do
8735       case "$f" in
8736         -fhonor-std)  ;;
8737         -*)  ;;
8738         *)   # and we're trying to pass /what/ exactly?
8739              { { echo "$as_me:$LINENO: error: compiler flags start with a -" >&5
8740 echo "$as_me: error: compiler flags start with a -" >&2;}
8741    { (exit 1); exit 1; }; } ;;
8742       esac
8743     done
8744   fi
8745
8746   EXTRA_CXX_FLAGS="$enable_cxx_flags"
8747   echo "$as_me:$LINENO: result: $EXTRA_CXX_FLAGS" >&5
8748 echo "${ECHO_T}$EXTRA_CXX_FLAGS" >&6
8749
8750
8751
8752    # Check whether --enable-fully-dynamic-string or --disable-fully-dynamic-string was given.
8753 if test "${enable_fully_dynamic_string+set}" = set; then
8754   enableval="$enable_fully_dynamic_string"
8755
8756       case "$enableval" in
8757        yes|no) ;;
8758        *) { { echo "$as_me:$LINENO: error: Argument to enable/disable fully-dynamic-string must be yes or no" >&5
8759 echo "$as_me: error: Argument to enable/disable fully-dynamic-string must be yes or no" >&2;}
8760    { (exit 1); exit 1; }; } ;;
8761       esac
8762
8763 else
8764   enable_fully_dynamic_string=no
8765 fi;
8766
8767   if test $enable_fully_dynamic_string = yes; then
8768
8769 cat >>confdefs.h <<\_ACEOF
8770 #define _GLIBCXX_FULLY_DYNAMIC_STRING 1
8771 _ACEOF
8772
8773   fi
8774
8775
8776 # No surprises, no surprises...
8777
8778   echo "$as_me:$LINENO: checking for thread model used by GCC" >&5
8779 echo $ECHO_N "checking for thread model used by GCC... $ECHO_C" >&6
8780   target_thread_file=`$CXX -v 2>&1 | sed -n 's/^Thread model: //p'`
8781   echo "$as_me:$LINENO: result: $target_thread_file" >&5
8782 echo "${ECHO_T}$target_thread_file" >&6
8783
8784   if test $target_thread_file != single; then
8785
8786 cat >>confdefs.h <<\_ACEOF
8787 #define HAVE_GTHR_DEFAULT 1
8788 _ACEOF
8789
8790   fi
8791
8792   glibcxx_thread_h=gthr-$target_thread_file.h
8793
8794     gthread_file=${toplevel_srcdir}/gcc/${glibcxx_thread_h}
8795   if grep __GTHREADS $gthread_file >/dev/null 2>&1 ; then
8796     enable_thread=yes
8797   else
8798    enable_thread=no
8799   fi
8800
8801
8802
8803
8804   echo "$as_me:$LINENO: checking for atomic builtins" >&5
8805 echo $ECHO_N "checking for atomic builtins... $ECHO_C" >&6
8806
8807
8808   ac_ext=cc
8809 ac_cpp='$CXXCPP $CPPFLAGS'
8810 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8811 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8812 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
8813
8814
8815   # Fake what AC_TRY_COMPILE does.  XXX Look at redoing this new-style.
8816     cat > conftest.$ac_ext << EOF
8817 #line 8817 "configure"
8818 int main()
8819 {
8820   // NB: _Atomic_word not necessarily int.
8821   typedef int atomic_type;
8822   atomic_type c1;
8823   atomic_type c2;
8824   const atomic_type c3(0);
8825   if (__sync_fetch_and_add(&c1, c2) == c3)
8826     {
8827       // Do something.
8828     }
8829    return 0;
8830 }
8831 EOF
8832     old_CXXFLAGS="$CXXFLAGS"
8833     CXXFLAGS=-S
8834     if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
8835   (eval $ac_compile) 2>&5
8836   ac_status=$?
8837   echo "$as_me:$LINENO: \$? = $ac_status" >&5
8838   (exit $ac_status); }; then
8839       if grep __sync_fetch_and_add conftest.s >/dev/null 2>&1 ; then
8840         enable_atomic_builtins=no
8841       else
8842
8843 cat >>confdefs.h <<\_ACEOF
8844 #define _GLIBCXX_ATOMIC_BUILTINS 1
8845 _ACEOF
8846
8847         enable_atomic_builtins=yes
8848         atomicity_dir=cpu/generic/atomicity_builtins
8849       fi
8850     fi
8851     CXXFLAGS="$old_CXXFLAGS"
8852     rm -f conftest*
8853
8854    # Now, if still generic, set to mutex.
8855   if test $atomicity_dir = "cpu/generic" ; then
8856         atomicity_dir=cpu/generic/atomicity_mutex
8857   fi
8858  ac_ext=c
8859 ac_cpp='$CPP $CPPFLAGS'
8860 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8861 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8862 ac_compiler_gnu=$ac_cv_c_compiler_gnu
8863
8864  echo "$as_me:$LINENO: result: $enable_atomic_builtins" >&5
8865 echo "${ECHO_T}$enable_atomic_builtins" >&6
8866
8867 if test $atomicity_dir = cpu/generic/atomic_mutex ; then
8868   { echo "$as_me:$LINENO: WARNING: No native atomic operations are provided for this platform." >&5
8869 echo "$as_me: WARNING: No native atomic operations are provided for this platform." >&2;}
8870   if test $target_thread_file = single; then
8871     { echo "$as_me:$LINENO: WARNING: They cannot be faked when thread support is disabled." >&5
8872 echo "$as_me: WARNING: They cannot be faked when thread support is disabled." >&2;}
8873     { echo "$as_me:$LINENO: WARNING: Thread-safety of certain classes is not guaranteed." >&5
8874 echo "$as_me: WARNING: Thread-safety of certain classes is not guaranteed." >&2;}
8875   else
8876     { echo "$as_me:$LINENO: WARNING: They will be faked using a mutex." >&5
8877 echo "$as_me: WARNING: They will be faked using a mutex." >&2;}
8878     { echo "$as_me:$LINENO: WARNING: Performance of certain classes will degrade as a result." >&5
8879 echo "$as_me: WARNING: Performance of certain classes will degrade as a result." >&2;}
8880   fi
8881 fi
8882
8883
8884   # All these tests are for C++; save the language and the compiler flags.
8885   # The CXXFLAGS thing is suspicious, but based on similar bits previously
8886   # found in GLIBCXX_CONFIGURE.
8887
8888
8889   ac_ext=cc
8890 ac_cpp='$CXXCPP $CPPFLAGS'
8891 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8892 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8893 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
8894
8895   ac_test_CXXFLAGS="${CXXFLAGS+set}"
8896   ac_save_CXXFLAGS="$CXXFLAGS"
8897
8898   # Check for maintainer-mode bits.
8899   if test x"$USE_MAINTAINER_MODE" = xno; then
8900     WERROR=''
8901   else
8902     WERROR='-Werror'
8903   fi
8904
8905   # Check for -ffunction-sections -fdata-sections
8906   echo "$as_me:$LINENO: checking for g++ that supports -ffunction-sections -fdata-sections" >&5
8907 echo $ECHO_N "checking for g++ that supports -ffunction-sections -fdata-sections... $ECHO_C" >&6
8908   CXXFLAGS='-Werror -ffunction-sections -fdata-sections'
8909   cat >conftest.$ac_ext <<_ACEOF
8910 /* confdefs.h.  */
8911 _ACEOF
8912 cat confdefs.h >>conftest.$ac_ext
8913 cat >>conftest.$ac_ext <<_ACEOF
8914 /* end confdefs.h.  */
8915
8916 int
8917 main ()
8918 {
8919 int foo;
8920   ;
8921   return 0;
8922 }
8923 _ACEOF
8924 rm -f conftest.$ac_objext
8925 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
8926   (eval $ac_compile) 2>conftest.er1
8927   ac_status=$?
8928   grep -v '^ *+' conftest.er1 >conftest.err
8929   rm -f conftest.er1
8930   cat conftest.err >&5
8931   echo "$as_me:$LINENO: \$? = $ac_status" >&5
8932   (exit $ac_status); } &&
8933          { ac_try='test -z "$ac_cxx_werror_flag"
8934                          || test ! -s conftest.err'
8935   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8936   (eval $ac_try) 2>&5
8937   ac_status=$?
8938   echo "$as_me:$LINENO: \$? = $ac_status" >&5
8939   (exit $ac_status); }; } &&
8940          { ac_try='test -s conftest.$ac_objext'
8941   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8942   (eval $ac_try) 2>&5
8943   ac_status=$?
8944   echo "$as_me:$LINENO: \$? = $ac_status" >&5
8945   (exit $ac_status); }; }; then
8946   ac_fdsections=yes
8947 else
8948   echo "$as_me: failed program was:" >&5
8949 sed 's/^/| /' conftest.$ac_ext >&5
8950
8951 ac_fdsections=no
8952 fi
8953 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
8954   if test "$ac_test_CXXFLAGS" = set; then
8955     CXXFLAGS="$ac_save_CXXFLAGS"
8956   else
8957     # this is the suspicious part
8958     CXXFLAGS=''
8959   fi
8960   if test x"$ac_fdsections" = x"yes"; then
8961     SECTION_FLAGS='-ffunction-sections -fdata-sections'
8962   fi
8963   echo "$as_me:$LINENO: result: $ac_fdsections" >&5
8964 echo "${ECHO_T}$ac_fdsections" >&6
8965
8966   ac_ext=c
8967 ac_cpp='$CPP $CPPFLAGS'
8968 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8969 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8970 ac_compiler_gnu=$ac_cv_c_compiler_gnu
8971
8972
8973
8974
8975
8976 if $GLIBCXX_IS_NATIVE; then
8977
8978   # We can do more elaborate tests that assume a working linker.
8979   CANADIAN=no
8980
8981   # Check for available headers.
8982
8983
8984
8985
8986
8987
8988
8989
8990
8991
8992
8993
8994
8995
8996
8997 for ac_header in nan.h ieeefp.h endian.h sys/isa_defs.h machine/endian.h \
8998   machine/param.h sys/machine.h fp.h locale.h float.h inttypes.h gconv.h \
8999   sys/types.h sys/ipc.h sys/sem.h
9000 do
9001 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
9002 if eval "test \"\${$as_ac_Header+set}\" = set"; then
9003   echo "$as_me:$LINENO: checking for $ac_header" >&5
9004 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
9005 if eval "test \"\${$as_ac_Header+set}\" = set"; then
9006   echo $ECHO_N "(cached) $ECHO_C" >&6
9007 fi
9008 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
9009 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
9010 else
9011   # Is the header compilable?
9012 echo "$as_me:$LINENO: checking $ac_header usability" >&5
9013 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
9014 cat >conftest.$ac_ext <<_ACEOF
9015 /* confdefs.h.  */
9016 _ACEOF
9017 cat confdefs.h >>conftest.$ac_ext
9018 cat >>conftest.$ac_ext <<_ACEOF
9019 /* end confdefs.h.  */
9020 $ac_includes_default
9021 #include <$ac_header>
9022 _ACEOF
9023 rm -f conftest.$ac_objext
9024 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
9025   (eval $ac_compile) 2>conftest.er1
9026   ac_status=$?
9027   grep -v '^ *+' conftest.er1 >conftest.err
9028   rm -f conftest.er1
9029   cat conftest.err >&5
9030   echo "$as_me:$LINENO: \$? = $ac_status" >&5
9031   (exit $ac_status); } &&
9032          { ac_try='test -z "$ac_c_werror_flag"
9033                          || test ! -s conftest.err'
9034   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9035   (eval $ac_try) 2>&5
9036   ac_status=$?
9037   echo "$as_me:$LINENO: \$? = $ac_status" >&5
9038   (exit $ac_status); }; } &&
9039          { ac_try='test -s conftest.$ac_objext'
9040   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9041   (eval $ac_try) 2>&5
9042   ac_status=$?
9043   echo "$as_me:$LINENO: \$? = $ac_status" >&5
9044   (exit $ac_status); }; }; then
9045   ac_header_compiler=yes
9046 else
9047   echo "$as_me: failed program was:" >&5
9048 sed 's/^/| /' conftest.$ac_ext >&5
9049
9050 ac_header_compiler=no
9051 fi
9052 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
9053 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
9054 echo "${ECHO_T}$ac_header_compiler" >&6
9055
9056 # Is the header present?
9057 echo "$as_me:$LINENO: checking $ac_header presence" >&5
9058 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
9059 cat >conftest.$ac_ext <<_ACEOF
9060 /* confdefs.h.  */
9061 _ACEOF
9062 cat confdefs.h >>conftest.$ac_ext
9063 cat >>conftest.$ac_ext <<_ACEOF
9064 /* end confdefs.h.  */
9065 #include <$ac_header>
9066 _ACEOF
9067 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
9068   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
9069   ac_status=$?
9070   grep -v '^ *+' conftest.er1 >conftest.err
9071   rm -f conftest.er1
9072   cat conftest.err >&5
9073   echo "$as_me:$LINENO: \$? = $ac_status" >&5
9074   (exit $ac_status); } >/dev/null; then
9075   if test -s conftest.err; then
9076     ac_cpp_err=$ac_c_preproc_warn_flag
9077     ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
9078   else
9079     ac_cpp_err=
9080   fi
9081 else
9082   ac_cpp_err=yes
9083 fi
9084 if test -z "$ac_cpp_err"; then
9085   ac_header_preproc=yes
9086 else
9087   echo "$as_me: failed program was:" >&5
9088 sed 's/^/| /' conftest.$ac_ext >&5
9089
9090   ac_header_preproc=no
9091 fi
9092 rm -f conftest.err conftest.$ac_ext
9093 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
9094 echo "${ECHO_T}$ac_header_preproc" >&6
9095
9096 # So?  What about this header?
9097 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
9098   yes:no: )
9099     { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
9100 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
9101     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
9102 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
9103     ac_header_preproc=yes
9104     ;;
9105   no:yes:* )
9106     { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
9107 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
9108     { echo "$as_me:$LINENO: WARNING: $ac_header:     check for missing prerequisite headers?" >&5
9109 echo "$as_me: WARNING: $ac_header:     check for missing prerequisite headers?" >&2;}
9110     { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
9111 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
9112     { echo "$as_me:$LINENO: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&5
9113 echo "$as_me: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&2;}
9114     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
9115 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
9116     { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
9117 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
9118     (
9119       cat <<\_ASBOX
9120 ## ----------------------------------------- ##
9121 ## Report this to the package-unused lists.  ##
9122 ## ----------------------------------------- ##
9123 _ASBOX
9124     ) |
9125       sed "s/^/$as_me: WARNING:     /" >&2
9126     ;;
9127 esac
9128 echo "$as_me:$LINENO: checking for $ac_header" >&5
9129 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
9130 if eval "test \"\${$as_ac_Header+set}\" = set"; then
9131   echo $ECHO_N "(cached) $ECHO_C" >&6
9132 else
9133   eval "$as_ac_Header=\$ac_header_preproc"
9134 fi
9135 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
9136 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
9137
9138 fi
9139 if test `eval echo '${'$as_ac_Header'}'` = yes; then
9140   cat >>confdefs.h <<_ACEOF
9141 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
9142 _ACEOF
9143
9144 fi
9145
9146 done
9147
9148
9149
9150   # If we're not using GNU ld, then there's no point in even trying these
9151   # tests.  Check for that first.  We should have already tested for gld
9152   # by now (in libtool), but require it now just to be safe...
9153   test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
9154   test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
9155
9156
9157
9158   # The name set by libtool depends on the version of libtool.  Shame on us
9159   # for depending on an impl detail, but c'est la vie.  Older versions used
9160   # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
9161   # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
9162   # makes sense).  We'll test with_gnu_ld everywhere else, so if that isn't
9163   # set (hence we're using an older libtool), then set it.
9164   if test x${with_gnu_ld+set} != xset; then
9165     if test x${ac_cv_prog_gnu_ld+set} != xset; then
9166       # We got through "ac_require(ac_prog_ld)" and still not set?  Huh?
9167       with_gnu_ld=no
9168     else
9169       with_gnu_ld=$ac_cv_prog_gnu_ld
9170     fi
9171   fi
9172
9173   # Start by getting the version number.  I think the libtool test already
9174   # does some of this, but throws away the result.
9175   if test x"$with_gnu_ld" = x"yes"; then
9176     echo "$as_me:$LINENO: checking for ld version" >&5
9177 echo $ECHO_N "checking for ld version... $ECHO_C" >&6
9178
9179     ldver=`$LD --version 2>/dev/null | head -1 | \
9180            sed -e 's/GNU ld version \([0-9.][0-9.]*\).*/\1/'`
9181
9182     glibcxx_gnu_ld_version=`echo $ldver | \
9183            $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
9184     echo "$as_me:$LINENO: result: $glibcxx_gnu_ld_version" >&5
9185 echo "${ECHO_T}$glibcxx_gnu_ld_version" >&6
9186   fi
9187
9188   # Set --gc-sections.
9189   glibcxx_gcsections_min_ld=21602
9190   if test x"$with_gnu_ld" = x"yes" &&
9191         test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
9192
9193     # Sufficiently young GNU ld it is!  Joy and bunny rabbits!
9194     # NB: This flag only works reliably after 2.16.1. Configure tests
9195     # for this are difficult, so hard wire a value that should work.
9196
9197     # All these tests are for C++, but run with the "C" compiler driver.
9198     # Need to do this so that g++ won't try to link in libstdc++/libsupc++.
9199     ac_test_CFLAGS="${CFLAGS+set}"
9200     ac_save_CFLAGS="$CFLAGS"
9201     CFLAGS='-x c++ -Wl,--gc-sections'
9202
9203     # Check for -Wl,--gc-sections
9204     echo "$as_me:$LINENO: checking for ld that supports -Wl,--gc-sections" >&5
9205 echo $ECHO_N "checking for ld that supports -Wl,--gc-sections... $ECHO_C" >&6
9206     if test x$gcc_no_link = xyes; then
9207   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
9208 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
9209    { (exit 1); exit 1; }; }
9210 fi
9211 cat >conftest.$ac_ext <<_ACEOF
9212 /* confdefs.h.  */
9213 _ACEOF
9214 cat confdefs.h >>conftest.$ac_ext
9215 cat >>conftest.$ac_ext <<_ACEOF
9216 /* end confdefs.h.  */
9217  int one(void) { return 1; }
9218      int two(void) { return 2; }
9219
9220 int
9221 main ()
9222 {
9223  two();
9224   ;
9225   return 0;
9226 }
9227 _ACEOF
9228 rm -f conftest.$ac_objext conftest$ac_exeext
9229 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9230   (eval $ac_link) 2>conftest.er1
9231   ac_status=$?
9232   grep -v '^ *+' conftest.er1 >conftest.err
9233   rm -f conftest.er1
9234   cat conftest.err >&5
9235   echo "$as_me:$LINENO: \$? = $ac_status" >&5
9236   (exit $ac_status); } &&
9237          { ac_try='test -z "$ac_c_werror_flag"
9238                          || test ! -s conftest.err'
9239   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9240   (eval $ac_try) 2>&5
9241   ac_status=$?
9242   echo "$as_me:$LINENO: \$? = $ac_status" >&5
9243   (exit $ac_status); }; } &&
9244          { ac_try='test -s conftest$ac_exeext'
9245   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9246   (eval $ac_try) 2>&5
9247   ac_status=$?
9248   echo "$as_me:$LINENO: \$? = $ac_status" >&5
9249   (exit $ac_status); }; }; then
9250   ac_gcsections=yes
9251 else
9252   echo "$as_me: failed program was:" >&5
9253 sed 's/^/| /' conftest.$ac_ext >&5
9254
9255 ac_gcsections=no
9256 fi
9257 rm -f conftest.err conftest.$ac_objext \
9258       conftest$ac_exeext conftest.$ac_ext
9259     if test "$ac_gcsections" = "yes"; then
9260       rm -f conftest.c
9261       touch conftest.c
9262       if $CC -c conftest.c; then
9263         if $LD --gc-sections -o conftest conftest.o 2>&1 | \
9264            grep "Warning: gc-sections option ignored" > /dev/null; then
9265           ac_gcsections=no
9266         fi
9267       fi
9268       rm -f conftest.c conftest.o conftest
9269     fi
9270     if test "$ac_gcsections" = "yes"; then
9271       SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
9272     fi
9273     echo "$as_me:$LINENO: result: $ac_gcsections" >&5
9274 echo "${ECHO_T}$ac_gcsections" >&6
9275
9276     if test "$ac_test_CFLAGS" = set; then
9277       CFLAGS="$ac_save_CFLAGS"
9278     else
9279       # this is the suspicious part
9280       CFLAGS=''
9281     fi
9282   fi
9283
9284   # Set -z,relro.
9285   # Note this is only for shared objects.
9286   ac_ld_relro=no
9287   if test x"$with_gnu_ld" = x"yes"; then
9288     echo "$as_me:$LINENO: checking for ld that supports -Wl,-z,relro" >&5
9289 echo $ECHO_N "checking for ld that supports -Wl,-z,relro... $ECHO_C" >&6
9290     cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
9291     if test -n "$cxx_z_relo"; then
9292       OPT_LDFLAGS="-Wl,-z,relro"
9293       ac_ld_relro=yes
9294     fi
9295     echo "$as_me:$LINENO: result: $ac_ld_relro" >&5
9296 echo "${ECHO_T}$ac_ld_relro" >&6
9297   fi
9298
9299   # Set linker optimization flags.
9300   if test x"$with_gnu_ld" = x"yes"; then
9301     OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
9302   fi
9303
9304
9305
9306
9307
9308   ac_test_CXXFLAGS="${CXXFLAGS+set}"
9309   ac_save_CXXFLAGS="$CXXFLAGS"
9310   CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
9311
9312     echo "$as_me:$LINENO: checking for sin in -lm" >&5
9313 echo $ECHO_N "checking for sin in -lm... $ECHO_C" >&6
9314 if test "${ac_cv_lib_m_sin+set}" = set; then
9315   echo $ECHO_N "(cached) $ECHO_C" >&6
9316 else
9317   ac_check_lib_save_LIBS=$LIBS
9318 LIBS="-lm  $LIBS"
9319 if test x$gcc_no_link = xyes; then
9320   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
9321 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
9322    { (exit 1); exit 1; }; }
9323 fi
9324 cat >conftest.$ac_ext <<_ACEOF
9325 /* confdefs.h.  */
9326 _ACEOF
9327 cat confdefs.h >>conftest.$ac_ext
9328 cat >>conftest.$ac_ext <<_ACEOF
9329 /* end confdefs.h.  */
9330
9331 /* Override any gcc2 internal prototype to avoid an error.  */
9332 #ifdef __cplusplus
9333 extern "C"
9334 #endif
9335 /* We use char because int might match the return type of a gcc2
9336    builtin and then its argument prototype would still apply.  */
9337 char sin ();
9338 int
9339 main ()
9340 {
9341 sin ();
9342   ;
9343   return 0;
9344 }
9345 _ACEOF
9346 rm -f conftest.$ac_objext conftest$ac_exeext
9347 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9348   (eval $ac_link) 2>conftest.er1
9349   ac_status=$?
9350   grep -v '^ *+' conftest.er1 >conftest.err
9351   rm -f conftest.er1
9352   cat conftest.err >&5
9353   echo "$as_me:$LINENO: \$? = $ac_status" >&5
9354   (exit $ac_status); } &&
9355          { ac_try='test -z "$ac_c_werror_flag"
9356                          || test ! -s conftest.err'
9357   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9358   (eval $ac_try) 2>&5
9359   ac_status=$?
9360   echo "$as_me:$LINENO: \$? = $ac_status" >&5
9361   (exit $ac_status); }; } &&
9362          { ac_try='test -s conftest$ac_exeext'
9363   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9364   (eval $ac_try) 2>&5
9365   ac_status=$?
9366   echo "$as_me:$LINENO: \$? = $ac_status" >&5
9367   (exit $ac_status); }; }; then
9368   ac_cv_lib_m_sin=yes
9369 else
9370   echo "$as_me: failed program was:" >&5
9371 sed 's/^/| /' conftest.$ac_ext >&5
9372
9373 ac_cv_lib_m_sin=no
9374 fi
9375 rm -f conftest.err conftest.$ac_objext \
9376       conftest$ac_exeext conftest.$ac_ext
9377 LIBS=$ac_check_lib_save_LIBS
9378 fi
9379 echo "$as_me:$LINENO: result: $ac_cv_lib_m_sin" >&5
9380 echo "${ECHO_T}$ac_cv_lib_m_sin" >&6
9381 if test $ac_cv_lib_m_sin = yes; then
9382   libm="-lm"
9383 fi
9384
9385   ac_save_LIBS="$LIBS"
9386   LIBS="$LIBS $libm"
9387
9388
9389
9390   echo "$as_me:$LINENO: checking for isinf declaration" >&5
9391 echo $ECHO_N "checking for isinf declaration... $ECHO_C" >&6
9392   if test x${glibcxx_cv_func_isinf_use+set} != xset; then
9393     if test "${glibcxx_cv_func_isinf_use+set}" = set; then
9394   echo $ECHO_N "(cached) $ECHO_C" >&6
9395 else
9396
9397
9398
9399       ac_ext=cc
9400 ac_cpp='$CXXCPP $CPPFLAGS'
9401 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
9402 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
9403 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
9404
9405       cat >conftest.$ac_ext <<_ACEOF
9406 /* confdefs.h.  */
9407 _ACEOF
9408 cat confdefs.h >>conftest.$ac_ext
9409 cat >>conftest.$ac_ext <<_ACEOF
9410 /* end confdefs.h.  */
9411 #include <math.h>
9412                       #ifdef HAVE_IEEEFP_H
9413                       #include <ieeefp.h>
9414                       #endif
9415
9416 int
9417 main ()
9418 {
9419  isinf(0);
9420   ;
9421   return 0;
9422 }
9423 _ACEOF
9424 rm -f conftest.$ac_objext
9425 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
9426   (eval $ac_compile) 2>conftest.er1
9427   ac_status=$?
9428   grep -v '^ *+' conftest.er1 >conftest.err
9429   rm -f conftest.er1
9430   cat conftest.err >&5
9431   echo "$as_me:$LINENO: \$? = $ac_status" >&5
9432   (exit $ac_status); } &&
9433          { ac_try='test -z "$ac_cxx_werror_flag"
9434                          || test ! -s conftest.err'
9435   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9436   (eval $ac_try) 2>&5
9437   ac_status=$?
9438   echo "$as_me:$LINENO: \$? = $ac_status" >&5
9439   (exit $ac_status); }; } &&
9440          { ac_try='test -s conftest.$ac_objext'
9441   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9442   (eval $ac_try) 2>&5
9443   ac_status=$?
9444   echo "$as_me:$LINENO: \$? = $ac_status" >&5
9445   (exit $ac_status); }; }; then
9446   glibcxx_cv_func_isinf_use=yes
9447 else
9448   echo "$as_me: failed program was:" >&5
9449 sed 's/^/| /' conftest.$ac_ext >&5
9450
9451 glibcxx_cv_func_isinf_use=no
9452 fi
9453 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
9454       ac_ext=c
9455 ac_cpp='$CPP $CPPFLAGS'
9456 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
9457 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
9458 ac_compiler_gnu=$ac_cv_c_compiler_gnu
9459
9460
9461 fi
9462
9463   fi
9464   echo "$as_me:$LINENO: result: $glibcxx_cv_func_isinf_use" >&5
9465 echo "${ECHO_T}$glibcxx_cv_func_isinf_use" >&6
9466
9467   if test x$glibcxx_cv_func_isinf_use = x"yes"; then
9468
9469 for ac_func in isinf
9470 do
9471 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
9472 echo "$as_me:$LINENO: checking for $ac_func" >&5
9473 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
9474 if eval "test \"\${$as_ac_var+set}\" = set"; then
9475   echo $ECHO_N "(cached) $ECHO_C" >&6
9476 else
9477   if test x$gcc_no_link = xyes; then
9478   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
9479 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
9480    { (exit 1); exit 1; }; }
9481 fi
9482 cat >conftest.$ac_ext <<_ACEOF
9483 /* confdefs.h.  */
9484 _ACEOF
9485 cat confdefs.h >>conftest.$ac_ext
9486 cat >>conftest.$ac_ext <<_ACEOF
9487 /* end confdefs.h.  */
9488 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
9489    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
9490 #define $ac_func innocuous_$ac_func
9491
9492 /* System header to define __stub macros and hopefully few prototypes,
9493     which can conflict with char $ac_func (); below.
9494     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
9495     <limits.h> exists even on freestanding compilers.  */
9496
9497 #ifdef __STDC__
9498 # include <limits.h>
9499 #else
9500 # include <assert.h>
9501 #endif
9502
9503 #undef $ac_func
9504
9505 /* Override any gcc2 internal prototype to avoid an error.  */
9506 #ifdef __cplusplus
9507 extern "C"
9508 {
9509 #endif
9510 /* We use char because int might match the return type of a gcc2
9511    builtin and then its argument prototype would still apply.  */
9512 char $ac_func ();
9513 /* The GNU C library defines this for functions which it implements
9514     to always fail with ENOSYS.  Some functions are actually named
9515     something starting with __ and the normal name is an alias.  */
9516 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
9517 choke me
9518 #else
9519 char (*f) () = $ac_func;
9520 #endif
9521 #ifdef __cplusplus
9522 }
9523 #endif
9524
9525 int
9526 main ()
9527 {
9528 return f != $ac_func;
9529   ;
9530   return 0;
9531 }
9532 _ACEOF
9533 rm -f conftest.$ac_objext conftest$ac_exeext
9534 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9535   (eval $ac_link) 2>conftest.er1
9536   ac_status=$?
9537   grep -v '^ *+' conftest.er1 >conftest.err
9538   rm -f conftest.er1
9539   cat conftest.err >&5
9540   echo "$as_me:$LINENO: \$? = $ac_status" >&5
9541   (exit $ac_status); } &&
9542          { ac_try='test -z "$ac_c_werror_flag"
9543                          || test ! -s conftest.err'
9544   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9545   (eval $ac_try) 2>&5
9546   ac_status=$?
9547   echo "$as_me:$LINENO: \$? = $ac_status" >&5
9548   (exit $ac_status); }; } &&
9549          { ac_try='test -s conftest$ac_exeext'
9550   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9551   (eval $ac_try) 2>&5
9552   ac_status=$?
9553   echo "$as_me:$LINENO: \$? = $ac_status" >&5
9554   (exit $ac_status); }; }; then
9555   eval "$as_ac_var=yes"
9556 else
9557   echo "$as_me: failed program was:" >&5
9558 sed 's/^/| /' conftest.$ac_ext >&5
9559
9560 eval "$as_ac_var=no"
9561 fi
9562 rm -f conftest.err conftest.$ac_objext \
9563       conftest$ac_exeext conftest.$ac_ext
9564 fi
9565 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
9566 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
9567 if test `eval echo '${'$as_ac_var'}'` = yes; then
9568   cat >>confdefs.h <<_ACEOF
9569 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
9570 _ACEOF
9571
9572 fi
9573 done
9574
9575   else
9576
9577   echo "$as_me:$LINENO: checking for _isinf declaration" >&5
9578 echo $ECHO_N "checking for _isinf declaration... $ECHO_C" >&6
9579   if test x${glibcxx_cv_func__isinf_use+set} != xset; then
9580     if test "${glibcxx_cv_func__isinf_use+set}" = set; then
9581   echo $ECHO_N "(cached) $ECHO_C" >&6
9582 else
9583
9584
9585
9586       ac_ext=cc
9587 ac_cpp='$CXXCPP $CPPFLAGS'
9588 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
9589 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
9590 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
9591
9592       cat >conftest.$ac_ext <<_ACEOF
9593 /* confdefs.h.  */
9594 _ACEOF
9595 cat confdefs.h >>conftest.$ac_ext
9596 cat >>conftest.$ac_ext <<_ACEOF
9597 /* end confdefs.h.  */
9598 #include <math.h>
9599                       #ifdef HAVE_IEEEFP_H
9600                       #include <ieeefp.h>
9601                       #endif
9602
9603 int
9604 main ()
9605 {
9606  _isinf(0);
9607   ;
9608   return 0;
9609 }
9610 _ACEOF
9611 rm -f conftest.$ac_objext
9612 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
9613   (eval $ac_compile) 2>conftest.er1
9614   ac_status=$?
9615   grep -v '^ *+' conftest.er1 >conftest.err
9616   rm -f conftest.er1
9617   cat conftest.err >&5
9618   echo "$as_me:$LINENO: \$? = $ac_status" >&5
9619   (exit $ac_status); } &&
9620          { ac_try='test -z "$ac_cxx_werror_flag"
9621                          || test ! -s conftest.err'
9622   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9623   (eval $ac_try) 2>&5
9624   ac_status=$?
9625   echo "$as_me:$LINENO: \$? = $ac_status" >&5
9626   (exit $ac_status); }; } &&
9627          { ac_try='test -s conftest.$ac_objext'
9628   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9629   (eval $ac_try) 2>&5
9630   ac_status=$?
9631   echo "$as_me:$LINENO: \$? = $ac_status" >&5
9632   (exit $ac_status); }; }; then
9633   glibcxx_cv_func__isinf_use=yes
9634 else
9635   echo "$as_me: failed program was:" >&5
9636 sed 's/^/| /' conftest.$ac_ext >&5
9637
9638 glibcxx_cv_func__isinf_use=no
9639 fi
9640 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
9641       ac_ext=c
9642 ac_cpp='$CPP $CPPFLAGS'
9643 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
9644 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
9645 ac_compiler_gnu=$ac_cv_c_compiler_gnu
9646
9647
9648 fi
9649
9650   fi
9651   echo "$as_me:$LINENO: result: $glibcxx_cv_func__isinf_use" >&5
9652 echo "${ECHO_T}$glibcxx_cv_func__isinf_use" >&6
9653
9654     if test x$glibcxx_cv_func__isinf_use = x"yes"; then
9655
9656 for ac_func in _isinf
9657 do
9658 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
9659 echo "$as_me:$LINENO: checking for $ac_func" >&5
9660 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
9661 if eval "test \"\${$as_ac_var+set}\" = set"; then
9662   echo $ECHO_N "(cached) $ECHO_C" >&6
9663 else
9664   if test x$gcc_no_link = xyes; then
9665   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
9666 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
9667    { (exit 1); exit 1; }; }
9668 fi
9669 cat >conftest.$ac_ext <<_ACEOF
9670 /* confdefs.h.  */
9671 _ACEOF
9672 cat confdefs.h >>conftest.$ac_ext
9673 cat >>conftest.$ac_ext <<_ACEOF
9674 /* end confdefs.h.  */
9675 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
9676    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
9677 #define $ac_func innocuous_$ac_func
9678
9679 /* System header to define __stub macros and hopefully few prototypes,
9680     which can conflict with char $ac_func (); below.
9681     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
9682     <limits.h> exists even on freestanding compilers.  */
9683
9684 #ifdef __STDC__
9685 # include <limits.h>
9686 #else
9687 # include <assert.h>
9688 #endif
9689
9690 #undef $ac_func
9691
9692 /* Override any gcc2 internal prototype to avoid an error.  */
9693 #ifdef __cplusplus
9694 extern "C"
9695 {
9696 #endif
9697 /* We use char because int might match the return type of a gcc2
9698    builtin and then its argument prototype would still apply.  */
9699 char $ac_func ();
9700 /* The GNU C library defines this for functions which it implements
9701     to always fail with ENOSYS.  Some functions are actually named
9702     something starting with __ and the normal name is an alias.  */
9703 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
9704 choke me
9705 #else
9706 char (*f) () = $ac_func;
9707 #endif
9708 #ifdef __cplusplus
9709 }
9710 #endif
9711
9712 int
9713 main ()
9714 {
9715 return f != $ac_func;
9716   ;
9717   return 0;
9718 }
9719 _ACEOF
9720 rm -f conftest.$ac_objext conftest$ac_exeext
9721 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9722   (eval $ac_link) 2>conftest.er1
9723   ac_status=$?
9724   grep -v '^ *+' conftest.er1 >conftest.err
9725   rm -f conftest.er1
9726   cat conftest.err >&5
9727   echo "$as_me:$LINENO: \$? = $ac_status" >&5
9728   (exit $ac_status); } &&
9729          { ac_try='test -z "$ac_c_werror_flag"
9730                          || test ! -s conftest.err'
9731   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9732   (eval $ac_try) 2>&5
9733   ac_status=$?
9734   echo "$as_me:$LINENO: \$? = $ac_status" >&5
9735   (exit $ac_status); }; } &&
9736          { ac_try='test -s conftest$ac_exeext'
9737   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9738   (eval $ac_try) 2>&5
9739   ac_status=$?
9740   echo "$as_me:$LINENO: \$? = $ac_status" >&5
9741   (exit $ac_status); }; }; then
9742   eval "$as_ac_var=yes"
9743 else
9744   echo "$as_me: failed program was:" >&5
9745 sed 's/^/| /' conftest.$ac_ext >&5
9746
9747 eval "$as_ac_var=no"
9748 fi
9749 rm -f conftest.err conftest.$ac_objext \
9750       conftest$ac_exeext conftest.$ac_ext
9751 fi
9752 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
9753 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
9754 if test `eval echo '${'$as_ac_var'}'` = yes; then
9755   cat >>confdefs.h <<_ACEOF
9756 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
9757 _ACEOF
9758
9759 fi
9760 done
9761
9762     fi
9763   fi
9764
9765
9766
9767
9768
9769
9770   echo "$as_me:$LINENO: checking for isnan declaration" >&5
9771 echo $ECHO_N "checking for isnan declaration... $ECHO_C" >&6
9772   if test x${glibcxx_cv_func_isnan_use+set} != xset; then
9773     if test "${glibcxx_cv_func_isnan_use+set}" = set; then
9774   echo $ECHO_N "(cached) $ECHO_C" >&6
9775 else
9776
9777
9778
9779       ac_ext=cc
9780 ac_cpp='$CXXCPP $CPPFLAGS'
9781 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
9782 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
9783 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
9784
9785       cat >conftest.$ac_ext <<_ACEOF
9786 /* confdefs.h.  */
9787 _ACEOF
9788 cat confdefs.h >>conftest.$ac_ext
9789 cat >>conftest.$ac_ext <<_ACEOF
9790 /* end confdefs.h.  */
9791 #include <math.h>
9792                       #ifdef HAVE_IEEEFP_H
9793                       #include <ieeefp.h>
9794                       #endif
9795
9796 int
9797 main ()
9798 {
9799  isnan(0);
9800   ;
9801   return 0;
9802 }
9803 _ACEOF
9804 rm -f conftest.$ac_objext
9805 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
9806   (eval $ac_compile) 2>conftest.er1
9807   ac_status=$?
9808   grep -v '^ *+' conftest.er1 >conftest.err
9809   rm -f conftest.er1
9810   cat conftest.err >&5
9811   echo "$as_me:$LINENO: \$? = $ac_status" >&5
9812   (exit $ac_status); } &&
9813          { ac_try='test -z "$ac_cxx_werror_flag"
9814                          || test ! -s conftest.err'
9815   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9816   (eval $ac_try) 2>&5
9817   ac_status=$?
9818   echo "$as_me:$LINENO: \$? = $ac_status" >&5
9819   (exit $ac_status); }; } &&
9820          { ac_try='test -s conftest.$ac_objext'
9821   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9822   (eval $ac_try) 2>&5
9823   ac_status=$?
9824   echo "$as_me:$LINENO: \$? = $ac_status" >&5
9825   (exit $ac_status); }; }; then
9826   glibcxx_cv_func_isnan_use=yes
9827 else
9828   echo "$as_me: failed program was:" >&5
9829 sed 's/^/| /' conftest.$ac_ext >&5
9830
9831 glibcxx_cv_func_isnan_use=no
9832 fi
9833 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
9834       ac_ext=c
9835 ac_cpp='$CPP $CPPFLAGS'
9836 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
9837 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
9838 ac_compiler_gnu=$ac_cv_c_compiler_gnu
9839
9840
9841 fi
9842
9843   fi
9844   echo "$as_me:$LINENO: result: $glibcxx_cv_func_isnan_use" >&5
9845 echo "${ECHO_T}$glibcxx_cv_func_isnan_use" >&6
9846
9847   if test x$glibcxx_cv_func_isnan_use = x"yes"; then
9848
9849 for ac_func in isnan
9850 do
9851 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
9852 echo "$as_me:$LINENO: checking for $ac_func" >&5
9853 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
9854 if eval "test \"\${$as_ac_var+set}\" = set"; then
9855   echo $ECHO_N "(cached) $ECHO_C" >&6
9856 else
9857   if test x$gcc_no_link = xyes; then
9858   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
9859 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
9860    { (exit 1); exit 1; }; }
9861 fi
9862 cat >conftest.$ac_ext <<_ACEOF
9863 /* confdefs.h.  */
9864 _ACEOF
9865 cat confdefs.h >>conftest.$ac_ext
9866 cat >>conftest.$ac_ext <<_ACEOF
9867 /* end confdefs.h.  */
9868 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
9869    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
9870 #define $ac_func innocuous_$ac_func
9871
9872 /* System header to define __stub macros and hopefully few prototypes,
9873     which can conflict with char $ac_func (); below.
9874     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
9875     <limits.h> exists even on freestanding compilers.  */
9876
9877 #ifdef __STDC__
9878 # include <limits.h>
9879 #else
9880 # include <assert.h>
9881 #endif
9882
9883 #undef $ac_func
9884
9885 /* Override any gcc2 internal prototype to avoid an error.  */
9886 #ifdef __cplusplus
9887 extern "C"
9888 {
9889 #endif
9890 /* We use char because int might match the return type of a gcc2
9891    builtin and then its argument prototype would still apply.  */
9892 char $ac_func ();
9893 /* The GNU C library defines this for functions which it implements
9894     to always fail with ENOSYS.  Some functions are actually named
9895     something starting with __ and the normal name is an alias.  */
9896 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
9897 choke me
9898 #else
9899 char (*f) () = $ac_func;
9900 #endif
9901 #ifdef __cplusplus
9902 }
9903 #endif
9904
9905 int
9906 main ()
9907 {
9908 return f != $ac_func;
9909   ;
9910   return 0;
9911 }
9912 _ACEOF
9913 rm -f conftest.$ac_objext conftest$ac_exeext
9914 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9915   (eval $ac_link) 2>conftest.er1
9916   ac_status=$?
9917   grep -v '^ *+' conftest.er1 >conftest.err
9918   rm -f conftest.er1
9919   cat conftest.err >&5
9920   echo "$as_me:$LINENO: \$? = $ac_status" >&5
9921   (exit $ac_status); } &&
9922          { ac_try='test -z "$ac_c_werror_flag"
9923                          || test ! -s conftest.err'
9924   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9925   (eval $ac_try) 2>&5
9926   ac_status=$?
9927   echo "$as_me:$LINENO: \$? = $ac_status" >&5
9928   (exit $ac_status); }; } &&
9929          { ac_try='test -s conftest$ac_exeext'
9930   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9931   (eval $ac_try) 2>&5
9932   ac_status=$?
9933   echo "$as_me:$LINENO: \$? = $ac_status" >&5
9934   (exit $ac_status); }; }; then
9935   eval "$as_ac_var=yes"
9936 else
9937   echo "$as_me: failed program was:" >&5
9938 sed 's/^/| /' conftest.$ac_ext >&5
9939
9940 eval "$as_ac_var=no"
9941 fi
9942 rm -f conftest.err conftest.$ac_objext \
9943       conftest$ac_exeext conftest.$ac_ext
9944 fi
9945 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
9946 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
9947 if test `eval echo '${'$as_ac_var'}'` = yes; then
9948   cat >>confdefs.h <<_ACEOF
9949 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
9950 _ACEOF
9951
9952 fi
9953 done
9954
9955   else
9956
9957   echo "$as_me:$LINENO: checking for _isnan declaration" >&5
9958 echo $ECHO_N "checking for _isnan declaration... $ECHO_C" >&6
9959   if test x${glibcxx_cv_func__isnan_use+set} != xset; then
9960     if test "${glibcxx_cv_func__isnan_use+set}" = set; then
9961   echo $ECHO_N "(cached) $ECHO_C" >&6
9962 else
9963
9964
9965
9966       ac_ext=cc
9967 ac_cpp='$CXXCPP $CPPFLAGS'
9968 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
9969 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
9970 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
9971
9972       cat >conftest.$ac_ext <<_ACEOF
9973 /* confdefs.h.  */
9974 _ACEOF
9975 cat confdefs.h >>conftest.$ac_ext
9976 cat >>conftest.$ac_ext <<_ACEOF
9977 /* end confdefs.h.  */
9978 #include <math.h>
9979                       #ifdef HAVE_IEEEFP_H
9980                       #include <ieeefp.h>
9981                       #endif
9982
9983 int
9984 main ()
9985 {
9986  _isnan(0);
9987   ;
9988   return 0;
9989 }
9990 _ACEOF
9991 rm -f conftest.$ac_objext
9992 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
9993   (eval $ac_compile) 2>conftest.er1
9994   ac_status=$?
9995   grep -v '^ *+' conftest.er1 >conftest.err
9996   rm -f conftest.er1
9997   cat conftest.err >&5
9998   echo "$as_me:$LINENO: \$? = $ac_status" >&5
9999   (exit $ac_status); } &&
10000          { ac_try='test -z "$ac_cxx_werror_flag"
10001                          || test ! -s conftest.err'
10002   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10003   (eval $ac_try) 2>&5
10004   ac_status=$?
10005   echo "$as_me:$LINENO: \$? = $ac_status" >&5
10006   (exit $ac_status); }; } &&
10007          { ac_try='test -s conftest.$ac_objext'
10008   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10009   (eval $ac_try) 2>&5
10010   ac_status=$?
10011   echo "$as_me:$LINENO: \$? = $ac_status" >&5
10012   (exit $ac_status); }; }; then
10013   glibcxx_cv_func__isnan_use=yes
10014 else
10015   echo "$as_me: failed program was:" >&5
10016 sed 's/^/| /' conftest.$ac_ext >&5
10017
10018 glibcxx_cv_func__isnan_use=no
10019 fi
10020 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
10021       ac_ext=c
10022 ac_cpp='$CPP $CPPFLAGS'
10023 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
10024 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
10025 ac_compiler_gnu=$ac_cv_c_compiler_gnu
10026
10027
10028 fi
10029
10030   fi
10031   echo "$as_me:$LINENO: result: $glibcxx_cv_func__isnan_use" >&5
10032 echo "${ECHO_T}$glibcxx_cv_func__isnan_use" >&6
10033
10034     if test x$glibcxx_cv_func__isnan_use = x"yes"; then
10035
10036 for ac_func in _isnan
10037 do
10038 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
10039 echo "$as_me:$LINENO: checking for $ac_func" >&5
10040 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
10041 if eval "test \"\${$as_ac_var+set}\" = set"; then
10042   echo $ECHO_N "(cached) $ECHO_C" >&6
10043 else
10044   if test x$gcc_no_link = xyes; then
10045   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
10046 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
10047    { (exit 1); exit 1; }; }
10048 fi
10049 cat >conftest.$ac_ext <<_ACEOF
10050 /* confdefs.h.  */
10051 _ACEOF
10052 cat confdefs.h >>conftest.$ac_ext
10053 cat >>conftest.$ac_ext <<_ACEOF
10054 /* end confdefs.h.  */
10055 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
10056    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
10057 #define $ac_func innocuous_$ac_func
10058
10059 /* System header to define __stub macros and hopefully few prototypes,
10060     which can conflict with char $ac_func (); below.
10061     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
10062     <limits.h> exists even on freestanding compilers.  */
10063
10064 #ifdef __STDC__
10065 # include <limits.h>
10066 #else
10067 # include <assert.h>
10068 #endif
10069
10070 #undef $ac_func
10071
10072 /* Override any gcc2 internal prototype to avoid an error.  */
10073 #ifdef __cplusplus
10074 extern "C"
10075 {
10076 #endif
10077 /* We use char because int might match the return type of a gcc2
10078    builtin and then its argument prototype would still apply.  */
10079 char $ac_func ();
10080 /* The GNU C library defines this for functions which it implements
10081     to always fail with ENOSYS.  Some functions are actually named
10082     something starting with __ and the normal name is an alias.  */
10083 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
10084 choke me
10085 #else
10086 char (*f) () = $ac_func;
10087 #endif
10088 #ifdef __cplusplus
10089 }
10090 #endif
10091
10092 int
10093 main ()
10094 {
10095 return f != $ac_func;
10096   ;
10097   return 0;
10098 }
10099 _ACEOF
10100 rm -f conftest.$ac_objext conftest$ac_exeext
10101 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10102   (eval $ac_link) 2>conftest.er1
10103   ac_status=$?
10104   grep -v '^ *+' conftest.er1 >conftest.err
10105   rm -f conftest.er1
10106   cat conftest.err >&5
10107   echo "$as_me:$LINENO: \$? = $ac_status" >&5
10108   (exit $ac_status); } &&
10109          { ac_try='test -z "$ac_c_werror_flag"
10110                          || test ! -s conftest.err'
10111   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10112   (eval $ac_try) 2>&5
10113   ac_status=$?
10114   echo "$as_me:$LINENO: \$? = $ac_status" >&5
10115   (exit $ac_status); }; } &&
10116          { ac_try='test -s conftest$ac_exeext'
10117   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10118   (eval $ac_try) 2>&5
10119   ac_status=$?
10120   echo "$as_me:$LINENO: \$? = $ac_status" >&5
10121   (exit $ac_status); }; }; then
10122   eval "$as_ac_var=yes"
10123 else
10124   echo "$as_me: failed program was:" >&5
10125 sed 's/^/| /' conftest.$ac_ext >&5
10126
10127 eval "$as_ac_var=no"
10128 fi
10129 rm -f conftest.err conftest.$ac_objext \
10130       conftest$ac_exeext conftest.$ac_ext
10131 fi
10132 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
10133 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
10134 if test `eval echo '${'$as_ac_var'}'` = yes; then
10135   cat >>confdefs.h <<_ACEOF
10136 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
10137 _ACEOF
10138
10139 fi
10140 done
10141
10142     fi
10143   fi
10144
10145
10146
10147
10148
10149
10150   echo "$as_me:$LINENO: checking for finite declaration" >&5
10151 echo $ECHO_N "checking for finite declaration... $ECHO_C" >&6
10152   if test x${glibcxx_cv_func_finite_use+set} != xset; then
10153     if test "${glibcxx_cv_func_finite_use+set}" = set; then
10154   echo $ECHO_N "(cached) $ECHO_C" >&6
10155 else
10156
10157
10158
10159       ac_ext=cc
10160 ac_cpp='$CXXCPP $CPPFLAGS'
10161 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
10162 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
10163 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
10164
10165       cat >conftest.$ac_ext <<_ACEOF
10166 /* confdefs.h.  */
10167 _ACEOF
10168 cat confdefs.h >>conftest.$ac_ext
10169 cat >>conftest.$ac_ext <<_ACEOF
10170 /* end confdefs.h.  */
10171 #include <math.h>
10172                       #ifdef HAVE_IEEEFP_H
10173                       #include <ieeefp.h>
10174                       #endif
10175
10176 int
10177 main ()
10178 {
10179  finite(0);
10180   ;
10181   return 0;
10182 }
10183 _ACEOF
10184 rm -f conftest.$ac_objext
10185 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10186   (eval $ac_compile) 2>conftest.er1
10187   ac_status=$?
10188   grep -v '^ *+' conftest.er1 >conftest.err
10189   rm -f conftest.er1
10190   cat conftest.err >&5
10191   echo "$as_me:$LINENO: \$? = $ac_status" >&5
10192   (exit $ac_status); } &&
10193          { ac_try='test -z "$ac_cxx_werror_flag"
10194                          || test ! -s conftest.err'
10195   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10196   (eval $ac_try) 2>&5
10197   ac_status=$?
10198   echo "$as_me:$LINENO: \$? = $ac_status" >&5
10199   (exit $ac_status); }; } &&
10200          { ac_try='test -s conftest.$ac_objext'
10201   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10202   (eval $ac_try) 2>&5
10203   ac_status=$?
10204   echo "$as_me:$LINENO: \$? = $ac_status" >&5
10205   (exit $ac_status); }; }; then
10206   glibcxx_cv_func_finite_use=yes
10207 else
10208   echo "$as_me: failed program was:" >&5
10209 sed 's/^/| /' conftest.$ac_ext >&5
10210
10211 glibcxx_cv_func_finite_use=no
10212 fi
10213 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
10214       ac_ext=c
10215 ac_cpp='$CPP $CPPFLAGS'
10216 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
10217 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
10218 ac_compiler_gnu=$ac_cv_c_compiler_gnu
10219
10220
10221 fi
10222
10223   fi
10224   echo "$as_me:$LINENO: result: $glibcxx_cv_func_finite_use" >&5
10225 echo "${ECHO_T}$glibcxx_cv_func_finite_use" >&6
10226
10227   if test x$glibcxx_cv_func_finite_use = x"yes"; then
10228
10229 for ac_func in finite
10230 do
10231 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
10232 echo "$as_me:$LINENO: checking for $ac_func" >&5
10233 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
10234 if eval "test \"\${$as_ac_var+set}\" = set"; then
10235   echo $ECHO_N "(cached) $ECHO_C" >&6
10236 else
10237   if test x$gcc_no_link = xyes; then
10238   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
10239 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
10240    { (exit 1); exit 1; }; }
10241 fi
10242 cat >conftest.$ac_ext <<_ACEOF
10243 /* confdefs.h.  */
10244 _ACEOF
10245 cat confdefs.h >>conftest.$ac_ext
10246 cat >>conftest.$ac_ext <<_ACEOF
10247 /* end confdefs.h.  */
10248 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
10249    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
10250 #define $ac_func innocuous_$ac_func
10251
10252 /* System header to define __stub macros and hopefully few prototypes,
10253     which can conflict with char $ac_func (); below.
10254     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
10255     <limits.h> exists even on freestanding compilers.  */
10256
10257 #ifdef __STDC__
10258 # include <limits.h>
10259 #else
10260 # include <assert.h>
10261 #endif
10262
10263 #undef $ac_func
10264
10265 /* Override any gcc2 internal prototype to avoid an error.  */
10266 #ifdef __cplusplus
10267 extern "C"
10268 {
10269 #endif
10270 /* We use char because int might match the return type of a gcc2
10271    builtin and then its argument prototype would still apply.  */
10272 char $ac_func ();
10273 /* The GNU C library defines this for functions which it implements
10274     to always fail with ENOSYS.  Some functions are actually named
10275     something starting with __ and the normal name is an alias.  */
10276 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
10277 choke me
10278 #else
10279 char (*f) () = $ac_func;
10280 #endif
10281 #ifdef __cplusplus
10282 }
10283 #endif
10284
10285 int
10286 main ()
10287 {
10288 return f != $ac_func;
10289   ;
10290   return 0;
10291 }
10292 _ACEOF
10293 rm -f conftest.$ac_objext conftest$ac_exeext
10294 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10295   (eval $ac_link) 2>conftest.er1
10296   ac_status=$?
10297   grep -v '^ *+' conftest.er1 >conftest.err
10298   rm -f conftest.er1
10299   cat conftest.err >&5
10300   echo "$as_me:$LINENO: \$? = $ac_status" >&5
10301   (exit $ac_status); } &&
10302          { ac_try='test -z "$ac_c_werror_flag"
10303                          || test ! -s conftest.err'
10304   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10305   (eval $ac_try) 2>&5
10306   ac_status=$?
10307   echo "$as_me:$LINENO: \$? = $ac_status" >&5
10308   (exit $ac_status); }; } &&
10309          { ac_try='test -s conftest$ac_exeext'
10310   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10311   (eval $ac_try) 2>&5
10312   ac_status=$?
10313   echo "$as_me:$LINENO: \$? = $ac_status" >&5
10314   (exit $ac_status); }; }; then
10315   eval "$as_ac_var=yes"
10316 else
10317   echo "$as_me: failed program was:" >&5
10318 sed 's/^/| /' conftest.$ac_ext >&5
10319
10320 eval "$as_ac_var=no"
10321 fi
10322 rm -f conftest.err conftest.$ac_objext \
10323       conftest$ac_exeext conftest.$ac_ext
10324 fi
10325 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
10326 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
10327 if test `eval echo '${'$as_ac_var'}'` = yes; then
10328   cat >>confdefs.h <<_ACEOF
10329 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
10330 _ACEOF
10331
10332 fi
10333 done
10334
10335   else
10336
10337   echo "$as_me:$LINENO: checking for _finite declaration" >&5
10338 echo $ECHO_N "checking for _finite declaration... $ECHO_C" >&6
10339   if test x${glibcxx_cv_func__finite_use+set} != xset; then
10340     if test "${glibcxx_cv_func__finite_use+set}" = set; then
10341   echo $ECHO_N "(cached) $ECHO_C" >&6
10342 else
10343
10344
10345
10346       ac_ext=cc
10347 ac_cpp='$CXXCPP $CPPFLAGS'
10348 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
10349 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
10350 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
10351
10352       cat >conftest.$ac_ext <<_ACEOF
10353 /* confdefs.h.  */
10354 _ACEOF
10355 cat confdefs.h >>conftest.$ac_ext
10356 cat >>conftest.$ac_ext <<_ACEOF
10357 /* end confdefs.h.  */
10358 #include <math.h>
10359                       #ifdef HAVE_IEEEFP_H
10360                       #include <ieeefp.h>
10361                       #endif
10362
10363 int
10364 main ()
10365 {
10366  _finite(0);
10367   ;
10368   return 0;
10369 }
10370 _ACEOF
10371 rm -f conftest.$ac_objext
10372 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10373   (eval $ac_compile) 2>conftest.er1
10374   ac_status=$?
10375   grep -v '^ *+' conftest.er1 >conftest.err
10376   rm -f conftest.er1
10377   cat conftest.err >&5
10378   echo "$as_me:$LINENO: \$? = $ac_status" >&5
10379   (exit $ac_status); } &&
10380          { ac_try='test -z "$ac_cxx_werror_flag"
10381                          || test ! -s conftest.err'
10382   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10383   (eval $ac_try) 2>&5
10384   ac_status=$?
10385   echo "$as_me:$LINENO: \$? = $ac_status" >&5
10386   (exit $ac_status); }; } &&
10387          { ac_try='test -s conftest.$ac_objext'
10388   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10389   (eval $ac_try) 2>&5
10390   ac_status=$?
10391   echo "$as_me:$LINENO: \$? = $ac_status" >&5
10392   (exit $ac_status); }; }; then
10393   glibcxx_cv_func__finite_use=yes
10394 else
10395   echo "$as_me: failed program was:" >&5
10396 sed 's/^/| /' conftest.$ac_ext >&5
10397
10398 glibcxx_cv_func__finite_use=no
10399 fi
10400 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
10401       ac_ext=c
10402 ac_cpp='$CPP $CPPFLAGS'
10403 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
10404 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
10405 ac_compiler_gnu=$ac_cv_c_compiler_gnu
10406
10407
10408 fi
10409
10410   fi
10411   echo "$as_me:$LINENO: result: $glibcxx_cv_func__finite_use" >&5
10412 echo "${ECHO_T}$glibcxx_cv_func__finite_use" >&6
10413
10414     if test x$glibcxx_cv_func__finite_use = x"yes"; then
10415
10416 for ac_func in _finite
10417 do
10418 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
10419 echo "$as_me:$LINENO: checking for $ac_func" >&5
10420 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
10421 if eval "test \"\${$as_ac_var+set}\" = set"; then
10422   echo $ECHO_N "(cached) $ECHO_C" >&6
10423 else
10424   if test x$gcc_no_link = xyes; then
10425   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
10426 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
10427    { (exit 1); exit 1; }; }
10428 fi
10429 cat >conftest.$ac_ext <<_ACEOF
10430 /* confdefs.h.  */
10431 _ACEOF
10432 cat confdefs.h >>conftest.$ac_ext
10433 cat >>conftest.$ac_ext <<_ACEOF
10434 /* end confdefs.h.  */
10435 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
10436    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
10437 #define $ac_func innocuous_$ac_func
10438
10439 /* System header to define __stub macros and hopefully few prototypes,
10440     which can conflict with char $ac_func (); below.
10441     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
10442     <limits.h> exists even on freestanding compilers.  */
10443
10444 #ifdef __STDC__
10445 # include <limits.h>
10446 #else
10447 # include <assert.h>
10448 #endif
10449
10450 #undef $ac_func
10451
10452 /* Override any gcc2 internal prototype to avoid an error.  */
10453 #ifdef __cplusplus
10454 extern "C"
10455 {
10456 #endif
10457 /* We use char because int might match the return type of a gcc2
10458    builtin and then its argument prototype would still apply.  */
10459 char $ac_func ();
10460 /* The GNU C library defines this for functions which it implements
10461     to always fail with ENOSYS.  Some functions are actually named
10462     something starting with __ and the normal name is an alias.  */
10463 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
10464 choke me
10465 #else
10466 char (*f) () = $ac_func;
10467 #endif
10468 #ifdef __cplusplus
10469 }
10470 #endif
10471
10472 int
10473 main ()
10474 {
10475 return f != $ac_func;
10476   ;
10477   return 0;
10478 }
10479 _ACEOF
10480 rm -f conftest.$ac_objext conftest$ac_exeext
10481 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10482   (eval $ac_link) 2>conftest.er1
10483   ac_status=$?
10484   grep -v '^ *+' conftest.er1 >conftest.err
10485   rm -f conftest.er1
10486   cat conftest.err >&5
10487   echo "$as_me:$LINENO: \$? = $ac_status" >&5
10488   (exit $ac_status); } &&
10489          { ac_try='test -z "$ac_c_werror_flag"
10490                          || test ! -s conftest.err'
10491   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10492   (eval $ac_try) 2>&5
10493   ac_status=$?
10494   echo "$as_me:$LINENO: \$? = $ac_status" >&5
10495   (exit $ac_status); }; } &&
10496          { ac_try='test -s conftest$ac_exeext'
10497   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10498   (eval $ac_try) 2>&5
10499   ac_status=$?
10500   echo "$as_me:$LINENO: \$? = $ac_status" >&5
10501   (exit $ac_status); }; }; then
10502   eval "$as_ac_var=yes"
10503 else
10504   echo "$as_me: failed program was:" >&5
10505 sed 's/^/| /' conftest.$ac_ext >&5
10506
10507 eval "$as_ac_var=no"
10508 fi
10509 rm -f conftest.err conftest.$ac_objext \
10510       conftest$ac_exeext conftest.$ac_ext
10511 fi
10512 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
10513 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
10514 if test `eval echo '${'$as_ac_var'}'` = yes; then
10515   cat >>confdefs.h <<_ACEOF
10516 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
10517 _ACEOF
10518
10519 fi
10520 done
10521
10522     fi
10523   fi
10524
10525
10526
10527
10528
10529
10530   echo "$as_me:$LINENO: checking for copysign declaration" >&5
10531 echo $ECHO_N "checking for copysign declaration... $ECHO_C" >&6
10532   if test x${glibcxx_cv_func_copysign_use+set} != xset; then
10533     if test "${glibcxx_cv_func_copysign_use+set}" = set; then
10534   echo $ECHO_N "(cached) $ECHO_C" >&6
10535 else
10536
10537
10538
10539       ac_ext=cc
10540 ac_cpp='$CXXCPP $CPPFLAGS'
10541 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
10542 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
10543 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
10544
10545       cat >conftest.$ac_ext <<_ACEOF
10546 /* confdefs.h.  */
10547 _ACEOF
10548 cat confdefs.h >>conftest.$ac_ext
10549 cat >>conftest.$ac_ext <<_ACEOF
10550 /* end confdefs.h.  */
10551 #include <math.h>
10552 int
10553 main ()
10554 {
10555  copysign(0, 0);
10556   ;
10557   return 0;
10558 }
10559 _ACEOF
10560 rm -f conftest.$ac_objext
10561 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10562   (eval $ac_compile) 2>conftest.er1
10563   ac_status=$?
10564   grep -v '^ *+' conftest.er1 >conftest.err
10565   rm -f conftest.er1
10566   cat conftest.err >&5
10567   echo "$as_me:$LINENO: \$? = $ac_status" >&5
10568   (exit $ac_status); } &&
10569          { ac_try='test -z "$ac_cxx_werror_flag"
10570                          || test ! -s conftest.err'
10571   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10572   (eval $ac_try) 2>&5
10573   ac_status=$?
10574   echo "$as_me:$LINENO: \$? = $ac_status" >&5
10575   (exit $ac_status); }; } &&
10576          { ac_try='test -s conftest.$ac_objext'
10577   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10578   (eval $ac_try) 2>&5
10579   ac_status=$?
10580   echo "$as_me:$LINENO: \$? = $ac_status" >&5
10581   (exit $ac_status); }; }; then
10582   glibcxx_cv_func_copysign_use=yes
10583 else
10584   echo "$as_me: failed program was:" >&5
10585 sed 's/^/| /' conftest.$ac_ext >&5
10586
10587 glibcxx_cv_func_copysign_use=no
10588 fi
10589 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
10590       ac_ext=c
10591 ac_cpp='$CPP $CPPFLAGS'
10592 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
10593 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
10594 ac_compiler_gnu=$ac_cv_c_compiler_gnu
10595
10596
10597 fi
10598
10599   fi
10600   echo "$as_me:$LINENO: result: $glibcxx_cv_func_copysign_use" >&5
10601 echo "${ECHO_T}$glibcxx_cv_func_copysign_use" >&6
10602
10603   if test x$glibcxx_cv_func_copysign_use = x"yes"; then
10604
10605 for ac_func in copysign
10606 do
10607 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
10608 echo "$as_me:$LINENO: checking for $ac_func" >&5
10609 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
10610 if eval "test \"\${$as_ac_var+set}\" = set"; then
10611   echo $ECHO_N "(cached) $ECHO_C" >&6
10612 else
10613   if test x$gcc_no_link = xyes; then
10614   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
10615 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
10616    { (exit 1); exit 1; }; }
10617 fi
10618 cat >conftest.$ac_ext <<_ACEOF
10619 /* confdefs.h.  */
10620 _ACEOF
10621 cat confdefs.h >>conftest.$ac_ext
10622 cat >>conftest.$ac_ext <<_ACEOF
10623 /* end confdefs.h.  */
10624 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
10625    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
10626 #define $ac_func innocuous_$ac_func
10627
10628 /* System header to define __stub macros and hopefully few prototypes,
10629     which can conflict with char $ac_func (); below.
10630     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
10631     <limits.h> exists even on freestanding compilers.  */
10632
10633 #ifdef __STDC__
10634 # include <limits.h>
10635 #else
10636 # include <assert.h>
10637 #endif
10638
10639 #undef $ac_func
10640
10641 /* Override any gcc2 internal prototype to avoid an error.  */
10642 #ifdef __cplusplus
10643 extern "C"
10644 {
10645 #endif
10646 /* We use char because int might match the return type of a gcc2
10647    builtin and then its argument prototype would still apply.  */
10648 char $ac_func ();
10649 /* The GNU C library defines this for functions which it implements
10650     to always fail with ENOSYS.  Some functions are actually named
10651     something starting with __ and the normal name is an alias.  */
10652 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
10653 choke me
10654 #else
10655 char (*f) () = $ac_func;
10656 #endif
10657 #ifdef __cplusplus
10658 }
10659 #endif
10660
10661 int
10662 main ()
10663 {
10664 return f != $ac_func;
10665   ;
10666   return 0;
10667 }
10668 _ACEOF
10669 rm -f conftest.$ac_objext conftest$ac_exeext
10670 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10671   (eval $ac_link) 2>conftest.er1
10672   ac_status=$?
10673   grep -v '^ *+' conftest.er1 >conftest.err
10674   rm -f conftest.er1
10675   cat conftest.err >&5
10676   echo "$as_me:$LINENO: \$? = $ac_status" >&5
10677   (exit $ac_status); } &&
10678          { ac_try='test -z "$ac_c_werror_flag"
10679                          || test ! -s conftest.err'
10680   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10681   (eval $ac_try) 2>&5
10682   ac_status=$?
10683   echo "$as_me:$LINENO: \$? = $ac_status" >&5
10684   (exit $ac_status); }; } &&
10685          { ac_try='test -s conftest$ac_exeext'
10686   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10687   (eval $ac_try) 2>&5
10688   ac_status=$?
10689   echo "$as_me:$LINENO: \$? = $ac_status" >&5
10690   (exit $ac_status); }; }; then
10691   eval "$as_ac_var=yes"
10692 else
10693   echo "$as_me: failed program was:" >&5
10694 sed 's/^/| /' conftest.$ac_ext >&5
10695
10696 eval "$as_ac_var=no"
10697 fi
10698 rm -f conftest.err conftest.$ac_objext \
10699       conftest$ac_exeext conftest.$ac_ext
10700 fi
10701 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
10702 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
10703 if test `eval echo '${'$as_ac_var'}'` = yes; then
10704   cat >>confdefs.h <<_ACEOF
10705 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
10706 _ACEOF
10707
10708 fi
10709 done
10710
10711   else
10712
10713   echo "$as_me:$LINENO: checking for _copysign declaration" >&5
10714 echo $ECHO_N "checking for _copysign declaration... $ECHO_C" >&6
10715   if test x${glibcxx_cv_func__copysign_use+set} != xset; then
10716     if test "${glibcxx_cv_func__copysign_use+set}" = set; then
10717   echo $ECHO_N "(cached) $ECHO_C" >&6
10718 else
10719
10720
10721
10722       ac_ext=cc
10723 ac_cpp='$CXXCPP $CPPFLAGS'
10724 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
10725 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
10726 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
10727
10728       cat >conftest.$ac_ext <<_ACEOF
10729 /* confdefs.h.  */
10730 _ACEOF
10731 cat confdefs.h >>conftest.$ac_ext
10732 cat >>conftest.$ac_ext <<_ACEOF
10733 /* end confdefs.h.  */
10734 #include <math.h>
10735 int
10736 main ()
10737 {
10738  _copysign(0, 0);
10739   ;
10740   return 0;
10741 }
10742 _ACEOF
10743 rm -f conftest.$ac_objext
10744 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10745   (eval $ac_compile) 2>conftest.er1
10746   ac_status=$?
10747   grep -v '^ *+' conftest.er1 >conftest.err
10748   rm -f conftest.er1
10749   cat conftest.err >&5
10750   echo "$as_me:$LINENO: \$? = $ac_status" >&5
10751   (exit $ac_status); } &&
10752          { ac_try='test -z "$ac_cxx_werror_flag"
10753                          || test ! -s conftest.err'
10754   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10755   (eval $ac_try) 2>&5
10756   ac_status=$?
10757   echo "$as_me:$LINENO: \$? = $ac_status" >&5
10758   (exit $ac_status); }; } &&
10759          { ac_try='test -s conftest.$ac_objext'
10760   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10761   (eval $ac_try) 2>&5
10762   ac_status=$?
10763   echo "$as_me:$LINENO: \$? = $ac_status" >&5
10764   (exit $ac_status); }; }; then
10765   glibcxx_cv_func__copysign_use=yes
10766 else
10767   echo "$as_me: failed program was:" >&5
10768 sed 's/^/| /' conftest.$ac_ext >&5
10769
10770 glibcxx_cv_func__copysign_use=no
10771 fi
10772 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
10773       ac_ext=c
10774 ac_cpp='$CPP $CPPFLAGS'
10775 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
10776 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
10777 ac_compiler_gnu=$ac_cv_c_compiler_gnu
10778
10779
10780 fi
10781
10782   fi
10783   echo "$as_me:$LINENO: result: $glibcxx_cv_func__copysign_use" >&5
10784 echo "${ECHO_T}$glibcxx_cv_func__copysign_use" >&6
10785
10786     if test x$glibcxx_cv_func__copysign_use = x"yes"; then
10787
10788 for ac_func in _copysign
10789 do
10790 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
10791 echo "$as_me:$LINENO: checking for $ac_func" >&5
10792 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
10793 if eval "test \"\${$as_ac_var+set}\" = set"; then
10794   echo $ECHO_N "(cached) $ECHO_C" >&6
10795 else
10796   if test x$gcc_no_link = xyes; then
10797   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
10798 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
10799    { (exit 1); exit 1; }; }
10800 fi
10801 cat >conftest.$ac_ext <<_ACEOF
10802 /* confdefs.h.  */
10803 _ACEOF
10804 cat confdefs.h >>conftest.$ac_ext
10805 cat >>conftest.$ac_ext <<_ACEOF
10806 /* end confdefs.h.  */
10807 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
10808    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
10809 #define $ac_func innocuous_$ac_func
10810
10811 /* System header to define __stub macros and hopefully few prototypes,
10812     which can conflict with char $ac_func (); below.
10813     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
10814     <limits.h> exists even on freestanding compilers.  */
10815
10816 #ifdef __STDC__
10817 # include <limits.h>
10818 #else
10819 # include <assert.h>
10820 #endif
10821
10822 #undef $ac_func
10823
10824 /* Override any gcc2 internal prototype to avoid an error.  */
10825 #ifdef __cplusplus
10826 extern "C"
10827 {
10828 #endif
10829 /* We use char because int might match the return type of a gcc2
10830    builtin and then its argument prototype would still apply.  */
10831 char $ac_func ();
10832 /* The GNU C library defines this for functions which it implements
10833     to always fail with ENOSYS.  Some functions are actually named
10834     something starting with __ and the normal name is an alias.  */
10835 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
10836 choke me
10837 #else
10838 char (*f) () = $ac_func;
10839 #endif
10840 #ifdef __cplusplus
10841 }
10842 #endif
10843
10844 int
10845 main ()
10846 {
10847 return f != $ac_func;
10848   ;
10849   return 0;
10850 }
10851 _ACEOF
10852 rm -f conftest.$ac_objext conftest$ac_exeext
10853 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10854   (eval $ac_link) 2>conftest.er1
10855   ac_status=$?
10856   grep -v '^ *+' conftest.er1 >conftest.err
10857   rm -f conftest.er1
10858   cat conftest.err >&5
10859   echo "$as_me:$LINENO: \$? = $ac_status" >&5
10860   (exit $ac_status); } &&
10861          { ac_try='test -z "$ac_c_werror_flag"
10862                          || test ! -s conftest.err'
10863   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10864   (eval $ac_try) 2>&5
10865   ac_status=$?
10866   echo "$as_me:$LINENO: \$? = $ac_status" >&5
10867   (exit $ac_status); }; } &&
10868          { ac_try='test -s conftest$ac_exeext'
10869   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10870   (eval $ac_try) 2>&5
10871   ac_status=$?
10872   echo "$as_me:$LINENO: \$? = $ac_status" >&5
10873   (exit $ac_status); }; }; then
10874   eval "$as_ac_var=yes"
10875 else
10876   echo "$as_me: failed program was:" >&5
10877 sed 's/^/| /' conftest.$ac_ext >&5
10878
10879 eval "$as_ac_var=no"
10880 fi
10881 rm -f conftest.err conftest.$ac_objext \
10882       conftest$ac_exeext conftest.$ac_ext
10883 fi
10884 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
10885 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
10886 if test `eval echo '${'$as_ac_var'}'` = yes; then
10887   cat >>confdefs.h <<_ACEOF
10888 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
10889 _ACEOF
10890
10891 fi
10892 done
10893
10894     fi
10895   fi
10896
10897
10898
10899
10900
10901
10902   echo "$as_me:$LINENO: checking for sincos declaration" >&5
10903 echo $ECHO_N "checking for sincos declaration... $ECHO_C" >&6
10904   if test x${glibcxx_cv_func_sincos_use+set} != xset; then
10905     if test "${glibcxx_cv_func_sincos_use+set}" = set; then
10906   echo $ECHO_N "(cached) $ECHO_C" >&6
10907 else
10908
10909
10910
10911       ac_ext=cc
10912 ac_cpp='$CXXCPP $CPPFLAGS'
10913 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
10914 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
10915 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
10916
10917       cat >conftest.$ac_ext <<_ACEOF
10918 /* confdefs.h.  */
10919 _ACEOF
10920 cat confdefs.h >>conftest.$ac_ext
10921 cat >>conftest.$ac_ext <<_ACEOF
10922 /* end confdefs.h.  */
10923 #include <math.h>
10924 int
10925 main ()
10926 {
10927  sincos(0, 0, 0);
10928   ;
10929   return 0;
10930 }
10931 _ACEOF
10932 rm -f conftest.$ac_objext
10933 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10934   (eval $ac_compile) 2>conftest.er1
10935   ac_status=$?
10936   grep -v '^ *+' conftest.er1 >conftest.err
10937   rm -f conftest.er1
10938   cat conftest.err >&5
10939   echo "$as_me:$LINENO: \$? = $ac_status" >&5
10940   (exit $ac_status); } &&
10941          { ac_try='test -z "$ac_cxx_werror_flag"
10942                          || test ! -s conftest.err'
10943   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10944   (eval $ac_try) 2>&5
10945   ac_status=$?
10946   echo "$as_me:$LINENO: \$? = $ac_status" >&5
10947   (exit $ac_status); }; } &&
10948          { ac_try='test -s conftest.$ac_objext'
10949   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10950   (eval $ac_try) 2>&5
10951   ac_status=$?
10952   echo "$as_me:$LINENO: \$? = $ac_status" >&5
10953   (exit $ac_status); }; }; then
10954   glibcxx_cv_func_sincos_use=yes
10955 else
10956   echo "$as_me: failed program was:" >&5
10957 sed 's/^/| /' conftest.$ac_ext >&5
10958
10959 glibcxx_cv_func_sincos_use=no
10960 fi
10961 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
10962       ac_ext=c
10963 ac_cpp='$CPP $CPPFLAGS'
10964 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
10965 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
10966 ac_compiler_gnu=$ac_cv_c_compiler_gnu
10967
10968
10969 fi
10970
10971   fi
10972   echo "$as_me:$LINENO: result: $glibcxx_cv_func_sincos_use" >&5
10973 echo "${ECHO_T}$glibcxx_cv_func_sincos_use" >&6
10974
10975   if test x$glibcxx_cv_func_sincos_use = x"yes"; then
10976
10977 for ac_func in sincos
10978 do
10979 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
10980 echo "$as_me:$LINENO: checking for $ac_func" >&5
10981 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
10982 if eval "test \"\${$as_ac_var+set}\" = set"; then
10983   echo $ECHO_N "(cached) $ECHO_C" >&6
10984 else
10985   if test x$gcc_no_link = xyes; then
10986   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
10987 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
10988    { (exit 1); exit 1; }; }
10989 fi
10990 cat >conftest.$ac_ext <<_ACEOF
10991 /* confdefs.h.  */
10992 _ACEOF
10993 cat confdefs.h >>conftest.$ac_ext
10994 cat >>conftest.$ac_ext <<_ACEOF
10995 /* end confdefs.h.  */
10996 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
10997    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
10998 #define $ac_func innocuous_$ac_func
10999
11000 /* System header to define __stub macros and hopefully few prototypes,
11001     which can conflict with char $ac_func (); below.
11002     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
11003     <limits.h> exists even on freestanding compilers.  */
11004
11005 #ifdef __STDC__
11006 # include <limits.h>
11007 #else
11008 # include <assert.h>
11009 #endif
11010
11011 #undef $ac_func
11012
11013 /* Override any gcc2 internal prototype to avoid an error.  */
11014 #ifdef __cplusplus
11015 extern "C"
11016 {
11017 #endif
11018 /* We use char because int might match the return type of a gcc2
11019    builtin and then its argument prototype would still apply.  */
11020 char $ac_func ();
11021 /* The GNU C library defines this for functions which it implements
11022     to always fail with ENOSYS.  Some functions are actually named
11023     something starting with __ and the normal name is an alias.  */
11024 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
11025 choke me
11026 #else
11027 char (*f) () = $ac_func;
11028 #endif
11029 #ifdef __cplusplus
11030 }
11031 #endif
11032
11033 int
11034 main ()
11035 {
11036 return f != $ac_func;
11037   ;
11038   return 0;
11039 }
11040 _ACEOF
11041 rm -f conftest.$ac_objext conftest$ac_exeext
11042 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11043   (eval $ac_link) 2>conftest.er1
11044   ac_status=$?
11045   grep -v '^ *+' conftest.er1 >conftest.err
11046   rm -f conftest.er1
11047   cat conftest.err >&5
11048   echo "$as_me:$LINENO: \$? = $ac_status" >&5
11049   (exit $ac_status); } &&
11050          { ac_try='test -z "$ac_c_werror_flag"
11051                          || test ! -s conftest.err'
11052   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11053   (eval $ac_try) 2>&5
11054   ac_status=$?
11055   echo "$as_me:$LINENO: \$? = $ac_status" >&5
11056   (exit $ac_status); }; } &&
11057          { ac_try='test -s conftest$ac_exeext'
11058   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11059   (eval $ac_try) 2>&5
11060   ac_status=$?
11061   echo "$as_me:$LINENO: \$? = $ac_status" >&5
11062   (exit $ac_status); }; }; then
11063   eval "$as_ac_var=yes"
11064 else
11065   echo "$as_me: failed program was:" >&5
11066 sed 's/^/| /' conftest.$ac_ext >&5
11067
11068 eval "$as_ac_var=no"
11069 fi
11070 rm -f conftest.err conftest.$ac_objext \
11071       conftest$ac_exeext conftest.$ac_ext
11072 fi
11073 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
11074 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
11075 if test `eval echo '${'$as_ac_var'}'` = yes; then
11076   cat >>confdefs.h <<_ACEOF
11077 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
11078 _ACEOF
11079
11080 fi
11081 done
11082
11083   else
11084
11085   echo "$as_me:$LINENO: checking for _sincos declaration" >&5
11086 echo $ECHO_N "checking for _sincos declaration... $ECHO_C" >&6
11087   if test x${glibcxx_cv_func__sincos_use+set} != xset; then
11088     if test "${glibcxx_cv_func__sincos_use+set}" = set; then
11089   echo $ECHO_N "(cached) $ECHO_C" >&6
11090 else
11091
11092
11093
11094       ac_ext=cc
11095 ac_cpp='$CXXCPP $CPPFLAGS'
11096 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11097 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11098 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
11099
11100       cat >conftest.$ac_ext <<_ACEOF
11101 /* confdefs.h.  */
11102 _ACEOF
11103 cat confdefs.h >>conftest.$ac_ext
11104 cat >>conftest.$ac_ext <<_ACEOF
11105 /* end confdefs.h.  */
11106 #include <math.h>
11107 int
11108 main ()
11109 {
11110  _sincos(0, 0, 0);
11111   ;
11112   return 0;
11113 }
11114 _ACEOF
11115 rm -f conftest.$ac_objext
11116 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11117   (eval $ac_compile) 2>conftest.er1
11118   ac_status=$?
11119   grep -v '^ *+' conftest.er1 >conftest.err
11120   rm -f conftest.er1
11121   cat conftest.err >&5
11122   echo "$as_me:$LINENO: \$? = $ac_status" >&5
11123   (exit $ac_status); } &&
11124          { ac_try='test -z "$ac_cxx_werror_flag"
11125                          || test ! -s conftest.err'
11126   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11127   (eval $ac_try) 2>&5
11128   ac_status=$?
11129   echo "$as_me:$LINENO: \$? = $ac_status" >&5
11130   (exit $ac_status); }; } &&
11131          { ac_try='test -s conftest.$ac_objext'
11132   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11133   (eval $ac_try) 2>&5
11134   ac_status=$?
11135   echo "$as_me:$LINENO: \$? = $ac_status" >&5
11136   (exit $ac_status); }; }; then
11137   glibcxx_cv_func__sincos_use=yes
11138 else
11139   echo "$as_me: failed program was:" >&5
11140 sed 's/^/| /' conftest.$ac_ext >&5
11141
11142 glibcxx_cv_func__sincos_use=no
11143 fi
11144 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
11145       ac_ext=c
11146 ac_cpp='$CPP $CPPFLAGS'
11147 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11148 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11149 ac_compiler_gnu=$ac_cv_c_compiler_gnu
11150
11151
11152 fi
11153
11154   fi
11155   echo "$as_me:$LINENO: result: $glibcxx_cv_func__sincos_use" >&5
11156 echo "${ECHO_T}$glibcxx_cv_func__sincos_use" >&6
11157
11158     if test x$glibcxx_cv_func__sincos_use = x"yes"; then
11159
11160 for ac_func in _sincos
11161 do
11162 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
11163 echo "$as_me:$LINENO: checking for $ac_func" >&5
11164 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
11165 if eval "test \"\${$as_ac_var+set}\" = set"; then
11166   echo $ECHO_N "(cached) $ECHO_C" >&6
11167 else
11168   if test x$gcc_no_link = xyes; then
11169   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
11170 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
11171    { (exit 1); exit 1; }; }
11172 fi
11173 cat >conftest.$ac_ext <<_ACEOF
11174 /* confdefs.h.  */
11175 _ACEOF
11176 cat confdefs.h >>conftest.$ac_ext
11177 cat >>conftest.$ac_ext <<_ACEOF
11178 /* end confdefs.h.  */
11179 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
11180    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
11181 #define $ac_func innocuous_$ac_func
11182
11183 /* System header to define __stub macros and hopefully few prototypes,
11184     which can conflict with char $ac_func (); below.
11185     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
11186     <limits.h> exists even on freestanding compilers.  */
11187
11188 #ifdef __STDC__
11189 # include <limits.h>
11190 #else
11191 # include <assert.h>
11192 #endif
11193
11194 #undef $ac_func
11195
11196 /* Override any gcc2 internal prototype to avoid an error.  */
11197 #ifdef __cplusplus
11198 extern "C"
11199 {
11200 #endif
11201 /* We use char because int might match the return type of a gcc2
11202    builtin and then its argument prototype would still apply.  */
11203 char $ac_func ();
11204 /* The GNU C library defines this for functions which it implements
11205     to always fail with ENOSYS.  Some functions are actually named
11206     something starting with __ and the normal name is an alias.  */
11207 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
11208 choke me
11209 #else
11210 char (*f) () = $ac_func;
11211 #endif
11212 #ifdef __cplusplus
11213 }
11214 #endif
11215
11216 int
11217 main ()
11218 {
11219 return f != $ac_func;
11220   ;
11221   return 0;
11222 }
11223 _ACEOF
11224 rm -f conftest.$ac_objext conftest$ac_exeext
11225 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11226   (eval $ac_link) 2>conftest.er1
11227   ac_status=$?
11228   grep -v '^ *+' conftest.er1 >conftest.err
11229   rm -f conftest.er1
11230   cat conftest.err >&5
11231   echo "$as_me:$LINENO: \$? = $ac_status" >&5
11232   (exit $ac_status); } &&
11233          { ac_try='test -z "$ac_c_werror_flag"
11234                          || test ! -s conftest.err'
11235   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11236   (eval $ac_try) 2>&5
11237   ac_status=$?
11238   echo "$as_me:$LINENO: \$? = $ac_status" >&5
11239   (exit $ac_status); }; } &&
11240          { ac_try='test -s conftest$ac_exeext'
11241   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11242   (eval $ac_try) 2>&5
11243   ac_status=$?
11244   echo "$as_me:$LINENO: \$? = $ac_status" >&5
11245   (exit $ac_status); }; }; then
11246   eval "$as_ac_var=yes"
11247 else
11248   echo "$as_me: failed program was:" >&5
11249 sed 's/^/| /' conftest.$ac_ext >&5
11250
11251 eval "$as_ac_var=no"
11252 fi
11253 rm -f conftest.err conftest.$ac_objext \
11254       conftest$ac_exeext conftest.$ac_ext
11255 fi
11256 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
11257 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
11258 if test `eval echo '${'$as_ac_var'}'` = yes; then
11259   cat >>confdefs.h <<_ACEOF
11260 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
11261 _ACEOF
11262
11263 fi
11264 done
11265
11266     fi
11267   fi
11268
11269
11270
11271
11272
11273
11274   echo "$as_me:$LINENO: checking for fpclass declaration" >&5
11275 echo $ECHO_N "checking for fpclass declaration... $ECHO_C" >&6
11276   if test x${glibcxx_cv_func_fpclass_use+set} != xset; then
11277     if test "${glibcxx_cv_func_fpclass_use+set}" = set; then
11278   echo $ECHO_N "(cached) $ECHO_C" >&6
11279 else
11280
11281
11282
11283       ac_ext=cc
11284 ac_cpp='$CXXCPP $CPPFLAGS'
11285 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11286 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11287 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
11288
11289       cat >conftest.$ac_ext <<_ACEOF
11290 /* confdefs.h.  */
11291 _ACEOF
11292 cat confdefs.h >>conftest.$ac_ext
11293 cat >>conftest.$ac_ext <<_ACEOF
11294 /* end confdefs.h.  */
11295 #include <math.h>
11296                       #ifdef HAVE_IEEEFP_H
11297                       #include <ieeefp.h>
11298                       #endif
11299
11300 int
11301 main ()
11302 {
11303  fpclass(0);
11304   ;
11305   return 0;
11306 }
11307 _ACEOF
11308 rm -f conftest.$ac_objext
11309 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11310   (eval $ac_compile) 2>conftest.er1
11311   ac_status=$?
11312   grep -v '^ *+' conftest.er1 >conftest.err
11313   rm -f conftest.er1
11314   cat conftest.err >&5
11315   echo "$as_me:$LINENO: \$? = $ac_status" >&5
11316   (exit $ac_status); } &&
11317          { ac_try='test -z "$ac_cxx_werror_flag"
11318                          || test ! -s conftest.err'
11319   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11320   (eval $ac_try) 2>&5
11321   ac_status=$?
11322   echo "$as_me:$LINENO: \$? = $ac_status" >&5
11323   (exit $ac_status); }; } &&
11324          { ac_try='test -s conftest.$ac_objext'
11325   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11326   (eval $ac_try) 2>&5
11327   ac_status=$?
11328   echo "$as_me:$LINENO: \$? = $ac_status" >&5
11329   (exit $ac_status); }; }; then
11330   glibcxx_cv_func_fpclass_use=yes
11331 else
11332   echo "$as_me: failed program was:" >&5
11333 sed 's/^/| /' conftest.$ac_ext >&5
11334
11335 glibcxx_cv_func_fpclass_use=no
11336 fi
11337 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
11338       ac_ext=c
11339 ac_cpp='$CPP $CPPFLAGS'
11340 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11341 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11342 ac_compiler_gnu=$ac_cv_c_compiler_gnu
11343
11344
11345 fi
11346
11347   fi
11348   echo "$as_me:$LINENO: result: $glibcxx_cv_func_fpclass_use" >&5
11349 echo "${ECHO_T}$glibcxx_cv_func_fpclass_use" >&6
11350
11351   if test x$glibcxx_cv_func_fpclass_use = x"yes"; then
11352
11353 for ac_func in fpclass
11354 do
11355 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
11356 echo "$as_me:$LINENO: checking for $ac_func" >&5
11357 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
11358 if eval "test \"\${$as_ac_var+set}\" = set"; then
11359   echo $ECHO_N "(cached) $ECHO_C" >&6
11360 else
11361   if test x$gcc_no_link = xyes; then
11362   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
11363 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
11364    { (exit 1); exit 1; }; }
11365 fi
11366 cat >conftest.$ac_ext <<_ACEOF
11367 /* confdefs.h.  */
11368 _ACEOF
11369 cat confdefs.h >>conftest.$ac_ext
11370 cat >>conftest.$ac_ext <<_ACEOF
11371 /* end confdefs.h.  */
11372 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
11373    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
11374 #define $ac_func innocuous_$ac_func
11375
11376 /* System header to define __stub macros and hopefully few prototypes,
11377     which can conflict with char $ac_func (); below.
11378     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
11379     <limits.h> exists even on freestanding compilers.  */
11380
11381 #ifdef __STDC__
11382 # include <limits.h>
11383 #else
11384 # include <assert.h>
11385 #endif
11386
11387 #undef $ac_func
11388
11389 /* Override any gcc2 internal prototype to avoid an error.  */
11390 #ifdef __cplusplus
11391 extern "C"
11392 {
11393 #endif
11394 /* We use char because int might match the return type of a gcc2
11395    builtin and then its argument prototype would still apply.  */
11396 char $ac_func ();
11397 /* The GNU C library defines this for functions which it implements
11398     to always fail with ENOSYS.  Some functions are actually named
11399     something starting with __ and the normal name is an alias.  */
11400 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
11401 choke me
11402 #else
11403 char (*f) () = $ac_func;
11404 #endif
11405 #ifdef __cplusplus
11406 }
11407 #endif
11408
11409 int
11410 main ()
11411 {
11412 return f != $ac_func;
11413   ;
11414   return 0;
11415 }
11416 _ACEOF
11417 rm -f conftest.$ac_objext conftest$ac_exeext
11418 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11419   (eval $ac_link) 2>conftest.er1
11420   ac_status=$?
11421   grep -v '^ *+' conftest.er1 >conftest.err
11422   rm -f conftest.er1
11423   cat conftest.err >&5
11424   echo "$as_me:$LINENO: \$? = $ac_status" >&5
11425   (exit $ac_status); } &&
11426          { ac_try='test -z "$ac_c_werror_flag"
11427                          || test ! -s conftest.err'
11428   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11429   (eval $ac_try) 2>&5
11430   ac_status=$?
11431   echo "$as_me:$LINENO: \$? = $ac_status" >&5
11432   (exit $ac_status); }; } &&
11433          { ac_try='test -s conftest$ac_exeext'
11434   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11435   (eval $ac_try) 2>&5
11436   ac_status=$?
11437   echo "$as_me:$LINENO: \$? = $ac_status" >&5
11438   (exit $ac_status); }; }; then
11439   eval "$as_ac_var=yes"
11440 else
11441   echo "$as_me: failed program was:" >&5
11442 sed 's/^/| /' conftest.$ac_ext >&5
11443
11444 eval "$as_ac_var=no"
11445 fi
11446 rm -f conftest.err conftest.$ac_objext \
11447       conftest$ac_exeext conftest.$ac_ext
11448 fi
11449 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
11450 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
11451 if test `eval echo '${'$as_ac_var'}'` = yes; then
11452   cat >>confdefs.h <<_ACEOF
11453 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
11454 _ACEOF
11455
11456 fi
11457 done
11458
11459   else
11460
11461   echo "$as_me:$LINENO: checking for _fpclass declaration" >&5
11462 echo $ECHO_N "checking for _fpclass declaration... $ECHO_C" >&6
11463   if test x${glibcxx_cv_func__fpclass_use+set} != xset; then
11464     if test "${glibcxx_cv_func__fpclass_use+set}" = set; then
11465   echo $ECHO_N "(cached) $ECHO_C" >&6
11466 else
11467
11468
11469
11470       ac_ext=cc
11471 ac_cpp='$CXXCPP $CPPFLAGS'
11472 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11473 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11474 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
11475
11476       cat >conftest.$ac_ext <<_ACEOF
11477 /* confdefs.h.  */
11478 _ACEOF
11479 cat confdefs.h >>conftest.$ac_ext
11480 cat >>conftest.$ac_ext <<_ACEOF
11481 /* end confdefs.h.  */
11482 #include <math.h>
11483                       #ifdef HAVE_IEEEFP_H
11484                       #include <ieeefp.h>
11485                       #endif
11486
11487 int
11488 main ()
11489 {
11490  _fpclass(0);
11491   ;
11492   return 0;
11493 }
11494 _ACEOF
11495 rm -f conftest.$ac_objext
11496 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11497   (eval $ac_compile) 2>conftest.er1
11498   ac_status=$?
11499   grep -v '^ *+' conftest.er1 >conftest.err
11500   rm -f conftest.er1
11501   cat conftest.err >&5
11502   echo "$as_me:$LINENO: \$? = $ac_status" >&5
11503   (exit $ac_status); } &&
11504          { ac_try='test -z "$ac_cxx_werror_flag"
11505                          || test ! -s conftest.err'
11506   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11507   (eval $ac_try) 2>&5
11508   ac_status=$?
11509   echo "$as_me:$LINENO: \$? = $ac_status" >&5
11510   (exit $ac_status); }; } &&
11511          { ac_try='test -s conftest.$ac_objext'
11512   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11513   (eval $ac_try) 2>&5
11514   ac_status=$?
11515   echo "$as_me:$LINENO: \$? = $ac_status" >&5
11516   (exit $ac_status); }; }; then
11517   glibcxx_cv_func__fpclass_use=yes
11518 else
11519   echo "$as_me: failed program was:" >&5
11520 sed 's/^/| /' conftest.$ac_ext >&5
11521
11522 glibcxx_cv_func__fpclass_use=no
11523 fi
11524 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
11525       ac_ext=c
11526 ac_cpp='$CPP $CPPFLAGS'
11527 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11528 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11529 ac_compiler_gnu=$ac_cv_c_compiler_gnu
11530
11531
11532 fi
11533
11534   fi
11535   echo "$as_me:$LINENO: result: $glibcxx_cv_func__fpclass_use" >&5
11536 echo "${ECHO_T}$glibcxx_cv_func__fpclass_use" >&6
11537
11538     if test x$glibcxx_cv_func__fpclass_use = x"yes"; then
11539
11540 for ac_func in _fpclass
11541 do
11542 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
11543 echo "$as_me:$LINENO: checking for $ac_func" >&5
11544 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
11545 if eval "test \"\${$as_ac_var+set}\" = set"; then
11546   echo $ECHO_N "(cached) $ECHO_C" >&6
11547 else
11548   if test x$gcc_no_link = xyes; then
11549   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
11550 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
11551    { (exit 1); exit 1; }; }
11552 fi
11553 cat >conftest.$ac_ext <<_ACEOF
11554 /* confdefs.h.  */
11555 _ACEOF
11556 cat confdefs.h >>conftest.$ac_ext
11557 cat >>conftest.$ac_ext <<_ACEOF
11558 /* end confdefs.h.  */
11559 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
11560    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
11561 #define $ac_func innocuous_$ac_func
11562
11563 /* System header to define __stub macros and hopefully few prototypes,
11564     which can conflict with char $ac_func (); below.
11565     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
11566     <limits.h> exists even on freestanding compilers.  */
11567
11568 #ifdef __STDC__
11569 # include <limits.h>
11570 #else
11571 # include <assert.h>
11572 #endif
11573
11574 #undef $ac_func
11575
11576 /* Override any gcc2 internal prototype to avoid an error.  */
11577 #ifdef __cplusplus
11578 extern "C"
11579 {
11580 #endif
11581 /* We use char because int might match the return type of a gcc2
11582    builtin and then its argument prototype would still apply.  */
11583 char $ac_func ();
11584 /* The GNU C library defines this for functions which it implements
11585     to always fail with ENOSYS.  Some functions are actually named
11586     something starting with __ and the normal name is an alias.  */
11587 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
11588 choke me
11589 #else
11590 char (*f) () = $ac_func;
11591 #endif
11592 #ifdef __cplusplus
11593 }
11594 #endif
11595
11596 int
11597 main ()
11598 {
11599 return f != $ac_func;
11600   ;
11601   return 0;
11602 }
11603 _ACEOF
11604 rm -f conftest.$ac_objext conftest$ac_exeext
11605 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11606   (eval $ac_link) 2>conftest.er1
11607   ac_status=$?
11608   grep -v '^ *+' conftest.er1 >conftest.err
11609   rm -f conftest.er1
11610   cat conftest.err >&5
11611   echo "$as_me:$LINENO: \$? = $ac_status" >&5
11612   (exit $ac_status); } &&
11613          { ac_try='test -z "$ac_c_werror_flag"
11614                          || test ! -s conftest.err'
11615   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11616   (eval $ac_try) 2>&5
11617   ac_status=$?
11618   echo "$as_me:$LINENO: \$? = $ac_status" >&5
11619   (exit $ac_status); }; } &&
11620          { ac_try='test -s conftest$ac_exeext'
11621   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11622   (eval $ac_try) 2>&5
11623   ac_status=$?
11624   echo "$as_me:$LINENO: \$? = $ac_status" >&5
11625   (exit $ac_status); }; }; then
11626   eval "$as_ac_var=yes"
11627 else
11628   echo "$as_me: failed program was:" >&5
11629 sed 's/^/| /' conftest.$ac_ext >&5
11630
11631 eval "$as_ac_var=no"
11632 fi
11633 rm -f conftest.err conftest.$ac_objext \
11634       conftest$ac_exeext conftest.$ac_ext
11635 fi
11636 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
11637 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
11638 if test `eval echo '${'$as_ac_var'}'` = yes; then
11639   cat >>confdefs.h <<_ACEOF
11640 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
11641 _ACEOF
11642
11643 fi
11644 done
11645
11646     fi
11647   fi
11648
11649
11650
11651
11652
11653
11654   echo "$as_me:$LINENO: checking for qfpclass declaration" >&5
11655 echo $ECHO_N "checking for qfpclass declaration... $ECHO_C" >&6
11656   if test x${glibcxx_cv_func_qfpclass_use+set} != xset; then
11657     if test "${glibcxx_cv_func_qfpclass_use+set}" = set; then
11658   echo $ECHO_N "(cached) $ECHO_C" >&6
11659 else
11660
11661
11662
11663       ac_ext=cc
11664 ac_cpp='$CXXCPP $CPPFLAGS'
11665 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11666 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11667 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
11668
11669       cat >conftest.$ac_ext <<_ACEOF
11670 /* confdefs.h.  */
11671 _ACEOF
11672 cat confdefs.h >>conftest.$ac_ext
11673 cat >>conftest.$ac_ext <<_ACEOF
11674 /* end confdefs.h.  */
11675 #include <math.h>
11676                       #ifdef HAVE_IEEEFP_H
11677                       #include <ieeefp.h>
11678                       #endif
11679
11680 int
11681 main ()
11682 {
11683  qfpclass(0);
11684   ;
11685   return 0;
11686 }
11687 _ACEOF
11688 rm -f conftest.$ac_objext
11689 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11690   (eval $ac_compile) 2>conftest.er1
11691   ac_status=$?
11692   grep -v '^ *+' conftest.er1 >conftest.err
11693   rm -f conftest.er1
11694   cat conftest.err >&5
11695   echo "$as_me:$LINENO: \$? = $ac_status" >&5
11696   (exit $ac_status); } &&
11697          { ac_try='test -z "$ac_cxx_werror_flag"
11698                          || test ! -s conftest.err'
11699   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11700   (eval $ac_try) 2>&5
11701   ac_status=$?
11702   echo "$as_me:$LINENO: \$? = $ac_status" >&5
11703   (exit $ac_status); }; } &&
11704          { ac_try='test -s conftest.$ac_objext'
11705   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11706   (eval $ac_try) 2>&5
11707   ac_status=$?
11708   echo "$as_me:$LINENO: \$? = $ac_status" >&5
11709   (exit $ac_status); }; }; then
11710   glibcxx_cv_func_qfpclass_use=yes
11711 else
11712   echo "$as_me: failed program was:" >&5
11713 sed 's/^/| /' conftest.$ac_ext >&5
11714
11715 glibcxx_cv_func_qfpclass_use=no
11716 fi
11717 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
11718       ac_ext=c
11719 ac_cpp='$CPP $CPPFLAGS'
11720 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11721 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11722 ac_compiler_gnu=$ac_cv_c_compiler_gnu
11723
11724
11725 fi
11726
11727   fi
11728   echo "$as_me:$LINENO: result: $glibcxx_cv_func_qfpclass_use" >&5
11729 echo "${ECHO_T}$glibcxx_cv_func_qfpclass_use" >&6
11730
11731   if test x$glibcxx_cv_func_qfpclass_use = x"yes"; then
11732
11733 for ac_func in qfpclass
11734 do
11735 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
11736 echo "$as_me:$LINENO: checking for $ac_func" >&5
11737 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
11738 if eval "test \"\${$as_ac_var+set}\" = set"; then
11739   echo $ECHO_N "(cached) $ECHO_C" >&6
11740 else
11741   if test x$gcc_no_link = xyes; then
11742   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
11743 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
11744    { (exit 1); exit 1; }; }
11745 fi
11746 cat >conftest.$ac_ext <<_ACEOF
11747 /* confdefs.h.  */
11748 _ACEOF
11749 cat confdefs.h >>conftest.$ac_ext
11750 cat >>conftest.$ac_ext <<_ACEOF
11751 /* end confdefs.h.  */
11752 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
11753    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
11754 #define $ac_func innocuous_$ac_func
11755
11756 /* System header to define __stub macros and hopefully few prototypes,
11757     which can conflict with char $ac_func (); below.
11758     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
11759     <limits.h> exists even on freestanding compilers.  */
11760
11761 #ifdef __STDC__
11762 # include <limits.h>
11763 #else
11764 # include <assert.h>
11765 #endif
11766
11767 #undef $ac_func
11768
11769 /* Override any gcc2 internal prototype to avoid an error.  */
11770 #ifdef __cplusplus
11771 extern "C"
11772 {
11773 #endif
11774 /* We use char because int might match the return type of a gcc2
11775    builtin and then its argument prototype would still apply.  */
11776 char $ac_func ();
11777 /* The GNU C library defines this for functions which it implements
11778     to always fail with ENOSYS.  Some functions are actually named
11779     something starting with __ and the normal name is an alias.  */
11780 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
11781 choke me
11782 #else
11783 char (*f) () = $ac_func;
11784 #endif
11785 #ifdef __cplusplus
11786 }
11787 #endif
11788
11789 int
11790 main ()
11791 {
11792 return f != $ac_func;
11793   ;
11794   return 0;
11795 }
11796 _ACEOF
11797 rm -f conftest.$ac_objext conftest$ac_exeext
11798 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11799   (eval $ac_link) 2>conftest.er1
11800   ac_status=$?
11801   grep -v '^ *+' conftest.er1 >conftest.err
11802   rm -f conftest.er1
11803   cat conftest.err >&5
11804   echo "$as_me:$LINENO: \$? = $ac_status" >&5
11805   (exit $ac_status); } &&
11806          { ac_try='test -z "$ac_c_werror_flag"
11807                          || test ! -s conftest.err'
11808   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11809   (eval $ac_try) 2>&5
11810   ac_status=$?
11811   echo "$as_me:$LINENO: \$? = $ac_status" >&5
11812   (exit $ac_status); }; } &&
11813          { ac_try='test -s conftest$ac_exeext'
11814   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11815   (eval $ac_try) 2>&5
11816   ac_status=$?
11817   echo "$as_me:$LINENO: \$? = $ac_status" >&5
11818   (exit $ac_status); }; }; then
11819   eval "$as_ac_var=yes"
11820 else
11821   echo "$as_me: failed program was:" >&5
11822 sed 's/^/| /' conftest.$ac_ext >&5
11823
11824 eval "$as_ac_var=no"
11825 fi
11826 rm -f conftest.err conftest.$ac_objext \
11827       conftest$ac_exeext conftest.$ac_ext
11828 fi
11829 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
11830 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
11831 if test `eval echo '${'$as_ac_var'}'` = yes; then
11832   cat >>confdefs.h <<_ACEOF
11833 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
11834 _ACEOF
11835
11836 fi
11837 done
11838
11839   else
11840
11841   echo "$as_me:$LINENO: checking for _qfpclass declaration" >&5
11842 echo $ECHO_N "checking for _qfpclass declaration... $ECHO_C" >&6
11843   if test x${glibcxx_cv_func__qfpclass_use+set} != xset; then
11844     if test "${glibcxx_cv_func__qfpclass_use+set}" = set; then
11845   echo $ECHO_N "(cached) $ECHO_C" >&6
11846 else
11847
11848
11849
11850       ac_ext=cc
11851 ac_cpp='$CXXCPP $CPPFLAGS'
11852 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11853 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11854 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
11855
11856       cat >conftest.$ac_ext <<_ACEOF
11857 /* confdefs.h.  */
11858 _ACEOF
11859 cat confdefs.h >>conftest.$ac_ext
11860 cat >>conftest.$ac_ext <<_ACEOF
11861 /* end confdefs.h.  */
11862 #include <math.h>
11863                       #ifdef HAVE_IEEEFP_H
11864                       #include <ieeefp.h>
11865                       #endif
11866
11867 int
11868 main ()
11869 {
11870  _qfpclass(0);
11871   ;
11872   return 0;
11873 }
11874 _ACEOF
11875 rm -f conftest.$ac_objext
11876 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11877   (eval $ac_compile) 2>conftest.er1
11878   ac_status=$?
11879   grep -v '^ *+' conftest.er1 >conftest.err
11880   rm -f conftest.er1
11881   cat conftest.err >&5
11882   echo "$as_me:$LINENO: \$? = $ac_status" >&5
11883   (exit $ac_status); } &&
11884          { ac_try='test -z "$ac_cxx_werror_flag"
11885                          || test ! -s conftest.err'
11886   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11887   (eval $ac_try) 2>&5
11888   ac_status=$?
11889   echo "$as_me:$LINENO: \$? = $ac_status" >&5
11890   (exit $ac_status); }; } &&
11891          { ac_try='test -s conftest.$ac_objext'
11892   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11893   (eval $ac_try) 2>&5
11894   ac_status=$?
11895   echo "$as_me:$LINENO: \$? = $ac_status" >&5
11896   (exit $ac_status); }; }; then
11897   glibcxx_cv_func__qfpclass_use=yes
11898 else
11899   echo "$as_me: failed program was:" >&5
11900 sed 's/^/| /' conftest.$ac_ext >&5
11901
11902 glibcxx_cv_func__qfpclass_use=no
11903 fi
11904 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
11905       ac_ext=c
11906 ac_cpp='$CPP $CPPFLAGS'
11907 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11908 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11909 ac_compiler_gnu=$ac_cv_c_compiler_gnu
11910
11911
11912 fi
11913
11914   fi
11915   echo "$as_me:$LINENO: result: $glibcxx_cv_func__qfpclass_use" >&5
11916 echo "${ECHO_T}$glibcxx_cv_func__qfpclass_use" >&6
11917
11918     if test x$glibcxx_cv_func__qfpclass_use = x"yes"; then
11919
11920 for ac_func in _qfpclass
11921 do
11922 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
11923 echo "$as_me:$LINENO: checking for $ac_func" >&5
11924 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
11925 if eval "test \"\${$as_ac_var+set}\" = set"; then
11926   echo $ECHO_N "(cached) $ECHO_C" >&6
11927 else
11928   if test x$gcc_no_link = xyes; then
11929   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
11930 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
11931    { (exit 1); exit 1; }; }
11932 fi
11933 cat >conftest.$ac_ext <<_ACEOF
11934 /* confdefs.h.  */
11935 _ACEOF
11936 cat confdefs.h >>conftest.$ac_ext
11937 cat >>conftest.$ac_ext <<_ACEOF
11938 /* end confdefs.h.  */
11939 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
11940    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
11941 #define $ac_func innocuous_$ac_func
11942
11943 /* System header to define __stub macros and hopefully few prototypes,
11944     which can conflict with char $ac_func (); below.
11945     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
11946     <limits.h> exists even on freestanding compilers.  */
11947
11948 #ifdef __STDC__
11949 # include <limits.h>
11950 #else
11951 # include <assert.h>
11952 #endif
11953
11954 #undef $ac_func
11955
11956 /* Override any gcc2 internal prototype to avoid an error.  */
11957 #ifdef __cplusplus
11958 extern "C"
11959 {
11960 #endif
11961 /* We use char because int might match the return type of a gcc2
11962    builtin and then its argument prototype would still apply.  */
11963 char $ac_func ();
11964 /* The GNU C library defines this for functions which it implements
11965     to always fail with ENOSYS.  Some functions are actually named
11966     something starting with __ and the normal name is an alias.  */
11967 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
11968 choke me
11969 #else
11970 char (*f) () = $ac_func;
11971 #endif
11972 #ifdef __cplusplus
11973 }
11974 #endif
11975
11976 int
11977 main ()
11978 {
11979 return f != $ac_func;
11980   ;
11981   return 0;
11982 }
11983 _ACEOF
11984 rm -f conftest.$ac_objext conftest$ac_exeext
11985 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11986   (eval $ac_link) 2>conftest.er1
11987   ac_status=$?
11988   grep -v '^ *+' conftest.er1 >conftest.err
11989   rm -f conftest.er1
11990   cat conftest.err >&5
11991   echo "$as_me:$LINENO: \$? = $ac_status" >&5
11992   (exit $ac_status); } &&
11993          { ac_try='test -z "$ac_c_werror_flag"
11994                          || test ! -s conftest.err'
11995   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11996   (eval $ac_try) 2>&5
11997   ac_status=$?
11998   echo "$as_me:$LINENO: \$? = $ac_status" >&5
11999   (exit $ac_status); }; } &&
12000          { ac_try='test -s conftest$ac_exeext'
12001   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12002   (eval $ac_try) 2>&5
12003   ac_status=$?
12004   echo "$as_me:$LINENO: \$? = $ac_status" >&5
12005   (exit $ac_status); }; }; then
12006   eval "$as_ac_var=yes"
12007 else
12008   echo "$as_me: failed program was:" >&5
12009 sed 's/^/| /' conftest.$ac_ext >&5
12010
12011 eval "$as_ac_var=no"
12012 fi
12013 rm -f conftest.err conftest.$ac_objext \
12014       conftest$ac_exeext conftest.$ac_ext
12015 fi
12016 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
12017 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
12018 if test `eval echo '${'$as_ac_var'}'` = yes; then
12019   cat >>confdefs.h <<_ACEOF
12020 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
12021 _ACEOF
12022
12023 fi
12024 done
12025
12026     fi
12027   fi
12028
12029
12030
12031
12032
12033
12034   echo "$as_me:$LINENO: checking for hypot declaration" >&5
12035 echo $ECHO_N "checking for hypot declaration... $ECHO_C" >&6
12036   if test x${glibcxx_cv_func_hypot_use+set} != xset; then
12037     if test "${glibcxx_cv_func_hypot_use+set}" = set; then
12038   echo $ECHO_N "(cached) $ECHO_C" >&6
12039 else
12040
12041
12042
12043       ac_ext=cc
12044 ac_cpp='$CXXCPP $CPPFLAGS'
12045 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12046 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12047 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
12048
12049       cat >conftest.$ac_ext <<_ACEOF
12050 /* confdefs.h.  */
12051 _ACEOF
12052 cat confdefs.h >>conftest.$ac_ext
12053 cat >>conftest.$ac_ext <<_ACEOF
12054 /* end confdefs.h.  */
12055 #include <math.h>
12056 int
12057 main ()
12058 {
12059  hypot(0, 0);
12060   ;
12061   return 0;
12062 }
12063 _ACEOF
12064 rm -f conftest.$ac_objext
12065 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12066   (eval $ac_compile) 2>conftest.er1
12067   ac_status=$?
12068   grep -v '^ *+' conftest.er1 >conftest.err
12069   rm -f conftest.er1
12070   cat conftest.err >&5
12071   echo "$as_me:$LINENO: \$? = $ac_status" >&5
12072   (exit $ac_status); } &&
12073          { ac_try='test -z "$ac_cxx_werror_flag"
12074                          || test ! -s conftest.err'
12075   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12076   (eval $ac_try) 2>&5
12077   ac_status=$?
12078   echo "$as_me:$LINENO: \$? = $ac_status" >&5
12079   (exit $ac_status); }; } &&
12080          { ac_try='test -s conftest.$ac_objext'
12081   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12082   (eval $ac_try) 2>&5
12083   ac_status=$?
12084   echo "$as_me:$LINENO: \$? = $ac_status" >&5
12085   (exit $ac_status); }; }; then
12086   glibcxx_cv_func_hypot_use=yes
12087 else
12088   echo "$as_me: failed program was:" >&5
12089 sed 's/^/| /' conftest.$ac_ext >&5
12090
12091 glibcxx_cv_func_hypot_use=no
12092 fi
12093 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
12094       ac_ext=c
12095 ac_cpp='$CPP $CPPFLAGS'
12096 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12097 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12098 ac_compiler_gnu=$ac_cv_c_compiler_gnu
12099
12100
12101 fi
12102
12103   fi
12104   echo "$as_me:$LINENO: result: $glibcxx_cv_func_hypot_use" >&5
12105 echo "${ECHO_T}$glibcxx_cv_func_hypot_use" >&6
12106
12107   if test x$glibcxx_cv_func_hypot_use = x"yes"; then
12108
12109 for ac_func in hypot
12110 do
12111 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
12112 echo "$as_me:$LINENO: checking for $ac_func" >&5
12113 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
12114 if eval "test \"\${$as_ac_var+set}\" = set"; then
12115   echo $ECHO_N "(cached) $ECHO_C" >&6
12116 else
12117   if test x$gcc_no_link = xyes; then
12118   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
12119 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
12120    { (exit 1); exit 1; }; }
12121 fi
12122 cat >conftest.$ac_ext <<_ACEOF
12123 /* confdefs.h.  */
12124 _ACEOF
12125 cat confdefs.h >>conftest.$ac_ext
12126 cat >>conftest.$ac_ext <<_ACEOF
12127 /* end confdefs.h.  */
12128 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
12129    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
12130 #define $ac_func innocuous_$ac_func
12131
12132 /* System header to define __stub macros and hopefully few prototypes,
12133     which can conflict with char $ac_func (); below.
12134     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
12135     <limits.h> exists even on freestanding compilers.  */
12136
12137 #ifdef __STDC__
12138 # include <limits.h>
12139 #else
12140 # include <assert.h>
12141 #endif
12142
12143 #undef $ac_func
12144
12145 /* Override any gcc2 internal prototype to avoid an error.  */
12146 #ifdef __cplusplus
12147 extern "C"
12148 {
12149 #endif
12150 /* We use char because int might match the return type of a gcc2
12151    builtin and then its argument prototype would still apply.  */
12152 char $ac_func ();
12153 /* The GNU C library defines this for functions which it implements
12154     to always fail with ENOSYS.  Some functions are actually named
12155     something starting with __ and the normal name is an alias.  */
12156 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
12157 choke me
12158 #else
12159 char (*f) () = $ac_func;
12160 #endif
12161 #ifdef __cplusplus
12162 }
12163 #endif
12164
12165 int
12166 main ()
12167 {
12168 return f != $ac_func;
12169   ;
12170   return 0;
12171 }
12172 _ACEOF
12173 rm -f conftest.$ac_objext conftest$ac_exeext
12174 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12175   (eval $ac_link) 2>conftest.er1
12176   ac_status=$?
12177   grep -v '^ *+' conftest.er1 >conftest.err
12178   rm -f conftest.er1
12179   cat conftest.err >&5
12180   echo "$as_me:$LINENO: \$? = $ac_status" >&5
12181   (exit $ac_status); } &&
12182          { ac_try='test -z "$ac_c_werror_flag"
12183                          || test ! -s conftest.err'
12184   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12185   (eval $ac_try) 2>&5
12186   ac_status=$?
12187   echo "$as_me:$LINENO: \$? = $ac_status" >&5
12188   (exit $ac_status); }; } &&
12189          { ac_try='test -s conftest$ac_exeext'
12190   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12191   (eval $ac_try) 2>&5
12192   ac_status=$?
12193   echo "$as_me:$LINENO: \$? = $ac_status" >&5
12194   (exit $ac_status); }; }; then
12195   eval "$as_ac_var=yes"
12196 else
12197   echo "$as_me: failed program was:" >&5
12198 sed 's/^/| /' conftest.$ac_ext >&5
12199
12200 eval "$as_ac_var=no"
12201 fi
12202 rm -f conftest.err conftest.$ac_objext \
12203       conftest$ac_exeext conftest.$ac_ext
12204 fi
12205 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
12206 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
12207 if test `eval echo '${'$as_ac_var'}'` = yes; then
12208   cat >>confdefs.h <<_ACEOF
12209 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
12210 _ACEOF
12211
12212 fi
12213 done
12214
12215   else
12216
12217   echo "$as_me:$LINENO: checking for _hypot declaration" >&5
12218 echo $ECHO_N "checking for _hypot declaration... $ECHO_C" >&6
12219   if test x${glibcxx_cv_func__hypot_use+set} != xset; then
12220     if test "${glibcxx_cv_func__hypot_use+set}" = set; then
12221   echo $ECHO_N "(cached) $ECHO_C" >&6
12222 else
12223
12224
12225
12226       ac_ext=cc
12227 ac_cpp='$CXXCPP $CPPFLAGS'
12228 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12229 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12230 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
12231
12232       cat >conftest.$ac_ext <<_ACEOF
12233 /* confdefs.h.  */
12234 _ACEOF
12235 cat confdefs.h >>conftest.$ac_ext
12236 cat >>conftest.$ac_ext <<_ACEOF
12237 /* end confdefs.h.  */
12238 #include <math.h>
12239 int
12240 main ()
12241 {
12242  _hypot(0, 0);
12243   ;
12244   return 0;
12245 }
12246 _ACEOF
12247 rm -f conftest.$ac_objext
12248 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12249   (eval $ac_compile) 2>conftest.er1
12250   ac_status=$?
12251   grep -v '^ *+' conftest.er1 >conftest.err
12252   rm -f conftest.er1
12253   cat conftest.err >&5
12254   echo "$as_me:$LINENO: \$? = $ac_status" >&5
12255   (exit $ac_status); } &&
12256          { ac_try='test -z "$ac_cxx_werror_flag"
12257                          || test ! -s conftest.err'
12258   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12259   (eval $ac_try) 2>&5
12260   ac_status=$?
12261   echo "$as_me:$LINENO: \$? = $ac_status" >&5
12262   (exit $ac_status); }; } &&
12263          { ac_try='test -s conftest.$ac_objext'
12264   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12265   (eval $ac_try) 2>&5
12266   ac_status=$?
12267   echo "$as_me:$LINENO: \$? = $ac_status" >&5
12268   (exit $ac_status); }; }; then
12269   glibcxx_cv_func__hypot_use=yes
12270 else
12271   echo "$as_me: failed program was:" >&5
12272 sed 's/^/| /' conftest.$ac_ext >&5
12273
12274 glibcxx_cv_func__hypot_use=no
12275 fi
12276 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
12277       ac_ext=c
12278 ac_cpp='$CPP $CPPFLAGS'
12279 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12280 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12281 ac_compiler_gnu=$ac_cv_c_compiler_gnu
12282
12283
12284 fi
12285
12286   fi
12287   echo "$as_me:$LINENO: result: $glibcxx_cv_func__hypot_use" >&5
12288 echo "${ECHO_T}$glibcxx_cv_func__hypot_use" >&6
12289
12290     if test x$glibcxx_cv_func__hypot_use = x"yes"; then
12291
12292 for ac_func in _hypot
12293 do
12294 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
12295 echo "$as_me:$LINENO: checking for $ac_func" >&5
12296 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
12297 if eval "test \"\${$as_ac_var+set}\" = set"; then
12298   echo $ECHO_N "(cached) $ECHO_C" >&6
12299 else
12300   if test x$gcc_no_link = xyes; then
12301   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
12302 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
12303    { (exit 1); exit 1; }; }
12304 fi
12305 cat >conftest.$ac_ext <<_ACEOF
12306 /* confdefs.h.  */
12307 _ACEOF
12308 cat confdefs.h >>conftest.$ac_ext
12309 cat >>conftest.$ac_ext <<_ACEOF
12310 /* end confdefs.h.  */
12311 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
12312    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
12313 #define $ac_func innocuous_$ac_func
12314
12315 /* System header to define __stub macros and hopefully few prototypes,
12316     which can conflict with char $ac_func (); below.
12317     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
12318     <limits.h> exists even on freestanding compilers.  */
12319
12320 #ifdef __STDC__
12321 # include <limits.h>
12322 #else
12323 # include <assert.h>
12324 #endif
12325
12326 #undef $ac_func
12327
12328 /* Override any gcc2 internal prototype to avoid an error.  */
12329 #ifdef __cplusplus
12330 extern "C"
12331 {
12332 #endif
12333 /* We use char because int might match the return type of a gcc2
12334    builtin and then its argument prototype would still apply.  */
12335 char $ac_func ();
12336 /* The GNU C library defines this for functions which it implements
12337     to always fail with ENOSYS.  Some functions are actually named
12338     something starting with __ and the normal name is an alias.  */
12339 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
12340 choke me
12341 #else
12342 char (*f) () = $ac_func;
12343 #endif
12344 #ifdef __cplusplus
12345 }
12346 #endif
12347
12348 int
12349 main ()
12350 {
12351 return f != $ac_func;
12352   ;
12353   return 0;
12354 }
12355 _ACEOF
12356 rm -f conftest.$ac_objext conftest$ac_exeext
12357 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12358   (eval $ac_link) 2>conftest.er1
12359   ac_status=$?
12360   grep -v '^ *+' conftest.er1 >conftest.err
12361   rm -f conftest.er1
12362   cat conftest.err >&5
12363   echo "$as_me:$LINENO: \$? = $ac_status" >&5
12364   (exit $ac_status); } &&
12365          { ac_try='test -z "$ac_c_werror_flag"
12366                          || test ! -s conftest.err'
12367   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12368   (eval $ac_try) 2>&5
12369   ac_status=$?
12370   echo "$as_me:$LINENO: \$? = $ac_status" >&5
12371   (exit $ac_status); }; } &&
12372          { ac_try='test -s conftest$ac_exeext'
12373   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12374   (eval $ac_try) 2>&5
12375   ac_status=$?
12376   echo "$as_me:$LINENO: \$? = $ac_status" >&5
12377   (exit $ac_status); }; }; then
12378   eval "$as_ac_var=yes"
12379 else
12380   echo "$as_me: failed program was:" >&5
12381 sed 's/^/| /' conftest.$ac_ext >&5
12382
12383 eval "$as_ac_var=no"
12384 fi
12385 rm -f conftest.err conftest.$ac_objext \
12386       conftest$ac_exeext conftest.$ac_ext
12387 fi
12388 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
12389 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
12390 if test `eval echo '${'$as_ac_var'}'` = yes; then
12391   cat >>confdefs.h <<_ACEOF
12392 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
12393 _ACEOF
12394
12395 fi
12396 done
12397
12398     fi
12399   fi
12400
12401
12402
12403
12404
12405
12406     echo "$as_me:$LINENO: checking for float trig functions" >&5
12407 echo $ECHO_N "checking for float trig functions... $ECHO_C" >&6
12408   if test "${glibcxx_cv_func_float_trig_use+set}" = set; then
12409   echo $ECHO_N "(cached) $ECHO_C" >&6
12410 else
12411
12412
12413
12414     ac_ext=cc
12415 ac_cpp='$CXXCPP $CPPFLAGS'
12416 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12417 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12418 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
12419
12420     cat >conftest.$ac_ext <<_ACEOF
12421 /* confdefs.h.  */
12422 _ACEOF
12423 cat confdefs.h >>conftest.$ac_ext
12424 cat >>conftest.$ac_ext <<_ACEOF
12425 /* end confdefs.h.  */
12426 #include <math.h>
12427 int
12428 main ()
12429 {
12430 acosf (0); asinf (0); atanf (0); cosf (0); sinf (0); tanf (0); coshf (0); sinhf (0); tanhf (0);
12431   ;
12432   return 0;
12433 }
12434 _ACEOF
12435 rm -f conftest.$ac_objext
12436 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12437   (eval $ac_compile) 2>conftest.er1
12438   ac_status=$?
12439   grep -v '^ *+' conftest.er1 >conftest.err
12440   rm -f conftest.er1
12441   cat conftest.err >&5
12442   echo "$as_me:$LINENO: \$? = $ac_status" >&5
12443   (exit $ac_status); } &&
12444          { ac_try='test -z "$ac_cxx_werror_flag"
12445                          || test ! -s conftest.err'
12446   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12447   (eval $ac_try) 2>&5
12448   ac_status=$?
12449   echo "$as_me:$LINENO: \$? = $ac_status" >&5
12450   (exit $ac_status); }; } &&
12451          { ac_try='test -s conftest.$ac_objext'
12452   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12453   (eval $ac_try) 2>&5
12454   ac_status=$?
12455   echo "$as_me:$LINENO: \$? = $ac_status" >&5
12456   (exit $ac_status); }; }; then
12457   glibcxx_cv_func_float_trig_use=yes
12458 else
12459   echo "$as_me: failed program was:" >&5
12460 sed 's/^/| /' conftest.$ac_ext >&5
12461
12462 glibcxx_cv_func_float_trig_use=no
12463 fi
12464 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
12465     ac_ext=c
12466 ac_cpp='$CPP $CPPFLAGS'
12467 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12468 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12469 ac_compiler_gnu=$ac_cv_c_compiler_gnu
12470
12471 fi
12472
12473   echo "$as_me:$LINENO: result: $glibcxx_cv_func_float_trig_use" >&5
12474 echo "${ECHO_T}$glibcxx_cv_func_float_trig_use" >&6
12475   if test x$glibcxx_cv_func_float_trig_use = x"yes"; then
12476
12477
12478
12479
12480
12481
12482
12483
12484
12485 for ac_func in acosf asinf atanf cosf sinf tanf coshf sinhf tanhf
12486 do
12487 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
12488 echo "$as_me:$LINENO: checking for $ac_func" >&5
12489 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
12490 if eval "test \"\${$as_ac_var+set}\" = set"; then
12491   echo $ECHO_N "(cached) $ECHO_C" >&6
12492 else
12493   if test x$gcc_no_link = xyes; then
12494   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
12495 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
12496    { (exit 1); exit 1; }; }
12497 fi
12498 cat >conftest.$ac_ext <<_ACEOF
12499 /* confdefs.h.  */
12500 _ACEOF
12501 cat confdefs.h >>conftest.$ac_ext
12502 cat >>conftest.$ac_ext <<_ACEOF
12503 /* end confdefs.h.  */
12504 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
12505    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
12506 #define $ac_func innocuous_$ac_func
12507
12508 /* System header to define __stub macros and hopefully few prototypes,
12509     which can conflict with char $ac_func (); below.
12510     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
12511     <limits.h> exists even on freestanding compilers.  */
12512
12513 #ifdef __STDC__
12514 # include <limits.h>
12515 #else
12516 # include <assert.h>
12517 #endif
12518
12519 #undef $ac_func
12520
12521 /* Override any gcc2 internal prototype to avoid an error.  */
12522 #ifdef __cplusplus
12523 extern "C"
12524 {
12525 #endif
12526 /* We use char because int might match the return type of a gcc2
12527    builtin and then its argument prototype would still apply.  */
12528 char $ac_func ();
12529 /* The GNU C library defines this for functions which it implements
12530     to always fail with ENOSYS.  Some functions are actually named
12531     something starting with __ and the normal name is an alias.  */
12532 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
12533 choke me
12534 #else
12535 char (*f) () = $ac_func;
12536 #endif
12537 #ifdef __cplusplus
12538 }
12539 #endif
12540
12541 int
12542 main ()
12543 {
12544 return f != $ac_func;
12545   ;
12546   return 0;
12547 }
12548 _ACEOF
12549 rm -f conftest.$ac_objext conftest$ac_exeext
12550 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12551   (eval $ac_link) 2>conftest.er1
12552   ac_status=$?
12553   grep -v '^ *+' conftest.er1 >conftest.err
12554   rm -f conftest.er1
12555   cat conftest.err >&5
12556   echo "$as_me:$LINENO: \$? = $ac_status" >&5
12557   (exit $ac_status); } &&
12558          { ac_try='test -z "$ac_c_werror_flag"
12559                          || test ! -s conftest.err'
12560   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12561   (eval $ac_try) 2>&5
12562   ac_status=$?
12563   echo "$as_me:$LINENO: \$? = $ac_status" >&5
12564   (exit $ac_status); }; } &&
12565          { ac_try='test -s conftest$ac_exeext'
12566   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12567   (eval $ac_try) 2>&5
12568   ac_status=$?
12569   echo "$as_me:$LINENO: \$? = $ac_status" >&5
12570   (exit $ac_status); }; }; then
12571   eval "$as_ac_var=yes"
12572 else
12573   echo "$as_me: failed program was:" >&5
12574 sed 's/^/| /' conftest.$ac_ext >&5
12575
12576 eval "$as_ac_var=no"
12577 fi
12578 rm -f conftest.err conftest.$ac_objext \
12579       conftest$ac_exeext conftest.$ac_ext
12580 fi
12581 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
12582 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
12583 if test `eval echo '${'$as_ac_var'}'` = yes; then
12584   cat >>confdefs.h <<_ACEOF
12585 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
12586 _ACEOF
12587
12588 fi
12589 done
12590
12591   else
12592     echo "$as_me:$LINENO: checking for _float trig functions" >&5
12593 echo $ECHO_N "checking for _float trig functions... $ECHO_C" >&6
12594     if test "${glibcxx_cv_func__float_trig_use+set}" = set; then
12595   echo $ECHO_N "(cached) $ECHO_C" >&6
12596 else
12597
12598
12599
12600       ac_ext=cc
12601 ac_cpp='$CXXCPP $CPPFLAGS'
12602 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12603 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12604 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
12605
12606       cat >conftest.$ac_ext <<_ACEOF
12607 /* confdefs.h.  */
12608 _ACEOF
12609 cat confdefs.h >>conftest.$ac_ext
12610 cat >>conftest.$ac_ext <<_ACEOF
12611 /* end confdefs.h.  */
12612 #include <math.h>
12613 int
12614 main ()
12615 {
12616 _acosf (0); _asinf (0); _atanf (0); _cosf (0); _sinf (0); _tanf (0); _coshf (0); _sinhf (0); _tanhf (0);
12617   ;
12618   return 0;
12619 }
12620 _ACEOF
12621 rm -f conftest.$ac_objext
12622 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12623   (eval $ac_compile) 2>conftest.er1
12624   ac_status=$?
12625   grep -v '^ *+' conftest.er1 >conftest.err
12626   rm -f conftest.er1
12627   cat conftest.err >&5
12628   echo "$as_me:$LINENO: \$? = $ac_status" >&5
12629   (exit $ac_status); } &&
12630          { ac_try='test -z "$ac_cxx_werror_flag"
12631                          || test ! -s conftest.err'
12632   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12633   (eval $ac_try) 2>&5
12634   ac_status=$?
12635   echo "$as_me:$LINENO: \$? = $ac_status" >&5
12636   (exit $ac_status); }; } &&
12637          { ac_try='test -s conftest.$ac_objext'
12638   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12639   (eval $ac_try) 2>&5
12640   ac_status=$?
12641   echo "$as_me:$LINENO: \$? = $ac_status" >&5
12642   (exit $ac_status); }; }; then
12643   glibcxx_cv_func__float_trig_use=yes
12644 else
12645   echo "$as_me: failed program was:" >&5
12646 sed 's/^/| /' conftest.$ac_ext >&5
12647
12648 glibcxx_cv_func__float_trig_use=no
12649 fi
12650 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
12651       ac_ext=c
12652 ac_cpp='$CPP $CPPFLAGS'
12653 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12654 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12655 ac_compiler_gnu=$ac_cv_c_compiler_gnu
12656
12657 fi
12658
12659     echo "$as_me:$LINENO: result: $glibcxx_cv_func__float_trig_use" >&5
12660 echo "${ECHO_T}$glibcxx_cv_func__float_trig_use" >&6
12661     if test x$glibcxx_cv_func__float_trig_use = x"yes"; then
12662
12663
12664
12665
12666
12667
12668
12669
12670
12671 for ac_func in _acosf _asinf _atanf _cosf _sinf _tanf _coshf _sinhf _tanhf
12672 do
12673 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
12674 echo "$as_me:$LINENO: checking for $ac_func" >&5
12675 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
12676 if eval "test \"\${$as_ac_var+set}\" = set"; then
12677   echo $ECHO_N "(cached) $ECHO_C" >&6
12678 else
12679   if test x$gcc_no_link = xyes; then
12680   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
12681 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
12682    { (exit 1); exit 1; }; }
12683 fi
12684 cat >conftest.$ac_ext <<_ACEOF
12685 /* confdefs.h.  */
12686 _ACEOF
12687 cat confdefs.h >>conftest.$ac_ext
12688 cat >>conftest.$ac_ext <<_ACEOF
12689 /* end confdefs.h.  */
12690 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
12691    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
12692 #define $ac_func innocuous_$ac_func
12693
12694 /* System header to define __stub macros and hopefully few prototypes,
12695     which can conflict with char $ac_func (); below.
12696     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
12697     <limits.h> exists even on freestanding compilers.  */
12698
12699 #ifdef __STDC__
12700 # include <limits.h>
12701 #else
12702 # include <assert.h>
12703 #endif
12704
12705 #undef $ac_func
12706
12707 /* Override any gcc2 internal prototype to avoid an error.  */
12708 #ifdef __cplusplus
12709 extern "C"
12710 {
12711 #endif
12712 /* We use char because int might match the return type of a gcc2
12713    builtin and then its argument prototype would still apply.  */
12714 char $ac_func ();
12715 /* The GNU C library defines this for functions which it implements
12716     to always fail with ENOSYS.  Some functions are actually named
12717     something starting with __ and the normal name is an alias.  */
12718 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
12719 choke me
12720 #else
12721 char (*f) () = $ac_func;
12722 #endif
12723 #ifdef __cplusplus
12724 }
12725 #endif
12726
12727 int
12728 main ()
12729 {
12730 return f != $ac_func;
12731   ;
12732   return 0;
12733 }
12734 _ACEOF
12735 rm -f conftest.$ac_objext conftest$ac_exeext
12736 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12737   (eval $ac_link) 2>conftest.er1
12738   ac_status=$?
12739   grep -v '^ *+' conftest.er1 >conftest.err
12740   rm -f conftest.er1
12741   cat conftest.err >&5
12742   echo "$as_me:$LINENO: \$? = $ac_status" >&5
12743   (exit $ac_status); } &&
12744          { ac_try='test -z "$ac_c_werror_flag"
12745                          || test ! -s conftest.err'
12746   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12747   (eval $ac_try) 2>&5
12748   ac_status=$?
12749   echo "$as_me:$LINENO: \$? = $ac_status" >&5
12750   (exit $ac_status); }; } &&
12751          { ac_try='test -s conftest$ac_exeext'
12752   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12753   (eval $ac_try) 2>&5
12754   ac_status=$?
12755   echo "$as_me:$LINENO: \$? = $ac_status" >&5
12756   (exit $ac_status); }; }; then
12757   eval "$as_ac_var=yes"
12758 else
12759   echo "$as_me: failed program was:" >&5
12760 sed 's/^/| /' conftest.$ac_ext >&5
12761
12762 eval "$as_ac_var=no"
12763 fi
12764 rm -f conftest.err conftest.$ac_objext \
12765       conftest$ac_exeext conftest.$ac_ext
12766 fi
12767 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
12768 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
12769 if test `eval echo '${'$as_ac_var'}'` = yes; then
12770   cat >>confdefs.h <<_ACEOF
12771 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
12772 _ACEOF
12773
12774 fi
12775 done
12776
12777     fi
12778   fi
12779
12780
12781
12782
12783
12784
12785
12786
12787
12788
12789
12790
12791
12792
12793     echo "$as_me:$LINENO: checking for float round functions" >&5
12794 echo $ECHO_N "checking for float round functions... $ECHO_C" >&6
12795   if test "${glibcxx_cv_func_float_round_use+set}" = set; then
12796   echo $ECHO_N "(cached) $ECHO_C" >&6
12797 else
12798
12799
12800
12801     ac_ext=cc
12802 ac_cpp='$CXXCPP $CPPFLAGS'
12803 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12804 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12805 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
12806
12807     cat >conftest.$ac_ext <<_ACEOF
12808 /* confdefs.h.  */
12809 _ACEOF
12810 cat confdefs.h >>conftest.$ac_ext
12811 cat >>conftest.$ac_ext <<_ACEOF
12812 /* end confdefs.h.  */
12813 #include <math.h>
12814 int
12815 main ()
12816 {
12817 ceilf (0); floorf (0);
12818   ;
12819   return 0;
12820 }
12821 _ACEOF
12822 rm -f conftest.$ac_objext
12823 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12824   (eval $ac_compile) 2>conftest.er1
12825   ac_status=$?
12826   grep -v '^ *+' conftest.er1 >conftest.err
12827   rm -f conftest.er1
12828   cat conftest.err >&5
12829   echo "$as_me:$LINENO: \$? = $ac_status" >&5
12830   (exit $ac_status); } &&
12831          { ac_try='test -z "$ac_cxx_werror_flag"
12832                          || test ! -s conftest.err'
12833   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12834   (eval $ac_try) 2>&5
12835   ac_status=$?
12836   echo "$as_me:$LINENO: \$? = $ac_status" >&5
12837   (exit $ac_status); }; } &&
12838          { ac_try='test -s conftest.$ac_objext'
12839   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12840   (eval $ac_try) 2>&5
12841   ac_status=$?
12842   echo "$as_me:$LINENO: \$? = $ac_status" >&5
12843   (exit $ac_status); }; }; then
12844   glibcxx_cv_func_float_round_use=yes
12845 else
12846   echo "$as_me: failed program was:" >&5
12847 sed 's/^/| /' conftest.$ac_ext >&5
12848
12849 glibcxx_cv_func_float_round_use=no
12850 fi
12851 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
12852     ac_ext=c
12853 ac_cpp='$CPP $CPPFLAGS'
12854 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12855 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12856 ac_compiler_gnu=$ac_cv_c_compiler_gnu
12857
12858 fi
12859
12860   echo "$as_me:$LINENO: result: $glibcxx_cv_func_float_round_use" >&5
12861 echo "${ECHO_T}$glibcxx_cv_func_float_round_use" >&6
12862   if test x$glibcxx_cv_func_float_round_use = x"yes"; then
12863
12864
12865 for ac_func in ceilf floorf
12866 do
12867 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
12868 echo "$as_me:$LINENO: checking for $ac_func" >&5
12869 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
12870 if eval "test \"\${$as_ac_var+set}\" = set"; then
12871   echo $ECHO_N "(cached) $ECHO_C" >&6
12872 else
12873   if test x$gcc_no_link = xyes; then
12874   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
12875 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
12876    { (exit 1); exit 1; }; }
12877 fi
12878 cat >conftest.$ac_ext <<_ACEOF
12879 /* confdefs.h.  */
12880 _ACEOF
12881 cat confdefs.h >>conftest.$ac_ext
12882 cat >>conftest.$ac_ext <<_ACEOF
12883 /* end confdefs.h.  */
12884 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
12885    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
12886 #define $ac_func innocuous_$ac_func
12887
12888 /* System header to define __stub macros and hopefully few prototypes,
12889     which can conflict with char $ac_func (); below.
12890     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
12891     <limits.h> exists even on freestanding compilers.  */
12892
12893 #ifdef __STDC__
12894 # include <limits.h>
12895 #else
12896 # include <assert.h>
12897 #endif
12898
12899 #undef $ac_func
12900
12901 /* Override any gcc2 internal prototype to avoid an error.  */
12902 #ifdef __cplusplus
12903 extern "C"
12904 {
12905 #endif
12906 /* We use char because int might match the return type of a gcc2
12907    builtin and then its argument prototype would still apply.  */
12908 char $ac_func ();
12909 /* The GNU C library defines this for functions which it implements
12910     to always fail with ENOSYS.  Some functions are actually named
12911     something starting with __ and the normal name is an alias.  */
12912 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
12913 choke me
12914 #else
12915 char (*f) () = $ac_func;
12916 #endif
12917 #ifdef __cplusplus
12918 }
12919 #endif
12920
12921 int
12922 main ()
12923 {
12924 return f != $ac_func;
12925   ;
12926   return 0;
12927 }
12928 _ACEOF
12929 rm -f conftest.$ac_objext conftest$ac_exeext
12930 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12931   (eval $ac_link) 2>conftest.er1
12932   ac_status=$?
12933   grep -v '^ *+' conftest.er1 >conftest.err
12934   rm -f conftest.er1
12935   cat conftest.err >&5
12936   echo "$as_me:$LINENO: \$? = $ac_status" >&5
12937   (exit $ac_status); } &&
12938          { ac_try='test -z "$ac_c_werror_flag"
12939                          || test ! -s conftest.err'
12940   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12941   (eval $ac_try) 2>&5
12942   ac_status=$?
12943   echo "$as_me:$LINENO: \$? = $ac_status" >&5
12944   (exit $ac_status); }; } &&
12945          { ac_try='test -s conftest$ac_exeext'
12946   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12947   (eval $ac_try) 2>&5
12948   ac_status=$?
12949   echo "$as_me:$LINENO: \$? = $ac_status" >&5
12950   (exit $ac_status); }; }; then
12951   eval "$as_ac_var=yes"
12952 else
12953   echo "$as_me: failed program was:" >&5
12954 sed 's/^/| /' conftest.$ac_ext >&5
12955
12956 eval "$as_ac_var=no"
12957 fi
12958 rm -f conftest.err conftest.$ac_objext \
12959       conftest$ac_exeext conftest.$ac_ext
12960 fi
12961 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
12962 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
12963 if test `eval echo '${'$as_ac_var'}'` = yes; then
12964   cat >>confdefs.h <<_ACEOF
12965 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
12966 _ACEOF
12967
12968 fi
12969 done
12970
12971   else
12972     echo "$as_me:$LINENO: checking for _float round functions" >&5
12973 echo $ECHO_N "checking for _float round functions... $ECHO_C" >&6
12974     if test "${glibcxx_cv_func__float_round_use+set}" = set; then
12975   echo $ECHO_N "(cached) $ECHO_C" >&6
12976 else
12977
12978
12979
12980       ac_ext=cc
12981 ac_cpp='$CXXCPP $CPPFLAGS'
12982 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12983 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12984 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
12985
12986       cat >conftest.$ac_ext <<_ACEOF
12987 /* confdefs.h.  */
12988 _ACEOF
12989 cat confdefs.h >>conftest.$ac_ext
12990 cat >>conftest.$ac_ext <<_ACEOF
12991 /* end confdefs.h.  */
12992 #include <math.h>
12993 int
12994 main ()
12995 {
12996 _ceilf (0); _floorf (0);
12997   ;
12998   return 0;
12999 }
13000 _ACEOF
13001 rm -f conftest.$ac_objext
13002 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13003   (eval $ac_compile) 2>conftest.er1
13004   ac_status=$?
13005   grep -v '^ *+' conftest.er1 >conftest.err
13006   rm -f conftest.er1
13007   cat conftest.err >&5
13008   echo "$as_me:$LINENO: \$? = $ac_status" >&5
13009   (exit $ac_status); } &&
13010          { ac_try='test -z "$ac_cxx_werror_flag"
13011                          || test ! -s conftest.err'
13012   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13013   (eval $ac_try) 2>&5
13014   ac_status=$?
13015   echo "$as_me:$LINENO: \$? = $ac_status" >&5
13016   (exit $ac_status); }; } &&
13017          { ac_try='test -s conftest.$ac_objext'
13018   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13019   (eval $ac_try) 2>&5
13020   ac_status=$?
13021   echo "$as_me:$LINENO: \$? = $ac_status" >&5
13022   (exit $ac_status); }; }; then
13023   glibcxx_cv_func__float_round_use=yes
13024 else
13025   echo "$as_me: failed program was:" >&5
13026 sed 's/^/| /' conftest.$ac_ext >&5
13027
13028 glibcxx_cv_func__float_round_use=no
13029 fi
13030 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
13031       ac_ext=c
13032 ac_cpp='$CPP $CPPFLAGS'
13033 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13034 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13035 ac_compiler_gnu=$ac_cv_c_compiler_gnu
13036
13037 fi
13038
13039     echo "$as_me:$LINENO: result: $glibcxx_cv_func__float_round_use" >&5
13040 echo "${ECHO_T}$glibcxx_cv_func__float_round_use" >&6
13041     if test x$glibcxx_cv_func__float_round_use = x"yes"; then
13042
13043
13044 for ac_func in _ceilf _floorf
13045 do
13046 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
13047 echo "$as_me:$LINENO: checking for $ac_func" >&5
13048 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
13049 if eval "test \"\${$as_ac_var+set}\" = set"; then
13050   echo $ECHO_N "(cached) $ECHO_C" >&6
13051 else
13052   if test x$gcc_no_link = xyes; then
13053   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
13054 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
13055    { (exit 1); exit 1; }; }
13056 fi
13057 cat >conftest.$ac_ext <<_ACEOF
13058 /* confdefs.h.  */
13059 _ACEOF
13060 cat confdefs.h >>conftest.$ac_ext
13061 cat >>conftest.$ac_ext <<_ACEOF
13062 /* end confdefs.h.  */
13063 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
13064    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
13065 #define $ac_func innocuous_$ac_func
13066
13067 /* System header to define __stub macros and hopefully few prototypes,
13068     which can conflict with char $ac_func (); below.
13069     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
13070     <limits.h> exists even on freestanding compilers.  */
13071
13072 #ifdef __STDC__
13073 # include <limits.h>
13074 #else
13075 # include <assert.h>
13076 #endif
13077
13078 #undef $ac_func
13079
13080 /* Override any gcc2 internal prototype to avoid an error.  */
13081 #ifdef __cplusplus
13082 extern "C"
13083 {
13084 #endif
13085 /* We use char because int might match the return type of a gcc2
13086    builtin and then its argument prototype would still apply.  */
13087 char $ac_func ();
13088 /* The GNU C library defines this for functions which it implements
13089     to always fail with ENOSYS.  Some functions are actually named
13090     something starting with __ and the normal name is an alias.  */
13091 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
13092 choke me
13093 #else
13094 char (*f) () = $ac_func;
13095 #endif
13096 #ifdef __cplusplus
13097 }
13098 #endif
13099
13100 int
13101 main ()
13102 {
13103 return f != $ac_func;
13104   ;
13105   return 0;
13106 }
13107 _ACEOF
13108 rm -f conftest.$ac_objext conftest$ac_exeext
13109 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
13110   (eval $ac_link) 2>conftest.er1
13111   ac_status=$?
13112   grep -v '^ *+' conftest.er1 >conftest.err
13113   rm -f conftest.er1
13114   cat conftest.err >&5
13115   echo "$as_me:$LINENO: \$? = $ac_status" >&5
13116   (exit $ac_status); } &&
13117          { ac_try='test -z "$ac_c_werror_flag"
13118                          || test ! -s conftest.err'
13119   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13120   (eval $ac_try) 2>&5
13121   ac_status=$?
13122   echo "$as_me:$LINENO: \$? = $ac_status" >&5
13123   (exit $ac_status); }; } &&
13124          { ac_try='test -s conftest$ac_exeext'
13125   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13126   (eval $ac_try) 2>&5
13127   ac_status=$?
13128   echo "$as_me:$LINENO: \$? = $ac_status" >&5
13129   (exit $ac_status); }; }; then
13130   eval "$as_ac_var=yes"
13131 else
13132   echo "$as_me: failed program was:" >&5
13133 sed 's/^/| /' conftest.$ac_ext >&5
13134
13135 eval "$as_ac_var=no"
13136 fi
13137 rm -f conftest.err conftest.$ac_objext \
13138       conftest$ac_exeext conftest.$ac_ext
13139 fi
13140 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
13141 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
13142 if test `eval echo '${'$as_ac_var'}'` = yes; then
13143   cat >>confdefs.h <<_ACEOF
13144 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
13145 _ACEOF
13146
13147 fi
13148 done
13149
13150     fi
13151   fi
13152
13153
13154
13155
13156
13157
13158
13159
13160   echo "$as_me:$LINENO: checking for expf declaration" >&5
13161 echo $ECHO_N "checking for expf declaration... $ECHO_C" >&6
13162   if test x${glibcxx_cv_func_expf_use+set} != xset; then
13163     if test "${glibcxx_cv_func_expf_use+set}" = set; then
13164   echo $ECHO_N "(cached) $ECHO_C" >&6
13165 else
13166
13167
13168
13169       ac_ext=cc
13170 ac_cpp='$CXXCPP $CPPFLAGS'
13171 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13172 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13173 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
13174
13175       cat >conftest.$ac_ext <<_ACEOF
13176 /* confdefs.h.  */
13177 _ACEOF
13178 cat confdefs.h >>conftest.$ac_ext
13179 cat >>conftest.$ac_ext <<_ACEOF
13180 /* end confdefs.h.  */
13181 #include <math.h>
13182                       #ifdef HAVE_IEEEFP_H
13183                       #include <ieeefp.h>
13184                       #endif
13185
13186 int
13187 main ()
13188 {
13189  expf(0);
13190   ;
13191   return 0;
13192 }
13193 _ACEOF
13194 rm -f conftest.$ac_objext
13195 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13196   (eval $ac_compile) 2>conftest.er1
13197   ac_status=$?
13198   grep -v '^ *+' conftest.er1 >conftest.err
13199   rm -f conftest.er1
13200   cat conftest.err >&5
13201   echo "$as_me:$LINENO: \$? = $ac_status" >&5
13202   (exit $ac_status); } &&
13203          { ac_try='test -z "$ac_cxx_werror_flag"
13204                          || test ! -s conftest.err'
13205   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13206   (eval $ac_try) 2>&5
13207   ac_status=$?
13208   echo "$as_me:$LINENO: \$? = $ac_status" >&5
13209   (exit $ac_status); }; } &&
13210          { ac_try='test -s conftest.$ac_objext'
13211   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13212   (eval $ac_try) 2>&5
13213   ac_status=$?
13214   echo "$as_me:$LINENO: \$? = $ac_status" >&5
13215   (exit $ac_status); }; }; then
13216   glibcxx_cv_func_expf_use=yes
13217 else
13218   echo "$as_me: failed program was:" >&5
13219 sed 's/^/| /' conftest.$ac_ext >&5
13220
13221 glibcxx_cv_func_expf_use=no
13222 fi
13223 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
13224       ac_ext=c
13225 ac_cpp='$CPP $CPPFLAGS'
13226 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13227 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13228 ac_compiler_gnu=$ac_cv_c_compiler_gnu
13229
13230
13231 fi
13232
13233   fi
13234   echo "$as_me:$LINENO: result: $glibcxx_cv_func_expf_use" >&5
13235 echo "${ECHO_T}$glibcxx_cv_func_expf_use" >&6
13236
13237   if test x$glibcxx_cv_func_expf_use = x"yes"; then
13238
13239 for ac_func in expf
13240 do
13241 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
13242 echo "$as_me:$LINENO: checking for $ac_func" >&5
13243 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
13244 if eval "test \"\${$as_ac_var+set}\" = set"; then
13245   echo $ECHO_N "(cached) $ECHO_C" >&6
13246 else
13247   if test x$gcc_no_link = xyes; then
13248   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
13249 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
13250    { (exit 1); exit 1; }; }
13251 fi
13252 cat >conftest.$ac_ext <<_ACEOF
13253 /* confdefs.h.  */
13254 _ACEOF
13255 cat confdefs.h >>conftest.$ac_ext
13256 cat >>conftest.$ac_ext <<_ACEOF
13257 /* end confdefs.h.  */
13258 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
13259    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
13260 #define $ac_func innocuous_$ac_func
13261
13262 /* System header to define __stub macros and hopefully few prototypes,
13263     which can conflict with char $ac_func (); below.
13264     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
13265     <limits.h> exists even on freestanding compilers.  */
13266
13267 #ifdef __STDC__
13268 # include <limits.h>
13269 #else
13270 # include <assert.h>
13271 #endif
13272
13273 #undef $ac_func
13274
13275 /* Override any gcc2 internal prototype to avoid an error.  */
13276 #ifdef __cplusplus
13277 extern "C"
13278 {
13279 #endif
13280 /* We use char because int might match the return type of a gcc2
13281    builtin and then its argument prototype would still apply.  */
13282 char $ac_func ();
13283 /* The GNU C library defines this for functions which it implements
13284     to always fail with ENOSYS.  Some functions are actually named
13285     something starting with __ and the normal name is an alias.  */
13286 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
13287 choke me
13288 #else
13289 char (*f) () = $ac_func;
13290 #endif
13291 #ifdef __cplusplus
13292 }
13293 #endif
13294
13295 int
13296 main ()
13297 {
13298 return f != $ac_func;
13299   ;
13300   return 0;
13301 }
13302 _ACEOF
13303 rm -f conftest.$ac_objext conftest$ac_exeext
13304 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
13305   (eval $ac_link) 2>conftest.er1
13306   ac_status=$?
13307   grep -v '^ *+' conftest.er1 >conftest.err
13308   rm -f conftest.er1
13309   cat conftest.err >&5
13310   echo "$as_me:$LINENO: \$? = $ac_status" >&5
13311   (exit $ac_status); } &&
13312          { ac_try='test -z "$ac_c_werror_flag"
13313                          || test ! -s conftest.err'
13314   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13315   (eval $ac_try) 2>&5
13316   ac_status=$?
13317   echo "$as_me:$LINENO: \$? = $ac_status" >&5
13318   (exit $ac_status); }; } &&
13319          { ac_try='test -s conftest$ac_exeext'
13320   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13321   (eval $ac_try) 2>&5
13322   ac_status=$?
13323   echo "$as_me:$LINENO: \$? = $ac_status" >&5
13324   (exit $ac_status); }; }; then
13325   eval "$as_ac_var=yes"
13326 else
13327   echo "$as_me: failed program was:" >&5
13328 sed 's/^/| /' conftest.$ac_ext >&5
13329
13330 eval "$as_ac_var=no"
13331 fi
13332 rm -f conftest.err conftest.$ac_objext \
13333       conftest$ac_exeext conftest.$ac_ext
13334 fi
13335 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
13336 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
13337 if test `eval echo '${'$as_ac_var'}'` = yes; then
13338   cat >>confdefs.h <<_ACEOF
13339 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
13340 _ACEOF
13341
13342 fi
13343 done
13344
13345   else
13346
13347   echo "$as_me:$LINENO: checking for _expf declaration" >&5
13348 echo $ECHO_N "checking for _expf declaration... $ECHO_C" >&6
13349   if test x${glibcxx_cv_func__expf_use+set} != xset; then
13350     if test "${glibcxx_cv_func__expf_use+set}" = set; then
13351   echo $ECHO_N "(cached) $ECHO_C" >&6
13352 else
13353
13354
13355
13356       ac_ext=cc
13357 ac_cpp='$CXXCPP $CPPFLAGS'
13358 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13359 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13360 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
13361
13362       cat >conftest.$ac_ext <<_ACEOF
13363 /* confdefs.h.  */
13364 _ACEOF
13365 cat confdefs.h >>conftest.$ac_ext
13366 cat >>conftest.$ac_ext <<_ACEOF
13367 /* end confdefs.h.  */
13368 #include <math.h>
13369                       #ifdef HAVE_IEEEFP_H
13370                       #include <ieeefp.h>
13371                       #endif
13372
13373 int
13374 main ()
13375 {
13376  _expf(0);
13377   ;
13378   return 0;
13379 }
13380 _ACEOF
13381 rm -f conftest.$ac_objext
13382 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13383   (eval $ac_compile) 2>conftest.er1
13384   ac_status=$?
13385   grep -v '^ *+' conftest.er1 >conftest.err
13386   rm -f conftest.er1
13387   cat conftest.err >&5
13388   echo "$as_me:$LINENO: \$? = $ac_status" >&5
13389   (exit $ac_status); } &&
13390          { ac_try='test -z "$ac_cxx_werror_flag"
13391                          || test ! -s conftest.err'
13392   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13393   (eval $ac_try) 2>&5
13394   ac_status=$?
13395   echo "$as_me:$LINENO: \$? = $ac_status" >&5
13396   (exit $ac_status); }; } &&
13397          { ac_try='test -s conftest.$ac_objext'
13398   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13399   (eval $ac_try) 2>&5
13400   ac_status=$?
13401   echo "$as_me:$LINENO: \$? = $ac_status" >&5
13402   (exit $ac_status); }; }; then
13403   glibcxx_cv_func__expf_use=yes
13404 else
13405   echo "$as_me: failed program was:" >&5
13406 sed 's/^/| /' conftest.$ac_ext >&5
13407
13408 glibcxx_cv_func__expf_use=no
13409 fi
13410 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
13411       ac_ext=c
13412 ac_cpp='$CPP $CPPFLAGS'
13413 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13414 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13415 ac_compiler_gnu=$ac_cv_c_compiler_gnu
13416
13417
13418 fi
13419
13420   fi
13421   echo "$as_me:$LINENO: result: $glibcxx_cv_func__expf_use" >&5
13422 echo "${ECHO_T}$glibcxx_cv_func__expf_use" >&6
13423
13424     if test x$glibcxx_cv_func__expf_use = x"yes"; then
13425
13426 for ac_func in _expf
13427 do
13428 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
13429 echo "$as_me:$LINENO: checking for $ac_func" >&5
13430 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
13431 if eval "test \"\${$as_ac_var+set}\" = set"; then
13432   echo $ECHO_N "(cached) $ECHO_C" >&6
13433 else
13434   if test x$gcc_no_link = xyes; then
13435   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
13436 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
13437    { (exit 1); exit 1; }; }
13438 fi
13439 cat >conftest.$ac_ext <<_ACEOF
13440 /* confdefs.h.  */
13441 _ACEOF
13442 cat confdefs.h >>conftest.$ac_ext
13443 cat >>conftest.$ac_ext <<_ACEOF
13444 /* end confdefs.h.  */
13445 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
13446    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
13447 #define $ac_func innocuous_$ac_func
13448
13449 /* System header to define __stub macros and hopefully few prototypes,
13450     which can conflict with char $ac_func (); below.
13451     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
13452     <limits.h> exists even on freestanding compilers.  */
13453
13454 #ifdef __STDC__
13455 # include <limits.h>
13456 #else
13457 # include <assert.h>
13458 #endif
13459
13460 #undef $ac_func
13461
13462 /* Override any gcc2 internal prototype to avoid an error.  */
13463 #ifdef __cplusplus
13464 extern "C"
13465 {
13466 #endif
13467 /* We use char because int might match the return type of a gcc2
13468    builtin and then its argument prototype would still apply.  */
13469 char $ac_func ();
13470 /* The GNU C library defines this for functions which it implements
13471     to always fail with ENOSYS.  Some functions are actually named
13472     something starting with __ and the normal name is an alias.  */
13473 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
13474 choke me
13475 #else
13476 char (*f) () = $ac_func;
13477 #endif
13478 #ifdef __cplusplus
13479 }
13480 #endif
13481
13482 int
13483 main ()
13484 {
13485 return f != $ac_func;
13486   ;
13487   return 0;
13488 }
13489 _ACEOF
13490 rm -f conftest.$ac_objext conftest$ac_exeext
13491 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
13492   (eval $ac_link) 2>conftest.er1
13493   ac_status=$?
13494   grep -v '^ *+' conftest.er1 >conftest.err
13495   rm -f conftest.er1
13496   cat conftest.err >&5
13497   echo "$as_me:$LINENO: \$? = $ac_status" >&5
13498   (exit $ac_status); } &&
13499          { ac_try='test -z "$ac_c_werror_flag"
13500                          || test ! -s conftest.err'
13501   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13502   (eval $ac_try) 2>&5
13503   ac_status=$?
13504   echo "$as_me:$LINENO: \$? = $ac_status" >&5
13505   (exit $ac_status); }; } &&
13506          { ac_try='test -s conftest$ac_exeext'
13507   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13508   (eval $ac_try) 2>&5
13509   ac_status=$?
13510   echo "$as_me:$LINENO: \$? = $ac_status" >&5
13511   (exit $ac_status); }; }; then
13512   eval "$as_ac_var=yes"
13513 else
13514   echo "$as_me: failed program was:" >&5
13515 sed 's/^/| /' conftest.$ac_ext >&5
13516
13517 eval "$as_ac_var=no"
13518 fi
13519 rm -f conftest.err conftest.$ac_objext \
13520       conftest$ac_exeext conftest.$ac_ext
13521 fi
13522 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
13523 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
13524 if test `eval echo '${'$as_ac_var'}'` = yes; then
13525   cat >>confdefs.h <<_ACEOF
13526 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
13527 _ACEOF
13528
13529 fi
13530 done
13531
13532     fi
13533   fi
13534
13535
13536
13537
13538
13539
13540   echo "$as_me:$LINENO: checking for isnanf declaration" >&5
13541 echo $ECHO_N "checking for isnanf declaration... $ECHO_C" >&6
13542   if test x${glibcxx_cv_func_isnanf_use+set} != xset; then
13543     if test "${glibcxx_cv_func_isnanf_use+set}" = set; then
13544   echo $ECHO_N "(cached) $ECHO_C" >&6
13545 else
13546
13547
13548
13549       ac_ext=cc
13550 ac_cpp='$CXXCPP $CPPFLAGS'
13551 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13552 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13553 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
13554
13555       cat >conftest.$ac_ext <<_ACEOF
13556 /* confdefs.h.  */
13557 _ACEOF
13558 cat confdefs.h >>conftest.$ac_ext
13559 cat >>conftest.$ac_ext <<_ACEOF
13560 /* end confdefs.h.  */
13561 #include <math.h>
13562                       #ifdef HAVE_IEEEFP_H
13563                       #include <ieeefp.h>
13564                       #endif
13565
13566 int
13567 main ()
13568 {
13569  isnanf(0);
13570   ;
13571   return 0;
13572 }
13573 _ACEOF
13574 rm -f conftest.$ac_objext
13575 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13576   (eval $ac_compile) 2>conftest.er1
13577   ac_status=$?
13578   grep -v '^ *+' conftest.er1 >conftest.err
13579   rm -f conftest.er1
13580   cat conftest.err >&5
13581   echo "$as_me:$LINENO: \$? = $ac_status" >&5
13582   (exit $ac_status); } &&
13583          { ac_try='test -z "$ac_cxx_werror_flag"
13584                          || test ! -s conftest.err'
13585   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13586   (eval $ac_try) 2>&5
13587   ac_status=$?
13588   echo "$as_me:$LINENO: \$? = $ac_status" >&5
13589   (exit $ac_status); }; } &&
13590          { ac_try='test -s conftest.$ac_objext'
13591   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13592   (eval $ac_try) 2>&5
13593   ac_status=$?
13594   echo "$as_me:$LINENO: \$? = $ac_status" >&5
13595   (exit $ac_status); }; }; then
13596   glibcxx_cv_func_isnanf_use=yes
13597 else
13598   echo "$as_me: failed program was:" >&5
13599 sed 's/^/| /' conftest.$ac_ext >&5
13600
13601 glibcxx_cv_func_isnanf_use=no
13602 fi
13603 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
13604       ac_ext=c
13605 ac_cpp='$CPP $CPPFLAGS'
13606 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13607 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13608 ac_compiler_gnu=$ac_cv_c_compiler_gnu
13609
13610
13611 fi
13612
13613   fi
13614   echo "$as_me:$LINENO: result: $glibcxx_cv_func_isnanf_use" >&5
13615 echo "${ECHO_T}$glibcxx_cv_func_isnanf_use" >&6
13616
13617   if test x$glibcxx_cv_func_isnanf_use = x"yes"; then
13618
13619 for ac_func in isnanf
13620 do
13621 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
13622 echo "$as_me:$LINENO: checking for $ac_func" >&5
13623 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
13624 if eval "test \"\${$as_ac_var+set}\" = set"; then
13625   echo $ECHO_N "(cached) $ECHO_C" >&6
13626 else
13627   if test x$gcc_no_link = xyes; then
13628   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
13629 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
13630    { (exit 1); exit 1; }; }
13631 fi
13632 cat >conftest.$ac_ext <<_ACEOF
13633 /* confdefs.h.  */
13634 _ACEOF
13635 cat confdefs.h >>conftest.$ac_ext
13636 cat >>conftest.$ac_ext <<_ACEOF
13637 /* end confdefs.h.  */
13638 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
13639    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
13640 #define $ac_func innocuous_$ac_func
13641
13642 /* System header to define __stub macros and hopefully few prototypes,
13643     which can conflict with char $ac_func (); below.
13644     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
13645     <limits.h> exists even on freestanding compilers.  */
13646
13647 #ifdef __STDC__
13648 # include <limits.h>
13649 #else
13650 # include <assert.h>
13651 #endif
13652
13653 #undef $ac_func
13654
13655 /* Override any gcc2 internal prototype to avoid an error.  */
13656 #ifdef __cplusplus
13657 extern "C"
13658 {
13659 #endif
13660 /* We use char because int might match the return type of a gcc2
13661    builtin and then its argument prototype would still apply.  */
13662 char $ac_func ();
13663 /* The GNU C library defines this for functions which it implements
13664     to always fail with ENOSYS.  Some functions are actually named
13665     something starting with __ and the normal name is an alias.  */
13666 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
13667 choke me
13668 #else
13669 char (*f) () = $ac_func;
13670 #endif
13671 #ifdef __cplusplus
13672 }
13673 #endif
13674
13675 int
13676 main ()
13677 {
13678 return f != $ac_func;
13679   ;
13680   return 0;
13681 }
13682 _ACEOF
13683 rm -f conftest.$ac_objext conftest$ac_exeext
13684 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
13685   (eval $ac_link) 2>conftest.er1
13686   ac_status=$?
13687   grep -v '^ *+' conftest.er1 >conftest.err
13688   rm -f conftest.er1
13689   cat conftest.err >&5
13690   echo "$as_me:$LINENO: \$? = $ac_status" >&5
13691   (exit $ac_status); } &&
13692          { ac_try='test -z "$ac_c_werror_flag"
13693                          || test ! -s conftest.err'
13694   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13695   (eval $ac_try) 2>&5
13696   ac_status=$?
13697   echo "$as_me:$LINENO: \$? = $ac_status" >&5
13698   (exit $ac_status); }; } &&
13699          { ac_try='test -s conftest$ac_exeext'
13700   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13701   (eval $ac_try) 2>&5
13702   ac_status=$?
13703   echo "$as_me:$LINENO: \$? = $ac_status" >&5
13704   (exit $ac_status); }; }; then
13705   eval "$as_ac_var=yes"
13706 else
13707   echo "$as_me: failed program was:" >&5
13708 sed 's/^/| /' conftest.$ac_ext >&5
13709
13710 eval "$as_ac_var=no"
13711 fi
13712 rm -f conftest.err conftest.$ac_objext \
13713       conftest$ac_exeext conftest.$ac_ext
13714 fi
13715 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
13716 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
13717 if test `eval echo '${'$as_ac_var'}'` = yes; then
13718   cat >>confdefs.h <<_ACEOF
13719 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
13720 _ACEOF
13721
13722 fi
13723 done
13724
13725   else
13726
13727   echo "$as_me:$LINENO: checking for _isnanf declaration" >&5
13728 echo $ECHO_N "checking for _isnanf declaration... $ECHO_C" >&6
13729   if test x${glibcxx_cv_func__isnanf_use+set} != xset; then
13730     if test "${glibcxx_cv_func__isnanf_use+set}" = set; then
13731   echo $ECHO_N "(cached) $ECHO_C" >&6
13732 else
13733
13734
13735
13736       ac_ext=cc
13737 ac_cpp='$CXXCPP $CPPFLAGS'
13738 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13739 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13740 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
13741
13742       cat >conftest.$ac_ext <<_ACEOF
13743 /* confdefs.h.  */
13744 _ACEOF
13745 cat confdefs.h >>conftest.$ac_ext
13746 cat >>conftest.$ac_ext <<_ACEOF
13747 /* end confdefs.h.  */
13748 #include <math.h>
13749                       #ifdef HAVE_IEEEFP_H
13750                       #include <ieeefp.h>
13751                       #endif
13752
13753 int
13754 main ()
13755 {
13756  _isnanf(0);
13757   ;
13758   return 0;
13759 }
13760 _ACEOF
13761 rm -f conftest.$ac_objext
13762 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13763   (eval $ac_compile) 2>conftest.er1
13764   ac_status=$?
13765   grep -v '^ *+' conftest.er1 >conftest.err
13766   rm -f conftest.er1
13767   cat conftest.err >&5
13768   echo "$as_me:$LINENO: \$? = $ac_status" >&5
13769   (exit $ac_status); } &&
13770          { ac_try='test -z "$ac_cxx_werror_flag"
13771                          || test ! -s conftest.err'
13772   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13773   (eval $ac_try) 2>&5
13774   ac_status=$?
13775   echo "$as_me:$LINENO: \$? = $ac_status" >&5
13776   (exit $ac_status); }; } &&
13777          { ac_try='test -s conftest.$ac_objext'
13778   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13779   (eval $ac_try) 2>&5
13780   ac_status=$?
13781   echo "$as_me:$LINENO: \$? = $ac_status" >&5
13782   (exit $ac_status); }; }; then
13783   glibcxx_cv_func__isnanf_use=yes
13784 else
13785   echo "$as_me: failed program was:" >&5
13786 sed 's/^/| /' conftest.$ac_ext >&5
13787
13788 glibcxx_cv_func__isnanf_use=no
13789 fi
13790 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
13791       ac_ext=c
13792 ac_cpp='$CPP $CPPFLAGS'
13793 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13794 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13795 ac_compiler_gnu=$ac_cv_c_compiler_gnu
13796
13797
13798 fi
13799
13800   fi
13801   echo "$as_me:$LINENO: result: $glibcxx_cv_func__isnanf_use" >&5
13802 echo "${ECHO_T}$glibcxx_cv_func__isnanf_use" >&6
13803
13804     if test x$glibcxx_cv_func__isnanf_use = x"yes"; then
13805
13806 for ac_func in _isnanf
13807 do
13808 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
13809 echo "$as_me:$LINENO: checking for $ac_func" >&5
13810 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
13811 if eval "test \"\${$as_ac_var+set}\" = set"; then
13812   echo $ECHO_N "(cached) $ECHO_C" >&6
13813 else
13814   if test x$gcc_no_link = xyes; then
13815   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
13816 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
13817    { (exit 1); exit 1; }; }
13818 fi
13819 cat >conftest.$ac_ext <<_ACEOF
13820 /* confdefs.h.  */
13821 _ACEOF
13822 cat confdefs.h >>conftest.$ac_ext
13823 cat >>conftest.$ac_ext <<_ACEOF
13824 /* end confdefs.h.  */
13825 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
13826    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
13827 #define $ac_func innocuous_$ac_func
13828
13829 /* System header to define __stub macros and hopefully few prototypes,
13830     which can conflict with char $ac_func (); below.
13831     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
13832     <limits.h> exists even on freestanding compilers.  */
13833
13834 #ifdef __STDC__
13835 # include <limits.h>
13836 #else
13837 # include <assert.h>
13838 #endif
13839
13840 #undef $ac_func
13841
13842 /* Override any gcc2 internal prototype to avoid an error.  */
13843 #ifdef __cplusplus
13844 extern "C"
13845 {
13846 #endif
13847 /* We use char because int might match the return type of a gcc2
13848    builtin and then its argument prototype would still apply.  */
13849 char $ac_func ();
13850 /* The GNU C library defines this for functions which it implements
13851     to always fail with ENOSYS.  Some functions are actually named
13852     something starting with __ and the normal name is an alias.  */
13853 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
13854 choke me
13855 #else
13856 char (*f) () = $ac_func;
13857 #endif
13858 #ifdef __cplusplus
13859 }
13860 #endif
13861
13862 int
13863 main ()
13864 {
13865 return f != $ac_func;
13866   ;
13867   return 0;
13868 }
13869 _ACEOF
13870 rm -f conftest.$ac_objext conftest$ac_exeext
13871 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
13872   (eval $ac_link) 2>conftest.er1
13873   ac_status=$?
13874   grep -v '^ *+' conftest.er1 >conftest.err
13875   rm -f conftest.er1
13876   cat conftest.err >&5
13877   echo "$as_me:$LINENO: \$? = $ac_status" >&5
13878   (exit $ac_status); } &&
13879          { ac_try='test -z "$ac_c_werror_flag"
13880                          || test ! -s conftest.err'
13881   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13882   (eval $ac_try) 2>&5
13883   ac_status=$?
13884   echo "$as_me:$LINENO: \$? = $ac_status" >&5
13885   (exit $ac_status); }; } &&
13886          { ac_try='test -s conftest$ac_exeext'
13887   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13888   (eval $ac_try) 2>&5
13889   ac_status=$?
13890   echo "$as_me:$LINENO: \$? = $ac_status" >&5
13891   (exit $ac_status); }; }; then
13892   eval "$as_ac_var=yes"
13893 else
13894   echo "$as_me: failed program was:" >&5
13895 sed 's/^/| /' conftest.$ac_ext >&5
13896
13897 eval "$as_ac_var=no"
13898 fi
13899 rm -f conftest.err conftest.$ac_objext \
13900       conftest$ac_exeext conftest.$ac_ext
13901 fi
13902 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
13903 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
13904 if test `eval echo '${'$as_ac_var'}'` = yes; then
13905   cat >>confdefs.h <<_ACEOF
13906 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
13907 _ACEOF
13908
13909 fi
13910 done
13911
13912     fi
13913   fi
13914
13915
13916
13917
13918
13919
13920   echo "$as_me:$LINENO: checking for isinff declaration" >&5
13921 echo $ECHO_N "checking for isinff declaration... $ECHO_C" >&6
13922   if test x${glibcxx_cv_func_isinff_use+set} != xset; then
13923     if test "${glibcxx_cv_func_isinff_use+set}" = set; then
13924   echo $ECHO_N "(cached) $ECHO_C" >&6
13925 else
13926
13927
13928
13929       ac_ext=cc
13930 ac_cpp='$CXXCPP $CPPFLAGS'
13931 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13932 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13933 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
13934
13935       cat >conftest.$ac_ext <<_ACEOF
13936 /* confdefs.h.  */
13937 _ACEOF
13938 cat confdefs.h >>conftest.$ac_ext
13939 cat >>conftest.$ac_ext <<_ACEOF
13940 /* end confdefs.h.  */
13941 #include <math.h>
13942                       #ifdef HAVE_IEEEFP_H
13943                       #include <ieeefp.h>
13944                       #endif
13945
13946 int
13947 main ()
13948 {
13949  isinff(0);
13950   ;
13951   return 0;
13952 }
13953 _ACEOF
13954 rm -f conftest.$ac_objext
13955 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13956   (eval $ac_compile) 2>conftest.er1
13957   ac_status=$?
13958   grep -v '^ *+' conftest.er1 >conftest.err
13959   rm -f conftest.er1
13960   cat conftest.err >&5
13961   echo "$as_me:$LINENO: \$? = $ac_status" >&5
13962   (exit $ac_status); } &&
13963          { ac_try='test -z "$ac_cxx_werror_flag"
13964                          || test ! -s conftest.err'
13965   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13966   (eval $ac_try) 2>&5
13967   ac_status=$?
13968   echo "$as_me:$LINENO: \$? = $ac_status" >&5
13969   (exit $ac_status); }; } &&
13970          { ac_try='test -s conftest.$ac_objext'
13971   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13972   (eval $ac_try) 2>&5
13973   ac_status=$?
13974   echo "$as_me:$LINENO: \$? = $ac_status" >&5
13975   (exit $ac_status); }; }; then
13976   glibcxx_cv_func_isinff_use=yes
13977 else
13978   echo "$as_me: failed program was:" >&5
13979 sed 's/^/| /' conftest.$ac_ext >&5
13980
13981 glibcxx_cv_func_isinff_use=no
13982 fi
13983 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
13984       ac_ext=c
13985 ac_cpp='$CPP $CPPFLAGS'
13986 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13987 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13988 ac_compiler_gnu=$ac_cv_c_compiler_gnu
13989
13990
13991 fi
13992
13993   fi
13994   echo "$as_me:$LINENO: result: $glibcxx_cv_func_isinff_use" >&5
13995 echo "${ECHO_T}$glibcxx_cv_func_isinff_use" >&6
13996
13997   if test x$glibcxx_cv_func_isinff_use = x"yes"; then
13998
13999 for ac_func in isinff
14000 do
14001 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
14002 echo "$as_me:$LINENO: checking for $ac_func" >&5
14003 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
14004 if eval "test \"\${$as_ac_var+set}\" = set"; then
14005   echo $ECHO_N "(cached) $ECHO_C" >&6
14006 else
14007   if test x$gcc_no_link = xyes; then
14008   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
14009 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
14010    { (exit 1); exit 1; }; }
14011 fi
14012 cat >conftest.$ac_ext <<_ACEOF
14013 /* confdefs.h.  */
14014 _ACEOF
14015 cat confdefs.h >>conftest.$ac_ext
14016 cat >>conftest.$ac_ext <<_ACEOF
14017 /* end confdefs.h.  */
14018 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
14019    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
14020 #define $ac_func innocuous_$ac_func
14021
14022 /* System header to define __stub macros and hopefully few prototypes,
14023     which can conflict with char $ac_func (); below.
14024     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
14025     <limits.h> exists even on freestanding compilers.  */
14026
14027 #ifdef __STDC__
14028 # include <limits.h>
14029 #else
14030 # include <assert.h>
14031 #endif
14032
14033 #undef $ac_func
14034
14035 /* Override any gcc2 internal prototype to avoid an error.  */
14036 #ifdef __cplusplus
14037 extern "C"
14038 {
14039 #endif
14040 /* We use char because int might match the return type of a gcc2
14041    builtin and then its argument prototype would still apply.  */
14042 char $ac_func ();
14043 /* The GNU C library defines this for functions which it implements
14044     to always fail with ENOSYS.  Some functions are actually named
14045     something starting with __ and the normal name is an alias.  */
14046 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
14047 choke me
14048 #else
14049 char (*f) () = $ac_func;
14050 #endif
14051 #ifdef __cplusplus
14052 }
14053 #endif
14054
14055 int
14056 main ()
14057 {
14058 return f != $ac_func;
14059   ;
14060   return 0;
14061 }
14062 _ACEOF
14063 rm -f conftest.$ac_objext conftest$ac_exeext
14064 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
14065   (eval $ac_link) 2>conftest.er1
14066   ac_status=$?
14067   grep -v '^ *+' conftest.er1 >conftest.err
14068   rm -f conftest.er1
14069   cat conftest.err >&5
14070   echo "$as_me:$LINENO: \$? = $ac_status" >&5
14071   (exit $ac_status); } &&
14072          { ac_try='test -z "$ac_c_werror_flag"
14073                          || test ! -s conftest.err'
14074   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14075   (eval $ac_try) 2>&5
14076   ac_status=$?
14077   echo "$as_me:$LINENO: \$? = $ac_status" >&5
14078   (exit $ac_status); }; } &&
14079          { ac_try='test -s conftest$ac_exeext'
14080   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14081   (eval $ac_try) 2>&5
14082   ac_status=$?
14083   echo "$as_me:$LINENO: \$? = $ac_status" >&5
14084   (exit $ac_status); }; }; then
14085   eval "$as_ac_var=yes"
14086 else
14087   echo "$as_me: failed program was:" >&5
14088 sed 's/^/| /' conftest.$ac_ext >&5
14089
14090 eval "$as_ac_var=no"
14091 fi
14092 rm -f conftest.err conftest.$ac_objext \
14093       conftest$ac_exeext conftest.$ac_ext
14094 fi
14095 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
14096 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
14097 if test `eval echo '${'$as_ac_var'}'` = yes; then
14098   cat >>confdefs.h <<_ACEOF
14099 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
14100 _ACEOF
14101
14102 fi
14103 done
14104
14105   else
14106
14107   echo "$as_me:$LINENO: checking for _isinff declaration" >&5
14108 echo $ECHO_N "checking for _isinff declaration... $ECHO_C" >&6
14109   if test x${glibcxx_cv_func__isinff_use+set} != xset; then
14110     if test "${glibcxx_cv_func__isinff_use+set}" = set; then
14111   echo $ECHO_N "(cached) $ECHO_C" >&6
14112 else
14113
14114
14115
14116       ac_ext=cc
14117 ac_cpp='$CXXCPP $CPPFLAGS'
14118 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14119 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14120 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
14121
14122       cat >conftest.$ac_ext <<_ACEOF
14123 /* confdefs.h.  */
14124 _ACEOF
14125 cat confdefs.h >>conftest.$ac_ext
14126 cat >>conftest.$ac_ext <<_ACEOF
14127 /* end confdefs.h.  */
14128 #include <math.h>
14129                       #ifdef HAVE_IEEEFP_H
14130                       #include <ieeefp.h>
14131                       #endif
14132
14133 int
14134 main ()
14135 {
14136  _isinff(0);
14137   ;
14138   return 0;
14139 }
14140 _ACEOF
14141 rm -f conftest.$ac_objext
14142 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14143   (eval $ac_compile) 2>conftest.er1
14144   ac_status=$?
14145   grep -v '^ *+' conftest.er1 >conftest.err
14146   rm -f conftest.er1
14147   cat conftest.err >&5
14148   echo "$as_me:$LINENO: \$? = $ac_status" >&5
14149   (exit $ac_status); } &&
14150          { ac_try='test -z "$ac_cxx_werror_flag"
14151                          || test ! -s conftest.err'
14152   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14153   (eval $ac_try) 2>&5
14154   ac_status=$?
14155   echo "$as_me:$LINENO: \$? = $ac_status" >&5
14156   (exit $ac_status); }; } &&
14157          { ac_try='test -s conftest.$ac_objext'
14158   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14159   (eval $ac_try) 2>&5
14160   ac_status=$?
14161   echo "$as_me:$LINENO: \$? = $ac_status" >&5
14162   (exit $ac_status); }; }; then
14163   glibcxx_cv_func__isinff_use=yes
14164 else
14165   echo "$as_me: failed program was:" >&5
14166 sed 's/^/| /' conftest.$ac_ext >&5
14167
14168 glibcxx_cv_func__isinff_use=no
14169 fi
14170 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
14171       ac_ext=c
14172 ac_cpp='$CPP $CPPFLAGS'
14173 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14174 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14175 ac_compiler_gnu=$ac_cv_c_compiler_gnu
14176
14177
14178 fi
14179
14180   fi
14181   echo "$as_me:$LINENO: result: $glibcxx_cv_func__isinff_use" >&5
14182 echo "${ECHO_T}$glibcxx_cv_func__isinff_use" >&6
14183
14184     if test x$glibcxx_cv_func__isinff_use = x"yes"; then
14185
14186 for ac_func in _isinff
14187 do
14188 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
14189 echo "$as_me:$LINENO: checking for $ac_func" >&5
14190 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
14191 if eval "test \"\${$as_ac_var+set}\" = set"; then
14192   echo $ECHO_N "(cached) $ECHO_C" >&6
14193 else
14194   if test x$gcc_no_link = xyes; then
14195   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
14196 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
14197    { (exit 1); exit 1; }; }
14198 fi
14199 cat >conftest.$ac_ext <<_ACEOF
14200 /* confdefs.h.  */
14201 _ACEOF
14202 cat confdefs.h >>conftest.$ac_ext
14203 cat >>conftest.$ac_ext <<_ACEOF
14204 /* end confdefs.h.  */
14205 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
14206    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
14207 #define $ac_func innocuous_$ac_func
14208
14209 /* System header to define __stub macros and hopefully few prototypes,
14210     which can conflict with char $ac_func (); below.
14211     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
14212     <limits.h> exists even on freestanding compilers.  */
14213
14214 #ifdef __STDC__
14215 # include <limits.h>
14216 #else
14217 # include <assert.h>
14218 #endif
14219
14220 #undef $ac_func
14221
14222 /* Override any gcc2 internal prototype to avoid an error.  */
14223 #ifdef __cplusplus
14224 extern "C"
14225 {
14226 #endif
14227 /* We use char because int might match the return type of a gcc2
14228    builtin and then its argument prototype would still apply.  */
14229 char $ac_func ();
14230 /* The GNU C library defines this for functions which it implements
14231     to always fail with ENOSYS.  Some functions are actually named
14232     something starting with __ and the normal name is an alias.  */
14233 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
14234 choke me
14235 #else
14236 char (*f) () = $ac_func;
14237 #endif
14238 #ifdef __cplusplus
14239 }
14240 #endif
14241
14242 int
14243 main ()
14244 {
14245 return f != $ac_func;
14246   ;
14247   return 0;
14248 }
14249 _ACEOF
14250 rm -f conftest.$ac_objext conftest$ac_exeext
14251 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
14252   (eval $ac_link) 2>conftest.er1
14253   ac_status=$?
14254   grep -v '^ *+' conftest.er1 >conftest.err
14255   rm -f conftest.er1
14256   cat conftest.err >&5
14257   echo "$as_me:$LINENO: \$? = $ac_status" >&5
14258   (exit $ac_status); } &&
14259          { ac_try='test -z "$ac_c_werror_flag"
14260                          || test ! -s conftest.err'
14261   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14262   (eval $ac_try) 2>&5
14263   ac_status=$?
14264   echo "$as_me:$LINENO: \$? = $ac_status" >&5
14265   (exit $ac_status); }; } &&
14266          { ac_try='test -s conftest$ac_exeext'
14267   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14268   (eval $ac_try) 2>&5
14269   ac_status=$?
14270   echo "$as_me:$LINENO: \$? = $ac_status" >&5
14271   (exit $ac_status); }; }; then
14272   eval "$as_ac_var=yes"
14273 else
14274   echo "$as_me: failed program was:" >&5
14275 sed 's/^/| /' conftest.$ac_ext >&5
14276
14277 eval "$as_ac_var=no"
14278 fi
14279 rm -f conftest.err conftest.$ac_objext \
14280       conftest$ac_exeext conftest.$ac_ext
14281 fi
14282 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
14283 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
14284 if test `eval echo '${'$as_ac_var'}'` = yes; then
14285   cat >>confdefs.h <<_ACEOF
14286 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
14287 _ACEOF
14288
14289 fi
14290 done
14291
14292     fi
14293   fi
14294
14295
14296
14297
14298
14299
14300   echo "$as_me:$LINENO: checking for atan2f declaration" >&5
14301 echo $ECHO_N "checking for atan2f declaration... $ECHO_C" >&6
14302   if test x${glibcxx_cv_func_atan2f_use+set} != xset; then
14303     if test "${glibcxx_cv_func_atan2f_use+set}" = set; then
14304   echo $ECHO_N "(cached) $ECHO_C" >&6
14305 else
14306
14307
14308
14309       ac_ext=cc
14310 ac_cpp='$CXXCPP $CPPFLAGS'
14311 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14312 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14313 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
14314
14315       cat >conftest.$ac_ext <<_ACEOF
14316 /* confdefs.h.  */
14317 _ACEOF
14318 cat confdefs.h >>conftest.$ac_ext
14319 cat >>conftest.$ac_ext <<_ACEOF
14320 /* end confdefs.h.  */
14321 #include <math.h>
14322 int
14323 main ()
14324 {
14325  atan2f(0, 0);
14326   ;
14327   return 0;
14328 }
14329 _ACEOF
14330 rm -f conftest.$ac_objext
14331 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14332   (eval $ac_compile) 2>conftest.er1
14333   ac_status=$?
14334   grep -v '^ *+' conftest.er1 >conftest.err
14335   rm -f conftest.er1
14336   cat conftest.err >&5
14337   echo "$as_me:$LINENO: \$? = $ac_status" >&5
14338   (exit $ac_status); } &&
14339          { ac_try='test -z "$ac_cxx_werror_flag"
14340                          || test ! -s conftest.err'
14341   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14342   (eval $ac_try) 2>&5
14343   ac_status=$?
14344   echo "$as_me:$LINENO: \$? = $ac_status" >&5
14345   (exit $ac_status); }; } &&
14346          { ac_try='test -s conftest.$ac_objext'
14347   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14348   (eval $ac_try) 2>&5
14349   ac_status=$?
14350   echo "$as_me:$LINENO: \$? = $ac_status" >&5
14351   (exit $ac_status); }; }; then
14352   glibcxx_cv_func_atan2f_use=yes
14353 else
14354   echo "$as_me: failed program was:" >&5
14355 sed 's/^/| /' conftest.$ac_ext >&5
14356
14357 glibcxx_cv_func_atan2f_use=no
14358 fi
14359 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
14360       ac_ext=c
14361 ac_cpp='$CPP $CPPFLAGS'
14362 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14363 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14364 ac_compiler_gnu=$ac_cv_c_compiler_gnu
14365
14366
14367 fi
14368
14369   fi
14370   echo "$as_me:$LINENO: result: $glibcxx_cv_func_atan2f_use" >&5
14371 echo "${ECHO_T}$glibcxx_cv_func_atan2f_use" >&6
14372
14373   if test x$glibcxx_cv_func_atan2f_use = x"yes"; then
14374
14375 for ac_func in atan2f
14376 do
14377 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
14378 echo "$as_me:$LINENO: checking for $ac_func" >&5
14379 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
14380 if eval "test \"\${$as_ac_var+set}\" = set"; then
14381   echo $ECHO_N "(cached) $ECHO_C" >&6
14382 else
14383   if test x$gcc_no_link = xyes; then
14384   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
14385 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
14386    { (exit 1); exit 1; }; }
14387 fi
14388 cat >conftest.$ac_ext <<_ACEOF
14389 /* confdefs.h.  */
14390 _ACEOF
14391 cat confdefs.h >>conftest.$ac_ext
14392 cat >>conftest.$ac_ext <<_ACEOF
14393 /* end confdefs.h.  */
14394 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
14395    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
14396 #define $ac_func innocuous_$ac_func
14397
14398 /* System header to define __stub macros and hopefully few prototypes,
14399     which can conflict with char $ac_func (); below.
14400     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
14401     <limits.h> exists even on freestanding compilers.  */
14402
14403 #ifdef __STDC__
14404 # include <limits.h>
14405 #else
14406 # include <assert.h>
14407 #endif
14408
14409 #undef $ac_func
14410
14411 /* Override any gcc2 internal prototype to avoid an error.  */
14412 #ifdef __cplusplus
14413 extern "C"
14414 {
14415 #endif
14416 /* We use char because int might match the return type of a gcc2
14417    builtin and then its argument prototype would still apply.  */
14418 char $ac_func ();
14419 /* The GNU C library defines this for functions which it implements
14420     to always fail with ENOSYS.  Some functions are actually named
14421     something starting with __ and the normal name is an alias.  */
14422 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
14423 choke me
14424 #else
14425 char (*f) () = $ac_func;
14426 #endif
14427 #ifdef __cplusplus
14428 }
14429 #endif
14430
14431 int
14432 main ()
14433 {
14434 return f != $ac_func;
14435   ;
14436   return 0;
14437 }
14438 _ACEOF
14439 rm -f conftest.$ac_objext conftest$ac_exeext
14440 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
14441   (eval $ac_link) 2>conftest.er1
14442   ac_status=$?
14443   grep -v '^ *+' conftest.er1 >conftest.err
14444   rm -f conftest.er1
14445   cat conftest.err >&5
14446   echo "$as_me:$LINENO: \$? = $ac_status" >&5
14447   (exit $ac_status); } &&
14448          { ac_try='test -z "$ac_c_werror_flag"
14449                          || test ! -s conftest.err'
14450   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14451   (eval $ac_try) 2>&5
14452   ac_status=$?
14453   echo "$as_me:$LINENO: \$? = $ac_status" >&5
14454   (exit $ac_status); }; } &&
14455          { ac_try='test -s conftest$ac_exeext'
14456   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14457   (eval $ac_try) 2>&5
14458   ac_status=$?
14459   echo "$as_me:$LINENO: \$? = $ac_status" >&5
14460   (exit $ac_status); }; }; then
14461   eval "$as_ac_var=yes"
14462 else
14463   echo "$as_me: failed program was:" >&5
14464 sed 's/^/| /' conftest.$ac_ext >&5
14465
14466 eval "$as_ac_var=no"
14467 fi
14468 rm -f conftest.err conftest.$ac_objext \
14469       conftest$ac_exeext conftest.$ac_ext
14470 fi
14471 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
14472 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
14473 if test `eval echo '${'$as_ac_var'}'` = yes; then
14474   cat >>confdefs.h <<_ACEOF
14475 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
14476 _ACEOF
14477
14478 fi
14479 done
14480
14481   else
14482
14483   echo "$as_me:$LINENO: checking for _atan2f declaration" >&5
14484 echo $ECHO_N "checking for _atan2f declaration... $ECHO_C" >&6
14485   if test x${glibcxx_cv_func__atan2f_use+set} != xset; then
14486     if test "${glibcxx_cv_func__atan2f_use+set}" = set; then
14487   echo $ECHO_N "(cached) $ECHO_C" >&6
14488 else
14489
14490
14491
14492       ac_ext=cc
14493 ac_cpp='$CXXCPP $CPPFLAGS'
14494 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14495 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14496 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
14497
14498       cat >conftest.$ac_ext <<_ACEOF
14499 /* confdefs.h.  */
14500 _ACEOF
14501 cat confdefs.h >>conftest.$ac_ext
14502 cat >>conftest.$ac_ext <<_ACEOF
14503 /* end confdefs.h.  */
14504 #include <math.h>
14505 int
14506 main ()
14507 {
14508  _atan2f(0, 0);
14509   ;
14510   return 0;
14511 }
14512 _ACEOF
14513 rm -f conftest.$ac_objext
14514 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14515   (eval $ac_compile) 2>conftest.er1
14516   ac_status=$?
14517   grep -v '^ *+' conftest.er1 >conftest.err
14518   rm -f conftest.er1
14519   cat conftest.err >&5
14520   echo "$as_me:$LINENO: \$? = $ac_status" >&5
14521   (exit $ac_status); } &&
14522          { ac_try='test -z "$ac_cxx_werror_flag"
14523                          || test ! -s conftest.err'
14524   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14525   (eval $ac_try) 2>&5
14526   ac_status=$?
14527   echo "$as_me:$LINENO: \$? = $ac_status" >&5
14528   (exit $ac_status); }; } &&
14529          { ac_try='test -s conftest.$ac_objext'
14530   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14531   (eval $ac_try) 2>&5
14532   ac_status=$?
14533   echo "$as_me:$LINENO: \$? = $ac_status" >&5
14534   (exit $ac_status); }; }; then
14535   glibcxx_cv_func__atan2f_use=yes
14536 else
14537   echo "$as_me: failed program was:" >&5
14538 sed 's/^/| /' conftest.$ac_ext >&5
14539
14540 glibcxx_cv_func__atan2f_use=no
14541 fi
14542 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
14543       ac_ext=c
14544 ac_cpp='$CPP $CPPFLAGS'
14545 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14546 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14547 ac_compiler_gnu=$ac_cv_c_compiler_gnu
14548
14549
14550 fi
14551
14552   fi
14553   echo "$as_me:$LINENO: result: $glibcxx_cv_func__atan2f_use" >&5
14554 echo "${ECHO_T}$glibcxx_cv_func__atan2f_use" >&6
14555
14556     if test x$glibcxx_cv_func__atan2f_use = x"yes"; then
14557
14558 for ac_func in _atan2f
14559 do
14560 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
14561 echo "$as_me:$LINENO: checking for $ac_func" >&5
14562 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
14563 if eval "test \"\${$as_ac_var+set}\" = set"; then
14564   echo $ECHO_N "(cached) $ECHO_C" >&6
14565 else
14566   if test x$gcc_no_link = xyes; then
14567   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
14568 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
14569    { (exit 1); exit 1; }; }
14570 fi
14571 cat >conftest.$ac_ext <<_ACEOF
14572 /* confdefs.h.  */
14573 _ACEOF
14574 cat confdefs.h >>conftest.$ac_ext
14575 cat >>conftest.$ac_ext <<_ACEOF
14576 /* end confdefs.h.  */
14577 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
14578    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
14579 #define $ac_func innocuous_$ac_func
14580
14581 /* System header to define __stub macros and hopefully few prototypes,
14582     which can conflict with char $ac_func (); below.
14583     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
14584     <limits.h> exists even on freestanding compilers.  */
14585
14586 #ifdef __STDC__
14587 # include <limits.h>
14588 #else
14589 # include <assert.h>
14590 #endif
14591
14592 #undef $ac_func
14593
14594 /* Override any gcc2 internal prototype to avoid an error.  */
14595 #ifdef __cplusplus
14596 extern "C"
14597 {
14598 #endif
14599 /* We use char because int might match the return type of a gcc2
14600    builtin and then its argument prototype would still apply.  */
14601 char $ac_func ();
14602 /* The GNU C library defines this for functions which it implements
14603     to always fail with ENOSYS.  Some functions are actually named
14604     something starting with __ and the normal name is an alias.  */
14605 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
14606 choke me
14607 #else
14608 char (*f) () = $ac_func;
14609 #endif
14610 #ifdef __cplusplus
14611 }
14612 #endif
14613
14614 int
14615 main ()
14616 {
14617 return f != $ac_func;
14618   ;
14619   return 0;
14620 }
14621 _ACEOF
14622 rm -f conftest.$ac_objext conftest$ac_exeext
14623 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
14624   (eval $ac_link) 2>conftest.er1
14625   ac_status=$?
14626   grep -v '^ *+' conftest.er1 >conftest.err
14627   rm -f conftest.er1
14628   cat conftest.err >&5
14629   echo "$as_me:$LINENO: \$? = $ac_status" >&5
14630   (exit $ac_status); } &&
14631          { ac_try='test -z "$ac_c_werror_flag"
14632                          || test ! -s conftest.err'
14633   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14634   (eval $ac_try) 2>&5
14635   ac_status=$?
14636   echo "$as_me:$LINENO: \$? = $ac_status" >&5
14637   (exit $ac_status); }; } &&
14638          { ac_try='test -s conftest$ac_exeext'
14639   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14640   (eval $ac_try) 2>&5
14641   ac_status=$?
14642   echo "$as_me:$LINENO: \$? = $ac_status" >&5
14643   (exit $ac_status); }; }; then
14644   eval "$as_ac_var=yes"
14645 else
14646   echo "$as_me: failed program was:" >&5
14647 sed 's/^/| /' conftest.$ac_ext >&5
14648
14649 eval "$as_ac_var=no"
14650 fi
14651 rm -f conftest.err conftest.$ac_objext \
14652       conftest$ac_exeext conftest.$ac_ext
14653 fi
14654 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
14655 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
14656 if test `eval echo '${'$as_ac_var'}'` = yes; then
14657   cat >>confdefs.h <<_ACEOF
14658 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
14659 _ACEOF
14660
14661 fi
14662 done
14663
14664     fi
14665   fi
14666
14667
14668
14669
14670
14671
14672   echo "$as_me:$LINENO: checking for fabsf declaration" >&5
14673 echo $ECHO_N "checking for fabsf declaration... $ECHO_C" >&6
14674   if test x${glibcxx_cv_func_fabsf_use+set} != xset; then
14675     if test "${glibcxx_cv_func_fabsf_use+set}" = set; then
14676   echo $ECHO_N "(cached) $ECHO_C" >&6
14677 else
14678
14679
14680
14681       ac_ext=cc
14682 ac_cpp='$CXXCPP $CPPFLAGS'
14683 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14684 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14685 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
14686
14687       cat >conftest.$ac_ext <<_ACEOF
14688 /* confdefs.h.  */
14689 _ACEOF
14690 cat confdefs.h >>conftest.$ac_ext
14691 cat >>conftest.$ac_ext <<_ACEOF
14692 /* end confdefs.h.  */
14693 #include <math.h>
14694                       #ifdef HAVE_IEEEFP_H
14695                       #include <ieeefp.h>
14696                       #endif
14697
14698 int
14699 main ()
14700 {
14701  fabsf(0);
14702   ;
14703   return 0;
14704 }
14705 _ACEOF
14706 rm -f conftest.$ac_objext
14707 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14708   (eval $ac_compile) 2>conftest.er1
14709   ac_status=$?
14710   grep -v '^ *+' conftest.er1 >conftest.err
14711   rm -f conftest.er1
14712   cat conftest.err >&5
14713   echo "$as_me:$LINENO: \$? = $ac_status" >&5
14714   (exit $ac_status); } &&
14715          { ac_try='test -z "$ac_cxx_werror_flag"
14716                          || test ! -s conftest.err'
14717   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14718   (eval $ac_try) 2>&5
14719   ac_status=$?
14720   echo "$as_me:$LINENO: \$? = $ac_status" >&5
14721   (exit $ac_status); }; } &&
14722          { ac_try='test -s conftest.$ac_objext'
14723   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14724   (eval $ac_try) 2>&5
14725   ac_status=$?
14726   echo "$as_me:$LINENO: \$? = $ac_status" >&5
14727   (exit $ac_status); }; }; then
14728   glibcxx_cv_func_fabsf_use=yes
14729 else
14730   echo "$as_me: failed program was:" >&5
14731 sed 's/^/| /' conftest.$ac_ext >&5
14732
14733 glibcxx_cv_func_fabsf_use=no
14734 fi
14735 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
14736       ac_ext=c
14737 ac_cpp='$CPP $CPPFLAGS'
14738 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14739 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14740 ac_compiler_gnu=$ac_cv_c_compiler_gnu
14741
14742
14743 fi
14744
14745   fi
14746   echo "$as_me:$LINENO: result: $glibcxx_cv_func_fabsf_use" >&5
14747 echo "${ECHO_T}$glibcxx_cv_func_fabsf_use" >&6
14748
14749   if test x$glibcxx_cv_func_fabsf_use = x"yes"; then
14750
14751 for ac_func in fabsf
14752 do
14753 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
14754 echo "$as_me:$LINENO: checking for $ac_func" >&5
14755 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
14756 if eval "test \"\${$as_ac_var+set}\" = set"; then
14757   echo $ECHO_N "(cached) $ECHO_C" >&6
14758 else
14759   if test x$gcc_no_link = xyes; then
14760   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
14761 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
14762    { (exit 1); exit 1; }; }
14763 fi
14764 cat >conftest.$ac_ext <<_ACEOF
14765 /* confdefs.h.  */
14766 _ACEOF
14767 cat confdefs.h >>conftest.$ac_ext
14768 cat >>conftest.$ac_ext <<_ACEOF
14769 /* end confdefs.h.  */
14770 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
14771    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
14772 #define $ac_func innocuous_$ac_func
14773
14774 /* System header to define __stub macros and hopefully few prototypes,
14775     which can conflict with char $ac_func (); below.
14776     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
14777     <limits.h> exists even on freestanding compilers.  */
14778
14779 #ifdef __STDC__
14780 # include <limits.h>
14781 #else
14782 # include <assert.h>
14783 #endif
14784
14785 #undef $ac_func
14786
14787 /* Override any gcc2 internal prototype to avoid an error.  */
14788 #ifdef __cplusplus
14789 extern "C"
14790 {
14791 #endif
14792 /* We use char because int might match the return type of a gcc2
14793    builtin and then its argument prototype would still apply.  */
14794 char $ac_func ();
14795 /* The GNU C library defines this for functions which it implements
14796     to always fail with ENOSYS.  Some functions are actually named
14797     something starting with __ and the normal name is an alias.  */
14798 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
14799 choke me
14800 #else
14801 char (*f) () = $ac_func;
14802 #endif
14803 #ifdef __cplusplus
14804 }
14805 #endif
14806
14807 int
14808 main ()
14809 {
14810 return f != $ac_func;
14811   ;
14812   return 0;
14813 }
14814 _ACEOF
14815 rm -f conftest.$ac_objext conftest$ac_exeext
14816 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
14817   (eval $ac_link) 2>conftest.er1
14818   ac_status=$?
14819   grep -v '^ *+' conftest.er1 >conftest.err
14820   rm -f conftest.er1
14821   cat conftest.err >&5
14822   echo "$as_me:$LINENO: \$? = $ac_status" >&5
14823   (exit $ac_status); } &&
14824          { ac_try='test -z "$ac_c_werror_flag"
14825                          || test ! -s conftest.err'
14826   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14827   (eval $ac_try) 2>&5
14828   ac_status=$?
14829   echo "$as_me:$LINENO: \$? = $ac_status" >&5
14830   (exit $ac_status); }; } &&
14831          { ac_try='test -s conftest$ac_exeext'
14832   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14833   (eval $ac_try) 2>&5
14834   ac_status=$?
14835   echo "$as_me:$LINENO: \$? = $ac_status" >&5
14836   (exit $ac_status); }; }; then
14837   eval "$as_ac_var=yes"
14838 else
14839   echo "$as_me: failed program was:" >&5
14840 sed 's/^/| /' conftest.$ac_ext >&5
14841
14842 eval "$as_ac_var=no"
14843 fi
14844 rm -f conftest.err conftest.$ac_objext \
14845       conftest$ac_exeext conftest.$ac_ext
14846 fi
14847 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
14848 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
14849 if test `eval echo '${'$as_ac_var'}'` = yes; then
14850   cat >>confdefs.h <<_ACEOF
14851 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
14852 _ACEOF
14853
14854 fi
14855 done
14856
14857   else
14858
14859   echo "$as_me:$LINENO: checking for _fabsf declaration" >&5
14860 echo $ECHO_N "checking for _fabsf declaration... $ECHO_C" >&6
14861   if test x${glibcxx_cv_func__fabsf_use+set} != xset; then
14862     if test "${glibcxx_cv_func__fabsf_use+set}" = set; then
14863   echo $ECHO_N "(cached) $ECHO_C" >&6
14864 else
14865
14866
14867
14868       ac_ext=cc
14869 ac_cpp='$CXXCPP $CPPFLAGS'
14870 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14871 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14872 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
14873
14874       cat >conftest.$ac_ext <<_ACEOF
14875 /* confdefs.h.  */
14876 _ACEOF
14877 cat confdefs.h >>conftest.$ac_ext
14878 cat >>conftest.$ac_ext <<_ACEOF
14879 /* end confdefs.h.  */
14880 #include <math.h>
14881                       #ifdef HAVE_IEEEFP_H
14882                       #include <ieeefp.h>
14883                       #endif
14884
14885 int
14886 main ()
14887 {
14888  _fabsf(0);
14889   ;
14890   return 0;
14891 }
14892 _ACEOF
14893 rm -f conftest.$ac_objext
14894 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14895   (eval $ac_compile) 2>conftest.er1
14896   ac_status=$?
14897   grep -v '^ *+' conftest.er1 >conftest.err
14898   rm -f conftest.er1
14899   cat conftest.err >&5
14900   echo "$as_me:$LINENO: \$? = $ac_status" >&5
14901   (exit $ac_status); } &&
14902          { ac_try='test -z "$ac_cxx_werror_flag"
14903                          || test ! -s conftest.err'
14904   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14905   (eval $ac_try) 2>&5
14906   ac_status=$?
14907   echo "$as_me:$LINENO: \$? = $ac_status" >&5
14908   (exit $ac_status); }; } &&
14909          { ac_try='test -s conftest.$ac_objext'
14910   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14911   (eval $ac_try) 2>&5
14912   ac_status=$?
14913   echo "$as_me:$LINENO: \$? = $ac_status" >&5
14914   (exit $ac_status); }; }; then
14915   glibcxx_cv_func__fabsf_use=yes
14916 else
14917   echo "$as_me: failed program was:" >&5
14918 sed 's/^/| /' conftest.$ac_ext >&5
14919
14920 glibcxx_cv_func__fabsf_use=no
14921 fi
14922 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
14923       ac_ext=c
14924 ac_cpp='$CPP $CPPFLAGS'
14925 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14926 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14927 ac_compiler_gnu=$ac_cv_c_compiler_gnu
14928
14929
14930 fi
14931
14932   fi
14933   echo "$as_me:$LINENO: result: $glibcxx_cv_func__fabsf_use" >&5
14934 echo "${ECHO_T}$glibcxx_cv_func__fabsf_use" >&6
14935
14936     if test x$glibcxx_cv_func__fabsf_use = x"yes"; then
14937
14938 for ac_func in _fabsf
14939 do
14940 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
14941 echo "$as_me:$LINENO: checking for $ac_func" >&5
14942 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
14943 if eval "test \"\${$as_ac_var+set}\" = set"; then
14944   echo $ECHO_N "(cached) $ECHO_C" >&6
14945 else
14946   if test x$gcc_no_link = xyes; then
14947   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
14948 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
14949    { (exit 1); exit 1; }; }
14950 fi
14951 cat >conftest.$ac_ext <<_ACEOF
14952 /* confdefs.h.  */
14953 _ACEOF
14954 cat confdefs.h >>conftest.$ac_ext
14955 cat >>conftest.$ac_ext <<_ACEOF
14956 /* end confdefs.h.  */
14957 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
14958    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
14959 #define $ac_func innocuous_$ac_func
14960
14961 /* System header to define __stub macros and hopefully few prototypes,
14962     which can conflict with char $ac_func (); below.
14963     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
14964     <limits.h> exists even on freestanding compilers.  */
14965
14966 #ifdef __STDC__
14967 # include <limits.h>
14968 #else
14969 # include <assert.h>
14970 #endif
14971
14972 #undef $ac_func
14973
14974 /* Override any gcc2 internal prototype to avoid an error.  */
14975 #ifdef __cplusplus
14976 extern "C"
14977 {
14978 #endif
14979 /* We use char because int might match the return type of a gcc2
14980    builtin and then its argument prototype would still apply.  */
14981 char $ac_func ();
14982 /* The GNU C library defines this for functions which it implements
14983     to always fail with ENOSYS.  Some functions are actually named
14984     something starting with __ and the normal name is an alias.  */
14985 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
14986 choke me
14987 #else
14988 char (*f) () = $ac_func;
14989 #endif
14990 #ifdef __cplusplus
14991 }
14992 #endif
14993
14994 int
14995 main ()
14996 {
14997 return f != $ac_func;
14998   ;
14999   return 0;
15000 }
15001 _ACEOF
15002 rm -f conftest.$ac_objext conftest$ac_exeext
15003 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
15004   (eval $ac_link) 2>conftest.er1
15005   ac_status=$?
15006   grep -v '^ *+' conftest.er1 >conftest.err
15007   rm -f conftest.er1
15008   cat conftest.err >&5
15009   echo "$as_me:$LINENO: \$? = $ac_status" >&5
15010   (exit $ac_status); } &&
15011          { ac_try='test -z "$ac_c_werror_flag"
15012                          || test ! -s conftest.err'
15013   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15014   (eval $ac_try) 2>&5
15015   ac_status=$?
15016   echo "$as_me:$LINENO: \$? = $ac_status" >&5
15017   (exit $ac_status); }; } &&
15018          { ac_try='test -s conftest$ac_exeext'
15019   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15020   (eval $ac_try) 2>&5
15021   ac_status=$?
15022   echo "$as_me:$LINENO: \$? = $ac_status" >&5
15023   (exit $ac_status); }; }; then
15024   eval "$as_ac_var=yes"
15025 else
15026   echo "$as_me: failed program was:" >&5
15027 sed 's/^/| /' conftest.$ac_ext >&5
15028
15029 eval "$as_ac_var=no"
15030 fi
15031 rm -f conftest.err conftest.$ac_objext \
15032       conftest$ac_exeext conftest.$ac_ext
15033 fi
15034 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
15035 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
15036 if test `eval echo '${'$as_ac_var'}'` = yes; then
15037   cat >>confdefs.h <<_ACEOF
15038 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
15039 _ACEOF
15040
15041 fi
15042 done
15043
15044     fi
15045   fi
15046
15047
15048
15049
15050
15051
15052   echo "$as_me:$LINENO: checking for fmodf declaration" >&5
15053 echo $ECHO_N "checking for fmodf declaration... $ECHO_C" >&6
15054   if test x${glibcxx_cv_func_fmodf_use+set} != xset; then
15055     if test "${glibcxx_cv_func_fmodf_use+set}" = set; then
15056   echo $ECHO_N "(cached) $ECHO_C" >&6
15057 else
15058
15059
15060
15061       ac_ext=cc
15062 ac_cpp='$CXXCPP $CPPFLAGS'
15063 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15064 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15065 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
15066
15067       cat >conftest.$ac_ext <<_ACEOF
15068 /* confdefs.h.  */
15069 _ACEOF
15070 cat confdefs.h >>conftest.$ac_ext
15071 cat >>conftest.$ac_ext <<_ACEOF
15072 /* end confdefs.h.  */
15073 #include <math.h>
15074 int
15075 main ()
15076 {
15077  fmodf(0, 0);
15078   ;
15079   return 0;
15080 }
15081 _ACEOF
15082 rm -f conftest.$ac_objext
15083 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15084   (eval $ac_compile) 2>conftest.er1
15085   ac_status=$?
15086   grep -v '^ *+' conftest.er1 >conftest.err
15087   rm -f conftest.er1
15088   cat conftest.err >&5
15089   echo "$as_me:$LINENO: \$? = $ac_status" >&5
15090   (exit $ac_status); } &&
15091          { ac_try='test -z "$ac_cxx_werror_flag"
15092                          || test ! -s conftest.err'
15093   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15094   (eval $ac_try) 2>&5
15095   ac_status=$?
15096   echo "$as_me:$LINENO: \$? = $ac_status" >&5
15097   (exit $ac_status); }; } &&
15098          { ac_try='test -s conftest.$ac_objext'
15099   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15100   (eval $ac_try) 2>&5
15101   ac_status=$?
15102   echo "$as_me:$LINENO: \$? = $ac_status" >&5
15103   (exit $ac_status); }; }; then
15104   glibcxx_cv_func_fmodf_use=yes
15105 else
15106   echo "$as_me: failed program was:" >&5
15107 sed 's/^/| /' conftest.$ac_ext >&5
15108
15109 glibcxx_cv_func_fmodf_use=no
15110 fi
15111 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
15112       ac_ext=c
15113 ac_cpp='$CPP $CPPFLAGS'
15114 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15115 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15116 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15117
15118
15119 fi
15120
15121   fi
15122   echo "$as_me:$LINENO: result: $glibcxx_cv_func_fmodf_use" >&5
15123 echo "${ECHO_T}$glibcxx_cv_func_fmodf_use" >&6
15124
15125   if test x$glibcxx_cv_func_fmodf_use = x"yes"; then
15126
15127 for ac_func in fmodf
15128 do
15129 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
15130 echo "$as_me:$LINENO: checking for $ac_func" >&5
15131 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
15132 if eval "test \"\${$as_ac_var+set}\" = set"; then
15133   echo $ECHO_N "(cached) $ECHO_C" >&6
15134 else
15135   if test x$gcc_no_link = xyes; then
15136   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
15137 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
15138    { (exit 1); exit 1; }; }
15139 fi
15140 cat >conftest.$ac_ext <<_ACEOF
15141 /* confdefs.h.  */
15142 _ACEOF
15143 cat confdefs.h >>conftest.$ac_ext
15144 cat >>conftest.$ac_ext <<_ACEOF
15145 /* end confdefs.h.  */
15146 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
15147    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
15148 #define $ac_func innocuous_$ac_func
15149
15150 /* System header to define __stub macros and hopefully few prototypes,
15151     which can conflict with char $ac_func (); below.
15152     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
15153     <limits.h> exists even on freestanding compilers.  */
15154
15155 #ifdef __STDC__
15156 # include <limits.h>
15157 #else
15158 # include <assert.h>
15159 #endif
15160
15161 #undef $ac_func
15162
15163 /* Override any gcc2 internal prototype to avoid an error.  */
15164 #ifdef __cplusplus
15165 extern "C"
15166 {
15167 #endif
15168 /* We use char because int might match the return type of a gcc2
15169    builtin and then its argument prototype would still apply.  */
15170 char $ac_func ();
15171 /* The GNU C library defines this for functions which it implements
15172     to always fail with ENOSYS.  Some functions are actually named
15173     something starting with __ and the normal name is an alias.  */
15174 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
15175 choke me
15176 #else
15177 char (*f) () = $ac_func;
15178 #endif
15179 #ifdef __cplusplus
15180 }
15181 #endif
15182
15183 int
15184 main ()
15185 {
15186 return f != $ac_func;
15187   ;
15188   return 0;
15189 }
15190 _ACEOF
15191 rm -f conftest.$ac_objext conftest$ac_exeext
15192 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
15193   (eval $ac_link) 2>conftest.er1
15194   ac_status=$?
15195   grep -v '^ *+' conftest.er1 >conftest.err
15196   rm -f conftest.er1
15197   cat conftest.err >&5
15198   echo "$as_me:$LINENO: \$? = $ac_status" >&5
15199   (exit $ac_status); } &&
15200          { ac_try='test -z "$ac_c_werror_flag"
15201                          || test ! -s conftest.err'
15202   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15203   (eval $ac_try) 2>&5
15204   ac_status=$?
15205   echo "$as_me:$LINENO: \$? = $ac_status" >&5
15206   (exit $ac_status); }; } &&
15207          { ac_try='test -s conftest$ac_exeext'
15208   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15209   (eval $ac_try) 2>&5
15210   ac_status=$?
15211   echo "$as_me:$LINENO: \$? = $ac_status" >&5
15212   (exit $ac_status); }; }; then
15213   eval "$as_ac_var=yes"
15214 else
15215   echo "$as_me: failed program was:" >&5
15216 sed 's/^/| /' conftest.$ac_ext >&5
15217
15218 eval "$as_ac_var=no"
15219 fi
15220 rm -f conftest.err conftest.$ac_objext \
15221       conftest$ac_exeext conftest.$ac_ext
15222 fi
15223 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
15224 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
15225 if test `eval echo '${'$as_ac_var'}'` = yes; then
15226   cat >>confdefs.h <<_ACEOF
15227 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
15228 _ACEOF
15229
15230 fi
15231 done
15232
15233   else
15234
15235   echo "$as_me:$LINENO: checking for _fmodf declaration" >&5
15236 echo $ECHO_N "checking for _fmodf declaration... $ECHO_C" >&6
15237   if test x${glibcxx_cv_func__fmodf_use+set} != xset; then
15238     if test "${glibcxx_cv_func__fmodf_use+set}" = set; then
15239   echo $ECHO_N "(cached) $ECHO_C" >&6
15240 else
15241
15242
15243
15244       ac_ext=cc
15245 ac_cpp='$CXXCPP $CPPFLAGS'
15246 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15247 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15248 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
15249
15250       cat >conftest.$ac_ext <<_ACEOF
15251 /* confdefs.h.  */
15252 _ACEOF
15253 cat confdefs.h >>conftest.$ac_ext
15254 cat >>conftest.$ac_ext <<_ACEOF
15255 /* end confdefs.h.  */
15256 #include <math.h>
15257 int
15258 main ()
15259 {
15260  _fmodf(0, 0);
15261   ;
15262   return 0;
15263 }
15264 _ACEOF
15265 rm -f conftest.$ac_objext
15266 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15267   (eval $ac_compile) 2>conftest.er1
15268   ac_status=$?
15269   grep -v '^ *+' conftest.er1 >conftest.err
15270   rm -f conftest.er1
15271   cat conftest.err >&5
15272   echo "$as_me:$LINENO: \$? = $ac_status" >&5
15273   (exit $ac_status); } &&
15274          { ac_try='test -z "$ac_cxx_werror_flag"
15275                          || test ! -s conftest.err'
15276   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15277   (eval $ac_try) 2>&5
15278   ac_status=$?
15279   echo "$as_me:$LINENO: \$? = $ac_status" >&5
15280   (exit $ac_status); }; } &&
15281          { ac_try='test -s conftest.$ac_objext'
15282   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15283   (eval $ac_try) 2>&5
15284   ac_status=$?
15285   echo "$as_me:$LINENO: \$? = $ac_status" >&5
15286   (exit $ac_status); }; }; then
15287   glibcxx_cv_func__fmodf_use=yes
15288 else
15289   echo "$as_me: failed program was:" >&5
15290 sed 's/^/| /' conftest.$ac_ext >&5
15291
15292 glibcxx_cv_func__fmodf_use=no
15293 fi
15294 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
15295       ac_ext=c
15296 ac_cpp='$CPP $CPPFLAGS'
15297 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15298 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15299 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15300
15301
15302 fi
15303
15304   fi
15305   echo "$as_me:$LINENO: result: $glibcxx_cv_func__fmodf_use" >&5
15306 echo "${ECHO_T}$glibcxx_cv_func__fmodf_use" >&6
15307
15308     if test x$glibcxx_cv_func__fmodf_use = x"yes"; then
15309
15310 for ac_func in _fmodf
15311 do
15312 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
15313 echo "$as_me:$LINENO: checking for $ac_func" >&5
15314 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
15315 if eval "test \"\${$as_ac_var+set}\" = set"; then
15316   echo $ECHO_N "(cached) $ECHO_C" >&6
15317 else
15318   if test x$gcc_no_link = xyes; then
15319   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
15320 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
15321    { (exit 1); exit 1; }; }
15322 fi
15323 cat >conftest.$ac_ext <<_ACEOF
15324 /* confdefs.h.  */
15325 _ACEOF
15326 cat confdefs.h >>conftest.$ac_ext
15327 cat >>conftest.$ac_ext <<_ACEOF
15328 /* end confdefs.h.  */
15329 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
15330    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
15331 #define $ac_func innocuous_$ac_func
15332
15333 /* System header to define __stub macros and hopefully few prototypes,
15334     which can conflict with char $ac_func (); below.
15335     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
15336     <limits.h> exists even on freestanding compilers.  */
15337
15338 #ifdef __STDC__
15339 # include <limits.h>
15340 #else
15341 # include <assert.h>
15342 #endif
15343
15344 #undef $ac_func
15345
15346 /* Override any gcc2 internal prototype to avoid an error.  */
15347 #ifdef __cplusplus
15348 extern "C"
15349 {
15350 #endif
15351 /* We use char because int might match the return type of a gcc2
15352    builtin and then its argument prototype would still apply.  */
15353 char $ac_func ();
15354 /* The GNU C library defines this for functions which it implements
15355     to always fail with ENOSYS.  Some functions are actually named
15356     something starting with __ and the normal name is an alias.  */
15357 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
15358 choke me
15359 #else
15360 char (*f) () = $ac_func;
15361 #endif
15362 #ifdef __cplusplus
15363 }
15364 #endif
15365
15366 int
15367 main ()
15368 {
15369 return f != $ac_func;
15370   ;
15371   return 0;
15372 }
15373 _ACEOF
15374 rm -f conftest.$ac_objext conftest$ac_exeext
15375 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
15376   (eval $ac_link) 2>conftest.er1
15377   ac_status=$?
15378   grep -v '^ *+' conftest.er1 >conftest.err
15379   rm -f conftest.er1
15380   cat conftest.err >&5
15381   echo "$as_me:$LINENO: \$? = $ac_status" >&5
15382   (exit $ac_status); } &&
15383          { ac_try='test -z "$ac_c_werror_flag"
15384                          || test ! -s conftest.err'
15385   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15386   (eval $ac_try) 2>&5
15387   ac_status=$?
15388   echo "$as_me:$LINENO: \$? = $ac_status" >&5
15389   (exit $ac_status); }; } &&
15390          { ac_try='test -s conftest$ac_exeext'
15391   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15392   (eval $ac_try) 2>&5
15393   ac_status=$?
15394   echo "$as_me:$LINENO: \$? = $ac_status" >&5
15395   (exit $ac_status); }; }; then
15396   eval "$as_ac_var=yes"
15397 else
15398   echo "$as_me: failed program was:" >&5
15399 sed 's/^/| /' conftest.$ac_ext >&5
15400
15401 eval "$as_ac_var=no"
15402 fi
15403 rm -f conftest.err conftest.$ac_objext \
15404       conftest$ac_exeext conftest.$ac_ext
15405 fi
15406 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
15407 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
15408 if test `eval echo '${'$as_ac_var'}'` = yes; then
15409   cat >>confdefs.h <<_ACEOF
15410 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
15411 _ACEOF
15412
15413 fi
15414 done
15415
15416     fi
15417   fi
15418
15419
15420
15421
15422
15423
15424   echo "$as_me:$LINENO: checking for frexpf declaration" >&5
15425 echo $ECHO_N "checking for frexpf declaration... $ECHO_C" >&6
15426   if test x${glibcxx_cv_func_frexpf_use+set} != xset; then
15427     if test "${glibcxx_cv_func_frexpf_use+set}" = set; then
15428   echo $ECHO_N "(cached) $ECHO_C" >&6
15429 else
15430
15431
15432
15433       ac_ext=cc
15434 ac_cpp='$CXXCPP $CPPFLAGS'
15435 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15436 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15437 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
15438
15439       cat >conftest.$ac_ext <<_ACEOF
15440 /* confdefs.h.  */
15441 _ACEOF
15442 cat confdefs.h >>conftest.$ac_ext
15443 cat >>conftest.$ac_ext <<_ACEOF
15444 /* end confdefs.h.  */
15445 #include <math.h>
15446 int
15447 main ()
15448 {
15449  frexpf(0, 0);
15450   ;
15451   return 0;
15452 }
15453 _ACEOF
15454 rm -f conftest.$ac_objext
15455 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15456   (eval $ac_compile) 2>conftest.er1
15457   ac_status=$?
15458   grep -v '^ *+' conftest.er1 >conftest.err
15459   rm -f conftest.er1
15460   cat conftest.err >&5
15461   echo "$as_me:$LINENO: \$? = $ac_status" >&5
15462   (exit $ac_status); } &&
15463          { ac_try='test -z "$ac_cxx_werror_flag"
15464                          || test ! -s conftest.err'
15465   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15466   (eval $ac_try) 2>&5
15467   ac_status=$?
15468   echo "$as_me:$LINENO: \$? = $ac_status" >&5
15469   (exit $ac_status); }; } &&
15470          { ac_try='test -s conftest.$ac_objext'
15471   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15472   (eval $ac_try) 2>&5
15473   ac_status=$?
15474   echo "$as_me:$LINENO: \$? = $ac_status" >&5
15475   (exit $ac_status); }; }; then
15476   glibcxx_cv_func_frexpf_use=yes
15477 else
15478   echo "$as_me: failed program was:" >&5
15479 sed 's/^/| /' conftest.$ac_ext >&5
15480
15481 glibcxx_cv_func_frexpf_use=no
15482 fi
15483 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
15484       ac_ext=c
15485 ac_cpp='$CPP $CPPFLAGS'
15486 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15487 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15488 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15489
15490
15491 fi
15492
15493   fi
15494   echo "$as_me:$LINENO: result: $glibcxx_cv_func_frexpf_use" >&5
15495 echo "${ECHO_T}$glibcxx_cv_func_frexpf_use" >&6
15496
15497   if test x$glibcxx_cv_func_frexpf_use = x"yes"; then
15498
15499 for ac_func in frexpf
15500 do
15501 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
15502 echo "$as_me:$LINENO: checking for $ac_func" >&5
15503 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
15504 if eval "test \"\${$as_ac_var+set}\" = set"; then
15505   echo $ECHO_N "(cached) $ECHO_C" >&6
15506 else
15507   if test x$gcc_no_link = xyes; then
15508   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
15509 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
15510    { (exit 1); exit 1; }; }
15511 fi
15512 cat >conftest.$ac_ext <<_ACEOF
15513 /* confdefs.h.  */
15514 _ACEOF
15515 cat confdefs.h >>conftest.$ac_ext
15516 cat >>conftest.$ac_ext <<_ACEOF
15517 /* end confdefs.h.  */
15518 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
15519    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
15520 #define $ac_func innocuous_$ac_func
15521
15522 /* System header to define __stub macros and hopefully few prototypes,
15523     which can conflict with char $ac_func (); below.
15524     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
15525     <limits.h> exists even on freestanding compilers.  */
15526
15527 #ifdef __STDC__
15528 # include <limits.h>
15529 #else
15530 # include <assert.h>
15531 #endif
15532
15533 #undef $ac_func
15534
15535 /* Override any gcc2 internal prototype to avoid an error.  */
15536 #ifdef __cplusplus
15537 extern "C"
15538 {
15539 #endif
15540 /* We use char because int might match the return type of a gcc2
15541    builtin and then its argument prototype would still apply.  */
15542 char $ac_func ();
15543 /* The GNU C library defines this for functions which it implements
15544     to always fail with ENOSYS.  Some functions are actually named
15545     something starting with __ and the normal name is an alias.  */
15546 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
15547 choke me
15548 #else
15549 char (*f) () = $ac_func;
15550 #endif
15551 #ifdef __cplusplus
15552 }
15553 #endif
15554
15555 int
15556 main ()
15557 {
15558 return f != $ac_func;
15559   ;
15560   return 0;
15561 }
15562 _ACEOF
15563 rm -f conftest.$ac_objext conftest$ac_exeext
15564 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
15565   (eval $ac_link) 2>conftest.er1
15566   ac_status=$?
15567   grep -v '^ *+' conftest.er1 >conftest.err
15568   rm -f conftest.er1
15569   cat conftest.err >&5
15570   echo "$as_me:$LINENO: \$? = $ac_status" >&5
15571   (exit $ac_status); } &&
15572          { ac_try='test -z "$ac_c_werror_flag"
15573                          || test ! -s conftest.err'
15574   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15575   (eval $ac_try) 2>&5
15576   ac_status=$?
15577   echo "$as_me:$LINENO: \$? = $ac_status" >&5
15578   (exit $ac_status); }; } &&
15579          { ac_try='test -s conftest$ac_exeext'
15580   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15581   (eval $ac_try) 2>&5
15582   ac_status=$?
15583   echo "$as_me:$LINENO: \$? = $ac_status" >&5
15584   (exit $ac_status); }; }; then
15585   eval "$as_ac_var=yes"
15586 else
15587   echo "$as_me: failed program was:" >&5
15588 sed 's/^/| /' conftest.$ac_ext >&5
15589
15590 eval "$as_ac_var=no"
15591 fi
15592 rm -f conftest.err conftest.$ac_objext \
15593       conftest$ac_exeext conftest.$ac_ext
15594 fi
15595 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
15596 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
15597 if test `eval echo '${'$as_ac_var'}'` = yes; then
15598   cat >>confdefs.h <<_ACEOF
15599 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
15600 _ACEOF
15601
15602 fi
15603 done
15604
15605   else
15606
15607   echo "$as_me:$LINENO: checking for _frexpf declaration" >&5
15608 echo $ECHO_N "checking for _frexpf declaration... $ECHO_C" >&6
15609   if test x${glibcxx_cv_func__frexpf_use+set} != xset; then
15610     if test "${glibcxx_cv_func__frexpf_use+set}" = set; then
15611   echo $ECHO_N "(cached) $ECHO_C" >&6
15612 else
15613
15614
15615
15616       ac_ext=cc
15617 ac_cpp='$CXXCPP $CPPFLAGS'
15618 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15619 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15620 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
15621
15622       cat >conftest.$ac_ext <<_ACEOF
15623 /* confdefs.h.  */
15624 _ACEOF
15625 cat confdefs.h >>conftest.$ac_ext
15626 cat >>conftest.$ac_ext <<_ACEOF
15627 /* end confdefs.h.  */
15628 #include <math.h>
15629 int
15630 main ()
15631 {
15632  _frexpf(0, 0);
15633   ;
15634   return 0;
15635 }
15636 _ACEOF
15637 rm -f conftest.$ac_objext
15638 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15639   (eval $ac_compile) 2>conftest.er1
15640   ac_status=$?
15641   grep -v '^ *+' conftest.er1 >conftest.err
15642   rm -f conftest.er1
15643   cat conftest.err >&5
15644   echo "$as_me:$LINENO: \$? = $ac_status" >&5
15645   (exit $ac_status); } &&
15646          { ac_try='test -z "$ac_cxx_werror_flag"
15647                          || test ! -s conftest.err'
15648   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15649   (eval $ac_try) 2>&5
15650   ac_status=$?
15651   echo "$as_me:$LINENO: \$? = $ac_status" >&5
15652   (exit $ac_status); }; } &&
15653          { ac_try='test -s conftest.$ac_objext'
15654   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15655   (eval $ac_try) 2>&5
15656   ac_status=$?
15657   echo "$as_me:$LINENO: \$? = $ac_status" >&5
15658   (exit $ac_status); }; }; then
15659   glibcxx_cv_func__frexpf_use=yes
15660 else
15661   echo "$as_me: failed program was:" >&5
15662 sed 's/^/| /' conftest.$ac_ext >&5
15663
15664 glibcxx_cv_func__frexpf_use=no
15665 fi
15666 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
15667       ac_ext=c
15668 ac_cpp='$CPP $CPPFLAGS'
15669 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15670 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15671 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15672
15673
15674 fi
15675
15676   fi
15677   echo "$as_me:$LINENO: result: $glibcxx_cv_func__frexpf_use" >&5
15678 echo "${ECHO_T}$glibcxx_cv_func__frexpf_use" >&6
15679
15680     if test x$glibcxx_cv_func__frexpf_use = x"yes"; then
15681
15682 for ac_func in _frexpf
15683 do
15684 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
15685 echo "$as_me:$LINENO: checking for $ac_func" >&5
15686 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
15687 if eval "test \"\${$as_ac_var+set}\" = set"; then
15688   echo $ECHO_N "(cached) $ECHO_C" >&6
15689 else
15690   if test x$gcc_no_link = xyes; then
15691   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
15692 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
15693    { (exit 1); exit 1; }; }
15694 fi
15695 cat >conftest.$ac_ext <<_ACEOF
15696 /* confdefs.h.  */
15697 _ACEOF
15698 cat confdefs.h >>conftest.$ac_ext
15699 cat >>conftest.$ac_ext <<_ACEOF
15700 /* end confdefs.h.  */
15701 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
15702    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
15703 #define $ac_func innocuous_$ac_func
15704
15705 /* System header to define __stub macros and hopefully few prototypes,
15706     which can conflict with char $ac_func (); below.
15707     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
15708     <limits.h> exists even on freestanding compilers.  */
15709
15710 #ifdef __STDC__
15711 # include <limits.h>
15712 #else
15713 # include <assert.h>
15714 #endif
15715
15716 #undef $ac_func
15717
15718 /* Override any gcc2 internal prototype to avoid an error.  */
15719 #ifdef __cplusplus
15720 extern "C"
15721 {
15722 #endif
15723 /* We use char because int might match the return type of a gcc2
15724    builtin and then its argument prototype would still apply.  */
15725 char $ac_func ();
15726 /* The GNU C library defines this for functions which it implements
15727     to always fail with ENOSYS.  Some functions are actually named
15728     something starting with __ and the normal name is an alias.  */
15729 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
15730 choke me
15731 #else
15732 char (*f) () = $ac_func;
15733 #endif
15734 #ifdef __cplusplus
15735 }
15736 #endif
15737
15738 int
15739 main ()
15740 {
15741 return f != $ac_func;
15742   ;
15743   return 0;
15744 }
15745 _ACEOF
15746 rm -f conftest.$ac_objext conftest$ac_exeext
15747 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
15748   (eval $ac_link) 2>conftest.er1
15749   ac_status=$?
15750   grep -v '^ *+' conftest.er1 >conftest.err
15751   rm -f conftest.er1
15752   cat conftest.err >&5
15753   echo "$as_me:$LINENO: \$? = $ac_status" >&5
15754   (exit $ac_status); } &&
15755          { ac_try='test -z "$ac_c_werror_flag"
15756                          || test ! -s conftest.err'
15757   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15758   (eval $ac_try) 2>&5
15759   ac_status=$?
15760   echo "$as_me:$LINENO: \$? = $ac_status" >&5
15761   (exit $ac_status); }; } &&
15762          { ac_try='test -s conftest$ac_exeext'
15763   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15764   (eval $ac_try) 2>&5
15765   ac_status=$?
15766   echo "$as_me:$LINENO: \$? = $ac_status" >&5
15767   (exit $ac_status); }; }; then
15768   eval "$as_ac_var=yes"
15769 else
15770   echo "$as_me: failed program was:" >&5
15771 sed 's/^/| /' conftest.$ac_ext >&5
15772
15773 eval "$as_ac_var=no"
15774 fi
15775 rm -f conftest.err conftest.$ac_objext \
15776       conftest$ac_exeext conftest.$ac_ext
15777 fi
15778 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
15779 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
15780 if test `eval echo '${'$as_ac_var'}'` = yes; then
15781   cat >>confdefs.h <<_ACEOF
15782 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
15783 _ACEOF
15784
15785 fi
15786 done
15787
15788     fi
15789   fi
15790
15791
15792
15793
15794
15795
15796   echo "$as_me:$LINENO: checking for hypotf declaration" >&5
15797 echo $ECHO_N "checking for hypotf declaration... $ECHO_C" >&6
15798   if test x${glibcxx_cv_func_hypotf_use+set} != xset; then
15799     if test "${glibcxx_cv_func_hypotf_use+set}" = set; then
15800   echo $ECHO_N "(cached) $ECHO_C" >&6
15801 else
15802
15803
15804
15805       ac_ext=cc
15806 ac_cpp='$CXXCPP $CPPFLAGS'
15807 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15808 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15809 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
15810
15811       cat >conftest.$ac_ext <<_ACEOF
15812 /* confdefs.h.  */
15813 _ACEOF
15814 cat confdefs.h >>conftest.$ac_ext
15815 cat >>conftest.$ac_ext <<_ACEOF
15816 /* end confdefs.h.  */
15817 #include <math.h>
15818 int
15819 main ()
15820 {
15821  hypotf(0, 0);
15822   ;
15823   return 0;
15824 }
15825 _ACEOF
15826 rm -f conftest.$ac_objext
15827 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15828   (eval $ac_compile) 2>conftest.er1
15829   ac_status=$?
15830   grep -v '^ *+' conftest.er1 >conftest.err
15831   rm -f conftest.er1
15832   cat conftest.err >&5
15833   echo "$as_me:$LINENO: \$? = $ac_status" >&5
15834   (exit $ac_status); } &&
15835          { ac_try='test -z "$ac_cxx_werror_flag"
15836                          || test ! -s conftest.err'
15837   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15838   (eval $ac_try) 2>&5
15839   ac_status=$?
15840   echo "$as_me:$LINENO: \$? = $ac_status" >&5
15841   (exit $ac_status); }; } &&
15842          { ac_try='test -s conftest.$ac_objext'
15843   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15844   (eval $ac_try) 2>&5
15845   ac_status=$?
15846   echo "$as_me:$LINENO: \$? = $ac_status" >&5
15847   (exit $ac_status); }; }; then
15848   glibcxx_cv_func_hypotf_use=yes
15849 else
15850   echo "$as_me: failed program was:" >&5
15851 sed 's/^/| /' conftest.$ac_ext >&5
15852
15853 glibcxx_cv_func_hypotf_use=no
15854 fi
15855 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
15856       ac_ext=c
15857 ac_cpp='$CPP $CPPFLAGS'
15858 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15859 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15860 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15861
15862
15863 fi
15864
15865   fi
15866   echo "$as_me:$LINENO: result: $glibcxx_cv_func_hypotf_use" >&5
15867 echo "${ECHO_T}$glibcxx_cv_func_hypotf_use" >&6
15868
15869   if test x$glibcxx_cv_func_hypotf_use = x"yes"; then
15870
15871 for ac_func in hypotf
15872 do
15873 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
15874 echo "$as_me:$LINENO: checking for $ac_func" >&5
15875 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
15876 if eval "test \"\${$as_ac_var+set}\" = set"; then
15877   echo $ECHO_N "(cached) $ECHO_C" >&6
15878 else
15879   if test x$gcc_no_link = xyes; then
15880   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
15881 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
15882    { (exit 1); exit 1; }; }
15883 fi
15884 cat >conftest.$ac_ext <<_ACEOF
15885 /* confdefs.h.  */
15886 _ACEOF
15887 cat confdefs.h >>conftest.$ac_ext
15888 cat >>conftest.$ac_ext <<_ACEOF
15889 /* end confdefs.h.  */
15890 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
15891    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
15892 #define $ac_func innocuous_$ac_func
15893
15894 /* System header to define __stub macros and hopefully few prototypes,
15895     which can conflict with char $ac_func (); below.
15896     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
15897     <limits.h> exists even on freestanding compilers.  */
15898
15899 #ifdef __STDC__
15900 # include <limits.h>
15901 #else
15902 # include <assert.h>
15903 #endif
15904
15905 #undef $ac_func
15906
15907 /* Override any gcc2 internal prototype to avoid an error.  */
15908 #ifdef __cplusplus
15909 extern "C"
15910 {
15911 #endif
15912 /* We use char because int might match the return type of a gcc2
15913    builtin and then its argument prototype would still apply.  */
15914 char $ac_func ();
15915 /* The GNU C library defines this for functions which it implements
15916     to always fail with ENOSYS.  Some functions are actually named
15917     something starting with __ and the normal name is an alias.  */
15918 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
15919 choke me
15920 #else
15921 char (*f) () = $ac_func;
15922 #endif
15923 #ifdef __cplusplus
15924 }
15925 #endif
15926
15927 int
15928 main ()
15929 {
15930 return f != $ac_func;
15931   ;
15932   return 0;
15933 }
15934 _ACEOF
15935 rm -f conftest.$ac_objext conftest$ac_exeext
15936 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
15937   (eval $ac_link) 2>conftest.er1
15938   ac_status=$?
15939   grep -v '^ *+' conftest.er1 >conftest.err
15940   rm -f conftest.er1
15941   cat conftest.err >&5
15942   echo "$as_me:$LINENO: \$? = $ac_status" >&5
15943   (exit $ac_status); } &&
15944          { ac_try='test -z "$ac_c_werror_flag"
15945                          || test ! -s conftest.err'
15946   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15947   (eval $ac_try) 2>&5
15948   ac_status=$?
15949   echo "$as_me:$LINENO: \$? = $ac_status" >&5
15950   (exit $ac_status); }; } &&
15951          { ac_try='test -s conftest$ac_exeext'
15952   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15953   (eval $ac_try) 2>&5
15954   ac_status=$?
15955   echo "$as_me:$LINENO: \$? = $ac_status" >&5
15956   (exit $ac_status); }; }; then
15957   eval "$as_ac_var=yes"
15958 else
15959   echo "$as_me: failed program was:" >&5
15960 sed 's/^/| /' conftest.$ac_ext >&5
15961
15962 eval "$as_ac_var=no"
15963 fi
15964 rm -f conftest.err conftest.$ac_objext \
15965       conftest$ac_exeext conftest.$ac_ext
15966 fi
15967 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
15968 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
15969 if test `eval echo '${'$as_ac_var'}'` = yes; then
15970   cat >>confdefs.h <<_ACEOF
15971 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
15972 _ACEOF
15973
15974 fi
15975 done
15976
15977   else
15978
15979   echo "$as_me:$LINENO: checking for _hypotf declaration" >&5
15980 echo $ECHO_N "checking for _hypotf declaration... $ECHO_C" >&6
15981   if test x${glibcxx_cv_func__hypotf_use+set} != xset; then
15982     if test "${glibcxx_cv_func__hypotf_use+set}" = set; then
15983   echo $ECHO_N "(cached) $ECHO_C" >&6
15984 else
15985
15986
15987
15988       ac_ext=cc
15989 ac_cpp='$CXXCPP $CPPFLAGS'
15990 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15991 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15992 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
15993
15994       cat >conftest.$ac_ext <<_ACEOF
15995 /* confdefs.h.  */
15996 _ACEOF
15997 cat confdefs.h >>conftest.$ac_ext
15998 cat >>conftest.$ac_ext <<_ACEOF
15999 /* end confdefs.h.  */
16000 #include <math.h>
16001 int
16002 main ()
16003 {
16004  _hypotf(0, 0);
16005   ;
16006   return 0;
16007 }
16008 _ACEOF
16009 rm -f conftest.$ac_objext
16010 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16011   (eval $ac_compile) 2>conftest.er1
16012   ac_status=$?
16013   grep -v '^ *+' conftest.er1 >conftest.err
16014   rm -f conftest.er1
16015   cat conftest.err >&5
16016   echo "$as_me:$LINENO: \$? = $ac_status" >&5
16017   (exit $ac_status); } &&
16018          { ac_try='test -z "$ac_cxx_werror_flag"
16019                          || test ! -s conftest.err'
16020   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16021   (eval $ac_try) 2>&5
16022   ac_status=$?
16023   echo "$as_me:$LINENO: \$? = $ac_status" >&5
16024   (exit $ac_status); }; } &&
16025          { ac_try='test -s conftest.$ac_objext'
16026   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16027   (eval $ac_try) 2>&5
16028   ac_status=$?
16029   echo "$as_me:$LINENO: \$? = $ac_status" >&5
16030   (exit $ac_status); }; }; then
16031   glibcxx_cv_func__hypotf_use=yes
16032 else
16033   echo "$as_me: failed program was:" >&5
16034 sed 's/^/| /' conftest.$ac_ext >&5
16035
16036 glibcxx_cv_func__hypotf_use=no
16037 fi
16038 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
16039       ac_ext=c
16040 ac_cpp='$CPP $CPPFLAGS'
16041 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16042 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16043 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16044
16045
16046 fi
16047
16048   fi
16049   echo "$as_me:$LINENO: result: $glibcxx_cv_func__hypotf_use" >&5
16050 echo "${ECHO_T}$glibcxx_cv_func__hypotf_use" >&6
16051
16052     if test x$glibcxx_cv_func__hypotf_use = x"yes"; then
16053
16054 for ac_func in _hypotf
16055 do
16056 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
16057 echo "$as_me:$LINENO: checking for $ac_func" >&5
16058 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
16059 if eval "test \"\${$as_ac_var+set}\" = set"; then
16060   echo $ECHO_N "(cached) $ECHO_C" >&6
16061 else
16062   if test x$gcc_no_link = xyes; then
16063   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
16064 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
16065    { (exit 1); exit 1; }; }
16066 fi
16067 cat >conftest.$ac_ext <<_ACEOF
16068 /* confdefs.h.  */
16069 _ACEOF
16070 cat confdefs.h >>conftest.$ac_ext
16071 cat >>conftest.$ac_ext <<_ACEOF
16072 /* end confdefs.h.  */
16073 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
16074    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
16075 #define $ac_func innocuous_$ac_func
16076
16077 /* System header to define __stub macros and hopefully few prototypes,
16078     which can conflict with char $ac_func (); below.
16079     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
16080     <limits.h> exists even on freestanding compilers.  */
16081
16082 #ifdef __STDC__
16083 # include <limits.h>
16084 #else
16085 # include <assert.h>
16086 #endif
16087
16088 #undef $ac_func
16089
16090 /* Override any gcc2 internal prototype to avoid an error.  */
16091 #ifdef __cplusplus
16092 extern "C"
16093 {
16094 #endif
16095 /* We use char because int might match the return type of a gcc2
16096    builtin and then its argument prototype would still apply.  */
16097 char $ac_func ();
16098 /* The GNU C library defines this for functions which it implements
16099     to always fail with ENOSYS.  Some functions are actually named
16100     something starting with __ and the normal name is an alias.  */
16101 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
16102 choke me
16103 #else
16104 char (*f) () = $ac_func;
16105 #endif
16106 #ifdef __cplusplus
16107 }
16108 #endif
16109
16110 int
16111 main ()
16112 {
16113 return f != $ac_func;
16114   ;
16115   return 0;
16116 }
16117 _ACEOF
16118 rm -f conftest.$ac_objext conftest$ac_exeext
16119 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
16120   (eval $ac_link) 2>conftest.er1
16121   ac_status=$?
16122   grep -v '^ *+' conftest.er1 >conftest.err
16123   rm -f conftest.er1
16124   cat conftest.err >&5
16125   echo "$as_me:$LINENO: \$? = $ac_status" >&5
16126   (exit $ac_status); } &&
16127          { ac_try='test -z "$ac_c_werror_flag"
16128                          || test ! -s conftest.err'
16129   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16130   (eval $ac_try) 2>&5
16131   ac_status=$?
16132   echo "$as_me:$LINENO: \$? = $ac_status" >&5
16133   (exit $ac_status); }; } &&
16134          { ac_try='test -s conftest$ac_exeext'
16135   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16136   (eval $ac_try) 2>&5
16137   ac_status=$?
16138   echo "$as_me:$LINENO: \$? = $ac_status" >&5
16139   (exit $ac_status); }; }; then
16140   eval "$as_ac_var=yes"
16141 else
16142   echo "$as_me: failed program was:" >&5
16143 sed 's/^/| /' conftest.$ac_ext >&5
16144
16145 eval "$as_ac_var=no"
16146 fi
16147 rm -f conftest.err conftest.$ac_objext \
16148       conftest$ac_exeext conftest.$ac_ext
16149 fi
16150 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
16151 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
16152 if test `eval echo '${'$as_ac_var'}'` = yes; then
16153   cat >>confdefs.h <<_ACEOF
16154 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
16155 _ACEOF
16156
16157 fi
16158 done
16159
16160     fi
16161   fi
16162
16163
16164
16165
16166
16167
16168   echo "$as_me:$LINENO: checking for ldexpf declaration" >&5
16169 echo $ECHO_N "checking for ldexpf declaration... $ECHO_C" >&6
16170   if test x${glibcxx_cv_func_ldexpf_use+set} != xset; then
16171     if test "${glibcxx_cv_func_ldexpf_use+set}" = set; then
16172   echo $ECHO_N "(cached) $ECHO_C" >&6
16173 else
16174
16175
16176
16177       ac_ext=cc
16178 ac_cpp='$CXXCPP $CPPFLAGS'
16179 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16180 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16181 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
16182
16183       cat >conftest.$ac_ext <<_ACEOF
16184 /* confdefs.h.  */
16185 _ACEOF
16186 cat confdefs.h >>conftest.$ac_ext
16187 cat >>conftest.$ac_ext <<_ACEOF
16188 /* end confdefs.h.  */
16189 #include <math.h>
16190 int
16191 main ()
16192 {
16193  ldexpf(0, 0);
16194   ;
16195   return 0;
16196 }
16197 _ACEOF
16198 rm -f conftest.$ac_objext
16199 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16200   (eval $ac_compile) 2>conftest.er1
16201   ac_status=$?
16202   grep -v '^ *+' conftest.er1 >conftest.err
16203   rm -f conftest.er1
16204   cat conftest.err >&5
16205   echo "$as_me:$LINENO: \$? = $ac_status" >&5
16206   (exit $ac_status); } &&
16207          { ac_try='test -z "$ac_cxx_werror_flag"
16208                          || test ! -s conftest.err'
16209   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16210   (eval $ac_try) 2>&5
16211   ac_status=$?
16212   echo "$as_me:$LINENO: \$? = $ac_status" >&5
16213   (exit $ac_status); }; } &&
16214          { ac_try='test -s conftest.$ac_objext'
16215   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16216   (eval $ac_try) 2>&5
16217   ac_status=$?
16218   echo "$as_me:$LINENO: \$? = $ac_status" >&5
16219   (exit $ac_status); }; }; then
16220   glibcxx_cv_func_ldexpf_use=yes
16221 else
16222   echo "$as_me: failed program was:" >&5
16223 sed 's/^/| /' conftest.$ac_ext >&5
16224
16225 glibcxx_cv_func_ldexpf_use=no
16226 fi
16227 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
16228       ac_ext=c
16229 ac_cpp='$CPP $CPPFLAGS'
16230 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16231 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16232 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16233
16234
16235 fi
16236
16237   fi
16238   echo "$as_me:$LINENO: result: $glibcxx_cv_func_ldexpf_use" >&5
16239 echo "${ECHO_T}$glibcxx_cv_func_ldexpf_use" >&6
16240
16241   if test x$glibcxx_cv_func_ldexpf_use = x"yes"; then
16242
16243 for ac_func in ldexpf
16244 do
16245 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
16246 echo "$as_me:$LINENO: checking for $ac_func" >&5
16247 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
16248 if eval "test \"\${$as_ac_var+set}\" = set"; then
16249   echo $ECHO_N "(cached) $ECHO_C" >&6
16250 else
16251   if test x$gcc_no_link = xyes; then
16252   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
16253 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
16254    { (exit 1); exit 1; }; }
16255 fi
16256 cat >conftest.$ac_ext <<_ACEOF
16257 /* confdefs.h.  */
16258 _ACEOF
16259 cat confdefs.h >>conftest.$ac_ext
16260 cat >>conftest.$ac_ext <<_ACEOF
16261 /* end confdefs.h.  */
16262 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
16263    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
16264 #define $ac_func innocuous_$ac_func
16265
16266 /* System header to define __stub macros and hopefully few prototypes,
16267     which can conflict with char $ac_func (); below.
16268     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
16269     <limits.h> exists even on freestanding compilers.  */
16270
16271 #ifdef __STDC__
16272 # include <limits.h>
16273 #else
16274 # include <assert.h>
16275 #endif
16276
16277 #undef $ac_func
16278
16279 /* Override any gcc2 internal prototype to avoid an error.  */
16280 #ifdef __cplusplus
16281 extern "C"
16282 {
16283 #endif
16284 /* We use char because int might match the return type of a gcc2
16285    builtin and then its argument prototype would still apply.  */
16286 char $ac_func ();
16287 /* The GNU C library defines this for functions which it implements
16288     to always fail with ENOSYS.  Some functions are actually named
16289     something starting with __ and the normal name is an alias.  */
16290 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
16291 choke me
16292 #else
16293 char (*f) () = $ac_func;
16294 #endif
16295 #ifdef __cplusplus
16296 }
16297 #endif
16298
16299 int
16300 main ()
16301 {
16302 return f != $ac_func;
16303   ;
16304   return 0;
16305 }
16306 _ACEOF
16307 rm -f conftest.$ac_objext conftest$ac_exeext
16308 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
16309   (eval $ac_link) 2>conftest.er1
16310   ac_status=$?
16311   grep -v '^ *+' conftest.er1 >conftest.err
16312   rm -f conftest.er1
16313   cat conftest.err >&5
16314   echo "$as_me:$LINENO: \$? = $ac_status" >&5
16315   (exit $ac_status); } &&
16316          { ac_try='test -z "$ac_c_werror_flag"
16317                          || test ! -s conftest.err'
16318   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16319   (eval $ac_try) 2>&5
16320   ac_status=$?
16321   echo "$as_me:$LINENO: \$? = $ac_status" >&5
16322   (exit $ac_status); }; } &&
16323          { ac_try='test -s conftest$ac_exeext'
16324   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16325   (eval $ac_try) 2>&5
16326   ac_status=$?
16327   echo "$as_me:$LINENO: \$? = $ac_status" >&5
16328   (exit $ac_status); }; }; then
16329   eval "$as_ac_var=yes"
16330 else
16331   echo "$as_me: failed program was:" >&5
16332 sed 's/^/| /' conftest.$ac_ext >&5
16333
16334 eval "$as_ac_var=no"
16335 fi
16336 rm -f conftest.err conftest.$ac_objext \
16337       conftest$ac_exeext conftest.$ac_ext
16338 fi
16339 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
16340 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
16341 if test `eval echo '${'$as_ac_var'}'` = yes; then
16342   cat >>confdefs.h <<_ACEOF
16343 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
16344 _ACEOF
16345
16346 fi
16347 done
16348
16349   else
16350
16351   echo "$as_me:$LINENO: checking for _ldexpf declaration" >&5
16352 echo $ECHO_N "checking for _ldexpf declaration... $ECHO_C" >&6
16353   if test x${glibcxx_cv_func__ldexpf_use+set} != xset; then
16354     if test "${glibcxx_cv_func__ldexpf_use+set}" = set; then
16355   echo $ECHO_N "(cached) $ECHO_C" >&6
16356 else
16357
16358
16359
16360       ac_ext=cc
16361 ac_cpp='$CXXCPP $CPPFLAGS'
16362 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16363 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16364 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
16365
16366       cat >conftest.$ac_ext <<_ACEOF
16367 /* confdefs.h.  */
16368 _ACEOF
16369 cat confdefs.h >>conftest.$ac_ext
16370 cat >>conftest.$ac_ext <<_ACEOF
16371 /* end confdefs.h.  */
16372 #include <math.h>
16373 int
16374 main ()
16375 {
16376  _ldexpf(0, 0);
16377   ;
16378   return 0;
16379 }
16380 _ACEOF
16381 rm -f conftest.$ac_objext
16382 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16383   (eval $ac_compile) 2>conftest.er1
16384   ac_status=$?
16385   grep -v '^ *+' conftest.er1 >conftest.err
16386   rm -f conftest.er1
16387   cat conftest.err >&5
16388   echo "$as_me:$LINENO: \$? = $ac_status" >&5
16389   (exit $ac_status); } &&
16390          { ac_try='test -z "$ac_cxx_werror_flag"
16391                          || test ! -s conftest.err'
16392   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16393   (eval $ac_try) 2>&5
16394   ac_status=$?
16395   echo "$as_me:$LINENO: \$? = $ac_status" >&5
16396   (exit $ac_status); }; } &&
16397          { ac_try='test -s conftest.$ac_objext'
16398   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16399   (eval $ac_try) 2>&5
16400   ac_status=$?
16401   echo "$as_me:$LINENO: \$? = $ac_status" >&5
16402   (exit $ac_status); }; }; then
16403   glibcxx_cv_func__ldexpf_use=yes
16404 else
16405   echo "$as_me: failed program was:" >&5
16406 sed 's/^/| /' conftest.$ac_ext >&5
16407
16408 glibcxx_cv_func__ldexpf_use=no
16409 fi
16410 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
16411       ac_ext=c
16412 ac_cpp='$CPP $CPPFLAGS'
16413 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16414 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16415 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16416
16417
16418 fi
16419
16420   fi
16421   echo "$as_me:$LINENO: result: $glibcxx_cv_func__ldexpf_use" >&5
16422 echo "${ECHO_T}$glibcxx_cv_func__ldexpf_use" >&6
16423
16424     if test x$glibcxx_cv_func__ldexpf_use = x"yes"; then
16425
16426 for ac_func in _ldexpf
16427 do
16428 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
16429 echo "$as_me:$LINENO: checking for $ac_func" >&5
16430 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
16431 if eval "test \"\${$as_ac_var+set}\" = set"; then
16432   echo $ECHO_N "(cached) $ECHO_C" >&6
16433 else
16434   if test x$gcc_no_link = xyes; then
16435   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
16436 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
16437    { (exit 1); exit 1; }; }
16438 fi
16439 cat >conftest.$ac_ext <<_ACEOF
16440 /* confdefs.h.  */
16441 _ACEOF
16442 cat confdefs.h >>conftest.$ac_ext
16443 cat >>conftest.$ac_ext <<_ACEOF
16444 /* end confdefs.h.  */
16445 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
16446    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
16447 #define $ac_func innocuous_$ac_func
16448
16449 /* System header to define __stub macros and hopefully few prototypes,
16450     which can conflict with char $ac_func (); below.
16451     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
16452     <limits.h> exists even on freestanding compilers.  */
16453
16454 #ifdef __STDC__
16455 # include <limits.h>
16456 #else
16457 # include <assert.h>
16458 #endif
16459
16460 #undef $ac_func
16461
16462 /* Override any gcc2 internal prototype to avoid an error.  */
16463 #ifdef __cplusplus
16464 extern "C"
16465 {
16466 #endif
16467 /* We use char because int might match the return type of a gcc2
16468    builtin and then its argument prototype would still apply.  */
16469 char $ac_func ();
16470 /* The GNU C library defines this for functions which it implements
16471     to always fail with ENOSYS.  Some functions are actually named
16472     something starting with __ and the normal name is an alias.  */
16473 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
16474 choke me
16475 #else
16476 char (*f) () = $ac_func;
16477 #endif
16478 #ifdef __cplusplus
16479 }
16480 #endif
16481
16482 int
16483 main ()
16484 {
16485 return f != $ac_func;
16486   ;
16487   return 0;
16488 }
16489 _ACEOF
16490 rm -f conftest.$ac_objext conftest$ac_exeext
16491 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
16492   (eval $ac_link) 2>conftest.er1
16493   ac_status=$?
16494   grep -v '^ *+' conftest.er1 >conftest.err
16495   rm -f conftest.er1
16496   cat conftest.err >&5
16497   echo "$as_me:$LINENO: \$? = $ac_status" >&5
16498   (exit $ac_status); } &&
16499          { ac_try='test -z "$ac_c_werror_flag"
16500                          || test ! -s conftest.err'
16501   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16502   (eval $ac_try) 2>&5
16503   ac_status=$?
16504   echo "$as_me:$LINENO: \$? = $ac_status" >&5
16505   (exit $ac_status); }; } &&
16506          { ac_try='test -s conftest$ac_exeext'
16507   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16508   (eval $ac_try) 2>&5
16509   ac_status=$?
16510   echo "$as_me:$LINENO: \$? = $ac_status" >&5
16511   (exit $ac_status); }; }; then
16512   eval "$as_ac_var=yes"
16513 else
16514   echo "$as_me: failed program was:" >&5
16515 sed 's/^/| /' conftest.$ac_ext >&5
16516
16517 eval "$as_ac_var=no"
16518 fi
16519 rm -f conftest.err conftest.$ac_objext \
16520       conftest$ac_exeext conftest.$ac_ext
16521 fi
16522 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
16523 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
16524 if test `eval echo '${'$as_ac_var'}'` = yes; then
16525   cat >>confdefs.h <<_ACEOF
16526 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
16527 _ACEOF
16528
16529 fi
16530 done
16531
16532     fi
16533   fi
16534
16535
16536
16537
16538
16539
16540   echo "$as_me:$LINENO: checking for logf declaration" >&5
16541 echo $ECHO_N "checking for logf declaration... $ECHO_C" >&6
16542   if test x${glibcxx_cv_func_logf_use+set} != xset; then
16543     if test "${glibcxx_cv_func_logf_use+set}" = set; then
16544   echo $ECHO_N "(cached) $ECHO_C" >&6
16545 else
16546
16547
16548
16549       ac_ext=cc
16550 ac_cpp='$CXXCPP $CPPFLAGS'
16551 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16552 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16553 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
16554
16555       cat >conftest.$ac_ext <<_ACEOF
16556 /* confdefs.h.  */
16557 _ACEOF
16558 cat confdefs.h >>conftest.$ac_ext
16559 cat >>conftest.$ac_ext <<_ACEOF
16560 /* end confdefs.h.  */
16561 #include <math.h>
16562                       #ifdef HAVE_IEEEFP_H
16563                       #include <ieeefp.h>
16564                       #endif
16565
16566 int
16567 main ()
16568 {
16569  logf(0);
16570   ;
16571   return 0;
16572 }
16573 _ACEOF
16574 rm -f conftest.$ac_objext
16575 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16576   (eval $ac_compile) 2>conftest.er1
16577   ac_status=$?
16578   grep -v '^ *+' conftest.er1 >conftest.err
16579   rm -f conftest.er1
16580   cat conftest.err >&5
16581   echo "$as_me:$LINENO: \$? = $ac_status" >&5
16582   (exit $ac_status); } &&
16583          { ac_try='test -z "$ac_cxx_werror_flag"
16584                          || test ! -s conftest.err'
16585   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16586   (eval $ac_try) 2>&5
16587   ac_status=$?
16588   echo "$as_me:$LINENO: \$? = $ac_status" >&5
16589   (exit $ac_status); }; } &&
16590          { ac_try='test -s conftest.$ac_objext'
16591   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16592   (eval $ac_try) 2>&5
16593   ac_status=$?
16594   echo "$as_me:$LINENO: \$? = $ac_status" >&5
16595   (exit $ac_status); }; }; then
16596   glibcxx_cv_func_logf_use=yes
16597 else
16598   echo "$as_me: failed program was:" >&5
16599 sed 's/^/| /' conftest.$ac_ext >&5
16600
16601 glibcxx_cv_func_logf_use=no
16602 fi
16603 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
16604       ac_ext=c
16605 ac_cpp='$CPP $CPPFLAGS'
16606 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16607 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16608 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16609
16610
16611 fi
16612
16613   fi
16614   echo "$as_me:$LINENO: result: $glibcxx_cv_func_logf_use" >&5
16615 echo "${ECHO_T}$glibcxx_cv_func_logf_use" >&6
16616
16617   if test x$glibcxx_cv_func_logf_use = x"yes"; then
16618
16619 for ac_func in logf
16620 do
16621 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
16622 echo "$as_me:$LINENO: checking for $ac_func" >&5
16623 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
16624 if eval "test \"\${$as_ac_var+set}\" = set"; then
16625   echo $ECHO_N "(cached) $ECHO_C" >&6
16626 else
16627   if test x$gcc_no_link = xyes; then
16628   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
16629 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
16630    { (exit 1); exit 1; }; }
16631 fi
16632 cat >conftest.$ac_ext <<_ACEOF
16633 /* confdefs.h.  */
16634 _ACEOF
16635 cat confdefs.h >>conftest.$ac_ext
16636 cat >>conftest.$ac_ext <<_ACEOF
16637 /* end confdefs.h.  */
16638 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
16639    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
16640 #define $ac_func innocuous_$ac_func
16641
16642 /* System header to define __stub macros and hopefully few prototypes,
16643     which can conflict with char $ac_func (); below.
16644     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
16645     <limits.h> exists even on freestanding compilers.  */
16646
16647 #ifdef __STDC__
16648 # include <limits.h>
16649 #else
16650 # include <assert.h>
16651 #endif
16652
16653 #undef $ac_func
16654
16655 /* Override any gcc2 internal prototype to avoid an error.  */
16656 #ifdef __cplusplus
16657 extern "C"
16658 {
16659 #endif
16660 /* We use char because int might match the return type of a gcc2
16661    builtin and then its argument prototype would still apply.  */
16662 char $ac_func ();
16663 /* The GNU C library defines this for functions which it implements
16664     to always fail with ENOSYS.  Some functions are actually named
16665     something starting with __ and the normal name is an alias.  */
16666 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
16667 choke me
16668 #else
16669 char (*f) () = $ac_func;
16670 #endif
16671 #ifdef __cplusplus
16672 }
16673 #endif
16674
16675 int
16676 main ()
16677 {
16678 return f != $ac_func;
16679   ;
16680   return 0;
16681 }
16682 _ACEOF
16683 rm -f conftest.$ac_objext conftest$ac_exeext
16684 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
16685   (eval $ac_link) 2>conftest.er1
16686   ac_status=$?
16687   grep -v '^ *+' conftest.er1 >conftest.err
16688   rm -f conftest.er1
16689   cat conftest.err >&5
16690   echo "$as_me:$LINENO: \$? = $ac_status" >&5
16691   (exit $ac_status); } &&
16692          { ac_try='test -z "$ac_c_werror_flag"
16693                          || test ! -s conftest.err'
16694   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16695   (eval $ac_try) 2>&5
16696   ac_status=$?
16697   echo "$as_me:$LINENO: \$? = $ac_status" >&5
16698   (exit $ac_status); }; } &&
16699          { ac_try='test -s conftest$ac_exeext'
16700   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16701   (eval $ac_try) 2>&5
16702   ac_status=$?
16703   echo "$as_me:$LINENO: \$? = $ac_status" >&5
16704   (exit $ac_status); }; }; then
16705   eval "$as_ac_var=yes"
16706 else
16707   echo "$as_me: failed program was:" >&5
16708 sed 's/^/| /' conftest.$ac_ext >&5
16709
16710 eval "$as_ac_var=no"
16711 fi
16712 rm -f conftest.err conftest.$ac_objext \
16713       conftest$ac_exeext conftest.$ac_ext
16714 fi
16715 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
16716 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
16717 if test `eval echo '${'$as_ac_var'}'` = yes; then
16718   cat >>confdefs.h <<_ACEOF
16719 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
16720 _ACEOF
16721
16722 fi
16723 done
16724
16725   else
16726
16727   echo "$as_me:$LINENO: checking for _logf declaration" >&5
16728 echo $ECHO_N "checking for _logf declaration... $ECHO_C" >&6
16729   if test x${glibcxx_cv_func__logf_use+set} != xset; then
16730     if test "${glibcxx_cv_func__logf_use+set}" = set; then
16731   echo $ECHO_N "(cached) $ECHO_C" >&6
16732 else
16733
16734
16735
16736       ac_ext=cc
16737 ac_cpp='$CXXCPP $CPPFLAGS'
16738 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16739 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16740 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
16741
16742       cat >conftest.$ac_ext <<_ACEOF
16743 /* confdefs.h.  */
16744 _ACEOF
16745 cat confdefs.h >>conftest.$ac_ext
16746 cat >>conftest.$ac_ext <<_ACEOF
16747 /* end confdefs.h.  */
16748 #include <math.h>
16749                       #ifdef HAVE_IEEEFP_H
16750                       #include <ieeefp.h>
16751                       #endif
16752
16753 int
16754 main ()
16755 {
16756  _logf(0);
16757   ;
16758   return 0;
16759 }
16760 _ACEOF
16761 rm -f conftest.$ac_objext
16762 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16763   (eval $ac_compile) 2>conftest.er1
16764   ac_status=$?
16765   grep -v '^ *+' conftest.er1 >conftest.err
16766   rm -f conftest.er1
16767   cat conftest.err >&5
16768   echo "$as_me:$LINENO: \$? = $ac_status" >&5
16769   (exit $ac_status); } &&
16770          { ac_try='test -z "$ac_cxx_werror_flag"
16771                          || test ! -s conftest.err'
16772   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16773   (eval $ac_try) 2>&5
16774   ac_status=$?
16775   echo "$as_me:$LINENO: \$? = $ac_status" >&5
16776   (exit $ac_status); }; } &&
16777          { ac_try='test -s conftest.$ac_objext'
16778   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16779   (eval $ac_try) 2>&5
16780   ac_status=$?
16781   echo "$as_me:$LINENO: \$? = $ac_status" >&5
16782   (exit $ac_status); }; }; then
16783   glibcxx_cv_func__logf_use=yes
16784 else
16785   echo "$as_me: failed program was:" >&5
16786 sed 's/^/| /' conftest.$ac_ext >&5
16787
16788 glibcxx_cv_func__logf_use=no
16789 fi
16790 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
16791       ac_ext=c
16792 ac_cpp='$CPP $CPPFLAGS'
16793 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16794 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16795 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16796
16797
16798 fi
16799
16800   fi
16801   echo "$as_me:$LINENO: result: $glibcxx_cv_func__logf_use" >&5
16802 echo "${ECHO_T}$glibcxx_cv_func__logf_use" >&6
16803
16804     if test x$glibcxx_cv_func__logf_use = x"yes"; then
16805
16806 for ac_func in _logf
16807 do
16808 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
16809 echo "$as_me:$LINENO: checking for $ac_func" >&5
16810 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
16811 if eval "test \"\${$as_ac_var+set}\" = set"; then
16812   echo $ECHO_N "(cached) $ECHO_C" >&6
16813 else
16814   if test x$gcc_no_link = xyes; then
16815   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
16816 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
16817    { (exit 1); exit 1; }; }
16818 fi
16819 cat >conftest.$ac_ext <<_ACEOF
16820 /* confdefs.h.  */
16821 _ACEOF
16822 cat confdefs.h >>conftest.$ac_ext
16823 cat >>conftest.$ac_ext <<_ACEOF
16824 /* end confdefs.h.  */
16825 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
16826    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
16827 #define $ac_func innocuous_$ac_func
16828
16829 /* System header to define __stub macros and hopefully few prototypes,
16830     which can conflict with char $ac_func (); below.
16831     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
16832     <limits.h> exists even on freestanding compilers.  */
16833
16834 #ifdef __STDC__
16835 # include <limits.h>
16836 #else
16837 # include <assert.h>
16838 #endif
16839
16840 #undef $ac_func
16841
16842 /* Override any gcc2 internal prototype to avoid an error.  */
16843 #ifdef __cplusplus
16844 extern "C"
16845 {
16846 #endif
16847 /* We use char because int might match the return type of a gcc2
16848    builtin and then its argument prototype would still apply.  */
16849 char $ac_func ();
16850 /* The GNU C library defines this for functions which it implements
16851     to always fail with ENOSYS.  Some functions are actually named
16852     something starting with __ and the normal name is an alias.  */
16853 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
16854 choke me
16855 #else
16856 char (*f) () = $ac_func;
16857 #endif
16858 #ifdef __cplusplus
16859 }
16860 #endif
16861
16862 int
16863 main ()
16864 {
16865 return f != $ac_func;
16866   ;
16867   return 0;
16868 }
16869 _ACEOF
16870 rm -f conftest.$ac_objext conftest$ac_exeext
16871 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
16872   (eval $ac_link) 2>conftest.er1
16873   ac_status=$?
16874   grep -v '^ *+' conftest.er1 >conftest.err
16875   rm -f conftest.er1
16876   cat conftest.err >&5
16877   echo "$as_me:$LINENO: \$? = $ac_status" >&5
16878   (exit $ac_status); } &&
16879          { ac_try='test -z "$ac_c_werror_flag"
16880                          || test ! -s conftest.err'
16881   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16882   (eval $ac_try) 2>&5
16883   ac_status=$?
16884   echo "$as_me:$LINENO: \$? = $ac_status" >&5
16885   (exit $ac_status); }; } &&
16886          { ac_try='test -s conftest$ac_exeext'
16887   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16888   (eval $ac_try) 2>&5
16889   ac_status=$?
16890   echo "$as_me:$LINENO: \$? = $ac_status" >&5
16891   (exit $ac_status); }; }; then
16892   eval "$as_ac_var=yes"
16893 else
16894   echo "$as_me: failed program was:" >&5
16895 sed 's/^/| /' conftest.$ac_ext >&5
16896
16897 eval "$as_ac_var=no"
16898 fi
16899 rm -f conftest.err conftest.$ac_objext \
16900       conftest$ac_exeext conftest.$ac_ext
16901 fi
16902 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
16903 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
16904 if test `eval echo '${'$as_ac_var'}'` = yes; then
16905   cat >>confdefs.h <<_ACEOF
16906 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
16907 _ACEOF
16908
16909 fi
16910 done
16911
16912     fi
16913   fi
16914
16915
16916
16917
16918
16919
16920   echo "$as_me:$LINENO: checking for log10f declaration" >&5
16921 echo $ECHO_N "checking for log10f declaration... $ECHO_C" >&6
16922   if test x${glibcxx_cv_func_log10f_use+set} != xset; then
16923     if test "${glibcxx_cv_func_log10f_use+set}" = set; then
16924   echo $ECHO_N "(cached) $ECHO_C" >&6
16925 else
16926
16927
16928
16929       ac_ext=cc
16930 ac_cpp='$CXXCPP $CPPFLAGS'
16931 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16932 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16933 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
16934
16935       cat >conftest.$ac_ext <<_ACEOF
16936 /* confdefs.h.  */
16937 _ACEOF
16938 cat confdefs.h >>conftest.$ac_ext
16939 cat >>conftest.$ac_ext <<_ACEOF
16940 /* end confdefs.h.  */
16941 #include <math.h>
16942                       #ifdef HAVE_IEEEFP_H
16943                       #include <ieeefp.h>
16944                       #endif
16945
16946 int
16947 main ()
16948 {
16949  log10f(0);
16950   ;
16951   return 0;
16952 }
16953 _ACEOF
16954 rm -f conftest.$ac_objext
16955 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16956   (eval $ac_compile) 2>conftest.er1
16957   ac_status=$?
16958   grep -v '^ *+' conftest.er1 >conftest.err
16959   rm -f conftest.er1
16960   cat conftest.err >&5
16961   echo "$as_me:$LINENO: \$? = $ac_status" >&5
16962   (exit $ac_status); } &&
16963          { ac_try='test -z "$ac_cxx_werror_flag"
16964                          || test ! -s conftest.err'
16965   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16966   (eval $ac_try) 2>&5
16967   ac_status=$?
16968   echo "$as_me:$LINENO: \$? = $ac_status" >&5
16969   (exit $ac_status); }; } &&
16970          { ac_try='test -s conftest.$ac_objext'
16971   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16972   (eval $ac_try) 2>&5
16973   ac_status=$?
16974   echo "$as_me:$LINENO: \$? = $ac_status" >&5
16975   (exit $ac_status); }; }; then
16976   glibcxx_cv_func_log10f_use=yes
16977 else
16978   echo "$as_me: failed program was:" >&5
16979 sed 's/^/| /' conftest.$ac_ext >&5
16980
16981 glibcxx_cv_func_log10f_use=no
16982 fi
16983 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
16984       ac_ext=c
16985 ac_cpp='$CPP $CPPFLAGS'
16986 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16987 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16988 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16989
16990
16991 fi
16992
16993   fi
16994   echo "$as_me:$LINENO: result: $glibcxx_cv_func_log10f_use" >&5
16995 echo "${ECHO_T}$glibcxx_cv_func_log10f_use" >&6
16996
16997   if test x$glibcxx_cv_func_log10f_use = x"yes"; then
16998
16999 for ac_func in log10f
17000 do
17001 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
17002 echo "$as_me:$LINENO: checking for $ac_func" >&5
17003 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
17004 if eval "test \"\${$as_ac_var+set}\" = set"; then
17005   echo $ECHO_N "(cached) $ECHO_C" >&6
17006 else
17007   if test x$gcc_no_link = xyes; then
17008   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
17009 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
17010    { (exit 1); exit 1; }; }
17011 fi
17012 cat >conftest.$ac_ext <<_ACEOF
17013 /* confdefs.h.  */
17014 _ACEOF
17015 cat confdefs.h >>conftest.$ac_ext
17016 cat >>conftest.$ac_ext <<_ACEOF
17017 /* end confdefs.h.  */
17018 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
17019    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
17020 #define $ac_func innocuous_$ac_func
17021
17022 /* System header to define __stub macros and hopefully few prototypes,
17023     which can conflict with char $ac_func (); below.
17024     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
17025     <limits.h> exists even on freestanding compilers.  */
17026
17027 #ifdef __STDC__
17028 # include <limits.h>
17029 #else
17030 # include <assert.h>
17031 #endif
17032
17033 #undef $ac_func
17034
17035 /* Override any gcc2 internal prototype to avoid an error.  */
17036 #ifdef __cplusplus
17037 extern "C"
17038 {
17039 #endif
17040 /* We use char because int might match the return type of a gcc2
17041    builtin and then its argument prototype would still apply.  */
17042 char $ac_func ();
17043 /* The GNU C library defines this for functions which it implements
17044     to always fail with ENOSYS.  Some functions are actually named
17045     something starting with __ and the normal name is an alias.  */
17046 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
17047 choke me
17048 #else
17049 char (*f) () = $ac_func;
17050 #endif
17051 #ifdef __cplusplus
17052 }
17053 #endif
17054
17055 int
17056 main ()
17057 {
17058 return f != $ac_func;
17059   ;
17060   return 0;
17061 }
17062 _ACEOF
17063 rm -f conftest.$ac_objext conftest$ac_exeext
17064 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
17065   (eval $ac_link) 2>conftest.er1
17066   ac_status=$?
17067   grep -v '^ *+' conftest.er1 >conftest.err
17068   rm -f conftest.er1
17069   cat conftest.err >&5
17070   echo "$as_me:$LINENO: \$? = $ac_status" >&5
17071   (exit $ac_status); } &&
17072          { ac_try='test -z "$ac_c_werror_flag"
17073                          || test ! -s conftest.err'
17074   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17075   (eval $ac_try) 2>&5
17076   ac_status=$?
17077   echo "$as_me:$LINENO: \$? = $ac_status" >&5
17078   (exit $ac_status); }; } &&
17079          { ac_try='test -s conftest$ac_exeext'
17080   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17081   (eval $ac_try) 2>&5
17082   ac_status=$?
17083   echo "$as_me:$LINENO: \$? = $ac_status" >&5
17084   (exit $ac_status); }; }; then
17085   eval "$as_ac_var=yes"
17086 else
17087   echo "$as_me: failed program was:" >&5
17088 sed 's/^/| /' conftest.$ac_ext >&5
17089
17090 eval "$as_ac_var=no"
17091 fi
17092 rm -f conftest.err conftest.$ac_objext \
17093       conftest$ac_exeext conftest.$ac_ext
17094 fi
17095 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
17096 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
17097 if test `eval echo '${'$as_ac_var'}'` = yes; then
17098   cat >>confdefs.h <<_ACEOF
17099 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
17100 _ACEOF
17101
17102 fi
17103 done
17104
17105   else
17106
17107   echo "$as_me:$LINENO: checking for _log10f declaration" >&5
17108 echo $ECHO_N "checking for _log10f declaration... $ECHO_C" >&6
17109   if test x${glibcxx_cv_func__log10f_use+set} != xset; then
17110     if test "${glibcxx_cv_func__log10f_use+set}" = set; then
17111   echo $ECHO_N "(cached) $ECHO_C" >&6
17112 else
17113
17114
17115
17116       ac_ext=cc
17117 ac_cpp='$CXXCPP $CPPFLAGS'
17118 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17119 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17120 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
17121
17122       cat >conftest.$ac_ext <<_ACEOF
17123 /* confdefs.h.  */
17124 _ACEOF
17125 cat confdefs.h >>conftest.$ac_ext
17126 cat >>conftest.$ac_ext <<_ACEOF
17127 /* end confdefs.h.  */
17128 #include <math.h>
17129                       #ifdef HAVE_IEEEFP_H
17130                       #include <ieeefp.h>
17131                       #endif
17132
17133 int
17134 main ()
17135 {
17136  _log10f(0);
17137   ;
17138   return 0;
17139 }
17140 _ACEOF
17141 rm -f conftest.$ac_objext
17142 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17143   (eval $ac_compile) 2>conftest.er1
17144   ac_status=$?
17145   grep -v '^ *+' conftest.er1 >conftest.err
17146   rm -f conftest.er1
17147   cat conftest.err >&5
17148   echo "$as_me:$LINENO: \$? = $ac_status" >&5
17149   (exit $ac_status); } &&
17150          { ac_try='test -z "$ac_cxx_werror_flag"
17151                          || test ! -s conftest.err'
17152   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17153   (eval $ac_try) 2>&5
17154   ac_status=$?
17155   echo "$as_me:$LINENO: \$? = $ac_status" >&5
17156   (exit $ac_status); }; } &&
17157          { ac_try='test -s conftest.$ac_objext'
17158   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17159   (eval $ac_try) 2>&5
17160   ac_status=$?
17161   echo "$as_me:$LINENO: \$? = $ac_status" >&5
17162   (exit $ac_status); }; }; then
17163   glibcxx_cv_func__log10f_use=yes
17164 else
17165   echo "$as_me: failed program was:" >&5
17166 sed 's/^/| /' conftest.$ac_ext >&5
17167
17168 glibcxx_cv_func__log10f_use=no
17169 fi
17170 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17171       ac_ext=c
17172 ac_cpp='$CPP $CPPFLAGS'
17173 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17174 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17175 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17176
17177
17178 fi
17179
17180   fi
17181   echo "$as_me:$LINENO: result: $glibcxx_cv_func__log10f_use" >&5
17182 echo "${ECHO_T}$glibcxx_cv_func__log10f_use" >&6
17183
17184     if test x$glibcxx_cv_func__log10f_use = x"yes"; then
17185
17186 for ac_func in _log10f
17187 do
17188 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
17189 echo "$as_me:$LINENO: checking for $ac_func" >&5
17190 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
17191 if eval "test \"\${$as_ac_var+set}\" = set"; then
17192   echo $ECHO_N "(cached) $ECHO_C" >&6
17193 else
17194   if test x$gcc_no_link = xyes; then
17195   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
17196 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
17197    { (exit 1); exit 1; }; }
17198 fi
17199 cat >conftest.$ac_ext <<_ACEOF
17200 /* confdefs.h.  */
17201 _ACEOF
17202 cat confdefs.h >>conftest.$ac_ext
17203 cat >>conftest.$ac_ext <<_ACEOF
17204 /* end confdefs.h.  */
17205 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
17206    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
17207 #define $ac_func innocuous_$ac_func
17208
17209 /* System header to define __stub macros and hopefully few prototypes,
17210     which can conflict with char $ac_func (); below.
17211     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
17212     <limits.h> exists even on freestanding compilers.  */
17213
17214 #ifdef __STDC__
17215 # include <limits.h>
17216 #else
17217 # include <assert.h>
17218 #endif
17219
17220 #undef $ac_func
17221
17222 /* Override any gcc2 internal prototype to avoid an error.  */
17223 #ifdef __cplusplus
17224 extern "C"
17225 {
17226 #endif
17227 /* We use char because int might match the return type of a gcc2
17228    builtin and then its argument prototype would still apply.  */
17229 char $ac_func ();
17230 /* The GNU C library defines this for functions which it implements
17231     to always fail with ENOSYS.  Some functions are actually named
17232     something starting with __ and the normal name is an alias.  */
17233 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
17234 choke me
17235 #else
17236 char (*f) () = $ac_func;
17237 #endif
17238 #ifdef __cplusplus
17239 }
17240 #endif
17241
17242 int
17243 main ()
17244 {
17245 return f != $ac_func;
17246   ;
17247   return 0;
17248 }
17249 _ACEOF
17250 rm -f conftest.$ac_objext conftest$ac_exeext
17251 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
17252   (eval $ac_link) 2>conftest.er1
17253   ac_status=$?
17254   grep -v '^ *+' conftest.er1 >conftest.err
17255   rm -f conftest.er1
17256   cat conftest.err >&5
17257   echo "$as_me:$LINENO: \$? = $ac_status" >&5
17258   (exit $ac_status); } &&
17259          { ac_try='test -z "$ac_c_werror_flag"
17260                          || test ! -s conftest.err'
17261   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17262   (eval $ac_try) 2>&5
17263   ac_status=$?
17264   echo "$as_me:$LINENO: \$? = $ac_status" >&5
17265   (exit $ac_status); }; } &&
17266          { ac_try='test -s conftest$ac_exeext'
17267   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17268   (eval $ac_try) 2>&5
17269   ac_status=$?
17270   echo "$as_me:$LINENO: \$? = $ac_status" >&5
17271   (exit $ac_status); }; }; then
17272   eval "$as_ac_var=yes"
17273 else
17274   echo "$as_me: failed program was:" >&5
17275 sed 's/^/| /' conftest.$ac_ext >&5
17276
17277 eval "$as_ac_var=no"
17278 fi
17279 rm -f conftest.err conftest.$ac_objext \
17280       conftest$ac_exeext conftest.$ac_ext
17281 fi
17282 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
17283 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
17284 if test `eval echo '${'$as_ac_var'}'` = yes; then
17285   cat >>confdefs.h <<_ACEOF
17286 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
17287 _ACEOF
17288
17289 fi
17290 done
17291
17292     fi
17293   fi
17294
17295
17296
17297
17298
17299
17300   echo "$as_me:$LINENO: checking for modff declaration" >&5
17301 echo $ECHO_N "checking for modff declaration... $ECHO_C" >&6
17302   if test x${glibcxx_cv_func_modff_use+set} != xset; then
17303     if test "${glibcxx_cv_func_modff_use+set}" = set; then
17304   echo $ECHO_N "(cached) $ECHO_C" >&6
17305 else
17306
17307
17308
17309       ac_ext=cc
17310 ac_cpp='$CXXCPP $CPPFLAGS'
17311 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17312 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17313 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
17314
17315       cat >conftest.$ac_ext <<_ACEOF
17316 /* confdefs.h.  */
17317 _ACEOF
17318 cat confdefs.h >>conftest.$ac_ext
17319 cat >>conftest.$ac_ext <<_ACEOF
17320 /* end confdefs.h.  */
17321 #include <math.h>
17322 int
17323 main ()
17324 {
17325  modff(0, 0);
17326   ;
17327   return 0;
17328 }
17329 _ACEOF
17330 rm -f conftest.$ac_objext
17331 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17332   (eval $ac_compile) 2>conftest.er1
17333   ac_status=$?
17334   grep -v '^ *+' conftest.er1 >conftest.err
17335   rm -f conftest.er1
17336   cat conftest.err >&5
17337   echo "$as_me:$LINENO: \$? = $ac_status" >&5
17338   (exit $ac_status); } &&
17339          { ac_try='test -z "$ac_cxx_werror_flag"
17340                          || test ! -s conftest.err'
17341   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17342   (eval $ac_try) 2>&5
17343   ac_status=$?
17344   echo "$as_me:$LINENO: \$? = $ac_status" >&5
17345   (exit $ac_status); }; } &&
17346          { ac_try='test -s conftest.$ac_objext'
17347   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17348   (eval $ac_try) 2>&5
17349   ac_status=$?
17350   echo "$as_me:$LINENO: \$? = $ac_status" >&5
17351   (exit $ac_status); }; }; then
17352   glibcxx_cv_func_modff_use=yes
17353 else
17354   echo "$as_me: failed program was:" >&5
17355 sed 's/^/| /' conftest.$ac_ext >&5
17356
17357 glibcxx_cv_func_modff_use=no
17358 fi
17359 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17360       ac_ext=c
17361 ac_cpp='$CPP $CPPFLAGS'
17362 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17363 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17364 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17365
17366
17367 fi
17368
17369   fi
17370   echo "$as_me:$LINENO: result: $glibcxx_cv_func_modff_use" >&5
17371 echo "${ECHO_T}$glibcxx_cv_func_modff_use" >&6
17372
17373   if test x$glibcxx_cv_func_modff_use = x"yes"; then
17374
17375 for ac_func in modff
17376 do
17377 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
17378 echo "$as_me:$LINENO: checking for $ac_func" >&5
17379 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
17380 if eval "test \"\${$as_ac_var+set}\" = set"; then
17381   echo $ECHO_N "(cached) $ECHO_C" >&6
17382 else
17383   if test x$gcc_no_link = xyes; then
17384   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
17385 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
17386    { (exit 1); exit 1; }; }
17387 fi
17388 cat >conftest.$ac_ext <<_ACEOF
17389 /* confdefs.h.  */
17390 _ACEOF
17391 cat confdefs.h >>conftest.$ac_ext
17392 cat >>conftest.$ac_ext <<_ACEOF
17393 /* end confdefs.h.  */
17394 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
17395    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
17396 #define $ac_func innocuous_$ac_func
17397
17398 /* System header to define __stub macros and hopefully few prototypes,
17399     which can conflict with char $ac_func (); below.
17400     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
17401     <limits.h> exists even on freestanding compilers.  */
17402
17403 #ifdef __STDC__
17404 # include <limits.h>
17405 #else
17406 # include <assert.h>
17407 #endif
17408
17409 #undef $ac_func
17410
17411 /* Override any gcc2 internal prototype to avoid an error.  */
17412 #ifdef __cplusplus
17413 extern "C"
17414 {
17415 #endif
17416 /* We use char because int might match the return type of a gcc2
17417    builtin and then its argument prototype would still apply.  */
17418 char $ac_func ();
17419 /* The GNU C library defines this for functions which it implements
17420     to always fail with ENOSYS.  Some functions are actually named
17421     something starting with __ and the normal name is an alias.  */
17422 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
17423 choke me
17424 #else
17425 char (*f) () = $ac_func;
17426 #endif
17427 #ifdef __cplusplus
17428 }
17429 #endif
17430
17431 int
17432 main ()
17433 {
17434 return f != $ac_func;
17435   ;
17436   return 0;
17437 }
17438 _ACEOF
17439 rm -f conftest.$ac_objext conftest$ac_exeext
17440 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
17441   (eval $ac_link) 2>conftest.er1
17442   ac_status=$?
17443   grep -v '^ *+' conftest.er1 >conftest.err
17444   rm -f conftest.er1
17445   cat conftest.err >&5
17446   echo "$as_me:$LINENO: \$? = $ac_status" >&5
17447   (exit $ac_status); } &&
17448          { ac_try='test -z "$ac_c_werror_flag"
17449                          || test ! -s conftest.err'
17450   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17451   (eval $ac_try) 2>&5
17452   ac_status=$?
17453   echo "$as_me:$LINENO: \$? = $ac_status" >&5
17454   (exit $ac_status); }; } &&
17455          { ac_try='test -s conftest$ac_exeext'
17456   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17457   (eval $ac_try) 2>&5
17458   ac_status=$?
17459   echo "$as_me:$LINENO: \$? = $ac_status" >&5
17460   (exit $ac_status); }; }; then
17461   eval "$as_ac_var=yes"
17462 else
17463   echo "$as_me: failed program was:" >&5
17464 sed 's/^/| /' conftest.$ac_ext >&5
17465
17466 eval "$as_ac_var=no"
17467 fi
17468 rm -f conftest.err conftest.$ac_objext \
17469       conftest$ac_exeext conftest.$ac_ext
17470 fi
17471 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
17472 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
17473 if test `eval echo '${'$as_ac_var'}'` = yes; then
17474   cat >>confdefs.h <<_ACEOF
17475 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
17476 _ACEOF
17477
17478 fi
17479 done
17480
17481   else
17482
17483   echo "$as_me:$LINENO: checking for _modff declaration" >&5
17484 echo $ECHO_N "checking for _modff declaration... $ECHO_C" >&6
17485   if test x${glibcxx_cv_func__modff_use+set} != xset; then
17486     if test "${glibcxx_cv_func__modff_use+set}" = set; then
17487   echo $ECHO_N "(cached) $ECHO_C" >&6
17488 else
17489
17490
17491
17492       ac_ext=cc
17493 ac_cpp='$CXXCPP $CPPFLAGS'
17494 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17495 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17496 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
17497
17498       cat >conftest.$ac_ext <<_ACEOF
17499 /* confdefs.h.  */
17500 _ACEOF
17501 cat confdefs.h >>conftest.$ac_ext
17502 cat >>conftest.$ac_ext <<_ACEOF
17503 /* end confdefs.h.  */
17504 #include <math.h>
17505 int
17506 main ()
17507 {
17508  _modff(0, 0);
17509   ;
17510   return 0;
17511 }
17512 _ACEOF
17513 rm -f conftest.$ac_objext
17514 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17515   (eval $ac_compile) 2>conftest.er1
17516   ac_status=$?
17517   grep -v '^ *+' conftest.er1 >conftest.err
17518   rm -f conftest.er1
17519   cat conftest.err >&5
17520   echo "$as_me:$LINENO: \$? = $ac_status" >&5
17521   (exit $ac_status); } &&
17522          { ac_try='test -z "$ac_cxx_werror_flag"
17523                          || test ! -s conftest.err'
17524   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17525   (eval $ac_try) 2>&5
17526   ac_status=$?
17527   echo "$as_me:$LINENO: \$? = $ac_status" >&5
17528   (exit $ac_status); }; } &&
17529          { ac_try='test -s conftest.$ac_objext'
17530   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17531   (eval $ac_try) 2>&5
17532   ac_status=$?
17533   echo "$as_me:$LINENO: \$? = $ac_status" >&5
17534   (exit $ac_status); }; }; then
17535   glibcxx_cv_func__modff_use=yes
17536 else
17537   echo "$as_me: failed program was:" >&5
17538 sed 's/^/| /' conftest.$ac_ext >&5
17539
17540 glibcxx_cv_func__modff_use=no
17541 fi
17542 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17543       ac_ext=c
17544 ac_cpp='$CPP $CPPFLAGS'
17545 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17546 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17547 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17548
17549
17550 fi
17551
17552   fi
17553   echo "$as_me:$LINENO: result: $glibcxx_cv_func__modff_use" >&5
17554 echo "${ECHO_T}$glibcxx_cv_func__modff_use" >&6
17555
17556     if test x$glibcxx_cv_func__modff_use = x"yes"; then
17557
17558 for ac_func in _modff
17559 do
17560 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
17561 echo "$as_me:$LINENO: checking for $ac_func" >&5
17562 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
17563 if eval "test \"\${$as_ac_var+set}\" = set"; then
17564   echo $ECHO_N "(cached) $ECHO_C" >&6
17565 else
17566   if test x$gcc_no_link = xyes; then
17567   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
17568 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
17569    { (exit 1); exit 1; }; }
17570 fi
17571 cat >conftest.$ac_ext <<_ACEOF
17572 /* confdefs.h.  */
17573 _ACEOF
17574 cat confdefs.h >>conftest.$ac_ext
17575 cat >>conftest.$ac_ext <<_ACEOF
17576 /* end confdefs.h.  */
17577 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
17578    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
17579 #define $ac_func innocuous_$ac_func
17580
17581 /* System header to define __stub macros and hopefully few prototypes,
17582     which can conflict with char $ac_func (); below.
17583     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
17584     <limits.h> exists even on freestanding compilers.  */
17585
17586 #ifdef __STDC__
17587 # include <limits.h>
17588 #else
17589 # include <assert.h>
17590 #endif
17591
17592 #undef $ac_func
17593
17594 /* Override any gcc2 internal prototype to avoid an error.  */
17595 #ifdef __cplusplus
17596 extern "C"
17597 {
17598 #endif
17599 /* We use char because int might match the return type of a gcc2
17600    builtin and then its argument prototype would still apply.  */
17601 char $ac_func ();
17602 /* The GNU C library defines this for functions which it implements
17603     to always fail with ENOSYS.  Some functions are actually named
17604     something starting with __ and the normal name is an alias.  */
17605 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
17606 choke me
17607 #else
17608 char (*f) () = $ac_func;
17609 #endif
17610 #ifdef __cplusplus
17611 }
17612 #endif
17613
17614 int
17615 main ()
17616 {
17617 return f != $ac_func;
17618   ;
17619   return 0;
17620 }
17621 _ACEOF
17622 rm -f conftest.$ac_objext conftest$ac_exeext
17623 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
17624   (eval $ac_link) 2>conftest.er1
17625   ac_status=$?
17626   grep -v '^ *+' conftest.er1 >conftest.err
17627   rm -f conftest.er1
17628   cat conftest.err >&5
17629   echo "$as_me:$LINENO: \$? = $ac_status" >&5
17630   (exit $ac_status); } &&
17631          { ac_try='test -z "$ac_c_werror_flag"
17632                          || test ! -s conftest.err'
17633   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17634   (eval $ac_try) 2>&5
17635   ac_status=$?
17636   echo "$as_me:$LINENO: \$? = $ac_status" >&5
17637   (exit $ac_status); }; } &&
17638          { ac_try='test -s conftest$ac_exeext'
17639   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17640   (eval $ac_try) 2>&5
17641   ac_status=$?
17642   echo "$as_me:$LINENO: \$? = $ac_status" >&5
17643   (exit $ac_status); }; }; then
17644   eval "$as_ac_var=yes"
17645 else
17646   echo "$as_me: failed program was:" >&5
17647 sed 's/^/| /' conftest.$ac_ext >&5
17648
17649 eval "$as_ac_var=no"
17650 fi
17651 rm -f conftest.err conftest.$ac_objext \
17652       conftest$ac_exeext conftest.$ac_ext
17653 fi
17654 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
17655 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
17656 if test `eval echo '${'$as_ac_var'}'` = yes; then
17657   cat >>confdefs.h <<_ACEOF
17658 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
17659 _ACEOF
17660
17661 fi
17662 done
17663
17664     fi
17665   fi
17666
17667
17668
17669
17670
17671
17672   echo "$as_me:$LINENO: checking for modf declaration" >&5
17673 echo $ECHO_N "checking for modf declaration... $ECHO_C" >&6
17674   if test x${glibcxx_cv_func_modf_use+set} != xset; then
17675     if test "${glibcxx_cv_func_modf_use+set}" = set; then
17676   echo $ECHO_N "(cached) $ECHO_C" >&6
17677 else
17678
17679
17680
17681       ac_ext=cc
17682 ac_cpp='$CXXCPP $CPPFLAGS'
17683 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17684 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17685 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
17686
17687       cat >conftest.$ac_ext <<_ACEOF
17688 /* confdefs.h.  */
17689 _ACEOF
17690 cat confdefs.h >>conftest.$ac_ext
17691 cat >>conftest.$ac_ext <<_ACEOF
17692 /* end confdefs.h.  */
17693 #include <math.h>
17694 int
17695 main ()
17696 {
17697  modf(0, 0);
17698   ;
17699   return 0;
17700 }
17701 _ACEOF
17702 rm -f conftest.$ac_objext
17703 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17704   (eval $ac_compile) 2>conftest.er1
17705   ac_status=$?
17706   grep -v '^ *+' conftest.er1 >conftest.err
17707   rm -f conftest.er1
17708   cat conftest.err >&5
17709   echo "$as_me:$LINENO: \$? = $ac_status" >&5
17710   (exit $ac_status); } &&
17711          { ac_try='test -z "$ac_cxx_werror_flag"
17712                          || test ! -s conftest.err'
17713   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17714   (eval $ac_try) 2>&5
17715   ac_status=$?
17716   echo "$as_me:$LINENO: \$? = $ac_status" >&5
17717   (exit $ac_status); }; } &&
17718          { ac_try='test -s conftest.$ac_objext'
17719   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17720   (eval $ac_try) 2>&5
17721   ac_status=$?
17722   echo "$as_me:$LINENO: \$? = $ac_status" >&5
17723   (exit $ac_status); }; }; then
17724   glibcxx_cv_func_modf_use=yes
17725 else
17726   echo "$as_me: failed program was:" >&5
17727 sed 's/^/| /' conftest.$ac_ext >&5
17728
17729 glibcxx_cv_func_modf_use=no
17730 fi
17731 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17732       ac_ext=c
17733 ac_cpp='$CPP $CPPFLAGS'
17734 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17735 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17736 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17737
17738
17739 fi
17740
17741   fi
17742   echo "$as_me:$LINENO: result: $glibcxx_cv_func_modf_use" >&5
17743 echo "${ECHO_T}$glibcxx_cv_func_modf_use" >&6
17744
17745   if test x$glibcxx_cv_func_modf_use = x"yes"; then
17746
17747 for ac_func in modf
17748 do
17749 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
17750 echo "$as_me:$LINENO: checking for $ac_func" >&5
17751 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
17752 if eval "test \"\${$as_ac_var+set}\" = set"; then
17753   echo $ECHO_N "(cached) $ECHO_C" >&6
17754 else
17755   if test x$gcc_no_link = xyes; then
17756   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
17757 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
17758    { (exit 1); exit 1; }; }
17759 fi
17760 cat >conftest.$ac_ext <<_ACEOF
17761 /* confdefs.h.  */
17762 _ACEOF
17763 cat confdefs.h >>conftest.$ac_ext
17764 cat >>conftest.$ac_ext <<_ACEOF
17765 /* end confdefs.h.  */
17766 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
17767    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
17768 #define $ac_func innocuous_$ac_func
17769
17770 /* System header to define __stub macros and hopefully few prototypes,
17771     which can conflict with char $ac_func (); below.
17772     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
17773     <limits.h> exists even on freestanding compilers.  */
17774
17775 #ifdef __STDC__
17776 # include <limits.h>
17777 #else
17778 # include <assert.h>
17779 #endif
17780
17781 #undef $ac_func
17782
17783 /* Override any gcc2 internal prototype to avoid an error.  */
17784 #ifdef __cplusplus
17785 extern "C"
17786 {
17787 #endif
17788 /* We use char because int might match the return type of a gcc2
17789    builtin and then its argument prototype would still apply.  */
17790 char $ac_func ();
17791 /* The GNU C library defines this for functions which it implements
17792     to always fail with ENOSYS.  Some functions are actually named
17793     something starting with __ and the normal name is an alias.  */
17794 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
17795 choke me
17796 #else
17797 char (*f) () = $ac_func;
17798 #endif
17799 #ifdef __cplusplus
17800 }
17801 #endif
17802
17803 int
17804 main ()
17805 {
17806 return f != $ac_func;
17807   ;
17808   return 0;
17809 }
17810 _ACEOF
17811 rm -f conftest.$ac_objext conftest$ac_exeext
17812 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
17813   (eval $ac_link) 2>conftest.er1
17814   ac_status=$?
17815   grep -v '^ *+' conftest.er1 >conftest.err
17816   rm -f conftest.er1
17817   cat conftest.err >&5
17818   echo "$as_me:$LINENO: \$? = $ac_status" >&5
17819   (exit $ac_status); } &&
17820          { ac_try='test -z "$ac_c_werror_flag"
17821                          || test ! -s conftest.err'
17822   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17823   (eval $ac_try) 2>&5
17824   ac_status=$?
17825   echo "$as_me:$LINENO: \$? = $ac_status" >&5
17826   (exit $ac_status); }; } &&
17827          { ac_try='test -s conftest$ac_exeext'
17828   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17829   (eval $ac_try) 2>&5
17830   ac_status=$?
17831   echo "$as_me:$LINENO: \$? = $ac_status" >&5
17832   (exit $ac_status); }; }; then
17833   eval "$as_ac_var=yes"
17834 else
17835   echo "$as_me: failed program was:" >&5
17836 sed 's/^/| /' conftest.$ac_ext >&5
17837
17838 eval "$as_ac_var=no"
17839 fi
17840 rm -f conftest.err conftest.$ac_objext \
17841       conftest$ac_exeext conftest.$ac_ext
17842 fi
17843 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
17844 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
17845 if test `eval echo '${'$as_ac_var'}'` = yes; then
17846   cat >>confdefs.h <<_ACEOF
17847 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
17848 _ACEOF
17849
17850 fi
17851 done
17852
17853   else
17854
17855   echo "$as_me:$LINENO: checking for _modf declaration" >&5
17856 echo $ECHO_N "checking for _modf declaration... $ECHO_C" >&6
17857   if test x${glibcxx_cv_func__modf_use+set} != xset; then
17858     if test "${glibcxx_cv_func__modf_use+set}" = set; then
17859   echo $ECHO_N "(cached) $ECHO_C" >&6
17860 else
17861
17862
17863
17864       ac_ext=cc
17865 ac_cpp='$CXXCPP $CPPFLAGS'
17866 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17867 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17868 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
17869
17870       cat >conftest.$ac_ext <<_ACEOF
17871 /* confdefs.h.  */
17872 _ACEOF
17873 cat confdefs.h >>conftest.$ac_ext
17874 cat >>conftest.$ac_ext <<_ACEOF
17875 /* end confdefs.h.  */
17876 #include <math.h>
17877 int
17878 main ()
17879 {
17880  _modf(0, 0);
17881   ;
17882   return 0;
17883 }
17884 _ACEOF
17885 rm -f conftest.$ac_objext
17886 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17887   (eval $ac_compile) 2>conftest.er1
17888   ac_status=$?
17889   grep -v '^ *+' conftest.er1 >conftest.err
17890   rm -f conftest.er1
17891   cat conftest.err >&5
17892   echo "$as_me:$LINENO: \$? = $ac_status" >&5
17893   (exit $ac_status); } &&
17894          { ac_try='test -z "$ac_cxx_werror_flag"
17895                          || test ! -s conftest.err'
17896   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17897   (eval $ac_try) 2>&5
17898   ac_status=$?
17899   echo "$as_me:$LINENO: \$? = $ac_status" >&5
17900   (exit $ac_status); }; } &&
17901          { ac_try='test -s conftest.$ac_objext'
17902   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17903   (eval $ac_try) 2>&5
17904   ac_status=$?
17905   echo "$as_me:$LINENO: \$? = $ac_status" >&5
17906   (exit $ac_status); }; }; then
17907   glibcxx_cv_func__modf_use=yes
17908 else
17909   echo "$as_me: failed program was:" >&5
17910 sed 's/^/| /' conftest.$ac_ext >&5
17911
17912 glibcxx_cv_func__modf_use=no
17913 fi
17914 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17915       ac_ext=c
17916 ac_cpp='$CPP $CPPFLAGS'
17917 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17918 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17919 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17920
17921
17922 fi
17923
17924   fi
17925   echo "$as_me:$LINENO: result: $glibcxx_cv_func__modf_use" >&5
17926 echo "${ECHO_T}$glibcxx_cv_func__modf_use" >&6
17927
17928     if test x$glibcxx_cv_func__modf_use = x"yes"; then
17929
17930 for ac_func in _modf
17931 do
17932 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
17933 echo "$as_me:$LINENO: checking for $ac_func" >&5
17934 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
17935 if eval "test \"\${$as_ac_var+set}\" = set"; then
17936   echo $ECHO_N "(cached) $ECHO_C" >&6
17937 else
17938   if test x$gcc_no_link = xyes; then
17939   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
17940 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
17941    { (exit 1); exit 1; }; }
17942 fi
17943 cat >conftest.$ac_ext <<_ACEOF
17944 /* confdefs.h.  */
17945 _ACEOF
17946 cat confdefs.h >>conftest.$ac_ext
17947 cat >>conftest.$ac_ext <<_ACEOF
17948 /* end confdefs.h.  */
17949 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
17950    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
17951 #define $ac_func innocuous_$ac_func
17952
17953 /* System header to define __stub macros and hopefully few prototypes,
17954     which can conflict with char $ac_func (); below.
17955     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
17956     <limits.h> exists even on freestanding compilers.  */
17957
17958 #ifdef __STDC__
17959 # include <limits.h>
17960 #else
17961 # include <assert.h>
17962 #endif
17963
17964 #undef $ac_func
17965
17966 /* Override any gcc2 internal prototype to avoid an error.  */
17967 #ifdef __cplusplus
17968 extern "C"
17969 {
17970 #endif
17971 /* We use char because int might match the return type of a gcc2
17972    builtin and then its argument prototype would still apply.  */
17973 char $ac_func ();
17974 /* The GNU C library defines this for functions which it implements
17975     to always fail with ENOSYS.  Some functions are actually named
17976     something starting with __ and the normal name is an alias.  */
17977 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
17978 choke me
17979 #else
17980 char (*f) () = $ac_func;
17981 #endif
17982 #ifdef __cplusplus
17983 }
17984 #endif
17985
17986 int
17987 main ()
17988 {
17989 return f != $ac_func;
17990   ;
17991   return 0;
17992 }
17993 _ACEOF
17994 rm -f conftest.$ac_objext conftest$ac_exeext
17995 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
17996   (eval $ac_link) 2>conftest.er1
17997   ac_status=$?
17998   grep -v '^ *+' conftest.er1 >conftest.err
17999   rm -f conftest.er1
18000   cat conftest.err >&5
18001   echo "$as_me:$LINENO: \$? = $ac_status" >&5
18002   (exit $ac_status); } &&
18003          { ac_try='test -z "$ac_c_werror_flag"
18004                          || test ! -s conftest.err'
18005   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18006   (eval $ac_try) 2>&5
18007   ac_status=$?
18008   echo "$as_me:$LINENO: \$? = $ac_status" >&5
18009   (exit $ac_status); }; } &&
18010          { ac_try='test -s conftest$ac_exeext'
18011   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18012   (eval $ac_try) 2>&5
18013   ac_status=$?
18014   echo "$as_me:$LINENO: \$? = $ac_status" >&5
18015   (exit $ac_status); }; }; then
18016   eval "$as_ac_var=yes"
18017 else
18018   echo "$as_me: failed program was:" >&5
18019 sed 's/^/| /' conftest.$ac_ext >&5
18020
18021 eval "$as_ac_var=no"
18022 fi
18023 rm -f conftest.err conftest.$ac_objext \
18024       conftest$ac_exeext conftest.$ac_ext
18025 fi
18026 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
18027 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
18028 if test `eval echo '${'$as_ac_var'}'` = yes; then
18029   cat >>confdefs.h <<_ACEOF
18030 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
18031 _ACEOF
18032
18033 fi
18034 done
18035
18036     fi
18037   fi
18038
18039
18040
18041
18042
18043
18044   echo "$as_me:$LINENO: checking for powf declaration" >&5
18045 echo $ECHO_N "checking for powf declaration... $ECHO_C" >&6
18046   if test x${glibcxx_cv_func_powf_use+set} != xset; then
18047     if test "${glibcxx_cv_func_powf_use+set}" = set; then
18048   echo $ECHO_N "(cached) $ECHO_C" >&6
18049 else
18050
18051
18052
18053       ac_ext=cc
18054 ac_cpp='$CXXCPP $CPPFLAGS'
18055 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18056 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18057 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
18058
18059       cat >conftest.$ac_ext <<_ACEOF
18060 /* confdefs.h.  */
18061 _ACEOF
18062 cat confdefs.h >>conftest.$ac_ext
18063 cat >>conftest.$ac_ext <<_ACEOF
18064 /* end confdefs.h.  */
18065 #include <math.h>
18066 int
18067 main ()
18068 {
18069  powf(0, 0);
18070   ;
18071   return 0;
18072 }
18073 _ACEOF
18074 rm -f conftest.$ac_objext
18075 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18076   (eval $ac_compile) 2>conftest.er1
18077   ac_status=$?
18078   grep -v '^ *+' conftest.er1 >conftest.err
18079   rm -f conftest.er1
18080   cat conftest.err >&5
18081   echo "$as_me:$LINENO: \$? = $ac_status" >&5
18082   (exit $ac_status); } &&
18083          { ac_try='test -z "$ac_cxx_werror_flag"
18084                          || test ! -s conftest.err'
18085   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18086   (eval $ac_try) 2>&5
18087   ac_status=$?
18088   echo "$as_me:$LINENO: \$? = $ac_status" >&5
18089   (exit $ac_status); }; } &&
18090          { ac_try='test -s conftest.$ac_objext'
18091   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18092   (eval $ac_try) 2>&5
18093   ac_status=$?
18094   echo "$as_me:$LINENO: \$? = $ac_status" >&5
18095   (exit $ac_status); }; }; then
18096   glibcxx_cv_func_powf_use=yes
18097 else
18098   echo "$as_me: failed program was:" >&5
18099 sed 's/^/| /' conftest.$ac_ext >&5
18100
18101 glibcxx_cv_func_powf_use=no
18102 fi
18103 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
18104       ac_ext=c
18105 ac_cpp='$CPP $CPPFLAGS'
18106 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18107 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18108 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18109
18110
18111 fi
18112
18113   fi
18114   echo "$as_me:$LINENO: result: $glibcxx_cv_func_powf_use" >&5
18115 echo "${ECHO_T}$glibcxx_cv_func_powf_use" >&6
18116
18117   if test x$glibcxx_cv_func_powf_use = x"yes"; then
18118
18119 for ac_func in powf
18120 do
18121 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
18122 echo "$as_me:$LINENO: checking for $ac_func" >&5
18123 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
18124 if eval "test \"\${$as_ac_var+set}\" = set"; then
18125   echo $ECHO_N "(cached) $ECHO_C" >&6
18126 else
18127   if test x$gcc_no_link = xyes; then
18128   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
18129 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
18130    { (exit 1); exit 1; }; }
18131 fi
18132 cat >conftest.$ac_ext <<_ACEOF
18133 /* confdefs.h.  */
18134 _ACEOF
18135 cat confdefs.h >>conftest.$ac_ext
18136 cat >>conftest.$ac_ext <<_ACEOF
18137 /* end confdefs.h.  */
18138 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
18139    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
18140 #define $ac_func innocuous_$ac_func
18141
18142 /* System header to define __stub macros and hopefully few prototypes,
18143     which can conflict with char $ac_func (); below.
18144     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
18145     <limits.h> exists even on freestanding compilers.  */
18146
18147 #ifdef __STDC__
18148 # include <limits.h>
18149 #else
18150 # include <assert.h>
18151 #endif
18152
18153 #undef $ac_func
18154
18155 /* Override any gcc2 internal prototype to avoid an error.  */
18156 #ifdef __cplusplus
18157 extern "C"
18158 {
18159 #endif
18160 /* We use char because int might match the return type of a gcc2
18161    builtin and then its argument prototype would still apply.  */
18162 char $ac_func ();
18163 /* The GNU C library defines this for functions which it implements
18164     to always fail with ENOSYS.  Some functions are actually named
18165     something starting with __ and the normal name is an alias.  */
18166 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
18167 choke me
18168 #else
18169 char (*f) () = $ac_func;
18170 #endif
18171 #ifdef __cplusplus
18172 }
18173 #endif
18174
18175 int
18176 main ()
18177 {
18178 return f != $ac_func;
18179   ;
18180   return 0;
18181 }
18182 _ACEOF
18183 rm -f conftest.$ac_objext conftest$ac_exeext
18184 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
18185   (eval $ac_link) 2>conftest.er1
18186   ac_status=$?
18187   grep -v '^ *+' conftest.er1 >conftest.err
18188   rm -f conftest.er1
18189   cat conftest.err >&5
18190   echo "$as_me:$LINENO: \$? = $ac_status" >&5
18191   (exit $ac_status); } &&
18192          { ac_try='test -z "$ac_c_werror_flag"
18193                          || test ! -s conftest.err'
18194   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18195   (eval $ac_try) 2>&5
18196   ac_status=$?
18197   echo "$as_me:$LINENO: \$? = $ac_status" >&5
18198   (exit $ac_status); }; } &&
18199          { ac_try='test -s conftest$ac_exeext'
18200   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18201   (eval $ac_try) 2>&5
18202   ac_status=$?
18203   echo "$as_me:$LINENO: \$? = $ac_status" >&5
18204   (exit $ac_status); }; }; then
18205   eval "$as_ac_var=yes"
18206 else
18207   echo "$as_me: failed program was:" >&5
18208 sed 's/^/| /' conftest.$ac_ext >&5
18209
18210 eval "$as_ac_var=no"
18211 fi
18212 rm -f conftest.err conftest.$ac_objext \
18213       conftest$ac_exeext conftest.$ac_ext
18214 fi
18215 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
18216 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
18217 if test `eval echo '${'$as_ac_var'}'` = yes; then
18218   cat >>confdefs.h <<_ACEOF
18219 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
18220 _ACEOF
18221
18222 fi
18223 done
18224
18225   else
18226
18227   echo "$as_me:$LINENO: checking for _powf declaration" >&5
18228 echo $ECHO_N "checking for _powf declaration... $ECHO_C" >&6
18229   if test x${glibcxx_cv_func__powf_use+set} != xset; then
18230     if test "${glibcxx_cv_func__powf_use+set}" = set; then
18231   echo $ECHO_N "(cached) $ECHO_C" >&6
18232 else
18233
18234
18235
18236       ac_ext=cc
18237 ac_cpp='$CXXCPP $CPPFLAGS'
18238 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18239 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18240 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
18241
18242       cat >conftest.$ac_ext <<_ACEOF
18243 /* confdefs.h.  */
18244 _ACEOF
18245 cat confdefs.h >>conftest.$ac_ext
18246 cat >>conftest.$ac_ext <<_ACEOF
18247 /* end confdefs.h.  */
18248 #include <math.h>
18249 int
18250 main ()
18251 {
18252  _powf(0, 0);
18253   ;
18254   return 0;
18255 }
18256 _ACEOF
18257 rm -f conftest.$ac_objext
18258 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18259   (eval $ac_compile) 2>conftest.er1
18260   ac_status=$?
18261   grep -v '^ *+' conftest.er1 >conftest.err
18262   rm -f conftest.er1
18263   cat conftest.err >&5
18264   echo "$as_me:$LINENO: \$? = $ac_status" >&5
18265   (exit $ac_status); } &&
18266          { ac_try='test -z "$ac_cxx_werror_flag"
18267                          || test ! -s conftest.err'
18268   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18269   (eval $ac_try) 2>&5
18270   ac_status=$?
18271   echo "$as_me:$LINENO: \$? = $ac_status" >&5
18272   (exit $ac_status); }; } &&
18273          { ac_try='test -s conftest.$ac_objext'
18274   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18275   (eval $ac_try) 2>&5
18276   ac_status=$?
18277   echo "$as_me:$LINENO: \$? = $ac_status" >&5
18278   (exit $ac_status); }; }; then
18279   glibcxx_cv_func__powf_use=yes
18280 else
18281   echo "$as_me: failed program was:" >&5
18282 sed 's/^/| /' conftest.$ac_ext >&5
18283
18284 glibcxx_cv_func__powf_use=no
18285 fi
18286 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
18287       ac_ext=c
18288 ac_cpp='$CPP $CPPFLAGS'
18289 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18290 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18291 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18292
18293
18294 fi
18295
18296   fi
18297   echo "$as_me:$LINENO: result: $glibcxx_cv_func__powf_use" >&5
18298 echo "${ECHO_T}$glibcxx_cv_func__powf_use" >&6
18299
18300     if test x$glibcxx_cv_func__powf_use = x"yes"; then
18301
18302 for ac_func in _powf
18303 do
18304 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
18305 echo "$as_me:$LINENO: checking for $ac_func" >&5
18306 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
18307 if eval "test \"\${$as_ac_var+set}\" = set"; then
18308   echo $ECHO_N "(cached) $ECHO_C" >&6
18309 else
18310   if test x$gcc_no_link = xyes; then
18311   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
18312 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
18313    { (exit 1); exit 1; }; }
18314 fi
18315 cat >conftest.$ac_ext <<_ACEOF
18316 /* confdefs.h.  */
18317 _ACEOF
18318 cat confdefs.h >>conftest.$ac_ext
18319 cat >>conftest.$ac_ext <<_ACEOF
18320 /* end confdefs.h.  */
18321 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
18322    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
18323 #define $ac_func innocuous_$ac_func
18324
18325 /* System header to define __stub macros and hopefully few prototypes,
18326     which can conflict with char $ac_func (); below.
18327     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
18328     <limits.h> exists even on freestanding compilers.  */
18329
18330 #ifdef __STDC__
18331 # include <limits.h>
18332 #else
18333 # include <assert.h>
18334 #endif
18335
18336 #undef $ac_func
18337
18338 /* Override any gcc2 internal prototype to avoid an error.  */
18339 #ifdef __cplusplus
18340 extern "C"
18341 {
18342 #endif
18343 /* We use char because int might match the return type of a gcc2
18344    builtin and then its argument prototype would still apply.  */
18345 char $ac_func ();
18346 /* The GNU C library defines this for functions which it implements
18347     to always fail with ENOSYS.  Some functions are actually named
18348     something starting with __ and the normal name is an alias.  */
18349 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
18350 choke me
18351 #else
18352 char (*f) () = $ac_func;
18353 #endif
18354 #ifdef __cplusplus
18355 }
18356 #endif
18357
18358 int
18359 main ()
18360 {
18361 return f != $ac_func;
18362   ;
18363   return 0;
18364 }
18365 _ACEOF
18366 rm -f conftest.$ac_objext conftest$ac_exeext
18367 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
18368   (eval $ac_link) 2>conftest.er1
18369   ac_status=$?
18370   grep -v '^ *+' conftest.er1 >conftest.err
18371   rm -f conftest.er1
18372   cat conftest.err >&5
18373   echo "$as_me:$LINENO: \$? = $ac_status" >&5
18374   (exit $ac_status); } &&
18375          { ac_try='test -z "$ac_c_werror_flag"
18376                          || test ! -s conftest.err'
18377   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18378   (eval $ac_try) 2>&5
18379   ac_status=$?
18380   echo "$as_me:$LINENO: \$? = $ac_status" >&5
18381   (exit $ac_status); }; } &&
18382          { ac_try='test -s conftest$ac_exeext'
18383   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18384   (eval $ac_try) 2>&5
18385   ac_status=$?
18386   echo "$as_me:$LINENO: \$? = $ac_status" >&5
18387   (exit $ac_status); }; }; then
18388   eval "$as_ac_var=yes"
18389 else
18390   echo "$as_me: failed program was:" >&5
18391 sed 's/^/| /' conftest.$ac_ext >&5
18392
18393 eval "$as_ac_var=no"
18394 fi
18395 rm -f conftest.err conftest.$ac_objext \
18396       conftest$ac_exeext conftest.$ac_ext
18397 fi
18398 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
18399 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
18400 if test `eval echo '${'$as_ac_var'}'` = yes; then
18401   cat >>confdefs.h <<_ACEOF
18402 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
18403 _ACEOF
18404
18405 fi
18406 done
18407
18408     fi
18409   fi
18410
18411
18412
18413
18414
18415
18416   echo "$as_me:$LINENO: checking for sqrtf declaration" >&5
18417 echo $ECHO_N "checking for sqrtf declaration... $ECHO_C" >&6
18418   if test x${glibcxx_cv_func_sqrtf_use+set} != xset; then
18419     if test "${glibcxx_cv_func_sqrtf_use+set}" = set; then
18420   echo $ECHO_N "(cached) $ECHO_C" >&6
18421 else
18422
18423
18424
18425       ac_ext=cc
18426 ac_cpp='$CXXCPP $CPPFLAGS'
18427 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18428 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18429 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
18430
18431       cat >conftest.$ac_ext <<_ACEOF
18432 /* confdefs.h.  */
18433 _ACEOF
18434 cat confdefs.h >>conftest.$ac_ext
18435 cat >>conftest.$ac_ext <<_ACEOF
18436 /* end confdefs.h.  */
18437 #include <math.h>
18438                       #ifdef HAVE_IEEEFP_H
18439                       #include <ieeefp.h>
18440                       #endif
18441
18442 int
18443 main ()
18444 {
18445  sqrtf(0);
18446   ;
18447   return 0;
18448 }
18449 _ACEOF
18450 rm -f conftest.$ac_objext
18451 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18452   (eval $ac_compile) 2>conftest.er1
18453   ac_status=$?
18454   grep -v '^ *+' conftest.er1 >conftest.err
18455   rm -f conftest.er1
18456   cat conftest.err >&5
18457   echo "$as_me:$LINENO: \$? = $ac_status" >&5
18458   (exit $ac_status); } &&
18459          { ac_try='test -z "$ac_cxx_werror_flag"
18460                          || test ! -s conftest.err'
18461   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18462   (eval $ac_try) 2>&5
18463   ac_status=$?
18464   echo "$as_me:$LINENO: \$? = $ac_status" >&5
18465   (exit $ac_status); }; } &&
18466          { ac_try='test -s conftest.$ac_objext'
18467   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18468   (eval $ac_try) 2>&5
18469   ac_status=$?
18470   echo "$as_me:$LINENO: \$? = $ac_status" >&5
18471   (exit $ac_status); }; }; then
18472   glibcxx_cv_func_sqrtf_use=yes
18473 else
18474   echo "$as_me: failed program was:" >&5
18475 sed 's/^/| /' conftest.$ac_ext >&5
18476
18477 glibcxx_cv_func_sqrtf_use=no
18478 fi
18479 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
18480       ac_ext=c
18481 ac_cpp='$CPP $CPPFLAGS'
18482 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18483 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18484 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18485
18486
18487 fi
18488
18489   fi
18490   echo "$as_me:$LINENO: result: $glibcxx_cv_func_sqrtf_use" >&5
18491 echo "${ECHO_T}$glibcxx_cv_func_sqrtf_use" >&6
18492
18493   if test x$glibcxx_cv_func_sqrtf_use = x"yes"; then
18494
18495 for ac_func in sqrtf
18496 do
18497 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
18498 echo "$as_me:$LINENO: checking for $ac_func" >&5
18499 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
18500 if eval "test \"\${$as_ac_var+set}\" = set"; then
18501   echo $ECHO_N "(cached) $ECHO_C" >&6
18502 else
18503   if test x$gcc_no_link = xyes; then
18504   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
18505 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
18506    { (exit 1); exit 1; }; }
18507 fi
18508 cat >conftest.$ac_ext <<_ACEOF
18509 /* confdefs.h.  */
18510 _ACEOF
18511 cat confdefs.h >>conftest.$ac_ext
18512 cat >>conftest.$ac_ext <<_ACEOF
18513 /* end confdefs.h.  */
18514 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
18515    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
18516 #define $ac_func innocuous_$ac_func
18517
18518 /* System header to define __stub macros and hopefully few prototypes,
18519     which can conflict with char $ac_func (); below.
18520     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
18521     <limits.h> exists even on freestanding compilers.  */
18522
18523 #ifdef __STDC__
18524 # include <limits.h>
18525 #else
18526 # include <assert.h>
18527 #endif
18528
18529 #undef $ac_func
18530
18531 /* Override any gcc2 internal prototype to avoid an error.  */
18532 #ifdef __cplusplus
18533 extern "C"
18534 {
18535 #endif
18536 /* We use char because int might match the return type of a gcc2
18537    builtin and then its argument prototype would still apply.  */
18538 char $ac_func ();
18539 /* The GNU C library defines this for functions which it implements
18540     to always fail with ENOSYS.  Some functions are actually named
18541     something starting with __ and the normal name is an alias.  */
18542 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
18543 choke me
18544 #else
18545 char (*f) () = $ac_func;
18546 #endif
18547 #ifdef __cplusplus
18548 }
18549 #endif
18550
18551 int
18552 main ()
18553 {
18554 return f != $ac_func;
18555   ;
18556   return 0;
18557 }
18558 _ACEOF
18559 rm -f conftest.$ac_objext conftest$ac_exeext
18560 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
18561   (eval $ac_link) 2>conftest.er1
18562   ac_status=$?
18563   grep -v '^ *+' conftest.er1 >conftest.err
18564   rm -f conftest.er1
18565   cat conftest.err >&5
18566   echo "$as_me:$LINENO: \$? = $ac_status" >&5
18567   (exit $ac_status); } &&
18568          { ac_try='test -z "$ac_c_werror_flag"
18569                          || test ! -s conftest.err'
18570   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18571   (eval $ac_try) 2>&5
18572   ac_status=$?
18573   echo "$as_me:$LINENO: \$? = $ac_status" >&5
18574   (exit $ac_status); }; } &&
18575          { ac_try='test -s conftest$ac_exeext'
18576   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18577   (eval $ac_try) 2>&5
18578   ac_status=$?
18579   echo "$as_me:$LINENO: \$? = $ac_status" >&5
18580   (exit $ac_status); }; }; then
18581   eval "$as_ac_var=yes"
18582 else
18583   echo "$as_me: failed program was:" >&5
18584 sed 's/^/| /' conftest.$ac_ext >&5
18585
18586 eval "$as_ac_var=no"
18587 fi
18588 rm -f conftest.err conftest.$ac_objext \
18589       conftest$ac_exeext conftest.$ac_ext
18590 fi
18591 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
18592 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
18593 if test `eval echo '${'$as_ac_var'}'` = yes; then
18594   cat >>confdefs.h <<_ACEOF
18595 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
18596 _ACEOF
18597
18598 fi
18599 done
18600
18601   else
18602
18603   echo "$as_me:$LINENO: checking for _sqrtf declaration" >&5
18604 echo $ECHO_N "checking for _sqrtf declaration... $ECHO_C" >&6
18605   if test x${glibcxx_cv_func__sqrtf_use+set} != xset; then
18606     if test "${glibcxx_cv_func__sqrtf_use+set}" = set; then
18607   echo $ECHO_N "(cached) $ECHO_C" >&6
18608 else
18609
18610
18611
18612       ac_ext=cc
18613 ac_cpp='$CXXCPP $CPPFLAGS'
18614 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18615 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18616 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
18617
18618       cat >conftest.$ac_ext <<_ACEOF
18619 /* confdefs.h.  */
18620 _ACEOF
18621 cat confdefs.h >>conftest.$ac_ext
18622 cat >>conftest.$ac_ext <<_ACEOF
18623 /* end confdefs.h.  */
18624 #include <math.h>
18625                       #ifdef HAVE_IEEEFP_H
18626                       #include <ieeefp.h>
18627                       #endif
18628
18629 int
18630 main ()
18631 {
18632  _sqrtf(0);
18633   ;
18634   return 0;
18635 }
18636 _ACEOF
18637 rm -f conftest.$ac_objext
18638 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18639   (eval $ac_compile) 2>conftest.er1
18640   ac_status=$?
18641   grep -v '^ *+' conftest.er1 >conftest.err
18642   rm -f conftest.er1
18643   cat conftest.err >&5
18644   echo "$as_me:$LINENO: \$? = $ac_status" >&5
18645   (exit $ac_status); } &&
18646          { ac_try='test -z "$ac_cxx_werror_flag"
18647                          || test ! -s conftest.err'
18648   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18649   (eval $ac_try) 2>&5
18650   ac_status=$?
18651   echo "$as_me:$LINENO: \$? = $ac_status" >&5
18652   (exit $ac_status); }; } &&
18653          { ac_try='test -s conftest.$ac_objext'
18654   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18655   (eval $ac_try) 2>&5
18656   ac_status=$?
18657   echo "$as_me:$LINENO: \$? = $ac_status" >&5
18658   (exit $ac_status); }; }; then
18659   glibcxx_cv_func__sqrtf_use=yes
18660 else
18661   echo "$as_me: failed program was:" >&5
18662 sed 's/^/| /' conftest.$ac_ext >&5
18663
18664 glibcxx_cv_func__sqrtf_use=no
18665 fi
18666 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
18667       ac_ext=c
18668 ac_cpp='$CPP $CPPFLAGS'
18669 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18670 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18671 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18672
18673
18674 fi
18675
18676   fi
18677   echo "$as_me:$LINENO: result: $glibcxx_cv_func__sqrtf_use" >&5
18678 echo "${ECHO_T}$glibcxx_cv_func__sqrtf_use" >&6
18679
18680     if test x$glibcxx_cv_func__sqrtf_use = x"yes"; then
18681
18682 for ac_func in _sqrtf
18683 do
18684 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
18685 echo "$as_me:$LINENO: checking for $ac_func" >&5
18686 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
18687 if eval "test \"\${$as_ac_var+set}\" = set"; then
18688   echo $ECHO_N "(cached) $ECHO_C" >&6
18689 else
18690   if test x$gcc_no_link = xyes; then
18691   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
18692 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
18693    { (exit 1); exit 1; }; }
18694 fi
18695 cat >conftest.$ac_ext <<_ACEOF
18696 /* confdefs.h.  */
18697 _ACEOF
18698 cat confdefs.h >>conftest.$ac_ext
18699 cat >>conftest.$ac_ext <<_ACEOF
18700 /* end confdefs.h.  */
18701 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
18702    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
18703 #define $ac_func innocuous_$ac_func
18704
18705 /* System header to define __stub macros and hopefully few prototypes,
18706     which can conflict with char $ac_func (); below.
18707     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
18708     <limits.h> exists even on freestanding compilers.  */
18709
18710 #ifdef __STDC__
18711 # include <limits.h>
18712 #else
18713 # include <assert.h>
18714 #endif
18715
18716 #undef $ac_func
18717
18718 /* Override any gcc2 internal prototype to avoid an error.  */
18719 #ifdef __cplusplus
18720 extern "C"
18721 {
18722 #endif
18723 /* We use char because int might match the return type of a gcc2
18724    builtin and then its argument prototype would still apply.  */
18725 char $ac_func ();
18726 /* The GNU C library defines this for functions which it implements
18727     to always fail with ENOSYS.  Some functions are actually named
18728     something starting with __ and the normal name is an alias.  */
18729 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
18730 choke me
18731 #else
18732 char (*f) () = $ac_func;
18733 #endif
18734 #ifdef __cplusplus
18735 }
18736 #endif
18737
18738 int
18739 main ()
18740 {
18741 return f != $ac_func;
18742   ;
18743   return 0;
18744 }
18745 _ACEOF
18746 rm -f conftest.$ac_objext conftest$ac_exeext
18747 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
18748   (eval $ac_link) 2>conftest.er1
18749   ac_status=$?
18750   grep -v '^ *+' conftest.er1 >conftest.err
18751   rm -f conftest.er1
18752   cat conftest.err >&5
18753   echo "$as_me:$LINENO: \$? = $ac_status" >&5
18754   (exit $ac_status); } &&
18755          { ac_try='test -z "$ac_c_werror_flag"
18756                          || test ! -s conftest.err'
18757   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18758   (eval $ac_try) 2>&5
18759   ac_status=$?
18760   echo "$as_me:$LINENO: \$? = $ac_status" >&5
18761   (exit $ac_status); }; } &&
18762          { ac_try='test -s conftest$ac_exeext'
18763   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18764   (eval $ac_try) 2>&5
18765   ac_status=$?
18766   echo "$as_me:$LINENO: \$? = $ac_status" >&5
18767   (exit $ac_status); }; }; then
18768   eval "$as_ac_var=yes"
18769 else
18770   echo "$as_me: failed program was:" >&5
18771 sed 's/^/| /' conftest.$ac_ext >&5
18772
18773 eval "$as_ac_var=no"
18774 fi
18775 rm -f conftest.err conftest.$ac_objext \
18776       conftest$ac_exeext conftest.$ac_ext
18777 fi
18778 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
18779 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
18780 if test `eval echo '${'$as_ac_var'}'` = yes; then
18781   cat >>confdefs.h <<_ACEOF
18782 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
18783 _ACEOF
18784
18785 fi
18786 done
18787
18788     fi
18789   fi
18790
18791
18792
18793
18794
18795
18796   echo "$as_me:$LINENO: checking for sincosf declaration" >&5
18797 echo $ECHO_N "checking for sincosf declaration... $ECHO_C" >&6
18798   if test x${glibcxx_cv_func_sincosf_use+set} != xset; then
18799     if test "${glibcxx_cv_func_sincosf_use+set}" = set; then
18800   echo $ECHO_N "(cached) $ECHO_C" >&6
18801 else
18802
18803
18804
18805       ac_ext=cc
18806 ac_cpp='$CXXCPP $CPPFLAGS'
18807 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18808 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18809 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
18810
18811       cat >conftest.$ac_ext <<_ACEOF
18812 /* confdefs.h.  */
18813 _ACEOF
18814 cat confdefs.h >>conftest.$ac_ext
18815 cat >>conftest.$ac_ext <<_ACEOF
18816 /* end confdefs.h.  */
18817 #include <math.h>
18818 int
18819 main ()
18820 {
18821  sincosf(0, 0, 0);
18822   ;
18823   return 0;
18824 }
18825 _ACEOF
18826 rm -f conftest.$ac_objext
18827 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18828   (eval $ac_compile) 2>conftest.er1
18829   ac_status=$?
18830   grep -v '^ *+' conftest.er1 >conftest.err
18831   rm -f conftest.er1
18832   cat conftest.err >&5
18833   echo "$as_me:$LINENO: \$? = $ac_status" >&5
18834   (exit $ac_status); } &&
18835          { ac_try='test -z "$ac_cxx_werror_flag"
18836                          || test ! -s conftest.err'
18837   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18838   (eval $ac_try) 2>&5
18839   ac_status=$?
18840   echo "$as_me:$LINENO: \$? = $ac_status" >&5
18841   (exit $ac_status); }; } &&
18842          { ac_try='test -s conftest.$ac_objext'
18843   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18844   (eval $ac_try) 2>&5
18845   ac_status=$?
18846   echo "$as_me:$LINENO: \$? = $ac_status" >&5
18847   (exit $ac_status); }; }; then
18848   glibcxx_cv_func_sincosf_use=yes
18849 else
18850   echo "$as_me: failed program was:" >&5
18851 sed 's/^/| /' conftest.$ac_ext >&5
18852
18853 glibcxx_cv_func_sincosf_use=no
18854 fi
18855 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
18856       ac_ext=c
18857 ac_cpp='$CPP $CPPFLAGS'
18858 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18859 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18860 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18861
18862
18863 fi
18864
18865   fi
18866   echo "$as_me:$LINENO: result: $glibcxx_cv_func_sincosf_use" >&5
18867 echo "${ECHO_T}$glibcxx_cv_func_sincosf_use" >&6
18868
18869   if test x$glibcxx_cv_func_sincosf_use = x"yes"; then
18870
18871 for ac_func in sincosf
18872 do
18873 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
18874 echo "$as_me:$LINENO: checking for $ac_func" >&5
18875 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
18876 if eval "test \"\${$as_ac_var+set}\" = set"; then
18877   echo $ECHO_N "(cached) $ECHO_C" >&6
18878 else
18879   if test x$gcc_no_link = xyes; then
18880   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
18881 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
18882    { (exit 1); exit 1; }; }
18883 fi
18884 cat >conftest.$ac_ext <<_ACEOF
18885 /* confdefs.h.  */
18886 _ACEOF
18887 cat confdefs.h >>conftest.$ac_ext
18888 cat >>conftest.$ac_ext <<_ACEOF
18889 /* end confdefs.h.  */
18890 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
18891    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
18892 #define $ac_func innocuous_$ac_func
18893
18894 /* System header to define __stub macros and hopefully few prototypes,
18895     which can conflict with char $ac_func (); below.
18896     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
18897     <limits.h> exists even on freestanding compilers.  */
18898
18899 #ifdef __STDC__
18900 # include <limits.h>
18901 #else
18902 # include <assert.h>
18903 #endif
18904
18905 #undef $ac_func
18906
18907 /* Override any gcc2 internal prototype to avoid an error.  */
18908 #ifdef __cplusplus
18909 extern "C"
18910 {
18911 #endif
18912 /* We use char because int might match the return type of a gcc2
18913    builtin and then its argument prototype would still apply.  */
18914 char $ac_func ();
18915 /* The GNU C library defines this for functions which it implements
18916     to always fail with ENOSYS.  Some functions are actually named
18917     something starting with __ and the normal name is an alias.  */
18918 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
18919 choke me
18920 #else
18921 char (*f) () = $ac_func;
18922 #endif
18923 #ifdef __cplusplus
18924 }
18925 #endif
18926
18927 int
18928 main ()
18929 {
18930 return f != $ac_func;
18931   ;
18932   return 0;
18933 }
18934 _ACEOF
18935 rm -f conftest.$ac_objext conftest$ac_exeext
18936 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
18937   (eval $ac_link) 2>conftest.er1
18938   ac_status=$?
18939   grep -v '^ *+' conftest.er1 >conftest.err
18940   rm -f conftest.er1
18941   cat conftest.err >&5
18942   echo "$as_me:$LINENO: \$? = $ac_status" >&5
18943   (exit $ac_status); } &&
18944          { ac_try='test -z "$ac_c_werror_flag"
18945                          || test ! -s conftest.err'
18946   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18947   (eval $ac_try) 2>&5
18948   ac_status=$?
18949   echo "$as_me:$LINENO: \$? = $ac_status" >&5
18950   (exit $ac_status); }; } &&
18951          { ac_try='test -s conftest$ac_exeext'
18952   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18953   (eval $ac_try) 2>&5
18954   ac_status=$?
18955   echo "$as_me:$LINENO: \$? = $ac_status" >&5
18956   (exit $ac_status); }; }; then
18957   eval "$as_ac_var=yes"
18958 else
18959   echo "$as_me: failed program was:" >&5
18960 sed 's/^/| /' conftest.$ac_ext >&5
18961
18962 eval "$as_ac_var=no"
18963 fi
18964 rm -f conftest.err conftest.$ac_objext \
18965       conftest$ac_exeext conftest.$ac_ext
18966 fi
18967 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
18968 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
18969 if test `eval echo '${'$as_ac_var'}'` = yes; then
18970   cat >>confdefs.h <<_ACEOF
18971 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
18972 _ACEOF
18973
18974 fi
18975 done
18976
18977   else
18978
18979   echo "$as_me:$LINENO: checking for _sincosf declaration" >&5
18980 echo $ECHO_N "checking for _sincosf declaration... $ECHO_C" >&6
18981   if test x${glibcxx_cv_func__sincosf_use+set} != xset; then
18982     if test "${glibcxx_cv_func__sincosf_use+set}" = set; then
18983   echo $ECHO_N "(cached) $ECHO_C" >&6
18984 else
18985
18986
18987
18988       ac_ext=cc
18989 ac_cpp='$CXXCPP $CPPFLAGS'
18990 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18991 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18992 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
18993
18994       cat >conftest.$ac_ext <<_ACEOF
18995 /* confdefs.h.  */
18996 _ACEOF
18997 cat confdefs.h >>conftest.$ac_ext
18998 cat >>conftest.$ac_ext <<_ACEOF
18999 /* end confdefs.h.  */
19000 #include <math.h>
19001 int
19002 main ()
19003 {
19004  _sincosf(0, 0, 0);
19005   ;
19006   return 0;
19007 }
19008 _ACEOF
19009 rm -f conftest.$ac_objext
19010 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19011   (eval $ac_compile) 2>conftest.er1
19012   ac_status=$?
19013   grep -v '^ *+' conftest.er1 >conftest.err
19014   rm -f conftest.er1
19015   cat conftest.err >&5
19016   echo "$as_me:$LINENO: \$? = $ac_status" >&5
19017   (exit $ac_status); } &&
19018          { ac_try='test -z "$ac_cxx_werror_flag"
19019                          || test ! -s conftest.err'
19020   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19021   (eval $ac_try) 2>&5
19022   ac_status=$?
19023   echo "$as_me:$LINENO: \$? = $ac_status" >&5
19024   (exit $ac_status); }; } &&
19025          { ac_try='test -s conftest.$ac_objext'
19026   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19027   (eval $ac_try) 2>&5
19028   ac_status=$?
19029   echo "$as_me:$LINENO: \$? = $ac_status" >&5
19030   (exit $ac_status); }; }; then
19031   glibcxx_cv_func__sincosf_use=yes
19032 else
19033   echo "$as_me: failed program was:" >&5
19034 sed 's/^/| /' conftest.$ac_ext >&5
19035
19036 glibcxx_cv_func__sincosf_use=no
19037 fi
19038 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
19039       ac_ext=c
19040 ac_cpp='$CPP $CPPFLAGS'
19041 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19042 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19043 ac_compiler_gnu=$ac_cv_c_compiler_gnu
19044
19045
19046 fi
19047
19048   fi
19049   echo "$as_me:$LINENO: result: $glibcxx_cv_func__sincosf_use" >&5
19050 echo "${ECHO_T}$glibcxx_cv_func__sincosf_use" >&6
19051
19052     if test x$glibcxx_cv_func__sincosf_use = x"yes"; then
19053
19054 for ac_func in _sincosf
19055 do
19056 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
19057 echo "$as_me:$LINENO: checking for $ac_func" >&5
19058 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
19059 if eval "test \"\${$as_ac_var+set}\" = set"; then
19060   echo $ECHO_N "(cached) $ECHO_C" >&6
19061 else
19062   if test x$gcc_no_link = xyes; then
19063   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
19064 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
19065    { (exit 1); exit 1; }; }
19066 fi
19067 cat >conftest.$ac_ext <<_ACEOF
19068 /* confdefs.h.  */
19069 _ACEOF
19070 cat confdefs.h >>conftest.$ac_ext
19071 cat >>conftest.$ac_ext <<_ACEOF
19072 /* end confdefs.h.  */
19073 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
19074    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
19075 #define $ac_func innocuous_$ac_func
19076
19077 /* System header to define __stub macros and hopefully few prototypes,
19078     which can conflict with char $ac_func (); below.
19079     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
19080     <limits.h> exists even on freestanding compilers.  */
19081
19082 #ifdef __STDC__
19083 # include <limits.h>
19084 #else
19085 # include <assert.h>
19086 #endif
19087
19088 #undef $ac_func
19089
19090 /* Override any gcc2 internal prototype to avoid an error.  */
19091 #ifdef __cplusplus
19092 extern "C"
19093 {
19094 #endif
19095 /* We use char because int might match the return type of a gcc2
19096    builtin and then its argument prototype would still apply.  */
19097 char $ac_func ();
19098 /* The GNU C library defines this for functions which it implements
19099     to always fail with ENOSYS.  Some functions are actually named
19100     something starting with __ and the normal name is an alias.  */
19101 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
19102 choke me
19103 #else
19104 char (*f) () = $ac_func;
19105 #endif
19106 #ifdef __cplusplus
19107 }
19108 #endif
19109
19110 int
19111 main ()
19112 {
19113 return f != $ac_func;
19114   ;
19115   return 0;
19116 }
19117 _ACEOF
19118 rm -f conftest.$ac_objext conftest$ac_exeext
19119 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19120   (eval $ac_link) 2>conftest.er1
19121   ac_status=$?
19122   grep -v '^ *+' conftest.er1 >conftest.err
19123   rm -f conftest.er1
19124   cat conftest.err >&5
19125   echo "$as_me:$LINENO: \$? = $ac_status" >&5
19126   (exit $ac_status); } &&
19127          { ac_try='test -z "$ac_c_werror_flag"
19128                          || test ! -s conftest.err'
19129   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19130   (eval $ac_try) 2>&5
19131   ac_status=$?
19132   echo "$as_me:$LINENO: \$? = $ac_status" >&5
19133   (exit $ac_status); }; } &&
19134          { ac_try='test -s conftest$ac_exeext'
19135   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19136   (eval $ac_try) 2>&5
19137   ac_status=$?
19138   echo "$as_me:$LINENO: \$? = $ac_status" >&5
19139   (exit $ac_status); }; }; then
19140   eval "$as_ac_var=yes"
19141 else
19142   echo "$as_me: failed program was:" >&5
19143 sed 's/^/| /' conftest.$ac_ext >&5
19144
19145 eval "$as_ac_var=no"
19146 fi
19147 rm -f conftest.err conftest.$ac_objext \
19148       conftest$ac_exeext conftest.$ac_ext
19149 fi
19150 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
19151 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
19152 if test `eval echo '${'$as_ac_var'}'` = yes; then
19153   cat >>confdefs.h <<_ACEOF
19154 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
19155 _ACEOF
19156
19157 fi
19158 done
19159
19160     fi
19161   fi
19162
19163
19164
19165
19166
19167
19168   echo "$as_me:$LINENO: checking for finitef declaration" >&5
19169 echo $ECHO_N "checking for finitef declaration... $ECHO_C" >&6
19170   if test x${glibcxx_cv_func_finitef_use+set} != xset; then
19171     if test "${glibcxx_cv_func_finitef_use+set}" = set; then
19172   echo $ECHO_N "(cached) $ECHO_C" >&6
19173 else
19174
19175
19176
19177       ac_ext=cc
19178 ac_cpp='$CXXCPP $CPPFLAGS'
19179 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19180 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19181 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
19182
19183       cat >conftest.$ac_ext <<_ACEOF
19184 /* confdefs.h.  */
19185 _ACEOF
19186 cat confdefs.h >>conftest.$ac_ext
19187 cat >>conftest.$ac_ext <<_ACEOF
19188 /* end confdefs.h.  */
19189 #include <math.h>
19190                       #ifdef HAVE_IEEEFP_H
19191                       #include <ieeefp.h>
19192                       #endif
19193
19194 int
19195 main ()
19196 {
19197  finitef(0);
19198   ;
19199   return 0;
19200 }
19201 _ACEOF
19202 rm -f conftest.$ac_objext
19203 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19204   (eval $ac_compile) 2>conftest.er1
19205   ac_status=$?
19206   grep -v '^ *+' conftest.er1 >conftest.err
19207   rm -f conftest.er1
19208   cat conftest.err >&5
19209   echo "$as_me:$LINENO: \$? = $ac_status" >&5
19210   (exit $ac_status); } &&
19211          { ac_try='test -z "$ac_cxx_werror_flag"
19212                          || test ! -s conftest.err'
19213   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19214   (eval $ac_try) 2>&5
19215   ac_status=$?
19216   echo "$as_me:$LINENO: \$? = $ac_status" >&5
19217   (exit $ac_status); }; } &&
19218          { ac_try='test -s conftest.$ac_objext'
19219   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19220   (eval $ac_try) 2>&5
19221   ac_status=$?
19222   echo "$as_me:$LINENO: \$? = $ac_status" >&5
19223   (exit $ac_status); }; }; then
19224   glibcxx_cv_func_finitef_use=yes
19225 else
19226   echo "$as_me: failed program was:" >&5
19227 sed 's/^/| /' conftest.$ac_ext >&5
19228
19229 glibcxx_cv_func_finitef_use=no
19230 fi
19231 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
19232       ac_ext=c
19233 ac_cpp='$CPP $CPPFLAGS'
19234 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19235 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19236 ac_compiler_gnu=$ac_cv_c_compiler_gnu
19237
19238
19239 fi
19240
19241   fi
19242   echo "$as_me:$LINENO: result: $glibcxx_cv_func_finitef_use" >&5
19243 echo "${ECHO_T}$glibcxx_cv_func_finitef_use" >&6
19244
19245   if test x$glibcxx_cv_func_finitef_use = x"yes"; then
19246
19247 for ac_func in finitef
19248 do
19249 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
19250 echo "$as_me:$LINENO: checking for $ac_func" >&5
19251 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
19252 if eval "test \"\${$as_ac_var+set}\" = set"; then
19253   echo $ECHO_N "(cached) $ECHO_C" >&6
19254 else
19255   if test x$gcc_no_link = xyes; then
19256   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
19257 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
19258    { (exit 1); exit 1; }; }
19259 fi
19260 cat >conftest.$ac_ext <<_ACEOF
19261 /* confdefs.h.  */
19262 _ACEOF
19263 cat confdefs.h >>conftest.$ac_ext
19264 cat >>conftest.$ac_ext <<_ACEOF
19265 /* end confdefs.h.  */
19266 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
19267    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
19268 #define $ac_func innocuous_$ac_func
19269
19270 /* System header to define __stub macros and hopefully few prototypes,
19271     which can conflict with char $ac_func (); below.
19272     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
19273     <limits.h> exists even on freestanding compilers.  */
19274
19275 #ifdef __STDC__
19276 # include <limits.h>
19277 #else
19278 # include <assert.h>
19279 #endif
19280
19281 #undef $ac_func
19282
19283 /* Override any gcc2 internal prototype to avoid an error.  */
19284 #ifdef __cplusplus
19285 extern "C"
19286 {
19287 #endif
19288 /* We use char because int might match the return type of a gcc2
19289    builtin and then its argument prototype would still apply.  */
19290 char $ac_func ();
19291 /* The GNU C library defines this for functions which it implements
19292     to always fail with ENOSYS.  Some functions are actually named
19293     something starting with __ and the normal name is an alias.  */
19294 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
19295 choke me
19296 #else
19297 char (*f) () = $ac_func;
19298 #endif
19299 #ifdef __cplusplus
19300 }
19301 #endif
19302
19303 int
19304 main ()
19305 {
19306 return f != $ac_func;
19307   ;
19308   return 0;
19309 }
19310 _ACEOF
19311 rm -f conftest.$ac_objext conftest$ac_exeext
19312 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19313   (eval $ac_link) 2>conftest.er1
19314   ac_status=$?
19315   grep -v '^ *+' conftest.er1 >conftest.err
19316   rm -f conftest.er1
19317   cat conftest.err >&5
19318   echo "$as_me:$LINENO: \$? = $ac_status" >&5
19319   (exit $ac_status); } &&
19320          { ac_try='test -z "$ac_c_werror_flag"
19321                          || test ! -s conftest.err'
19322   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19323   (eval $ac_try) 2>&5
19324   ac_status=$?
19325   echo "$as_me:$LINENO: \$? = $ac_status" >&5
19326   (exit $ac_status); }; } &&
19327          { ac_try='test -s conftest$ac_exeext'
19328   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19329   (eval $ac_try) 2>&5
19330   ac_status=$?
19331   echo "$as_me:$LINENO: \$? = $ac_status" >&5
19332   (exit $ac_status); }; }; then
19333   eval "$as_ac_var=yes"
19334 else
19335   echo "$as_me: failed program was:" >&5
19336 sed 's/^/| /' conftest.$ac_ext >&5
19337
19338 eval "$as_ac_var=no"
19339 fi
19340 rm -f conftest.err conftest.$ac_objext \
19341       conftest$ac_exeext conftest.$ac_ext
19342 fi
19343 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
19344 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
19345 if test `eval echo '${'$as_ac_var'}'` = yes; then
19346   cat >>confdefs.h <<_ACEOF
19347 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
19348 _ACEOF
19349
19350 fi
19351 done
19352
19353   else
19354
19355   echo "$as_me:$LINENO: checking for _finitef declaration" >&5
19356 echo $ECHO_N "checking for _finitef declaration... $ECHO_C" >&6
19357   if test x${glibcxx_cv_func__finitef_use+set} != xset; then
19358     if test "${glibcxx_cv_func__finitef_use+set}" = set; then
19359   echo $ECHO_N "(cached) $ECHO_C" >&6
19360 else
19361
19362
19363
19364       ac_ext=cc
19365 ac_cpp='$CXXCPP $CPPFLAGS'
19366 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19367 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19368 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
19369
19370       cat >conftest.$ac_ext <<_ACEOF
19371 /* confdefs.h.  */
19372 _ACEOF
19373 cat confdefs.h >>conftest.$ac_ext
19374 cat >>conftest.$ac_ext <<_ACEOF
19375 /* end confdefs.h.  */
19376 #include <math.h>
19377                       #ifdef HAVE_IEEEFP_H
19378                       #include <ieeefp.h>
19379                       #endif
19380
19381 int
19382 main ()
19383 {
19384  _finitef(0);
19385   ;
19386   return 0;
19387 }
19388 _ACEOF
19389 rm -f conftest.$ac_objext
19390 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19391   (eval $ac_compile) 2>conftest.er1
19392   ac_status=$?
19393   grep -v '^ *+' conftest.er1 >conftest.err
19394   rm -f conftest.er1
19395   cat conftest.err >&5
19396   echo "$as_me:$LINENO: \$? = $ac_status" >&5
19397   (exit $ac_status); } &&
19398          { ac_try='test -z "$ac_cxx_werror_flag"
19399                          || test ! -s conftest.err'
19400   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19401   (eval $ac_try) 2>&5
19402   ac_status=$?
19403   echo "$as_me:$LINENO: \$? = $ac_status" >&5
19404   (exit $ac_status); }; } &&
19405          { ac_try='test -s conftest.$ac_objext'
19406   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19407   (eval $ac_try) 2>&5
19408   ac_status=$?
19409   echo "$as_me:$LINENO: \$? = $ac_status" >&5
19410   (exit $ac_status); }; }; then
19411   glibcxx_cv_func__finitef_use=yes
19412 else
19413   echo "$as_me: failed program was:" >&5
19414 sed 's/^/| /' conftest.$ac_ext >&5
19415
19416 glibcxx_cv_func__finitef_use=no
19417 fi
19418 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
19419       ac_ext=c
19420 ac_cpp='$CPP $CPPFLAGS'
19421 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19422 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19423 ac_compiler_gnu=$ac_cv_c_compiler_gnu
19424
19425
19426 fi
19427
19428   fi
19429   echo "$as_me:$LINENO: result: $glibcxx_cv_func__finitef_use" >&5
19430 echo "${ECHO_T}$glibcxx_cv_func__finitef_use" >&6
19431
19432     if test x$glibcxx_cv_func__finitef_use = x"yes"; then
19433
19434 for ac_func in _finitef
19435 do
19436 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
19437 echo "$as_me:$LINENO: checking for $ac_func" >&5
19438 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
19439 if eval "test \"\${$as_ac_var+set}\" = set"; then
19440   echo $ECHO_N "(cached) $ECHO_C" >&6
19441 else
19442   if test x$gcc_no_link = xyes; then
19443   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
19444 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
19445    { (exit 1); exit 1; }; }
19446 fi
19447 cat >conftest.$ac_ext <<_ACEOF
19448 /* confdefs.h.  */
19449 _ACEOF
19450 cat confdefs.h >>conftest.$ac_ext
19451 cat >>conftest.$ac_ext <<_ACEOF
19452 /* end confdefs.h.  */
19453 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
19454    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
19455 #define $ac_func innocuous_$ac_func
19456
19457 /* System header to define __stub macros and hopefully few prototypes,
19458     which can conflict with char $ac_func (); below.
19459     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
19460     <limits.h> exists even on freestanding compilers.  */
19461
19462 #ifdef __STDC__
19463 # include <limits.h>
19464 #else
19465 # include <assert.h>
19466 #endif
19467
19468 #undef $ac_func
19469
19470 /* Override any gcc2 internal prototype to avoid an error.  */
19471 #ifdef __cplusplus
19472 extern "C"
19473 {
19474 #endif
19475 /* We use char because int might match the return type of a gcc2
19476    builtin and then its argument prototype would still apply.  */
19477 char $ac_func ();
19478 /* The GNU C library defines this for functions which it implements
19479     to always fail with ENOSYS.  Some functions are actually named
19480     something starting with __ and the normal name is an alias.  */
19481 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
19482 choke me
19483 #else
19484 char (*f) () = $ac_func;
19485 #endif
19486 #ifdef __cplusplus
19487 }
19488 #endif
19489
19490 int
19491 main ()
19492 {
19493 return f != $ac_func;
19494   ;
19495   return 0;
19496 }
19497 _ACEOF
19498 rm -f conftest.$ac_objext conftest$ac_exeext
19499 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19500   (eval $ac_link) 2>conftest.er1
19501   ac_status=$?
19502   grep -v '^ *+' conftest.er1 >conftest.err
19503   rm -f conftest.er1
19504   cat conftest.err >&5
19505   echo "$as_me:$LINENO: \$? = $ac_status" >&5
19506   (exit $ac_status); } &&
19507          { ac_try='test -z "$ac_c_werror_flag"
19508                          || test ! -s conftest.err'
19509   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19510   (eval $ac_try) 2>&5
19511   ac_status=$?
19512   echo "$as_me:$LINENO: \$? = $ac_status" >&5
19513   (exit $ac_status); }; } &&
19514          { ac_try='test -s conftest$ac_exeext'
19515   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19516   (eval $ac_try) 2>&5
19517   ac_status=$?
19518   echo "$as_me:$LINENO: \$? = $ac_status" >&5
19519   (exit $ac_status); }; }; then
19520   eval "$as_ac_var=yes"
19521 else
19522   echo "$as_me: failed program was:" >&5
19523 sed 's/^/| /' conftest.$ac_ext >&5
19524
19525 eval "$as_ac_var=no"
19526 fi
19527 rm -f conftest.err conftest.$ac_objext \
19528       conftest$ac_exeext conftest.$ac_ext
19529 fi
19530 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
19531 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
19532 if test `eval echo '${'$as_ac_var'}'` = yes; then
19533   cat >>confdefs.h <<_ACEOF
19534 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
19535 _ACEOF
19536
19537 fi
19538 done
19539
19540     fi
19541   fi
19542
19543
19544
19545
19546
19547
19548     echo "$as_me:$LINENO: checking for long double trig functions" >&5
19549 echo $ECHO_N "checking for long double trig functions... $ECHO_C" >&6
19550   if test "${glibcxx_cv_func_long_double_trig_use+set}" = set; then
19551   echo $ECHO_N "(cached) $ECHO_C" >&6
19552 else
19553
19554
19555
19556     ac_ext=cc
19557 ac_cpp='$CXXCPP $CPPFLAGS'
19558 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19559 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19560 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
19561
19562     cat >conftest.$ac_ext <<_ACEOF
19563 /* confdefs.h.  */
19564 _ACEOF
19565 cat confdefs.h >>conftest.$ac_ext
19566 cat >>conftest.$ac_ext <<_ACEOF
19567 /* end confdefs.h.  */
19568 #include <math.h>
19569 int
19570 main ()
19571 {
19572 acosl (0); asinl (0); atanl (0); cosl (0); sinl (0); tanl (0); coshl (0); sinhl (0); tanhl (0);
19573   ;
19574   return 0;
19575 }
19576 _ACEOF
19577 rm -f conftest.$ac_objext
19578 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19579   (eval $ac_compile) 2>conftest.er1
19580   ac_status=$?
19581   grep -v '^ *+' conftest.er1 >conftest.err
19582   rm -f conftest.er1
19583   cat conftest.err >&5
19584   echo "$as_me:$LINENO: \$? = $ac_status" >&5
19585   (exit $ac_status); } &&
19586          { ac_try='test -z "$ac_cxx_werror_flag"
19587                          || test ! -s conftest.err'
19588   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19589   (eval $ac_try) 2>&5
19590   ac_status=$?
19591   echo "$as_me:$LINENO: \$? = $ac_status" >&5
19592   (exit $ac_status); }; } &&
19593          { ac_try='test -s conftest.$ac_objext'
19594   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19595   (eval $ac_try) 2>&5
19596   ac_status=$?
19597   echo "$as_me:$LINENO: \$? = $ac_status" >&5
19598   (exit $ac_status); }; }; then
19599   glibcxx_cv_func_long_double_trig_use=yes
19600 else
19601   echo "$as_me: failed program was:" >&5
19602 sed 's/^/| /' conftest.$ac_ext >&5
19603
19604 glibcxx_cv_func_long_double_trig_use=no
19605 fi
19606 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
19607     ac_ext=c
19608 ac_cpp='$CPP $CPPFLAGS'
19609 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19610 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19611 ac_compiler_gnu=$ac_cv_c_compiler_gnu
19612
19613 fi
19614
19615   echo "$as_me:$LINENO: result: $glibcxx_cv_func_long_double_trig_use" >&5
19616 echo "${ECHO_T}$glibcxx_cv_func_long_double_trig_use" >&6
19617   if test x$glibcxx_cv_func_long_double_trig_use = x"yes"; then
19618
19619
19620
19621
19622
19623
19624
19625
19626
19627 for ac_func in acosl asinl atanl cosl sinl tanl coshl sinhl tanhl
19628 do
19629 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
19630 echo "$as_me:$LINENO: checking for $ac_func" >&5
19631 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
19632 if eval "test \"\${$as_ac_var+set}\" = set"; then
19633   echo $ECHO_N "(cached) $ECHO_C" >&6
19634 else
19635   if test x$gcc_no_link = xyes; then
19636   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
19637 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
19638    { (exit 1); exit 1; }; }
19639 fi
19640 cat >conftest.$ac_ext <<_ACEOF
19641 /* confdefs.h.  */
19642 _ACEOF
19643 cat confdefs.h >>conftest.$ac_ext
19644 cat >>conftest.$ac_ext <<_ACEOF
19645 /* end confdefs.h.  */
19646 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
19647    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
19648 #define $ac_func innocuous_$ac_func
19649
19650 /* System header to define __stub macros and hopefully few prototypes,
19651     which can conflict with char $ac_func (); below.
19652     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
19653     <limits.h> exists even on freestanding compilers.  */
19654
19655 #ifdef __STDC__
19656 # include <limits.h>
19657 #else
19658 # include <assert.h>
19659 #endif
19660
19661 #undef $ac_func
19662
19663 /* Override any gcc2 internal prototype to avoid an error.  */
19664 #ifdef __cplusplus
19665 extern "C"
19666 {
19667 #endif
19668 /* We use char because int might match the return type of a gcc2
19669    builtin and then its argument prototype would still apply.  */
19670 char $ac_func ();
19671 /* The GNU C library defines this for functions which it implements
19672     to always fail with ENOSYS.  Some functions are actually named
19673     something starting with __ and the normal name is an alias.  */
19674 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
19675 choke me
19676 #else
19677 char (*f) () = $ac_func;
19678 #endif
19679 #ifdef __cplusplus
19680 }
19681 #endif
19682
19683 int
19684 main ()
19685 {
19686 return f != $ac_func;
19687   ;
19688   return 0;
19689 }
19690 _ACEOF
19691 rm -f conftest.$ac_objext conftest$ac_exeext
19692 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19693   (eval $ac_link) 2>conftest.er1
19694   ac_status=$?
19695   grep -v '^ *+' conftest.er1 >conftest.err
19696   rm -f conftest.er1
19697   cat conftest.err >&5
19698   echo "$as_me:$LINENO: \$? = $ac_status" >&5
19699   (exit $ac_status); } &&
19700          { ac_try='test -z "$ac_c_werror_flag"
19701                          || test ! -s conftest.err'
19702   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19703   (eval $ac_try) 2>&5
19704   ac_status=$?
19705   echo "$as_me:$LINENO: \$? = $ac_status" >&5
19706   (exit $ac_status); }; } &&
19707          { ac_try='test -s conftest$ac_exeext'
19708   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19709   (eval $ac_try) 2>&5
19710   ac_status=$?
19711   echo "$as_me:$LINENO: \$? = $ac_status" >&5
19712   (exit $ac_status); }; }; then
19713   eval "$as_ac_var=yes"
19714 else
19715   echo "$as_me: failed program was:" >&5
19716 sed 's/^/| /' conftest.$ac_ext >&5
19717
19718 eval "$as_ac_var=no"
19719 fi
19720 rm -f conftest.err conftest.$ac_objext \
19721       conftest$ac_exeext conftest.$ac_ext
19722 fi
19723 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
19724 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
19725 if test `eval echo '${'$as_ac_var'}'` = yes; then
19726   cat >>confdefs.h <<_ACEOF
19727 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
19728 _ACEOF
19729
19730 fi
19731 done
19732
19733   else
19734     echo "$as_me:$LINENO: checking for _long double trig functions" >&5
19735 echo $ECHO_N "checking for _long double trig functions... $ECHO_C" >&6
19736     if test "${glibcxx_cv_func__long_double_trig_use+set}" = set; then
19737   echo $ECHO_N "(cached) $ECHO_C" >&6
19738 else
19739
19740
19741
19742       ac_ext=cc
19743 ac_cpp='$CXXCPP $CPPFLAGS'
19744 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19745 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19746 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
19747
19748       cat >conftest.$ac_ext <<_ACEOF
19749 /* confdefs.h.  */
19750 _ACEOF
19751 cat confdefs.h >>conftest.$ac_ext
19752 cat >>conftest.$ac_ext <<_ACEOF
19753 /* end confdefs.h.  */
19754 #include <math.h>
19755 int
19756 main ()
19757 {
19758 _acosl (0); _asinl (0); _atanl (0); _cosl (0); _sinl (0); _tanl (0); _coshl (0); _sinhl (0); _tanhl (0);
19759   ;
19760   return 0;
19761 }
19762 _ACEOF
19763 rm -f conftest.$ac_objext
19764 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19765   (eval $ac_compile) 2>conftest.er1
19766   ac_status=$?
19767   grep -v '^ *+' conftest.er1 >conftest.err
19768   rm -f conftest.er1
19769   cat conftest.err >&5
19770   echo "$as_me:$LINENO: \$? = $ac_status" >&5
19771   (exit $ac_status); } &&
19772          { ac_try='test -z "$ac_cxx_werror_flag"
19773                          || test ! -s conftest.err'
19774   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19775   (eval $ac_try) 2>&5
19776   ac_status=$?
19777   echo "$as_me:$LINENO: \$? = $ac_status" >&5
19778   (exit $ac_status); }; } &&
19779          { ac_try='test -s conftest.$ac_objext'
19780   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19781   (eval $ac_try) 2>&5
19782   ac_status=$?
19783   echo "$as_me:$LINENO: \$? = $ac_status" >&5
19784   (exit $ac_status); }; }; then
19785   glibcxx_cv_func__long_double_trig_use=yes
19786 else
19787   echo "$as_me: failed program was:" >&5
19788 sed 's/^/| /' conftest.$ac_ext >&5
19789
19790 glibcxx_cv_func__long_double_trig_use=no
19791 fi
19792 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
19793       ac_ext=c
19794 ac_cpp='$CPP $CPPFLAGS'
19795 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19796 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19797 ac_compiler_gnu=$ac_cv_c_compiler_gnu
19798
19799 fi
19800
19801     echo "$as_me:$LINENO: result: $glibcxx_cv_func__long_double_trig_use" >&5
19802 echo "${ECHO_T}$glibcxx_cv_func__long_double_trig_use" >&6
19803     if test x$glibcxx_cv_func__long_double_trig_use = x"yes"; then
19804
19805
19806
19807
19808
19809
19810
19811
19812
19813 for ac_func in _acosl _asinl _atanl _cosl _sinl _tanl _coshl _sinhl _tanhl
19814 do
19815 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
19816 echo "$as_me:$LINENO: checking for $ac_func" >&5
19817 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
19818 if eval "test \"\${$as_ac_var+set}\" = set"; then
19819   echo $ECHO_N "(cached) $ECHO_C" >&6
19820 else
19821   if test x$gcc_no_link = xyes; then
19822   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
19823 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
19824    { (exit 1); exit 1; }; }
19825 fi
19826 cat >conftest.$ac_ext <<_ACEOF
19827 /* confdefs.h.  */
19828 _ACEOF
19829 cat confdefs.h >>conftest.$ac_ext
19830 cat >>conftest.$ac_ext <<_ACEOF
19831 /* end confdefs.h.  */
19832 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
19833    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
19834 #define $ac_func innocuous_$ac_func
19835
19836 /* System header to define __stub macros and hopefully few prototypes,
19837     which can conflict with char $ac_func (); below.
19838     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
19839     <limits.h> exists even on freestanding compilers.  */
19840
19841 #ifdef __STDC__
19842 # include <limits.h>
19843 #else
19844 # include <assert.h>
19845 #endif
19846
19847 #undef $ac_func
19848
19849 /* Override any gcc2 internal prototype to avoid an error.  */
19850 #ifdef __cplusplus
19851 extern "C"
19852 {
19853 #endif
19854 /* We use char because int might match the return type of a gcc2
19855    builtin and then its argument prototype would still apply.  */
19856 char $ac_func ();
19857 /* The GNU C library defines this for functions which it implements
19858     to always fail with ENOSYS.  Some functions are actually named
19859     something starting with __ and the normal name is an alias.  */
19860 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
19861 choke me
19862 #else
19863 char (*f) () = $ac_func;
19864 #endif
19865 #ifdef __cplusplus
19866 }
19867 #endif
19868
19869 int
19870 main ()
19871 {
19872 return f != $ac_func;
19873   ;
19874   return 0;
19875 }
19876 _ACEOF
19877 rm -f conftest.$ac_objext conftest$ac_exeext
19878 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19879   (eval $ac_link) 2>conftest.er1
19880   ac_status=$?
19881   grep -v '^ *+' conftest.er1 >conftest.err
19882   rm -f conftest.er1
19883   cat conftest.err >&5
19884   echo "$as_me:$LINENO: \$? = $ac_status" >&5
19885   (exit $ac_status); } &&
19886          { ac_try='test -z "$ac_c_werror_flag"
19887                          || test ! -s conftest.err'
19888   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19889   (eval $ac_try) 2>&5
19890   ac_status=$?
19891   echo "$as_me:$LINENO: \$? = $ac_status" >&5
19892   (exit $ac_status); }; } &&
19893          { ac_try='test -s conftest$ac_exeext'
19894   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19895   (eval $ac_try) 2>&5
19896   ac_status=$?
19897   echo "$as_me:$LINENO: \$? = $ac_status" >&5
19898   (exit $ac_status); }; }; then
19899   eval "$as_ac_var=yes"
19900 else
19901   echo "$as_me: failed program was:" >&5
19902 sed 's/^/| /' conftest.$ac_ext >&5
19903
19904 eval "$as_ac_var=no"
19905 fi
19906 rm -f conftest.err conftest.$ac_objext \
19907       conftest$ac_exeext conftest.$ac_ext
19908 fi
19909 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
19910 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
19911 if test `eval echo '${'$as_ac_var'}'` = yes; then
19912   cat >>confdefs.h <<_ACEOF
19913 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
19914 _ACEOF
19915
19916 fi
19917 done
19918
19919     fi
19920   fi
19921
19922
19923
19924
19925
19926
19927
19928
19929
19930
19931
19932
19933
19934
19935     echo "$as_me:$LINENO: checking for long double round functions" >&5
19936 echo $ECHO_N "checking for long double round functions... $ECHO_C" >&6
19937   if test "${glibcxx_cv_func_long_double_round_use+set}" = set; then
19938   echo $ECHO_N "(cached) $ECHO_C" >&6
19939 else
19940
19941
19942
19943     ac_ext=cc
19944 ac_cpp='$CXXCPP $CPPFLAGS'
19945 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19946 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19947 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
19948
19949     cat >conftest.$ac_ext <<_ACEOF
19950 /* confdefs.h.  */
19951 _ACEOF
19952 cat confdefs.h >>conftest.$ac_ext
19953 cat >>conftest.$ac_ext <<_ACEOF
19954 /* end confdefs.h.  */
19955 #include <math.h>
19956 int
19957 main ()
19958 {
19959 ceill (0); floorl (0);
19960   ;
19961   return 0;
19962 }
19963 _ACEOF
19964 rm -f conftest.$ac_objext
19965 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19966   (eval $ac_compile) 2>conftest.er1
19967   ac_status=$?
19968   grep -v '^ *+' conftest.er1 >conftest.err
19969   rm -f conftest.er1
19970   cat conftest.err >&5
19971   echo "$as_me:$LINENO: \$? = $ac_status" >&5
19972   (exit $ac_status); } &&
19973          { ac_try='test -z "$ac_cxx_werror_flag"
19974                          || test ! -s conftest.err'
19975   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19976   (eval $ac_try) 2>&5
19977   ac_status=$?
19978   echo "$as_me:$LINENO: \$? = $ac_status" >&5
19979   (exit $ac_status); }; } &&
19980          { ac_try='test -s conftest.$ac_objext'
19981   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19982   (eval $ac_try) 2>&5
19983   ac_status=$?
19984   echo "$as_me:$LINENO: \$? = $ac_status" >&5
19985   (exit $ac_status); }; }; then
19986   glibcxx_cv_func_long_double_round_use=yes
19987 else
19988   echo "$as_me: failed program was:" >&5
19989 sed 's/^/| /' conftest.$ac_ext >&5
19990
19991 glibcxx_cv_func_long_double_round_use=no
19992 fi
19993 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
19994     ac_ext=c
19995 ac_cpp='$CPP $CPPFLAGS'
19996 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19997 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19998 ac_compiler_gnu=$ac_cv_c_compiler_gnu
19999
20000 fi
20001
20002   echo "$as_me:$LINENO: result: $glibcxx_cv_func_long_double_round_use" >&5
20003 echo "${ECHO_T}$glibcxx_cv_func_long_double_round_use" >&6
20004   if test x$glibcxx_cv_func_long_double_round_use = x"yes"; then
20005
20006
20007 for ac_func in ceill floorl
20008 do
20009 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
20010 echo "$as_me:$LINENO: checking for $ac_func" >&5
20011 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
20012 if eval "test \"\${$as_ac_var+set}\" = set"; then
20013   echo $ECHO_N "(cached) $ECHO_C" >&6
20014 else
20015   if test x$gcc_no_link = xyes; then
20016   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
20017 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
20018    { (exit 1); exit 1; }; }
20019 fi
20020 cat >conftest.$ac_ext <<_ACEOF
20021 /* confdefs.h.  */
20022 _ACEOF
20023 cat confdefs.h >>conftest.$ac_ext
20024 cat >>conftest.$ac_ext <<_ACEOF
20025 /* end confdefs.h.  */
20026 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
20027    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
20028 #define $ac_func innocuous_$ac_func
20029
20030 /* System header to define __stub macros and hopefully few prototypes,
20031     which can conflict with char $ac_func (); below.
20032     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
20033     <limits.h> exists even on freestanding compilers.  */
20034
20035 #ifdef __STDC__
20036 # include <limits.h>
20037 #else
20038 # include <assert.h>
20039 #endif
20040
20041 #undef $ac_func
20042
20043 /* Override any gcc2 internal prototype to avoid an error.  */
20044 #ifdef __cplusplus
20045 extern "C"
20046 {
20047 #endif
20048 /* We use char because int might match the return type of a gcc2
20049    builtin and then its argument prototype would still apply.  */
20050 char $ac_func ();
20051 /* The GNU C library defines this for functions which it implements
20052     to always fail with ENOSYS.  Some functions are actually named
20053     something starting with __ and the normal name is an alias.  */
20054 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
20055 choke me
20056 #else
20057 char (*f) () = $ac_func;
20058 #endif
20059 #ifdef __cplusplus
20060 }
20061 #endif
20062
20063 int
20064 main ()
20065 {
20066 return f != $ac_func;
20067   ;
20068   return 0;
20069 }
20070 _ACEOF
20071 rm -f conftest.$ac_objext conftest$ac_exeext
20072 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20073   (eval $ac_link) 2>conftest.er1
20074   ac_status=$?
20075   grep -v '^ *+' conftest.er1 >conftest.err
20076   rm -f conftest.er1
20077   cat conftest.err >&5
20078   echo "$as_me:$LINENO: \$? = $ac_status" >&5
20079   (exit $ac_status); } &&
20080          { ac_try='test -z "$ac_c_werror_flag"
20081                          || test ! -s conftest.err'
20082   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20083   (eval $ac_try) 2>&5
20084   ac_status=$?
20085   echo "$as_me:$LINENO: \$? = $ac_status" >&5
20086   (exit $ac_status); }; } &&
20087          { ac_try='test -s conftest$ac_exeext'
20088   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20089   (eval $ac_try) 2>&5
20090   ac_status=$?
20091   echo "$as_me:$LINENO: \$? = $ac_status" >&5
20092   (exit $ac_status); }; }; then
20093   eval "$as_ac_var=yes"
20094 else
20095   echo "$as_me: failed program was:" >&5
20096 sed 's/^/| /' conftest.$ac_ext >&5
20097
20098 eval "$as_ac_var=no"
20099 fi
20100 rm -f conftest.err conftest.$ac_objext \
20101       conftest$ac_exeext conftest.$ac_ext
20102 fi
20103 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
20104 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
20105 if test `eval echo '${'$as_ac_var'}'` = yes; then
20106   cat >>confdefs.h <<_ACEOF
20107 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
20108 _ACEOF
20109
20110 fi
20111 done
20112
20113   else
20114     echo "$as_me:$LINENO: checking for _long double round functions" >&5
20115 echo $ECHO_N "checking for _long double round functions... $ECHO_C" >&6
20116     if test "${glibcxx_cv_func__long_double_round_use+set}" = set; then
20117   echo $ECHO_N "(cached) $ECHO_C" >&6
20118 else
20119
20120
20121
20122       ac_ext=cc
20123 ac_cpp='$CXXCPP $CPPFLAGS'
20124 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20125 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20126 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
20127
20128       cat >conftest.$ac_ext <<_ACEOF
20129 /* confdefs.h.  */
20130 _ACEOF
20131 cat confdefs.h >>conftest.$ac_ext
20132 cat >>conftest.$ac_ext <<_ACEOF
20133 /* end confdefs.h.  */
20134 #include <math.h>
20135 int
20136 main ()
20137 {
20138 _ceill (0); _floorl (0);
20139   ;
20140   return 0;
20141 }
20142 _ACEOF
20143 rm -f conftest.$ac_objext
20144 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20145   (eval $ac_compile) 2>conftest.er1
20146   ac_status=$?
20147   grep -v '^ *+' conftest.er1 >conftest.err
20148   rm -f conftest.er1
20149   cat conftest.err >&5
20150   echo "$as_me:$LINENO: \$? = $ac_status" >&5
20151   (exit $ac_status); } &&
20152          { ac_try='test -z "$ac_cxx_werror_flag"
20153                          || test ! -s conftest.err'
20154   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20155   (eval $ac_try) 2>&5
20156   ac_status=$?
20157   echo "$as_me:$LINENO: \$? = $ac_status" >&5
20158   (exit $ac_status); }; } &&
20159          { ac_try='test -s conftest.$ac_objext'
20160   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20161   (eval $ac_try) 2>&5
20162   ac_status=$?
20163   echo "$as_me:$LINENO: \$? = $ac_status" >&5
20164   (exit $ac_status); }; }; then
20165   glibcxx_cv_func__long_double_round_use=yes
20166 else
20167   echo "$as_me: failed program was:" >&5
20168 sed 's/^/| /' conftest.$ac_ext >&5
20169
20170 glibcxx_cv_func__long_double_round_use=no
20171 fi
20172 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
20173       ac_ext=c
20174 ac_cpp='$CPP $CPPFLAGS'
20175 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20176 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20177 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20178
20179 fi
20180
20181     echo "$as_me:$LINENO: result: $glibcxx_cv_func__long_double_round_use" >&5
20182 echo "${ECHO_T}$glibcxx_cv_func__long_double_round_use" >&6
20183     if test x$glibcxx_cv_func__long_double_round_use = x"yes"; then
20184
20185
20186 for ac_func in _ceill _floorl
20187 do
20188 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
20189 echo "$as_me:$LINENO: checking for $ac_func" >&5
20190 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
20191 if eval "test \"\${$as_ac_var+set}\" = set"; then
20192   echo $ECHO_N "(cached) $ECHO_C" >&6
20193 else
20194   if test x$gcc_no_link = xyes; then
20195   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
20196 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
20197    { (exit 1); exit 1; }; }
20198 fi
20199 cat >conftest.$ac_ext <<_ACEOF
20200 /* confdefs.h.  */
20201 _ACEOF
20202 cat confdefs.h >>conftest.$ac_ext
20203 cat >>conftest.$ac_ext <<_ACEOF
20204 /* end confdefs.h.  */
20205 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
20206    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
20207 #define $ac_func innocuous_$ac_func
20208
20209 /* System header to define __stub macros and hopefully few prototypes,
20210     which can conflict with char $ac_func (); below.
20211     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
20212     <limits.h> exists even on freestanding compilers.  */
20213
20214 #ifdef __STDC__
20215 # include <limits.h>
20216 #else
20217 # include <assert.h>
20218 #endif
20219
20220 #undef $ac_func
20221
20222 /* Override any gcc2 internal prototype to avoid an error.  */
20223 #ifdef __cplusplus
20224 extern "C"
20225 {
20226 #endif
20227 /* We use char because int might match the return type of a gcc2
20228    builtin and then its argument prototype would still apply.  */
20229 char $ac_func ();
20230 /* The GNU C library defines this for functions which it implements
20231     to always fail with ENOSYS.  Some functions are actually named
20232     something starting with __ and the normal name is an alias.  */
20233 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
20234 choke me
20235 #else
20236 char (*f) () = $ac_func;
20237 #endif
20238 #ifdef __cplusplus
20239 }
20240 #endif
20241
20242 int
20243 main ()
20244 {
20245 return f != $ac_func;
20246   ;
20247   return 0;
20248 }
20249 _ACEOF
20250 rm -f conftest.$ac_objext conftest$ac_exeext
20251 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20252   (eval $ac_link) 2>conftest.er1
20253   ac_status=$?
20254   grep -v '^ *+' conftest.er1 >conftest.err
20255   rm -f conftest.er1
20256   cat conftest.err >&5
20257   echo "$as_me:$LINENO: \$? = $ac_status" >&5
20258   (exit $ac_status); } &&
20259          { ac_try='test -z "$ac_c_werror_flag"
20260                          || test ! -s conftest.err'
20261   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20262   (eval $ac_try) 2>&5
20263   ac_status=$?
20264   echo "$as_me:$LINENO: \$? = $ac_status" >&5
20265   (exit $ac_status); }; } &&
20266          { ac_try='test -s conftest$ac_exeext'
20267   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20268   (eval $ac_try) 2>&5
20269   ac_status=$?
20270   echo "$as_me:$LINENO: \$? = $ac_status" >&5
20271   (exit $ac_status); }; }; then
20272   eval "$as_ac_var=yes"
20273 else
20274   echo "$as_me: failed program was:" >&5
20275 sed 's/^/| /' conftest.$ac_ext >&5
20276
20277 eval "$as_ac_var=no"
20278 fi
20279 rm -f conftest.err conftest.$ac_objext \
20280       conftest$ac_exeext conftest.$ac_ext
20281 fi
20282 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
20283 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
20284 if test `eval echo '${'$as_ac_var'}'` = yes; then
20285   cat >>confdefs.h <<_ACEOF
20286 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
20287 _ACEOF
20288
20289 fi
20290 done
20291
20292     fi
20293   fi
20294
20295
20296
20297
20298
20299
20300
20301
20302   echo "$as_me:$LINENO: checking for isnanl declaration" >&5
20303 echo $ECHO_N "checking for isnanl declaration... $ECHO_C" >&6
20304   if test x${glibcxx_cv_func_isnanl_use+set} != xset; then
20305     if test "${glibcxx_cv_func_isnanl_use+set}" = set; then
20306   echo $ECHO_N "(cached) $ECHO_C" >&6
20307 else
20308
20309
20310
20311       ac_ext=cc
20312 ac_cpp='$CXXCPP $CPPFLAGS'
20313 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20314 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20315 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
20316
20317       cat >conftest.$ac_ext <<_ACEOF
20318 /* confdefs.h.  */
20319 _ACEOF
20320 cat confdefs.h >>conftest.$ac_ext
20321 cat >>conftest.$ac_ext <<_ACEOF
20322 /* end confdefs.h.  */
20323 #include <math.h>
20324                       #ifdef HAVE_IEEEFP_H
20325                       #include <ieeefp.h>
20326                       #endif
20327
20328 int
20329 main ()
20330 {
20331  isnanl(0);
20332   ;
20333   return 0;
20334 }
20335 _ACEOF
20336 rm -f conftest.$ac_objext
20337 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20338   (eval $ac_compile) 2>conftest.er1
20339   ac_status=$?
20340   grep -v '^ *+' conftest.er1 >conftest.err
20341   rm -f conftest.er1
20342   cat conftest.err >&5
20343   echo "$as_me:$LINENO: \$? = $ac_status" >&5
20344   (exit $ac_status); } &&
20345          { ac_try='test -z "$ac_cxx_werror_flag"
20346                          || test ! -s conftest.err'
20347   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20348   (eval $ac_try) 2>&5
20349   ac_status=$?
20350   echo "$as_me:$LINENO: \$? = $ac_status" >&5
20351   (exit $ac_status); }; } &&
20352          { ac_try='test -s conftest.$ac_objext'
20353   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20354   (eval $ac_try) 2>&5
20355   ac_status=$?
20356   echo "$as_me:$LINENO: \$? = $ac_status" >&5
20357   (exit $ac_status); }; }; then
20358   glibcxx_cv_func_isnanl_use=yes
20359 else
20360   echo "$as_me: failed program was:" >&5
20361 sed 's/^/| /' conftest.$ac_ext >&5
20362
20363 glibcxx_cv_func_isnanl_use=no
20364 fi
20365 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
20366       ac_ext=c
20367 ac_cpp='$CPP $CPPFLAGS'
20368 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20369 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20370 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20371
20372
20373 fi
20374
20375   fi
20376   echo "$as_me:$LINENO: result: $glibcxx_cv_func_isnanl_use" >&5
20377 echo "${ECHO_T}$glibcxx_cv_func_isnanl_use" >&6
20378
20379   if test x$glibcxx_cv_func_isnanl_use = x"yes"; then
20380
20381 for ac_func in isnanl
20382 do
20383 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
20384 echo "$as_me:$LINENO: checking for $ac_func" >&5
20385 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
20386 if eval "test \"\${$as_ac_var+set}\" = set"; then
20387   echo $ECHO_N "(cached) $ECHO_C" >&6
20388 else
20389   if test x$gcc_no_link = xyes; then
20390   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
20391 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
20392    { (exit 1); exit 1; }; }
20393 fi
20394 cat >conftest.$ac_ext <<_ACEOF
20395 /* confdefs.h.  */
20396 _ACEOF
20397 cat confdefs.h >>conftest.$ac_ext
20398 cat >>conftest.$ac_ext <<_ACEOF
20399 /* end confdefs.h.  */
20400 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
20401    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
20402 #define $ac_func innocuous_$ac_func
20403
20404 /* System header to define __stub macros and hopefully few prototypes,
20405     which can conflict with char $ac_func (); below.
20406     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
20407     <limits.h> exists even on freestanding compilers.  */
20408
20409 #ifdef __STDC__
20410 # include <limits.h>
20411 #else
20412 # include <assert.h>
20413 #endif
20414
20415 #undef $ac_func
20416
20417 /* Override any gcc2 internal prototype to avoid an error.  */
20418 #ifdef __cplusplus
20419 extern "C"
20420 {
20421 #endif
20422 /* We use char because int might match the return type of a gcc2
20423    builtin and then its argument prototype would still apply.  */
20424 char $ac_func ();
20425 /* The GNU C library defines this for functions which it implements
20426     to always fail with ENOSYS.  Some functions are actually named
20427     something starting with __ and the normal name is an alias.  */
20428 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
20429 choke me
20430 #else
20431 char (*f) () = $ac_func;
20432 #endif
20433 #ifdef __cplusplus
20434 }
20435 #endif
20436
20437 int
20438 main ()
20439 {
20440 return f != $ac_func;
20441   ;
20442   return 0;
20443 }
20444 _ACEOF
20445 rm -f conftest.$ac_objext conftest$ac_exeext
20446 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20447   (eval $ac_link) 2>conftest.er1
20448   ac_status=$?
20449   grep -v '^ *+' conftest.er1 >conftest.err
20450   rm -f conftest.er1
20451   cat conftest.err >&5
20452   echo "$as_me:$LINENO: \$? = $ac_status" >&5
20453   (exit $ac_status); } &&
20454          { ac_try='test -z "$ac_c_werror_flag"
20455                          || test ! -s conftest.err'
20456   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20457   (eval $ac_try) 2>&5
20458   ac_status=$?
20459   echo "$as_me:$LINENO: \$? = $ac_status" >&5
20460   (exit $ac_status); }; } &&
20461          { ac_try='test -s conftest$ac_exeext'
20462   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20463   (eval $ac_try) 2>&5
20464   ac_status=$?
20465   echo "$as_me:$LINENO: \$? = $ac_status" >&5
20466   (exit $ac_status); }; }; then
20467   eval "$as_ac_var=yes"
20468 else
20469   echo "$as_me: failed program was:" >&5
20470 sed 's/^/| /' conftest.$ac_ext >&5
20471
20472 eval "$as_ac_var=no"
20473 fi
20474 rm -f conftest.err conftest.$ac_objext \
20475       conftest$ac_exeext conftest.$ac_ext
20476 fi
20477 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
20478 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
20479 if test `eval echo '${'$as_ac_var'}'` = yes; then
20480   cat >>confdefs.h <<_ACEOF
20481 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
20482 _ACEOF
20483
20484 fi
20485 done
20486
20487   else
20488
20489   echo "$as_me:$LINENO: checking for _isnanl declaration" >&5
20490 echo $ECHO_N "checking for _isnanl declaration... $ECHO_C" >&6
20491   if test x${glibcxx_cv_func__isnanl_use+set} != xset; then
20492     if test "${glibcxx_cv_func__isnanl_use+set}" = set; then
20493   echo $ECHO_N "(cached) $ECHO_C" >&6
20494 else
20495
20496
20497
20498       ac_ext=cc
20499 ac_cpp='$CXXCPP $CPPFLAGS'
20500 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20501 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20502 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
20503
20504       cat >conftest.$ac_ext <<_ACEOF
20505 /* confdefs.h.  */
20506 _ACEOF
20507 cat confdefs.h >>conftest.$ac_ext
20508 cat >>conftest.$ac_ext <<_ACEOF
20509 /* end confdefs.h.  */
20510 #include <math.h>
20511                       #ifdef HAVE_IEEEFP_H
20512                       #include <ieeefp.h>
20513                       #endif
20514
20515 int
20516 main ()
20517 {
20518  _isnanl(0);
20519   ;
20520   return 0;
20521 }
20522 _ACEOF
20523 rm -f conftest.$ac_objext
20524 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20525   (eval $ac_compile) 2>conftest.er1
20526   ac_status=$?
20527   grep -v '^ *+' conftest.er1 >conftest.err
20528   rm -f conftest.er1
20529   cat conftest.err >&5
20530   echo "$as_me:$LINENO: \$? = $ac_status" >&5
20531   (exit $ac_status); } &&
20532          { ac_try='test -z "$ac_cxx_werror_flag"
20533                          || test ! -s conftest.err'
20534   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20535   (eval $ac_try) 2>&5
20536   ac_status=$?
20537   echo "$as_me:$LINENO: \$? = $ac_status" >&5
20538   (exit $ac_status); }; } &&
20539          { ac_try='test -s conftest.$ac_objext'
20540   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20541   (eval $ac_try) 2>&5
20542   ac_status=$?
20543   echo "$as_me:$LINENO: \$? = $ac_status" >&5
20544   (exit $ac_status); }; }; then
20545   glibcxx_cv_func__isnanl_use=yes
20546 else
20547   echo "$as_me: failed program was:" >&5
20548 sed 's/^/| /' conftest.$ac_ext >&5
20549
20550 glibcxx_cv_func__isnanl_use=no
20551 fi
20552 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
20553       ac_ext=c
20554 ac_cpp='$CPP $CPPFLAGS'
20555 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20556 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20557 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20558
20559
20560 fi
20561
20562   fi
20563   echo "$as_me:$LINENO: result: $glibcxx_cv_func__isnanl_use" >&5
20564 echo "${ECHO_T}$glibcxx_cv_func__isnanl_use" >&6
20565
20566     if test x$glibcxx_cv_func__isnanl_use = x"yes"; then
20567
20568 for ac_func in _isnanl
20569 do
20570 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
20571 echo "$as_me:$LINENO: checking for $ac_func" >&5
20572 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
20573 if eval "test \"\${$as_ac_var+set}\" = set"; then
20574   echo $ECHO_N "(cached) $ECHO_C" >&6
20575 else
20576   if test x$gcc_no_link = xyes; then
20577   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
20578 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
20579    { (exit 1); exit 1; }; }
20580 fi
20581 cat >conftest.$ac_ext <<_ACEOF
20582 /* confdefs.h.  */
20583 _ACEOF
20584 cat confdefs.h >>conftest.$ac_ext
20585 cat >>conftest.$ac_ext <<_ACEOF
20586 /* end confdefs.h.  */
20587 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
20588    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
20589 #define $ac_func innocuous_$ac_func
20590
20591 /* System header to define __stub macros and hopefully few prototypes,
20592     which can conflict with char $ac_func (); below.
20593     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
20594     <limits.h> exists even on freestanding compilers.  */
20595
20596 #ifdef __STDC__
20597 # include <limits.h>
20598 #else
20599 # include <assert.h>
20600 #endif
20601
20602 #undef $ac_func
20603
20604 /* Override any gcc2 internal prototype to avoid an error.  */
20605 #ifdef __cplusplus
20606 extern "C"
20607 {
20608 #endif
20609 /* We use char because int might match the return type of a gcc2
20610    builtin and then its argument prototype would still apply.  */
20611 char $ac_func ();
20612 /* The GNU C library defines this for functions which it implements
20613     to always fail with ENOSYS.  Some functions are actually named
20614     something starting with __ and the normal name is an alias.  */
20615 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
20616 choke me
20617 #else
20618 char (*f) () = $ac_func;
20619 #endif
20620 #ifdef __cplusplus
20621 }
20622 #endif
20623
20624 int
20625 main ()
20626 {
20627 return f != $ac_func;
20628   ;
20629   return 0;
20630 }
20631 _ACEOF
20632 rm -f conftest.$ac_objext conftest$ac_exeext
20633 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20634   (eval $ac_link) 2>conftest.er1
20635   ac_status=$?
20636   grep -v '^ *+' conftest.er1 >conftest.err
20637   rm -f conftest.er1
20638   cat conftest.err >&5
20639   echo "$as_me:$LINENO: \$? = $ac_status" >&5
20640   (exit $ac_status); } &&
20641          { ac_try='test -z "$ac_c_werror_flag"
20642                          || test ! -s conftest.err'
20643   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20644   (eval $ac_try) 2>&5
20645   ac_status=$?
20646   echo "$as_me:$LINENO: \$? = $ac_status" >&5
20647   (exit $ac_status); }; } &&
20648          { ac_try='test -s conftest$ac_exeext'
20649   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20650   (eval $ac_try) 2>&5
20651   ac_status=$?
20652   echo "$as_me:$LINENO: \$? = $ac_status" >&5
20653   (exit $ac_status); }; }; then
20654   eval "$as_ac_var=yes"
20655 else
20656   echo "$as_me: failed program was:" >&5
20657 sed 's/^/| /' conftest.$ac_ext >&5
20658
20659 eval "$as_ac_var=no"
20660 fi
20661 rm -f conftest.err conftest.$ac_objext \
20662       conftest$ac_exeext conftest.$ac_ext
20663 fi
20664 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
20665 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
20666 if test `eval echo '${'$as_ac_var'}'` = yes; then
20667   cat >>confdefs.h <<_ACEOF
20668 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
20669 _ACEOF
20670
20671 fi
20672 done
20673
20674     fi
20675   fi
20676
20677
20678
20679
20680
20681
20682   echo "$as_me:$LINENO: checking for isinfl declaration" >&5
20683 echo $ECHO_N "checking for isinfl declaration... $ECHO_C" >&6
20684   if test x${glibcxx_cv_func_isinfl_use+set} != xset; then
20685     if test "${glibcxx_cv_func_isinfl_use+set}" = set; then
20686   echo $ECHO_N "(cached) $ECHO_C" >&6
20687 else
20688
20689
20690
20691       ac_ext=cc
20692 ac_cpp='$CXXCPP $CPPFLAGS'
20693 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20694 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20695 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
20696
20697       cat >conftest.$ac_ext <<_ACEOF
20698 /* confdefs.h.  */
20699 _ACEOF
20700 cat confdefs.h >>conftest.$ac_ext
20701 cat >>conftest.$ac_ext <<_ACEOF
20702 /* end confdefs.h.  */
20703 #include <math.h>
20704                       #ifdef HAVE_IEEEFP_H
20705                       #include <ieeefp.h>
20706                       #endif
20707
20708 int
20709 main ()
20710 {
20711  isinfl(0);
20712   ;
20713   return 0;
20714 }
20715 _ACEOF
20716 rm -f conftest.$ac_objext
20717 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20718   (eval $ac_compile) 2>conftest.er1
20719   ac_status=$?
20720   grep -v '^ *+' conftest.er1 >conftest.err
20721   rm -f conftest.er1
20722   cat conftest.err >&5
20723   echo "$as_me:$LINENO: \$? = $ac_status" >&5
20724   (exit $ac_status); } &&
20725          { ac_try='test -z "$ac_cxx_werror_flag"
20726                          || test ! -s conftest.err'
20727   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20728   (eval $ac_try) 2>&5
20729   ac_status=$?
20730   echo "$as_me:$LINENO: \$? = $ac_status" >&5
20731   (exit $ac_status); }; } &&
20732          { ac_try='test -s conftest.$ac_objext'
20733   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20734   (eval $ac_try) 2>&5
20735   ac_status=$?
20736   echo "$as_me:$LINENO: \$? = $ac_status" >&5
20737   (exit $ac_status); }; }; then
20738   glibcxx_cv_func_isinfl_use=yes
20739 else
20740   echo "$as_me: failed program was:" >&5
20741 sed 's/^/| /' conftest.$ac_ext >&5
20742
20743 glibcxx_cv_func_isinfl_use=no
20744 fi
20745 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
20746       ac_ext=c
20747 ac_cpp='$CPP $CPPFLAGS'
20748 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20749 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20750 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20751
20752
20753 fi
20754
20755   fi
20756   echo "$as_me:$LINENO: result: $glibcxx_cv_func_isinfl_use" >&5
20757 echo "${ECHO_T}$glibcxx_cv_func_isinfl_use" >&6
20758
20759   if test x$glibcxx_cv_func_isinfl_use = x"yes"; then
20760
20761 for ac_func in isinfl
20762 do
20763 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
20764 echo "$as_me:$LINENO: checking for $ac_func" >&5
20765 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
20766 if eval "test \"\${$as_ac_var+set}\" = set"; then
20767   echo $ECHO_N "(cached) $ECHO_C" >&6
20768 else
20769   if test x$gcc_no_link = xyes; then
20770   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
20771 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
20772    { (exit 1); exit 1; }; }
20773 fi
20774 cat >conftest.$ac_ext <<_ACEOF
20775 /* confdefs.h.  */
20776 _ACEOF
20777 cat confdefs.h >>conftest.$ac_ext
20778 cat >>conftest.$ac_ext <<_ACEOF
20779 /* end confdefs.h.  */
20780 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
20781    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
20782 #define $ac_func innocuous_$ac_func
20783
20784 /* System header to define __stub macros and hopefully few prototypes,
20785     which can conflict with char $ac_func (); below.
20786     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
20787     <limits.h> exists even on freestanding compilers.  */
20788
20789 #ifdef __STDC__
20790 # include <limits.h>
20791 #else
20792 # include <assert.h>
20793 #endif
20794
20795 #undef $ac_func
20796
20797 /* Override any gcc2 internal prototype to avoid an error.  */
20798 #ifdef __cplusplus
20799 extern "C"
20800 {
20801 #endif
20802 /* We use char because int might match the return type of a gcc2
20803    builtin and then its argument prototype would still apply.  */
20804 char $ac_func ();
20805 /* The GNU C library defines this for functions which it implements
20806     to always fail with ENOSYS.  Some functions are actually named
20807     something starting with __ and the normal name is an alias.  */
20808 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
20809 choke me
20810 #else
20811 char (*f) () = $ac_func;
20812 #endif
20813 #ifdef __cplusplus
20814 }
20815 #endif
20816
20817 int
20818 main ()
20819 {
20820 return f != $ac_func;
20821   ;
20822   return 0;
20823 }
20824 _ACEOF
20825 rm -f conftest.$ac_objext conftest$ac_exeext
20826 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20827   (eval $ac_link) 2>conftest.er1
20828   ac_status=$?
20829   grep -v '^ *+' conftest.er1 >conftest.err
20830   rm -f conftest.er1
20831   cat conftest.err >&5
20832   echo "$as_me:$LINENO: \$? = $ac_status" >&5
20833   (exit $ac_status); } &&
20834          { ac_try='test -z "$ac_c_werror_flag"
20835                          || test ! -s conftest.err'
20836   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20837   (eval $ac_try) 2>&5
20838   ac_status=$?
20839   echo "$as_me:$LINENO: \$? = $ac_status" >&5
20840   (exit $ac_status); }; } &&
20841          { ac_try='test -s conftest$ac_exeext'
20842   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20843   (eval $ac_try) 2>&5
20844   ac_status=$?
20845   echo "$as_me:$LINENO: \$? = $ac_status" >&5
20846   (exit $ac_status); }; }; then
20847   eval "$as_ac_var=yes"
20848 else
20849   echo "$as_me: failed program was:" >&5
20850 sed 's/^/| /' conftest.$ac_ext >&5
20851
20852 eval "$as_ac_var=no"
20853 fi
20854 rm -f conftest.err conftest.$ac_objext \
20855       conftest$ac_exeext conftest.$ac_ext
20856 fi
20857 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
20858 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
20859 if test `eval echo '${'$as_ac_var'}'` = yes; then
20860   cat >>confdefs.h <<_ACEOF
20861 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
20862 _ACEOF
20863
20864 fi
20865 done
20866
20867   else
20868
20869   echo "$as_me:$LINENO: checking for _isinfl declaration" >&5
20870 echo $ECHO_N "checking for _isinfl declaration... $ECHO_C" >&6
20871   if test x${glibcxx_cv_func__isinfl_use+set} != xset; then
20872     if test "${glibcxx_cv_func__isinfl_use+set}" = set; then
20873   echo $ECHO_N "(cached) $ECHO_C" >&6
20874 else
20875
20876
20877
20878       ac_ext=cc
20879 ac_cpp='$CXXCPP $CPPFLAGS'
20880 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20881 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20882 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
20883
20884       cat >conftest.$ac_ext <<_ACEOF
20885 /* confdefs.h.  */
20886 _ACEOF
20887 cat confdefs.h >>conftest.$ac_ext
20888 cat >>conftest.$ac_ext <<_ACEOF
20889 /* end confdefs.h.  */
20890 #include <math.h>
20891                       #ifdef HAVE_IEEEFP_H
20892                       #include <ieeefp.h>
20893                       #endif
20894
20895 int
20896 main ()
20897 {
20898  _isinfl(0);
20899   ;
20900   return 0;
20901 }
20902 _ACEOF
20903 rm -f conftest.$ac_objext
20904 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20905   (eval $ac_compile) 2>conftest.er1
20906   ac_status=$?
20907   grep -v '^ *+' conftest.er1 >conftest.err
20908   rm -f conftest.er1
20909   cat conftest.err >&5
20910   echo "$as_me:$LINENO: \$? = $ac_status" >&5
20911   (exit $ac_status); } &&
20912          { ac_try='test -z "$ac_cxx_werror_flag"
20913                          || test ! -s conftest.err'
20914   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20915   (eval $ac_try) 2>&5
20916   ac_status=$?
20917   echo "$as_me:$LINENO: \$? = $ac_status" >&5
20918   (exit $ac_status); }; } &&
20919          { ac_try='test -s conftest.$ac_objext'
20920   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20921   (eval $ac_try) 2>&5
20922   ac_status=$?
20923   echo "$as_me:$LINENO: \$? = $ac_status" >&5
20924   (exit $ac_status); }; }; then
20925   glibcxx_cv_func__isinfl_use=yes
20926 else
20927   echo "$as_me: failed program was:" >&5
20928 sed 's/^/| /' conftest.$ac_ext >&5
20929
20930 glibcxx_cv_func__isinfl_use=no
20931 fi
20932 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
20933       ac_ext=c
20934 ac_cpp='$CPP $CPPFLAGS'
20935 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20936 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20937 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20938
20939
20940 fi
20941
20942   fi
20943   echo "$as_me:$LINENO: result: $glibcxx_cv_func__isinfl_use" >&5
20944 echo "${ECHO_T}$glibcxx_cv_func__isinfl_use" >&6
20945
20946     if test x$glibcxx_cv_func__isinfl_use = x"yes"; then
20947
20948 for ac_func in _isinfl
20949 do
20950 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
20951 echo "$as_me:$LINENO: checking for $ac_func" >&5
20952 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
20953 if eval "test \"\${$as_ac_var+set}\" = set"; then
20954   echo $ECHO_N "(cached) $ECHO_C" >&6
20955 else
20956   if test x$gcc_no_link = xyes; then
20957   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
20958 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
20959    { (exit 1); exit 1; }; }
20960 fi
20961 cat >conftest.$ac_ext <<_ACEOF
20962 /* confdefs.h.  */
20963 _ACEOF
20964 cat confdefs.h >>conftest.$ac_ext
20965 cat >>conftest.$ac_ext <<_ACEOF
20966 /* end confdefs.h.  */
20967 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
20968    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
20969 #define $ac_func innocuous_$ac_func
20970
20971 /* System header to define __stub macros and hopefully few prototypes,
20972     which can conflict with char $ac_func (); below.
20973     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
20974     <limits.h> exists even on freestanding compilers.  */
20975
20976 #ifdef __STDC__
20977 # include <limits.h>
20978 #else
20979 # include <assert.h>
20980 #endif
20981
20982 #undef $ac_func
20983
20984 /* Override any gcc2 internal prototype to avoid an error.  */
20985 #ifdef __cplusplus
20986 extern "C"
20987 {
20988 #endif
20989 /* We use char because int might match the return type of a gcc2
20990    builtin and then its argument prototype would still apply.  */
20991 char $ac_func ();
20992 /* The GNU C library defines this for functions which it implements
20993     to always fail with ENOSYS.  Some functions are actually named
20994     something starting with __ and the normal name is an alias.  */
20995 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
20996 choke me
20997 #else
20998 char (*f) () = $ac_func;
20999 #endif
21000 #ifdef __cplusplus
21001 }
21002 #endif
21003
21004 int
21005 main ()
21006 {
21007 return f != $ac_func;
21008   ;
21009   return 0;
21010 }
21011 _ACEOF
21012 rm -f conftest.$ac_objext conftest$ac_exeext
21013 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21014   (eval $ac_link) 2>conftest.er1
21015   ac_status=$?
21016   grep -v '^ *+' conftest.er1 >conftest.err
21017   rm -f conftest.er1
21018   cat conftest.err >&5
21019   echo "$as_me:$LINENO: \$? = $ac_status" >&5
21020   (exit $ac_status); } &&
21021          { ac_try='test -z "$ac_c_werror_flag"
21022                          || test ! -s conftest.err'
21023   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21024   (eval $ac_try) 2>&5
21025   ac_status=$?
21026   echo "$as_me:$LINENO: \$? = $ac_status" >&5
21027   (exit $ac_status); }; } &&
21028          { ac_try='test -s conftest$ac_exeext'
21029   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21030   (eval $ac_try) 2>&5
21031   ac_status=$?
21032   echo "$as_me:$LINENO: \$? = $ac_status" >&5
21033   (exit $ac_status); }; }; then
21034   eval "$as_ac_var=yes"
21035 else
21036   echo "$as_me: failed program was:" >&5
21037 sed 's/^/| /' conftest.$ac_ext >&5
21038
21039 eval "$as_ac_var=no"
21040 fi
21041 rm -f conftest.err conftest.$ac_objext \
21042       conftest$ac_exeext conftest.$ac_ext
21043 fi
21044 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
21045 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
21046 if test `eval echo '${'$as_ac_var'}'` = yes; then
21047   cat >>confdefs.h <<_ACEOF
21048 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
21049 _ACEOF
21050
21051 fi
21052 done
21053
21054     fi
21055   fi
21056
21057
21058
21059
21060
21061
21062   echo "$as_me:$LINENO: checking for copysignl declaration" >&5
21063 echo $ECHO_N "checking for copysignl declaration... $ECHO_C" >&6
21064   if test x${glibcxx_cv_func_copysignl_use+set} != xset; then
21065     if test "${glibcxx_cv_func_copysignl_use+set}" = set; then
21066   echo $ECHO_N "(cached) $ECHO_C" >&6
21067 else
21068
21069
21070
21071       ac_ext=cc
21072 ac_cpp='$CXXCPP $CPPFLAGS'
21073 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21074 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21075 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21076
21077       cat >conftest.$ac_ext <<_ACEOF
21078 /* confdefs.h.  */
21079 _ACEOF
21080 cat confdefs.h >>conftest.$ac_ext
21081 cat >>conftest.$ac_ext <<_ACEOF
21082 /* end confdefs.h.  */
21083 #include <math.h>
21084 int
21085 main ()
21086 {
21087  copysignl(0, 0);
21088   ;
21089   return 0;
21090 }
21091 _ACEOF
21092 rm -f conftest.$ac_objext
21093 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21094   (eval $ac_compile) 2>conftest.er1
21095   ac_status=$?
21096   grep -v '^ *+' conftest.er1 >conftest.err
21097   rm -f conftest.er1
21098   cat conftest.err >&5
21099   echo "$as_me:$LINENO: \$? = $ac_status" >&5
21100   (exit $ac_status); } &&
21101          { ac_try='test -z "$ac_cxx_werror_flag"
21102                          || test ! -s conftest.err'
21103   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21104   (eval $ac_try) 2>&5
21105   ac_status=$?
21106   echo "$as_me:$LINENO: \$? = $ac_status" >&5
21107   (exit $ac_status); }; } &&
21108          { ac_try='test -s conftest.$ac_objext'
21109   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21110   (eval $ac_try) 2>&5
21111   ac_status=$?
21112   echo "$as_me:$LINENO: \$? = $ac_status" >&5
21113   (exit $ac_status); }; }; then
21114   glibcxx_cv_func_copysignl_use=yes
21115 else
21116   echo "$as_me: failed program was:" >&5
21117 sed 's/^/| /' conftest.$ac_ext >&5
21118
21119 glibcxx_cv_func_copysignl_use=no
21120 fi
21121 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
21122       ac_ext=c
21123 ac_cpp='$CPP $CPPFLAGS'
21124 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21125 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21126 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21127
21128
21129 fi
21130
21131   fi
21132   echo "$as_me:$LINENO: result: $glibcxx_cv_func_copysignl_use" >&5
21133 echo "${ECHO_T}$glibcxx_cv_func_copysignl_use" >&6
21134
21135   if test x$glibcxx_cv_func_copysignl_use = x"yes"; then
21136
21137 for ac_func in copysignl
21138 do
21139 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
21140 echo "$as_me:$LINENO: checking for $ac_func" >&5
21141 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
21142 if eval "test \"\${$as_ac_var+set}\" = set"; then
21143   echo $ECHO_N "(cached) $ECHO_C" >&6
21144 else
21145   if test x$gcc_no_link = xyes; then
21146   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
21147 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
21148    { (exit 1); exit 1; }; }
21149 fi
21150 cat >conftest.$ac_ext <<_ACEOF
21151 /* confdefs.h.  */
21152 _ACEOF
21153 cat confdefs.h >>conftest.$ac_ext
21154 cat >>conftest.$ac_ext <<_ACEOF
21155 /* end confdefs.h.  */
21156 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
21157    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
21158 #define $ac_func innocuous_$ac_func
21159
21160 /* System header to define __stub macros and hopefully few prototypes,
21161     which can conflict with char $ac_func (); below.
21162     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
21163     <limits.h> exists even on freestanding compilers.  */
21164
21165 #ifdef __STDC__
21166 # include <limits.h>
21167 #else
21168 # include <assert.h>
21169 #endif
21170
21171 #undef $ac_func
21172
21173 /* Override any gcc2 internal prototype to avoid an error.  */
21174 #ifdef __cplusplus
21175 extern "C"
21176 {
21177 #endif
21178 /* We use char because int might match the return type of a gcc2
21179    builtin and then its argument prototype would still apply.  */
21180 char $ac_func ();
21181 /* The GNU C library defines this for functions which it implements
21182     to always fail with ENOSYS.  Some functions are actually named
21183     something starting with __ and the normal name is an alias.  */
21184 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
21185 choke me
21186 #else
21187 char (*f) () = $ac_func;
21188 #endif
21189 #ifdef __cplusplus
21190 }
21191 #endif
21192
21193 int
21194 main ()
21195 {
21196 return f != $ac_func;
21197   ;
21198   return 0;
21199 }
21200 _ACEOF
21201 rm -f conftest.$ac_objext conftest$ac_exeext
21202 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21203   (eval $ac_link) 2>conftest.er1
21204   ac_status=$?
21205   grep -v '^ *+' conftest.er1 >conftest.err
21206   rm -f conftest.er1
21207   cat conftest.err >&5
21208   echo "$as_me:$LINENO: \$? = $ac_status" >&5
21209   (exit $ac_status); } &&
21210          { ac_try='test -z "$ac_c_werror_flag"
21211                          || test ! -s conftest.err'
21212   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21213   (eval $ac_try) 2>&5
21214   ac_status=$?
21215   echo "$as_me:$LINENO: \$? = $ac_status" >&5
21216   (exit $ac_status); }; } &&
21217          { ac_try='test -s conftest$ac_exeext'
21218   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21219   (eval $ac_try) 2>&5
21220   ac_status=$?
21221   echo "$as_me:$LINENO: \$? = $ac_status" >&5
21222   (exit $ac_status); }; }; then
21223   eval "$as_ac_var=yes"
21224 else
21225   echo "$as_me: failed program was:" >&5
21226 sed 's/^/| /' conftest.$ac_ext >&5
21227
21228 eval "$as_ac_var=no"
21229 fi
21230 rm -f conftest.err conftest.$ac_objext \
21231       conftest$ac_exeext conftest.$ac_ext
21232 fi
21233 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
21234 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
21235 if test `eval echo '${'$as_ac_var'}'` = yes; then
21236   cat >>confdefs.h <<_ACEOF
21237 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
21238 _ACEOF
21239
21240 fi
21241 done
21242
21243   else
21244
21245   echo "$as_me:$LINENO: checking for _copysignl declaration" >&5
21246 echo $ECHO_N "checking for _copysignl declaration... $ECHO_C" >&6
21247   if test x${glibcxx_cv_func__copysignl_use+set} != xset; then
21248     if test "${glibcxx_cv_func__copysignl_use+set}" = set; then
21249   echo $ECHO_N "(cached) $ECHO_C" >&6
21250 else
21251
21252
21253
21254       ac_ext=cc
21255 ac_cpp='$CXXCPP $CPPFLAGS'
21256 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21257 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21258 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21259
21260       cat >conftest.$ac_ext <<_ACEOF
21261 /* confdefs.h.  */
21262 _ACEOF
21263 cat confdefs.h >>conftest.$ac_ext
21264 cat >>conftest.$ac_ext <<_ACEOF
21265 /* end confdefs.h.  */
21266 #include <math.h>
21267 int
21268 main ()
21269 {
21270  _copysignl(0, 0);
21271   ;
21272   return 0;
21273 }
21274 _ACEOF
21275 rm -f conftest.$ac_objext
21276 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21277   (eval $ac_compile) 2>conftest.er1
21278   ac_status=$?
21279   grep -v '^ *+' conftest.er1 >conftest.err
21280   rm -f conftest.er1
21281   cat conftest.err >&5
21282   echo "$as_me:$LINENO: \$? = $ac_status" >&5
21283   (exit $ac_status); } &&
21284          { ac_try='test -z "$ac_cxx_werror_flag"
21285                          || test ! -s conftest.err'
21286   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21287   (eval $ac_try) 2>&5
21288   ac_status=$?
21289   echo "$as_me:$LINENO: \$? = $ac_status" >&5
21290   (exit $ac_status); }; } &&
21291          { ac_try='test -s conftest.$ac_objext'
21292   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21293   (eval $ac_try) 2>&5
21294   ac_status=$?
21295   echo "$as_me:$LINENO: \$? = $ac_status" >&5
21296   (exit $ac_status); }; }; then
21297   glibcxx_cv_func__copysignl_use=yes
21298 else
21299   echo "$as_me: failed program was:" >&5
21300 sed 's/^/| /' conftest.$ac_ext >&5
21301
21302 glibcxx_cv_func__copysignl_use=no
21303 fi
21304 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
21305       ac_ext=c
21306 ac_cpp='$CPP $CPPFLAGS'
21307 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21308 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21309 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21310
21311
21312 fi
21313
21314   fi
21315   echo "$as_me:$LINENO: result: $glibcxx_cv_func__copysignl_use" >&5
21316 echo "${ECHO_T}$glibcxx_cv_func__copysignl_use" >&6
21317
21318     if test x$glibcxx_cv_func__copysignl_use = x"yes"; then
21319
21320 for ac_func in _copysignl
21321 do
21322 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
21323 echo "$as_me:$LINENO: checking for $ac_func" >&5
21324 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
21325 if eval "test \"\${$as_ac_var+set}\" = set"; then
21326   echo $ECHO_N "(cached) $ECHO_C" >&6
21327 else
21328   if test x$gcc_no_link = xyes; then
21329   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
21330 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
21331    { (exit 1); exit 1; }; }
21332 fi
21333 cat >conftest.$ac_ext <<_ACEOF
21334 /* confdefs.h.  */
21335 _ACEOF
21336 cat confdefs.h >>conftest.$ac_ext
21337 cat >>conftest.$ac_ext <<_ACEOF
21338 /* end confdefs.h.  */
21339 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
21340    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
21341 #define $ac_func innocuous_$ac_func
21342
21343 /* System header to define __stub macros and hopefully few prototypes,
21344     which can conflict with char $ac_func (); below.
21345     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
21346     <limits.h> exists even on freestanding compilers.  */
21347
21348 #ifdef __STDC__
21349 # include <limits.h>
21350 #else
21351 # include <assert.h>
21352 #endif
21353
21354 #undef $ac_func
21355
21356 /* Override any gcc2 internal prototype to avoid an error.  */
21357 #ifdef __cplusplus
21358 extern "C"
21359 {
21360 #endif
21361 /* We use char because int might match the return type of a gcc2
21362    builtin and then its argument prototype would still apply.  */
21363 char $ac_func ();
21364 /* The GNU C library defines this for functions which it implements
21365     to always fail with ENOSYS.  Some functions are actually named
21366     something starting with __ and the normal name is an alias.  */
21367 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
21368 choke me
21369 #else
21370 char (*f) () = $ac_func;
21371 #endif
21372 #ifdef __cplusplus
21373 }
21374 #endif
21375
21376 int
21377 main ()
21378 {
21379 return f != $ac_func;
21380   ;
21381   return 0;
21382 }
21383 _ACEOF
21384 rm -f conftest.$ac_objext conftest$ac_exeext
21385 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21386   (eval $ac_link) 2>conftest.er1
21387   ac_status=$?
21388   grep -v '^ *+' conftest.er1 >conftest.err
21389   rm -f conftest.er1
21390   cat conftest.err >&5
21391   echo "$as_me:$LINENO: \$? = $ac_status" >&5
21392   (exit $ac_status); } &&
21393          { ac_try='test -z "$ac_c_werror_flag"
21394                          || test ! -s conftest.err'
21395   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21396   (eval $ac_try) 2>&5
21397   ac_status=$?
21398   echo "$as_me:$LINENO: \$? = $ac_status" >&5
21399   (exit $ac_status); }; } &&
21400          { ac_try='test -s conftest$ac_exeext'
21401   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21402   (eval $ac_try) 2>&5
21403   ac_status=$?
21404   echo "$as_me:$LINENO: \$? = $ac_status" >&5
21405   (exit $ac_status); }; }; then
21406   eval "$as_ac_var=yes"
21407 else
21408   echo "$as_me: failed program was:" >&5
21409 sed 's/^/| /' conftest.$ac_ext >&5
21410
21411 eval "$as_ac_var=no"
21412 fi
21413 rm -f conftest.err conftest.$ac_objext \
21414       conftest$ac_exeext conftest.$ac_ext
21415 fi
21416 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
21417 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
21418 if test `eval echo '${'$as_ac_var'}'` = yes; then
21419   cat >>confdefs.h <<_ACEOF
21420 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
21421 _ACEOF
21422
21423 fi
21424 done
21425
21426     fi
21427   fi
21428
21429
21430
21431
21432
21433
21434   echo "$as_me:$LINENO: checking for atan2l declaration" >&5
21435 echo $ECHO_N "checking for atan2l declaration... $ECHO_C" >&6
21436   if test x${glibcxx_cv_func_atan2l_use+set} != xset; then
21437     if test "${glibcxx_cv_func_atan2l_use+set}" = set; then
21438   echo $ECHO_N "(cached) $ECHO_C" >&6
21439 else
21440
21441
21442
21443       ac_ext=cc
21444 ac_cpp='$CXXCPP $CPPFLAGS'
21445 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21446 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21447 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21448
21449       cat >conftest.$ac_ext <<_ACEOF
21450 /* confdefs.h.  */
21451 _ACEOF
21452 cat confdefs.h >>conftest.$ac_ext
21453 cat >>conftest.$ac_ext <<_ACEOF
21454 /* end confdefs.h.  */
21455 #include <math.h>
21456 int
21457 main ()
21458 {
21459  atan2l(0, 0);
21460   ;
21461   return 0;
21462 }
21463 _ACEOF
21464 rm -f conftest.$ac_objext
21465 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21466   (eval $ac_compile) 2>conftest.er1
21467   ac_status=$?
21468   grep -v '^ *+' conftest.er1 >conftest.err
21469   rm -f conftest.er1
21470   cat conftest.err >&5
21471   echo "$as_me:$LINENO: \$? = $ac_status" >&5
21472   (exit $ac_status); } &&
21473          { ac_try='test -z "$ac_cxx_werror_flag"
21474                          || test ! -s conftest.err'
21475   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21476   (eval $ac_try) 2>&5
21477   ac_status=$?
21478   echo "$as_me:$LINENO: \$? = $ac_status" >&5
21479   (exit $ac_status); }; } &&
21480          { ac_try='test -s conftest.$ac_objext'
21481   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21482   (eval $ac_try) 2>&5
21483   ac_status=$?
21484   echo "$as_me:$LINENO: \$? = $ac_status" >&5
21485   (exit $ac_status); }; }; then
21486   glibcxx_cv_func_atan2l_use=yes
21487 else
21488   echo "$as_me: failed program was:" >&5
21489 sed 's/^/| /' conftest.$ac_ext >&5
21490
21491 glibcxx_cv_func_atan2l_use=no
21492 fi
21493 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
21494       ac_ext=c
21495 ac_cpp='$CPP $CPPFLAGS'
21496 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21497 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21498 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21499
21500
21501 fi
21502
21503   fi
21504   echo "$as_me:$LINENO: result: $glibcxx_cv_func_atan2l_use" >&5
21505 echo "${ECHO_T}$glibcxx_cv_func_atan2l_use" >&6
21506
21507   if test x$glibcxx_cv_func_atan2l_use = x"yes"; then
21508
21509 for ac_func in atan2l
21510 do
21511 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
21512 echo "$as_me:$LINENO: checking for $ac_func" >&5
21513 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
21514 if eval "test \"\${$as_ac_var+set}\" = set"; then
21515   echo $ECHO_N "(cached) $ECHO_C" >&6
21516 else
21517   if test x$gcc_no_link = xyes; then
21518   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
21519 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
21520    { (exit 1); exit 1; }; }
21521 fi
21522 cat >conftest.$ac_ext <<_ACEOF
21523 /* confdefs.h.  */
21524 _ACEOF
21525 cat confdefs.h >>conftest.$ac_ext
21526 cat >>conftest.$ac_ext <<_ACEOF
21527 /* end confdefs.h.  */
21528 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
21529    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
21530 #define $ac_func innocuous_$ac_func
21531
21532 /* System header to define __stub macros and hopefully few prototypes,
21533     which can conflict with char $ac_func (); below.
21534     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
21535     <limits.h> exists even on freestanding compilers.  */
21536
21537 #ifdef __STDC__
21538 # include <limits.h>
21539 #else
21540 # include <assert.h>
21541 #endif
21542
21543 #undef $ac_func
21544
21545 /* Override any gcc2 internal prototype to avoid an error.  */
21546 #ifdef __cplusplus
21547 extern "C"
21548 {
21549 #endif
21550 /* We use char because int might match the return type of a gcc2
21551    builtin and then its argument prototype would still apply.  */
21552 char $ac_func ();
21553 /* The GNU C library defines this for functions which it implements
21554     to always fail with ENOSYS.  Some functions are actually named
21555     something starting with __ and the normal name is an alias.  */
21556 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
21557 choke me
21558 #else
21559 char (*f) () = $ac_func;
21560 #endif
21561 #ifdef __cplusplus
21562 }
21563 #endif
21564
21565 int
21566 main ()
21567 {
21568 return f != $ac_func;
21569   ;
21570   return 0;
21571 }
21572 _ACEOF
21573 rm -f conftest.$ac_objext conftest$ac_exeext
21574 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21575   (eval $ac_link) 2>conftest.er1
21576   ac_status=$?
21577   grep -v '^ *+' conftest.er1 >conftest.err
21578   rm -f conftest.er1
21579   cat conftest.err >&5
21580   echo "$as_me:$LINENO: \$? = $ac_status" >&5
21581   (exit $ac_status); } &&
21582          { ac_try='test -z "$ac_c_werror_flag"
21583                          || test ! -s conftest.err'
21584   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21585   (eval $ac_try) 2>&5
21586   ac_status=$?
21587   echo "$as_me:$LINENO: \$? = $ac_status" >&5
21588   (exit $ac_status); }; } &&
21589          { ac_try='test -s conftest$ac_exeext'
21590   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21591   (eval $ac_try) 2>&5
21592   ac_status=$?
21593   echo "$as_me:$LINENO: \$? = $ac_status" >&5
21594   (exit $ac_status); }; }; then
21595   eval "$as_ac_var=yes"
21596 else
21597   echo "$as_me: failed program was:" >&5
21598 sed 's/^/| /' conftest.$ac_ext >&5
21599
21600 eval "$as_ac_var=no"
21601 fi
21602 rm -f conftest.err conftest.$ac_objext \
21603       conftest$ac_exeext conftest.$ac_ext
21604 fi
21605 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
21606 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
21607 if test `eval echo '${'$as_ac_var'}'` = yes; then
21608   cat >>confdefs.h <<_ACEOF
21609 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
21610 _ACEOF
21611
21612 fi
21613 done
21614
21615   else
21616
21617   echo "$as_me:$LINENO: checking for _atan2l declaration" >&5
21618 echo $ECHO_N "checking for _atan2l declaration... $ECHO_C" >&6
21619   if test x${glibcxx_cv_func__atan2l_use+set} != xset; then
21620     if test "${glibcxx_cv_func__atan2l_use+set}" = set; then
21621   echo $ECHO_N "(cached) $ECHO_C" >&6
21622 else
21623
21624
21625
21626       ac_ext=cc
21627 ac_cpp='$CXXCPP $CPPFLAGS'
21628 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21629 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21630 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21631
21632       cat >conftest.$ac_ext <<_ACEOF
21633 /* confdefs.h.  */
21634 _ACEOF
21635 cat confdefs.h >>conftest.$ac_ext
21636 cat >>conftest.$ac_ext <<_ACEOF
21637 /* end confdefs.h.  */
21638 #include <math.h>
21639 int
21640 main ()
21641 {
21642  _atan2l(0, 0);
21643   ;
21644   return 0;
21645 }
21646 _ACEOF
21647 rm -f conftest.$ac_objext
21648 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21649   (eval $ac_compile) 2>conftest.er1
21650   ac_status=$?
21651   grep -v '^ *+' conftest.er1 >conftest.err
21652   rm -f conftest.er1
21653   cat conftest.err >&5
21654   echo "$as_me:$LINENO: \$? = $ac_status" >&5
21655   (exit $ac_status); } &&
21656          { ac_try='test -z "$ac_cxx_werror_flag"
21657                          || test ! -s conftest.err'
21658   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21659   (eval $ac_try) 2>&5
21660   ac_status=$?
21661   echo "$as_me:$LINENO: \$? = $ac_status" >&5
21662   (exit $ac_status); }; } &&
21663          { ac_try='test -s conftest.$ac_objext'
21664   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21665   (eval $ac_try) 2>&5
21666   ac_status=$?
21667   echo "$as_me:$LINENO: \$? = $ac_status" >&5
21668   (exit $ac_status); }; }; then
21669   glibcxx_cv_func__atan2l_use=yes
21670 else
21671   echo "$as_me: failed program was:" >&5
21672 sed 's/^/| /' conftest.$ac_ext >&5
21673
21674 glibcxx_cv_func__atan2l_use=no
21675 fi
21676 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
21677       ac_ext=c
21678 ac_cpp='$CPP $CPPFLAGS'
21679 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21680 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21681 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21682
21683
21684 fi
21685
21686   fi
21687   echo "$as_me:$LINENO: result: $glibcxx_cv_func__atan2l_use" >&5
21688 echo "${ECHO_T}$glibcxx_cv_func__atan2l_use" >&6
21689
21690     if test x$glibcxx_cv_func__atan2l_use = x"yes"; then
21691
21692 for ac_func in _atan2l
21693 do
21694 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
21695 echo "$as_me:$LINENO: checking for $ac_func" >&5
21696 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
21697 if eval "test \"\${$as_ac_var+set}\" = set"; then
21698   echo $ECHO_N "(cached) $ECHO_C" >&6
21699 else
21700   if test x$gcc_no_link = xyes; then
21701   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
21702 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
21703    { (exit 1); exit 1; }; }
21704 fi
21705 cat >conftest.$ac_ext <<_ACEOF
21706 /* confdefs.h.  */
21707 _ACEOF
21708 cat confdefs.h >>conftest.$ac_ext
21709 cat >>conftest.$ac_ext <<_ACEOF
21710 /* end confdefs.h.  */
21711 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
21712    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
21713 #define $ac_func innocuous_$ac_func
21714
21715 /* System header to define __stub macros and hopefully few prototypes,
21716     which can conflict with char $ac_func (); below.
21717     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
21718     <limits.h> exists even on freestanding compilers.  */
21719
21720 #ifdef __STDC__
21721 # include <limits.h>
21722 #else
21723 # include <assert.h>
21724 #endif
21725
21726 #undef $ac_func
21727
21728 /* Override any gcc2 internal prototype to avoid an error.  */
21729 #ifdef __cplusplus
21730 extern "C"
21731 {
21732 #endif
21733 /* We use char because int might match the return type of a gcc2
21734    builtin and then its argument prototype would still apply.  */
21735 char $ac_func ();
21736 /* The GNU C library defines this for functions which it implements
21737     to always fail with ENOSYS.  Some functions are actually named
21738     something starting with __ and the normal name is an alias.  */
21739 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
21740 choke me
21741 #else
21742 char (*f) () = $ac_func;
21743 #endif
21744 #ifdef __cplusplus
21745 }
21746 #endif
21747
21748 int
21749 main ()
21750 {
21751 return f != $ac_func;
21752   ;
21753   return 0;
21754 }
21755 _ACEOF
21756 rm -f conftest.$ac_objext conftest$ac_exeext
21757 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21758   (eval $ac_link) 2>conftest.er1
21759   ac_status=$?
21760   grep -v '^ *+' conftest.er1 >conftest.err
21761   rm -f conftest.er1
21762   cat conftest.err >&5
21763   echo "$as_me:$LINENO: \$? = $ac_status" >&5
21764   (exit $ac_status); } &&
21765          { ac_try='test -z "$ac_c_werror_flag"
21766                          || test ! -s conftest.err'
21767   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21768   (eval $ac_try) 2>&5
21769   ac_status=$?
21770   echo "$as_me:$LINENO: \$? = $ac_status" >&5
21771   (exit $ac_status); }; } &&
21772          { ac_try='test -s conftest$ac_exeext'
21773   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21774   (eval $ac_try) 2>&5
21775   ac_status=$?
21776   echo "$as_me:$LINENO: \$? = $ac_status" >&5
21777   (exit $ac_status); }; }; then
21778   eval "$as_ac_var=yes"
21779 else
21780   echo "$as_me: failed program was:" >&5
21781 sed 's/^/| /' conftest.$ac_ext >&5
21782
21783 eval "$as_ac_var=no"
21784 fi
21785 rm -f conftest.err conftest.$ac_objext \
21786       conftest$ac_exeext conftest.$ac_ext
21787 fi
21788 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
21789 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
21790 if test `eval echo '${'$as_ac_var'}'` = yes; then
21791   cat >>confdefs.h <<_ACEOF
21792 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
21793 _ACEOF
21794
21795 fi
21796 done
21797
21798     fi
21799   fi
21800
21801
21802
21803
21804
21805
21806   echo "$as_me:$LINENO: checking for expl declaration" >&5
21807 echo $ECHO_N "checking for expl declaration... $ECHO_C" >&6
21808   if test x${glibcxx_cv_func_expl_use+set} != xset; then
21809     if test "${glibcxx_cv_func_expl_use+set}" = set; then
21810   echo $ECHO_N "(cached) $ECHO_C" >&6
21811 else
21812
21813
21814
21815       ac_ext=cc
21816 ac_cpp='$CXXCPP $CPPFLAGS'
21817 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21818 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21819 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21820
21821       cat >conftest.$ac_ext <<_ACEOF
21822 /* confdefs.h.  */
21823 _ACEOF
21824 cat confdefs.h >>conftest.$ac_ext
21825 cat >>conftest.$ac_ext <<_ACEOF
21826 /* end confdefs.h.  */
21827 #include <math.h>
21828                       #ifdef HAVE_IEEEFP_H
21829                       #include <ieeefp.h>
21830                       #endif
21831
21832 int
21833 main ()
21834 {
21835  expl(0);
21836   ;
21837   return 0;
21838 }
21839 _ACEOF
21840 rm -f conftest.$ac_objext
21841 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21842   (eval $ac_compile) 2>conftest.er1
21843   ac_status=$?
21844   grep -v '^ *+' conftest.er1 >conftest.err
21845   rm -f conftest.er1
21846   cat conftest.err >&5
21847   echo "$as_me:$LINENO: \$? = $ac_status" >&5
21848   (exit $ac_status); } &&
21849          { ac_try='test -z "$ac_cxx_werror_flag"
21850                          || test ! -s conftest.err'
21851   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21852   (eval $ac_try) 2>&5
21853   ac_status=$?
21854   echo "$as_me:$LINENO: \$? = $ac_status" >&5
21855   (exit $ac_status); }; } &&
21856          { ac_try='test -s conftest.$ac_objext'
21857   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21858   (eval $ac_try) 2>&5
21859   ac_status=$?
21860   echo "$as_me:$LINENO: \$? = $ac_status" >&5
21861   (exit $ac_status); }; }; then
21862   glibcxx_cv_func_expl_use=yes
21863 else
21864   echo "$as_me: failed program was:" >&5
21865 sed 's/^/| /' conftest.$ac_ext >&5
21866
21867 glibcxx_cv_func_expl_use=no
21868 fi
21869 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
21870       ac_ext=c
21871 ac_cpp='$CPP $CPPFLAGS'
21872 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21873 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21874 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21875
21876
21877 fi
21878
21879   fi
21880   echo "$as_me:$LINENO: result: $glibcxx_cv_func_expl_use" >&5
21881 echo "${ECHO_T}$glibcxx_cv_func_expl_use" >&6
21882
21883   if test x$glibcxx_cv_func_expl_use = x"yes"; then
21884
21885 for ac_func in expl
21886 do
21887 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
21888 echo "$as_me:$LINENO: checking for $ac_func" >&5
21889 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
21890 if eval "test \"\${$as_ac_var+set}\" = set"; then
21891   echo $ECHO_N "(cached) $ECHO_C" >&6
21892 else
21893   if test x$gcc_no_link = xyes; then
21894   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
21895 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
21896    { (exit 1); exit 1; }; }
21897 fi
21898 cat >conftest.$ac_ext <<_ACEOF
21899 /* confdefs.h.  */
21900 _ACEOF
21901 cat confdefs.h >>conftest.$ac_ext
21902 cat >>conftest.$ac_ext <<_ACEOF
21903 /* end confdefs.h.  */
21904 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
21905    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
21906 #define $ac_func innocuous_$ac_func
21907
21908 /* System header to define __stub macros and hopefully few prototypes,
21909     which can conflict with char $ac_func (); below.
21910     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
21911     <limits.h> exists even on freestanding compilers.  */
21912
21913 #ifdef __STDC__
21914 # include <limits.h>
21915 #else
21916 # include <assert.h>
21917 #endif
21918
21919 #undef $ac_func
21920
21921 /* Override any gcc2 internal prototype to avoid an error.  */
21922 #ifdef __cplusplus
21923 extern "C"
21924 {
21925 #endif
21926 /* We use char because int might match the return type of a gcc2
21927    builtin and then its argument prototype would still apply.  */
21928 char $ac_func ();
21929 /* The GNU C library defines this for functions which it implements
21930     to always fail with ENOSYS.  Some functions are actually named
21931     something starting with __ and the normal name is an alias.  */
21932 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
21933 choke me
21934 #else
21935 char (*f) () = $ac_func;
21936 #endif
21937 #ifdef __cplusplus
21938 }
21939 #endif
21940
21941 int
21942 main ()
21943 {
21944 return f != $ac_func;
21945   ;
21946   return 0;
21947 }
21948 _ACEOF
21949 rm -f conftest.$ac_objext conftest$ac_exeext
21950 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21951   (eval $ac_link) 2>conftest.er1
21952   ac_status=$?
21953   grep -v '^ *+' conftest.er1 >conftest.err
21954   rm -f conftest.er1
21955   cat conftest.err >&5
21956   echo "$as_me:$LINENO: \$? = $ac_status" >&5
21957   (exit $ac_status); } &&
21958          { ac_try='test -z "$ac_c_werror_flag"
21959                          || test ! -s conftest.err'
21960   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21961   (eval $ac_try) 2>&5
21962   ac_status=$?
21963   echo "$as_me:$LINENO: \$? = $ac_status" >&5
21964   (exit $ac_status); }; } &&
21965          { ac_try='test -s conftest$ac_exeext'
21966   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21967   (eval $ac_try) 2>&5
21968   ac_status=$?
21969   echo "$as_me:$LINENO: \$? = $ac_status" >&5
21970   (exit $ac_status); }; }; then
21971   eval "$as_ac_var=yes"
21972 else
21973   echo "$as_me: failed program was:" >&5
21974 sed 's/^/| /' conftest.$ac_ext >&5
21975
21976 eval "$as_ac_var=no"
21977 fi
21978 rm -f conftest.err conftest.$ac_objext \
21979       conftest$ac_exeext conftest.$ac_ext
21980 fi
21981 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
21982 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
21983 if test `eval echo '${'$as_ac_var'}'` = yes; then
21984   cat >>confdefs.h <<_ACEOF
21985 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
21986 _ACEOF
21987
21988 fi
21989 done
21990
21991   else
21992
21993   echo "$as_me:$LINENO: checking for _expl declaration" >&5
21994 echo $ECHO_N "checking for _expl declaration... $ECHO_C" >&6
21995   if test x${glibcxx_cv_func__expl_use+set} != xset; then
21996     if test "${glibcxx_cv_func__expl_use+set}" = set; then
21997   echo $ECHO_N "(cached) $ECHO_C" >&6
21998 else
21999
22000
22001
22002       ac_ext=cc
22003 ac_cpp='$CXXCPP $CPPFLAGS'
22004 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22005 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22006 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22007
22008       cat >conftest.$ac_ext <<_ACEOF
22009 /* confdefs.h.  */
22010 _ACEOF
22011 cat confdefs.h >>conftest.$ac_ext
22012 cat >>conftest.$ac_ext <<_ACEOF
22013 /* end confdefs.h.  */
22014 #include <math.h>
22015                       #ifdef HAVE_IEEEFP_H
22016                       #include <ieeefp.h>
22017                       #endif
22018
22019 int
22020 main ()
22021 {
22022  _expl(0);
22023   ;
22024   return 0;
22025 }
22026 _ACEOF
22027 rm -f conftest.$ac_objext
22028 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22029   (eval $ac_compile) 2>conftest.er1
22030   ac_status=$?
22031   grep -v '^ *+' conftest.er1 >conftest.err
22032   rm -f conftest.er1
22033   cat conftest.err >&5
22034   echo "$as_me:$LINENO: \$? = $ac_status" >&5
22035   (exit $ac_status); } &&
22036          { ac_try='test -z "$ac_cxx_werror_flag"
22037                          || test ! -s conftest.err'
22038   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22039   (eval $ac_try) 2>&5
22040   ac_status=$?
22041   echo "$as_me:$LINENO: \$? = $ac_status" >&5
22042   (exit $ac_status); }; } &&
22043          { ac_try='test -s conftest.$ac_objext'
22044   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22045   (eval $ac_try) 2>&5
22046   ac_status=$?
22047   echo "$as_me:$LINENO: \$? = $ac_status" >&5
22048   (exit $ac_status); }; }; then
22049   glibcxx_cv_func__expl_use=yes
22050 else
22051   echo "$as_me: failed program was:" >&5
22052 sed 's/^/| /' conftest.$ac_ext >&5
22053
22054 glibcxx_cv_func__expl_use=no
22055 fi
22056 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
22057       ac_ext=c
22058 ac_cpp='$CPP $CPPFLAGS'
22059 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22060 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22061 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22062
22063
22064 fi
22065
22066   fi
22067   echo "$as_me:$LINENO: result: $glibcxx_cv_func__expl_use" >&5
22068 echo "${ECHO_T}$glibcxx_cv_func__expl_use" >&6
22069
22070     if test x$glibcxx_cv_func__expl_use = x"yes"; then
22071
22072 for ac_func in _expl
22073 do
22074 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
22075 echo "$as_me:$LINENO: checking for $ac_func" >&5
22076 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
22077 if eval "test \"\${$as_ac_var+set}\" = set"; then
22078   echo $ECHO_N "(cached) $ECHO_C" >&6
22079 else
22080   if test x$gcc_no_link = xyes; then
22081   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
22082 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
22083    { (exit 1); exit 1; }; }
22084 fi
22085 cat >conftest.$ac_ext <<_ACEOF
22086 /* confdefs.h.  */
22087 _ACEOF
22088 cat confdefs.h >>conftest.$ac_ext
22089 cat >>conftest.$ac_ext <<_ACEOF
22090 /* end confdefs.h.  */
22091 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
22092    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
22093 #define $ac_func innocuous_$ac_func
22094
22095 /* System header to define __stub macros and hopefully few prototypes,
22096     which can conflict with char $ac_func (); below.
22097     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
22098     <limits.h> exists even on freestanding compilers.  */
22099
22100 #ifdef __STDC__
22101 # include <limits.h>
22102 #else
22103 # include <assert.h>
22104 #endif
22105
22106 #undef $ac_func
22107
22108 /* Override any gcc2 internal prototype to avoid an error.  */
22109 #ifdef __cplusplus
22110 extern "C"
22111 {
22112 #endif
22113 /* We use char because int might match the return type of a gcc2
22114    builtin and then its argument prototype would still apply.  */
22115 char $ac_func ();
22116 /* The GNU C library defines this for functions which it implements
22117     to always fail with ENOSYS.  Some functions are actually named
22118     something starting with __ and the normal name is an alias.  */
22119 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
22120 choke me
22121 #else
22122 char (*f) () = $ac_func;
22123 #endif
22124 #ifdef __cplusplus
22125 }
22126 #endif
22127
22128 int
22129 main ()
22130 {
22131 return f != $ac_func;
22132   ;
22133   return 0;
22134 }
22135 _ACEOF
22136 rm -f conftest.$ac_objext conftest$ac_exeext
22137 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22138   (eval $ac_link) 2>conftest.er1
22139   ac_status=$?
22140   grep -v '^ *+' conftest.er1 >conftest.err
22141   rm -f conftest.er1
22142   cat conftest.err >&5
22143   echo "$as_me:$LINENO: \$? = $ac_status" >&5
22144   (exit $ac_status); } &&
22145          { ac_try='test -z "$ac_c_werror_flag"
22146                          || test ! -s conftest.err'
22147   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22148   (eval $ac_try) 2>&5
22149   ac_status=$?
22150   echo "$as_me:$LINENO: \$? = $ac_status" >&5
22151   (exit $ac_status); }; } &&
22152          { ac_try='test -s conftest$ac_exeext'
22153   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22154   (eval $ac_try) 2>&5
22155   ac_status=$?
22156   echo "$as_me:$LINENO: \$? = $ac_status" >&5
22157   (exit $ac_status); }; }; then
22158   eval "$as_ac_var=yes"
22159 else
22160   echo "$as_me: failed program was:" >&5
22161 sed 's/^/| /' conftest.$ac_ext >&5
22162
22163 eval "$as_ac_var=no"
22164 fi
22165 rm -f conftest.err conftest.$ac_objext \
22166       conftest$ac_exeext conftest.$ac_ext
22167 fi
22168 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
22169 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
22170 if test `eval echo '${'$as_ac_var'}'` = yes; then
22171   cat >>confdefs.h <<_ACEOF
22172 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
22173 _ACEOF
22174
22175 fi
22176 done
22177
22178     fi
22179   fi
22180
22181
22182
22183
22184
22185
22186   echo "$as_me:$LINENO: checking for fabsl declaration" >&5
22187 echo $ECHO_N "checking for fabsl declaration... $ECHO_C" >&6
22188   if test x${glibcxx_cv_func_fabsl_use+set} != xset; then
22189     if test "${glibcxx_cv_func_fabsl_use+set}" = set; then
22190   echo $ECHO_N "(cached) $ECHO_C" >&6
22191 else
22192
22193
22194
22195       ac_ext=cc
22196 ac_cpp='$CXXCPP $CPPFLAGS'
22197 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22198 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22199 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22200
22201       cat >conftest.$ac_ext <<_ACEOF
22202 /* confdefs.h.  */
22203 _ACEOF
22204 cat confdefs.h >>conftest.$ac_ext
22205 cat >>conftest.$ac_ext <<_ACEOF
22206 /* end confdefs.h.  */
22207 #include <math.h>
22208                       #ifdef HAVE_IEEEFP_H
22209                       #include <ieeefp.h>
22210                       #endif
22211
22212 int
22213 main ()
22214 {
22215  fabsl(0);
22216   ;
22217   return 0;
22218 }
22219 _ACEOF
22220 rm -f conftest.$ac_objext
22221 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22222   (eval $ac_compile) 2>conftest.er1
22223   ac_status=$?
22224   grep -v '^ *+' conftest.er1 >conftest.err
22225   rm -f conftest.er1
22226   cat conftest.err >&5
22227   echo "$as_me:$LINENO: \$? = $ac_status" >&5
22228   (exit $ac_status); } &&
22229          { ac_try='test -z "$ac_cxx_werror_flag"
22230                          || test ! -s conftest.err'
22231   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22232   (eval $ac_try) 2>&5
22233   ac_status=$?
22234   echo "$as_me:$LINENO: \$? = $ac_status" >&5
22235   (exit $ac_status); }; } &&
22236          { ac_try='test -s conftest.$ac_objext'
22237   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22238   (eval $ac_try) 2>&5
22239   ac_status=$?
22240   echo "$as_me:$LINENO: \$? = $ac_status" >&5
22241   (exit $ac_status); }; }; then
22242   glibcxx_cv_func_fabsl_use=yes
22243 else
22244   echo "$as_me: failed program was:" >&5
22245 sed 's/^/| /' conftest.$ac_ext >&5
22246
22247 glibcxx_cv_func_fabsl_use=no
22248 fi
22249 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
22250       ac_ext=c
22251 ac_cpp='$CPP $CPPFLAGS'
22252 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22253 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22254 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22255
22256
22257 fi
22258
22259   fi
22260   echo "$as_me:$LINENO: result: $glibcxx_cv_func_fabsl_use" >&5
22261 echo "${ECHO_T}$glibcxx_cv_func_fabsl_use" >&6
22262
22263   if test x$glibcxx_cv_func_fabsl_use = x"yes"; then
22264
22265 for ac_func in fabsl
22266 do
22267 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
22268 echo "$as_me:$LINENO: checking for $ac_func" >&5
22269 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
22270 if eval "test \"\${$as_ac_var+set}\" = set"; then
22271   echo $ECHO_N "(cached) $ECHO_C" >&6
22272 else
22273   if test x$gcc_no_link = xyes; then
22274   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
22275 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
22276    { (exit 1); exit 1; }; }
22277 fi
22278 cat >conftest.$ac_ext <<_ACEOF
22279 /* confdefs.h.  */
22280 _ACEOF
22281 cat confdefs.h >>conftest.$ac_ext
22282 cat >>conftest.$ac_ext <<_ACEOF
22283 /* end confdefs.h.  */
22284 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
22285    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
22286 #define $ac_func innocuous_$ac_func
22287
22288 /* System header to define __stub macros and hopefully few prototypes,
22289     which can conflict with char $ac_func (); below.
22290     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
22291     <limits.h> exists even on freestanding compilers.  */
22292
22293 #ifdef __STDC__
22294 # include <limits.h>
22295 #else
22296 # include <assert.h>
22297 #endif
22298
22299 #undef $ac_func
22300
22301 /* Override any gcc2 internal prototype to avoid an error.  */
22302 #ifdef __cplusplus
22303 extern "C"
22304 {
22305 #endif
22306 /* We use char because int might match the return type of a gcc2
22307    builtin and then its argument prototype would still apply.  */
22308 char $ac_func ();
22309 /* The GNU C library defines this for functions which it implements
22310     to always fail with ENOSYS.  Some functions are actually named
22311     something starting with __ and the normal name is an alias.  */
22312 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
22313 choke me
22314 #else
22315 char (*f) () = $ac_func;
22316 #endif
22317 #ifdef __cplusplus
22318 }
22319 #endif
22320
22321 int
22322 main ()
22323 {
22324 return f != $ac_func;
22325   ;
22326   return 0;
22327 }
22328 _ACEOF
22329 rm -f conftest.$ac_objext conftest$ac_exeext
22330 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22331   (eval $ac_link) 2>conftest.er1
22332   ac_status=$?
22333   grep -v '^ *+' conftest.er1 >conftest.err
22334   rm -f conftest.er1
22335   cat conftest.err >&5
22336   echo "$as_me:$LINENO: \$? = $ac_status" >&5
22337   (exit $ac_status); } &&
22338          { ac_try='test -z "$ac_c_werror_flag"
22339                          || test ! -s conftest.err'
22340   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22341   (eval $ac_try) 2>&5
22342   ac_status=$?
22343   echo "$as_me:$LINENO: \$? = $ac_status" >&5
22344   (exit $ac_status); }; } &&
22345          { ac_try='test -s conftest$ac_exeext'
22346   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22347   (eval $ac_try) 2>&5
22348   ac_status=$?
22349   echo "$as_me:$LINENO: \$? = $ac_status" >&5
22350   (exit $ac_status); }; }; then
22351   eval "$as_ac_var=yes"
22352 else
22353   echo "$as_me: failed program was:" >&5
22354 sed 's/^/| /' conftest.$ac_ext >&5
22355
22356 eval "$as_ac_var=no"
22357 fi
22358 rm -f conftest.err conftest.$ac_objext \
22359       conftest$ac_exeext conftest.$ac_ext
22360 fi
22361 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
22362 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
22363 if test `eval echo '${'$as_ac_var'}'` = yes; then
22364   cat >>confdefs.h <<_ACEOF
22365 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
22366 _ACEOF
22367
22368 fi
22369 done
22370
22371   else
22372
22373   echo "$as_me:$LINENO: checking for _fabsl declaration" >&5
22374 echo $ECHO_N "checking for _fabsl declaration... $ECHO_C" >&6
22375   if test x${glibcxx_cv_func__fabsl_use+set} != xset; then
22376     if test "${glibcxx_cv_func__fabsl_use+set}" = set; then
22377   echo $ECHO_N "(cached) $ECHO_C" >&6
22378 else
22379
22380
22381
22382       ac_ext=cc
22383 ac_cpp='$CXXCPP $CPPFLAGS'
22384 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22385 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22386 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22387
22388       cat >conftest.$ac_ext <<_ACEOF
22389 /* confdefs.h.  */
22390 _ACEOF
22391 cat confdefs.h >>conftest.$ac_ext
22392 cat >>conftest.$ac_ext <<_ACEOF
22393 /* end confdefs.h.  */
22394 #include <math.h>
22395                       #ifdef HAVE_IEEEFP_H
22396                       #include <ieeefp.h>
22397                       #endif
22398
22399 int
22400 main ()
22401 {
22402  _fabsl(0);
22403   ;
22404   return 0;
22405 }
22406 _ACEOF
22407 rm -f conftest.$ac_objext
22408 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22409   (eval $ac_compile) 2>conftest.er1
22410   ac_status=$?
22411   grep -v '^ *+' conftest.er1 >conftest.err
22412   rm -f conftest.er1
22413   cat conftest.err >&5
22414   echo "$as_me:$LINENO: \$? = $ac_status" >&5
22415   (exit $ac_status); } &&
22416          { ac_try='test -z "$ac_cxx_werror_flag"
22417                          || test ! -s conftest.err'
22418   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22419   (eval $ac_try) 2>&5
22420   ac_status=$?
22421   echo "$as_me:$LINENO: \$? = $ac_status" >&5
22422   (exit $ac_status); }; } &&
22423          { ac_try='test -s conftest.$ac_objext'
22424   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22425   (eval $ac_try) 2>&5
22426   ac_status=$?
22427   echo "$as_me:$LINENO: \$? = $ac_status" >&5
22428   (exit $ac_status); }; }; then
22429   glibcxx_cv_func__fabsl_use=yes
22430 else
22431   echo "$as_me: failed program was:" >&5
22432 sed 's/^/| /' conftest.$ac_ext >&5
22433
22434 glibcxx_cv_func__fabsl_use=no
22435 fi
22436 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
22437       ac_ext=c
22438 ac_cpp='$CPP $CPPFLAGS'
22439 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22440 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22441 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22442
22443
22444 fi
22445
22446   fi
22447   echo "$as_me:$LINENO: result: $glibcxx_cv_func__fabsl_use" >&5
22448 echo "${ECHO_T}$glibcxx_cv_func__fabsl_use" >&6
22449
22450     if test x$glibcxx_cv_func__fabsl_use = x"yes"; then
22451
22452 for ac_func in _fabsl
22453 do
22454 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
22455 echo "$as_me:$LINENO: checking for $ac_func" >&5
22456 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
22457 if eval "test \"\${$as_ac_var+set}\" = set"; then
22458   echo $ECHO_N "(cached) $ECHO_C" >&6
22459 else
22460   if test x$gcc_no_link = xyes; then
22461   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
22462 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
22463    { (exit 1); exit 1; }; }
22464 fi
22465 cat >conftest.$ac_ext <<_ACEOF
22466 /* confdefs.h.  */
22467 _ACEOF
22468 cat confdefs.h >>conftest.$ac_ext
22469 cat >>conftest.$ac_ext <<_ACEOF
22470 /* end confdefs.h.  */
22471 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
22472    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
22473 #define $ac_func innocuous_$ac_func
22474
22475 /* System header to define __stub macros and hopefully few prototypes,
22476     which can conflict with char $ac_func (); below.
22477     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
22478     <limits.h> exists even on freestanding compilers.  */
22479
22480 #ifdef __STDC__
22481 # include <limits.h>
22482 #else
22483 # include <assert.h>
22484 #endif
22485
22486 #undef $ac_func
22487
22488 /* Override any gcc2 internal prototype to avoid an error.  */
22489 #ifdef __cplusplus
22490 extern "C"
22491 {
22492 #endif
22493 /* We use char because int might match the return type of a gcc2
22494    builtin and then its argument prototype would still apply.  */
22495 char $ac_func ();
22496 /* The GNU C library defines this for functions which it implements
22497     to always fail with ENOSYS.  Some functions are actually named
22498     something starting with __ and the normal name is an alias.  */
22499 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
22500 choke me
22501 #else
22502 char (*f) () = $ac_func;
22503 #endif
22504 #ifdef __cplusplus
22505 }
22506 #endif
22507
22508 int
22509 main ()
22510 {
22511 return f != $ac_func;
22512   ;
22513   return 0;
22514 }
22515 _ACEOF
22516 rm -f conftest.$ac_objext conftest$ac_exeext
22517 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22518   (eval $ac_link) 2>conftest.er1
22519   ac_status=$?
22520   grep -v '^ *+' conftest.er1 >conftest.err
22521   rm -f conftest.er1
22522   cat conftest.err >&5
22523   echo "$as_me:$LINENO: \$? = $ac_status" >&5
22524   (exit $ac_status); } &&
22525          { ac_try='test -z "$ac_c_werror_flag"
22526                          || test ! -s conftest.err'
22527   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22528   (eval $ac_try) 2>&5
22529   ac_status=$?
22530   echo "$as_me:$LINENO: \$? = $ac_status" >&5
22531   (exit $ac_status); }; } &&
22532          { ac_try='test -s conftest$ac_exeext'
22533   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22534   (eval $ac_try) 2>&5
22535   ac_status=$?
22536   echo "$as_me:$LINENO: \$? = $ac_status" >&5
22537   (exit $ac_status); }; }; then
22538   eval "$as_ac_var=yes"
22539 else
22540   echo "$as_me: failed program was:" >&5
22541 sed 's/^/| /' conftest.$ac_ext >&5
22542
22543 eval "$as_ac_var=no"
22544 fi
22545 rm -f conftest.err conftest.$ac_objext \
22546       conftest$ac_exeext conftest.$ac_ext
22547 fi
22548 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
22549 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
22550 if test `eval echo '${'$as_ac_var'}'` = yes; then
22551   cat >>confdefs.h <<_ACEOF
22552 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
22553 _ACEOF
22554
22555 fi
22556 done
22557
22558     fi
22559   fi
22560
22561
22562
22563
22564
22565
22566   echo "$as_me:$LINENO: checking for fmodl declaration" >&5
22567 echo $ECHO_N "checking for fmodl declaration... $ECHO_C" >&6
22568   if test x${glibcxx_cv_func_fmodl_use+set} != xset; then
22569     if test "${glibcxx_cv_func_fmodl_use+set}" = set; then
22570   echo $ECHO_N "(cached) $ECHO_C" >&6
22571 else
22572
22573
22574
22575       ac_ext=cc
22576 ac_cpp='$CXXCPP $CPPFLAGS'
22577 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22578 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22579 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22580
22581       cat >conftest.$ac_ext <<_ACEOF
22582 /* confdefs.h.  */
22583 _ACEOF
22584 cat confdefs.h >>conftest.$ac_ext
22585 cat >>conftest.$ac_ext <<_ACEOF
22586 /* end confdefs.h.  */
22587 #include <math.h>
22588 int
22589 main ()
22590 {
22591  fmodl(0, 0);
22592   ;
22593   return 0;
22594 }
22595 _ACEOF
22596 rm -f conftest.$ac_objext
22597 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22598   (eval $ac_compile) 2>conftest.er1
22599   ac_status=$?
22600   grep -v '^ *+' conftest.er1 >conftest.err
22601   rm -f conftest.er1
22602   cat conftest.err >&5
22603   echo "$as_me:$LINENO: \$? = $ac_status" >&5
22604   (exit $ac_status); } &&
22605          { ac_try='test -z "$ac_cxx_werror_flag"
22606                          || test ! -s conftest.err'
22607   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22608   (eval $ac_try) 2>&5
22609   ac_status=$?
22610   echo "$as_me:$LINENO: \$? = $ac_status" >&5
22611   (exit $ac_status); }; } &&
22612          { ac_try='test -s conftest.$ac_objext'
22613   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22614   (eval $ac_try) 2>&5
22615   ac_status=$?
22616   echo "$as_me:$LINENO: \$? = $ac_status" >&5
22617   (exit $ac_status); }; }; then
22618   glibcxx_cv_func_fmodl_use=yes
22619 else
22620   echo "$as_me: failed program was:" >&5
22621 sed 's/^/| /' conftest.$ac_ext >&5
22622
22623 glibcxx_cv_func_fmodl_use=no
22624 fi
22625 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
22626       ac_ext=c
22627 ac_cpp='$CPP $CPPFLAGS'
22628 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22629 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22630 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22631
22632
22633 fi
22634
22635   fi
22636   echo "$as_me:$LINENO: result: $glibcxx_cv_func_fmodl_use" >&5
22637 echo "${ECHO_T}$glibcxx_cv_func_fmodl_use" >&6
22638
22639   if test x$glibcxx_cv_func_fmodl_use = x"yes"; then
22640
22641 for ac_func in fmodl
22642 do
22643 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
22644 echo "$as_me:$LINENO: checking for $ac_func" >&5
22645 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
22646 if eval "test \"\${$as_ac_var+set}\" = set"; then
22647   echo $ECHO_N "(cached) $ECHO_C" >&6
22648 else
22649   if test x$gcc_no_link = xyes; then
22650   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
22651 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
22652    { (exit 1); exit 1; }; }
22653 fi
22654 cat >conftest.$ac_ext <<_ACEOF
22655 /* confdefs.h.  */
22656 _ACEOF
22657 cat confdefs.h >>conftest.$ac_ext
22658 cat >>conftest.$ac_ext <<_ACEOF
22659 /* end confdefs.h.  */
22660 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
22661    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
22662 #define $ac_func innocuous_$ac_func
22663
22664 /* System header to define __stub macros and hopefully few prototypes,
22665     which can conflict with char $ac_func (); below.
22666     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
22667     <limits.h> exists even on freestanding compilers.  */
22668
22669 #ifdef __STDC__
22670 # include <limits.h>
22671 #else
22672 # include <assert.h>
22673 #endif
22674
22675 #undef $ac_func
22676
22677 /* Override any gcc2 internal prototype to avoid an error.  */
22678 #ifdef __cplusplus
22679 extern "C"
22680 {
22681 #endif
22682 /* We use char because int might match the return type of a gcc2
22683    builtin and then its argument prototype would still apply.  */
22684 char $ac_func ();
22685 /* The GNU C library defines this for functions which it implements
22686     to always fail with ENOSYS.  Some functions are actually named
22687     something starting with __ and the normal name is an alias.  */
22688 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
22689 choke me
22690 #else
22691 char (*f) () = $ac_func;
22692 #endif
22693 #ifdef __cplusplus
22694 }
22695 #endif
22696
22697 int
22698 main ()
22699 {
22700 return f != $ac_func;
22701   ;
22702   return 0;
22703 }
22704 _ACEOF
22705 rm -f conftest.$ac_objext conftest$ac_exeext
22706 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22707   (eval $ac_link) 2>conftest.er1
22708   ac_status=$?
22709   grep -v '^ *+' conftest.er1 >conftest.err
22710   rm -f conftest.er1
22711   cat conftest.err >&5
22712   echo "$as_me:$LINENO: \$? = $ac_status" >&5
22713   (exit $ac_status); } &&
22714          { ac_try='test -z "$ac_c_werror_flag"
22715                          || test ! -s conftest.err'
22716   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22717   (eval $ac_try) 2>&5
22718   ac_status=$?
22719   echo "$as_me:$LINENO: \$? = $ac_status" >&5
22720   (exit $ac_status); }; } &&
22721          { ac_try='test -s conftest$ac_exeext'
22722   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22723   (eval $ac_try) 2>&5
22724   ac_status=$?
22725   echo "$as_me:$LINENO: \$? = $ac_status" >&5
22726   (exit $ac_status); }; }; then
22727   eval "$as_ac_var=yes"
22728 else
22729   echo "$as_me: failed program was:" >&5
22730 sed 's/^/| /' conftest.$ac_ext >&5
22731
22732 eval "$as_ac_var=no"
22733 fi
22734 rm -f conftest.err conftest.$ac_objext \
22735       conftest$ac_exeext conftest.$ac_ext
22736 fi
22737 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
22738 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
22739 if test `eval echo '${'$as_ac_var'}'` = yes; then
22740   cat >>confdefs.h <<_ACEOF
22741 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
22742 _ACEOF
22743
22744 fi
22745 done
22746
22747   else
22748
22749   echo "$as_me:$LINENO: checking for _fmodl declaration" >&5
22750 echo $ECHO_N "checking for _fmodl declaration... $ECHO_C" >&6
22751   if test x${glibcxx_cv_func__fmodl_use+set} != xset; then
22752     if test "${glibcxx_cv_func__fmodl_use+set}" = set; then
22753   echo $ECHO_N "(cached) $ECHO_C" >&6
22754 else
22755
22756
22757
22758       ac_ext=cc
22759 ac_cpp='$CXXCPP $CPPFLAGS'
22760 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22761 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22762 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22763
22764       cat >conftest.$ac_ext <<_ACEOF
22765 /* confdefs.h.  */
22766 _ACEOF
22767 cat confdefs.h >>conftest.$ac_ext
22768 cat >>conftest.$ac_ext <<_ACEOF
22769 /* end confdefs.h.  */
22770 #include <math.h>
22771 int
22772 main ()
22773 {
22774  _fmodl(0, 0);
22775   ;
22776   return 0;
22777 }
22778 _ACEOF
22779 rm -f conftest.$ac_objext
22780 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22781   (eval $ac_compile) 2>conftest.er1
22782   ac_status=$?
22783   grep -v '^ *+' conftest.er1 >conftest.err
22784   rm -f conftest.er1
22785   cat conftest.err >&5
22786   echo "$as_me:$LINENO: \$? = $ac_status" >&5
22787   (exit $ac_status); } &&
22788          { ac_try='test -z "$ac_cxx_werror_flag"
22789                          || test ! -s conftest.err'
22790   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22791   (eval $ac_try) 2>&5
22792   ac_status=$?
22793   echo "$as_me:$LINENO: \$? = $ac_status" >&5
22794   (exit $ac_status); }; } &&
22795          { ac_try='test -s conftest.$ac_objext'
22796   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22797   (eval $ac_try) 2>&5
22798   ac_status=$?
22799   echo "$as_me:$LINENO: \$? = $ac_status" >&5
22800   (exit $ac_status); }; }; then
22801   glibcxx_cv_func__fmodl_use=yes
22802 else
22803   echo "$as_me: failed program was:" >&5
22804 sed 's/^/| /' conftest.$ac_ext >&5
22805
22806 glibcxx_cv_func__fmodl_use=no
22807 fi
22808 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
22809       ac_ext=c
22810 ac_cpp='$CPP $CPPFLAGS'
22811 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22812 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22813 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22814
22815
22816 fi
22817
22818   fi
22819   echo "$as_me:$LINENO: result: $glibcxx_cv_func__fmodl_use" >&5
22820 echo "${ECHO_T}$glibcxx_cv_func__fmodl_use" >&6
22821
22822     if test x$glibcxx_cv_func__fmodl_use = x"yes"; then
22823
22824 for ac_func in _fmodl
22825 do
22826 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
22827 echo "$as_me:$LINENO: checking for $ac_func" >&5
22828 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
22829 if eval "test \"\${$as_ac_var+set}\" = set"; then
22830   echo $ECHO_N "(cached) $ECHO_C" >&6
22831 else
22832   if test x$gcc_no_link = xyes; then
22833   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
22834 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
22835    { (exit 1); exit 1; }; }
22836 fi
22837 cat >conftest.$ac_ext <<_ACEOF
22838 /* confdefs.h.  */
22839 _ACEOF
22840 cat confdefs.h >>conftest.$ac_ext
22841 cat >>conftest.$ac_ext <<_ACEOF
22842 /* end confdefs.h.  */
22843 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
22844    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
22845 #define $ac_func innocuous_$ac_func
22846
22847 /* System header to define __stub macros and hopefully few prototypes,
22848     which can conflict with char $ac_func (); below.
22849     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
22850     <limits.h> exists even on freestanding compilers.  */
22851
22852 #ifdef __STDC__
22853 # include <limits.h>
22854 #else
22855 # include <assert.h>
22856 #endif
22857
22858 #undef $ac_func
22859
22860 /* Override any gcc2 internal prototype to avoid an error.  */
22861 #ifdef __cplusplus
22862 extern "C"
22863 {
22864 #endif
22865 /* We use char because int might match the return type of a gcc2
22866    builtin and then its argument prototype would still apply.  */
22867 char $ac_func ();
22868 /* The GNU C library defines this for functions which it implements
22869     to always fail with ENOSYS.  Some functions are actually named
22870     something starting with __ and the normal name is an alias.  */
22871 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
22872 choke me
22873 #else
22874 char (*f) () = $ac_func;
22875 #endif
22876 #ifdef __cplusplus
22877 }
22878 #endif
22879
22880 int
22881 main ()
22882 {
22883 return f != $ac_func;
22884   ;
22885   return 0;
22886 }
22887 _ACEOF
22888 rm -f conftest.$ac_objext conftest$ac_exeext
22889 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22890   (eval $ac_link) 2>conftest.er1
22891   ac_status=$?
22892   grep -v '^ *+' conftest.er1 >conftest.err
22893   rm -f conftest.er1
22894   cat conftest.err >&5
22895   echo "$as_me:$LINENO: \$? = $ac_status" >&5
22896   (exit $ac_status); } &&
22897          { ac_try='test -z "$ac_c_werror_flag"
22898                          || test ! -s conftest.err'
22899   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22900   (eval $ac_try) 2>&5
22901   ac_status=$?
22902   echo "$as_me:$LINENO: \$? = $ac_status" >&5
22903   (exit $ac_status); }; } &&
22904          { ac_try='test -s conftest$ac_exeext'
22905   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22906   (eval $ac_try) 2>&5
22907   ac_status=$?
22908   echo "$as_me:$LINENO: \$? = $ac_status" >&5
22909   (exit $ac_status); }; }; then
22910   eval "$as_ac_var=yes"
22911 else
22912   echo "$as_me: failed program was:" >&5
22913 sed 's/^/| /' conftest.$ac_ext >&5
22914
22915 eval "$as_ac_var=no"
22916 fi
22917 rm -f conftest.err conftest.$ac_objext \
22918       conftest$ac_exeext conftest.$ac_ext
22919 fi
22920 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
22921 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
22922 if test `eval echo '${'$as_ac_var'}'` = yes; then
22923   cat >>confdefs.h <<_ACEOF
22924 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
22925 _ACEOF
22926
22927 fi
22928 done
22929
22930     fi
22931   fi
22932
22933
22934
22935
22936
22937
22938   echo "$as_me:$LINENO: checking for frexpl declaration" >&5
22939 echo $ECHO_N "checking for frexpl declaration... $ECHO_C" >&6
22940   if test x${glibcxx_cv_func_frexpl_use+set} != xset; then
22941     if test "${glibcxx_cv_func_frexpl_use+set}" = set; then
22942   echo $ECHO_N "(cached) $ECHO_C" >&6
22943 else
22944
22945
22946
22947       ac_ext=cc
22948 ac_cpp='$CXXCPP $CPPFLAGS'
22949 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22950 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22951 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22952
22953       cat >conftest.$ac_ext <<_ACEOF
22954 /* confdefs.h.  */
22955 _ACEOF
22956 cat confdefs.h >>conftest.$ac_ext
22957 cat >>conftest.$ac_ext <<_ACEOF
22958 /* end confdefs.h.  */
22959 #include <math.h>
22960 int
22961 main ()
22962 {
22963  frexpl(0, 0);
22964   ;
22965   return 0;
22966 }
22967 _ACEOF
22968 rm -f conftest.$ac_objext
22969 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22970   (eval $ac_compile) 2>conftest.er1
22971   ac_status=$?
22972   grep -v '^ *+' conftest.er1 >conftest.err
22973   rm -f conftest.er1
22974   cat conftest.err >&5
22975   echo "$as_me:$LINENO: \$? = $ac_status" >&5
22976   (exit $ac_status); } &&
22977          { ac_try='test -z "$ac_cxx_werror_flag"
22978                          || test ! -s conftest.err'
22979   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22980   (eval $ac_try) 2>&5
22981   ac_status=$?
22982   echo "$as_me:$LINENO: \$? = $ac_status" >&5
22983   (exit $ac_status); }; } &&
22984          { ac_try='test -s conftest.$ac_objext'
22985   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22986   (eval $ac_try) 2>&5
22987   ac_status=$?
22988   echo "$as_me:$LINENO: \$? = $ac_status" >&5
22989   (exit $ac_status); }; }; then
22990   glibcxx_cv_func_frexpl_use=yes
22991 else
22992   echo "$as_me: failed program was:" >&5
22993 sed 's/^/| /' conftest.$ac_ext >&5
22994
22995 glibcxx_cv_func_frexpl_use=no
22996 fi
22997 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
22998       ac_ext=c
22999 ac_cpp='$CPP $CPPFLAGS'
23000 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23001 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23002 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23003
23004
23005 fi
23006
23007   fi
23008   echo "$as_me:$LINENO: result: $glibcxx_cv_func_frexpl_use" >&5
23009 echo "${ECHO_T}$glibcxx_cv_func_frexpl_use" >&6
23010
23011   if test x$glibcxx_cv_func_frexpl_use = x"yes"; then
23012
23013 for ac_func in frexpl
23014 do
23015 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
23016 echo "$as_me:$LINENO: checking for $ac_func" >&5
23017 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
23018 if eval "test \"\${$as_ac_var+set}\" = set"; then
23019   echo $ECHO_N "(cached) $ECHO_C" >&6
23020 else
23021   if test x$gcc_no_link = xyes; then
23022   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
23023 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
23024    { (exit 1); exit 1; }; }
23025 fi
23026 cat >conftest.$ac_ext <<_ACEOF
23027 /* confdefs.h.  */
23028 _ACEOF
23029 cat confdefs.h >>conftest.$ac_ext
23030 cat >>conftest.$ac_ext <<_ACEOF
23031 /* end confdefs.h.  */
23032 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
23033    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
23034 #define $ac_func innocuous_$ac_func
23035
23036 /* System header to define __stub macros and hopefully few prototypes,
23037     which can conflict with char $ac_func (); below.
23038     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
23039     <limits.h> exists even on freestanding compilers.  */
23040
23041 #ifdef __STDC__
23042 # include <limits.h>
23043 #else
23044 # include <assert.h>
23045 #endif
23046
23047 #undef $ac_func
23048
23049 /* Override any gcc2 internal prototype to avoid an error.  */
23050 #ifdef __cplusplus
23051 extern "C"
23052 {
23053 #endif
23054 /* We use char because int might match the return type of a gcc2
23055    builtin and then its argument prototype would still apply.  */
23056 char $ac_func ();
23057 /* The GNU C library defines this for functions which it implements
23058     to always fail with ENOSYS.  Some functions are actually named
23059     something starting with __ and the normal name is an alias.  */
23060 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
23061 choke me
23062 #else
23063 char (*f) () = $ac_func;
23064 #endif
23065 #ifdef __cplusplus
23066 }
23067 #endif
23068
23069 int
23070 main ()
23071 {
23072 return f != $ac_func;
23073   ;
23074   return 0;
23075 }
23076 _ACEOF
23077 rm -f conftest.$ac_objext conftest$ac_exeext
23078 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23079   (eval $ac_link) 2>conftest.er1
23080   ac_status=$?
23081   grep -v '^ *+' conftest.er1 >conftest.err
23082   rm -f conftest.er1
23083   cat conftest.err >&5
23084   echo "$as_me:$LINENO: \$? = $ac_status" >&5
23085   (exit $ac_status); } &&
23086          { ac_try='test -z "$ac_c_werror_flag"
23087                          || test ! -s conftest.err'
23088   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23089   (eval $ac_try) 2>&5
23090   ac_status=$?
23091   echo "$as_me:$LINENO: \$? = $ac_status" >&5
23092   (exit $ac_status); }; } &&
23093          { ac_try='test -s conftest$ac_exeext'
23094   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23095   (eval $ac_try) 2>&5
23096   ac_status=$?
23097   echo "$as_me:$LINENO: \$? = $ac_status" >&5
23098   (exit $ac_status); }; }; then
23099   eval "$as_ac_var=yes"
23100 else
23101   echo "$as_me: failed program was:" >&5
23102 sed 's/^/| /' conftest.$ac_ext >&5
23103
23104 eval "$as_ac_var=no"
23105 fi
23106 rm -f conftest.err conftest.$ac_objext \
23107       conftest$ac_exeext conftest.$ac_ext
23108 fi
23109 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
23110 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
23111 if test `eval echo '${'$as_ac_var'}'` = yes; then
23112   cat >>confdefs.h <<_ACEOF
23113 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
23114 _ACEOF
23115
23116 fi
23117 done
23118
23119   else
23120
23121   echo "$as_me:$LINENO: checking for _frexpl declaration" >&5
23122 echo $ECHO_N "checking for _frexpl declaration... $ECHO_C" >&6
23123   if test x${glibcxx_cv_func__frexpl_use+set} != xset; then
23124     if test "${glibcxx_cv_func__frexpl_use+set}" = set; then
23125   echo $ECHO_N "(cached) $ECHO_C" >&6
23126 else
23127
23128
23129
23130       ac_ext=cc
23131 ac_cpp='$CXXCPP $CPPFLAGS'
23132 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23133 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23134 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23135
23136       cat >conftest.$ac_ext <<_ACEOF
23137 /* confdefs.h.  */
23138 _ACEOF
23139 cat confdefs.h >>conftest.$ac_ext
23140 cat >>conftest.$ac_ext <<_ACEOF
23141 /* end confdefs.h.  */
23142 #include <math.h>
23143 int
23144 main ()
23145 {
23146  _frexpl(0, 0);
23147   ;
23148   return 0;
23149 }
23150 _ACEOF
23151 rm -f conftest.$ac_objext
23152 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
23153   (eval $ac_compile) 2>conftest.er1
23154   ac_status=$?
23155   grep -v '^ *+' conftest.er1 >conftest.err
23156   rm -f conftest.er1
23157   cat conftest.err >&5
23158   echo "$as_me:$LINENO: \$? = $ac_status" >&5
23159   (exit $ac_status); } &&
23160          { ac_try='test -z "$ac_cxx_werror_flag"
23161                          || test ! -s conftest.err'
23162   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23163   (eval $ac_try) 2>&5
23164   ac_status=$?
23165   echo "$as_me:$LINENO: \$? = $ac_status" >&5
23166   (exit $ac_status); }; } &&
23167          { ac_try='test -s conftest.$ac_objext'
23168   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23169   (eval $ac_try) 2>&5
23170   ac_status=$?
23171   echo "$as_me:$LINENO: \$? = $ac_status" >&5
23172   (exit $ac_status); }; }; then
23173   glibcxx_cv_func__frexpl_use=yes
23174 else
23175   echo "$as_me: failed program was:" >&5
23176 sed 's/^/| /' conftest.$ac_ext >&5
23177
23178 glibcxx_cv_func__frexpl_use=no
23179 fi
23180 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
23181       ac_ext=c
23182 ac_cpp='$CPP $CPPFLAGS'
23183 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23184 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23185 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23186
23187
23188 fi
23189
23190   fi
23191   echo "$as_me:$LINENO: result: $glibcxx_cv_func__frexpl_use" >&5
23192 echo "${ECHO_T}$glibcxx_cv_func__frexpl_use" >&6
23193
23194     if test x$glibcxx_cv_func__frexpl_use = x"yes"; then
23195
23196 for ac_func in _frexpl
23197 do
23198 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
23199 echo "$as_me:$LINENO: checking for $ac_func" >&5
23200 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
23201 if eval "test \"\${$as_ac_var+set}\" = set"; then
23202   echo $ECHO_N "(cached) $ECHO_C" >&6
23203 else
23204   if test x$gcc_no_link = xyes; then
23205   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
23206 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
23207    { (exit 1); exit 1; }; }
23208 fi
23209 cat >conftest.$ac_ext <<_ACEOF
23210 /* confdefs.h.  */
23211 _ACEOF
23212 cat confdefs.h >>conftest.$ac_ext
23213 cat >>conftest.$ac_ext <<_ACEOF
23214 /* end confdefs.h.  */
23215 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
23216    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
23217 #define $ac_func innocuous_$ac_func
23218
23219 /* System header to define __stub macros and hopefully few prototypes,
23220     which can conflict with char $ac_func (); below.
23221     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
23222     <limits.h> exists even on freestanding compilers.  */
23223
23224 #ifdef __STDC__
23225 # include <limits.h>
23226 #else
23227 # include <assert.h>
23228 #endif
23229
23230 #undef $ac_func
23231
23232 /* Override any gcc2 internal prototype to avoid an error.  */
23233 #ifdef __cplusplus
23234 extern "C"
23235 {
23236 #endif
23237 /* We use char because int might match the return type of a gcc2
23238    builtin and then its argument prototype would still apply.  */
23239 char $ac_func ();
23240 /* The GNU C library defines this for functions which it implements
23241     to always fail with ENOSYS.  Some functions are actually named
23242     something starting with __ and the normal name is an alias.  */
23243 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
23244 choke me
23245 #else
23246 char (*f) () = $ac_func;
23247 #endif
23248 #ifdef __cplusplus
23249 }
23250 #endif
23251
23252 int
23253 main ()
23254 {
23255 return f != $ac_func;
23256   ;
23257   return 0;
23258 }
23259 _ACEOF
23260 rm -f conftest.$ac_objext conftest$ac_exeext
23261 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23262   (eval $ac_link) 2>conftest.er1
23263   ac_status=$?
23264   grep -v '^ *+' conftest.er1 >conftest.err
23265   rm -f conftest.er1
23266   cat conftest.err >&5
23267   echo "$as_me:$LINENO: \$? = $ac_status" >&5
23268   (exit $ac_status); } &&
23269          { ac_try='test -z "$ac_c_werror_flag"
23270                          || test ! -s conftest.err'
23271   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23272   (eval $ac_try) 2>&5
23273   ac_status=$?
23274   echo "$as_me:$LINENO: \$? = $ac_status" >&5
23275   (exit $ac_status); }; } &&
23276          { ac_try='test -s conftest$ac_exeext'
23277   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23278   (eval $ac_try) 2>&5
23279   ac_status=$?
23280   echo "$as_me:$LINENO: \$? = $ac_status" >&5
23281   (exit $ac_status); }; }; then
23282   eval "$as_ac_var=yes"
23283 else
23284   echo "$as_me: failed program was:" >&5
23285 sed 's/^/| /' conftest.$ac_ext >&5
23286
23287 eval "$as_ac_var=no"
23288 fi
23289 rm -f conftest.err conftest.$ac_objext \
23290       conftest$ac_exeext conftest.$ac_ext
23291 fi
23292 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
23293 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
23294 if test `eval echo '${'$as_ac_var'}'` = yes; then
23295   cat >>confdefs.h <<_ACEOF
23296 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
23297 _ACEOF
23298
23299 fi
23300 done
23301
23302     fi
23303   fi
23304
23305
23306
23307
23308
23309
23310   echo "$as_me:$LINENO: checking for hypotl declaration" >&5
23311 echo $ECHO_N "checking for hypotl declaration... $ECHO_C" >&6
23312   if test x${glibcxx_cv_func_hypotl_use+set} != xset; then
23313     if test "${glibcxx_cv_func_hypotl_use+set}" = set; then
23314   echo $ECHO_N "(cached) $ECHO_C" >&6
23315 else
23316
23317
23318
23319       ac_ext=cc
23320 ac_cpp='$CXXCPP $CPPFLAGS'
23321 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23322 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23323 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23324
23325       cat >conftest.$ac_ext <<_ACEOF
23326 /* confdefs.h.  */
23327 _ACEOF
23328 cat confdefs.h >>conftest.$ac_ext
23329 cat >>conftest.$ac_ext <<_ACEOF
23330 /* end confdefs.h.  */
23331 #include <math.h>
23332 int
23333 main ()
23334 {
23335  hypotl(0, 0);
23336   ;
23337   return 0;
23338 }
23339 _ACEOF
23340 rm -f conftest.$ac_objext
23341 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
23342   (eval $ac_compile) 2>conftest.er1
23343   ac_status=$?
23344   grep -v '^ *+' conftest.er1 >conftest.err
23345   rm -f conftest.er1
23346   cat conftest.err >&5
23347   echo "$as_me:$LINENO: \$? = $ac_status" >&5
23348   (exit $ac_status); } &&
23349          { ac_try='test -z "$ac_cxx_werror_flag"
23350                          || test ! -s conftest.err'
23351   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23352   (eval $ac_try) 2>&5
23353   ac_status=$?
23354   echo "$as_me:$LINENO: \$? = $ac_status" >&5
23355   (exit $ac_status); }; } &&
23356          { ac_try='test -s conftest.$ac_objext'
23357   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23358   (eval $ac_try) 2>&5
23359   ac_status=$?
23360   echo "$as_me:$LINENO: \$? = $ac_status" >&5
23361   (exit $ac_status); }; }; then
23362   glibcxx_cv_func_hypotl_use=yes
23363 else
23364   echo "$as_me: failed program was:" >&5
23365 sed 's/^/| /' conftest.$ac_ext >&5
23366
23367 glibcxx_cv_func_hypotl_use=no
23368 fi
23369 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
23370       ac_ext=c
23371 ac_cpp='$CPP $CPPFLAGS'
23372 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23373 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23374 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23375
23376
23377 fi
23378
23379   fi
23380   echo "$as_me:$LINENO: result: $glibcxx_cv_func_hypotl_use" >&5
23381 echo "${ECHO_T}$glibcxx_cv_func_hypotl_use" >&6
23382
23383   if test x$glibcxx_cv_func_hypotl_use = x"yes"; then
23384
23385 for ac_func in hypotl
23386 do
23387 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
23388 echo "$as_me:$LINENO: checking for $ac_func" >&5
23389 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
23390 if eval "test \"\${$as_ac_var+set}\" = set"; then
23391   echo $ECHO_N "(cached) $ECHO_C" >&6
23392 else
23393   if test x$gcc_no_link = xyes; then
23394   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
23395 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
23396    { (exit 1); exit 1; }; }
23397 fi
23398 cat >conftest.$ac_ext <<_ACEOF
23399 /* confdefs.h.  */
23400 _ACEOF
23401 cat confdefs.h >>conftest.$ac_ext
23402 cat >>conftest.$ac_ext <<_ACEOF
23403 /* end confdefs.h.  */
23404 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
23405    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
23406 #define $ac_func innocuous_$ac_func
23407
23408 /* System header to define __stub macros and hopefully few prototypes,
23409     which can conflict with char $ac_func (); below.
23410     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
23411     <limits.h> exists even on freestanding compilers.  */
23412
23413 #ifdef __STDC__
23414 # include <limits.h>
23415 #else
23416 # include <assert.h>
23417 #endif
23418
23419 #undef $ac_func
23420
23421 /* Override any gcc2 internal prototype to avoid an error.  */
23422 #ifdef __cplusplus
23423 extern "C"
23424 {
23425 #endif
23426 /* We use char because int might match the return type of a gcc2
23427    builtin and then its argument prototype would still apply.  */
23428 char $ac_func ();
23429 /* The GNU C library defines this for functions which it implements
23430     to always fail with ENOSYS.  Some functions are actually named
23431     something starting with __ and the normal name is an alias.  */
23432 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
23433 choke me
23434 #else
23435 char (*f) () = $ac_func;
23436 #endif
23437 #ifdef __cplusplus
23438 }
23439 #endif
23440
23441 int
23442 main ()
23443 {
23444 return f != $ac_func;
23445   ;
23446   return 0;
23447 }
23448 _ACEOF
23449 rm -f conftest.$ac_objext conftest$ac_exeext
23450 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23451   (eval $ac_link) 2>conftest.er1
23452   ac_status=$?
23453   grep -v '^ *+' conftest.er1 >conftest.err
23454   rm -f conftest.er1
23455   cat conftest.err >&5
23456   echo "$as_me:$LINENO: \$? = $ac_status" >&5
23457   (exit $ac_status); } &&
23458          { ac_try='test -z "$ac_c_werror_flag"
23459                          || test ! -s conftest.err'
23460   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23461   (eval $ac_try) 2>&5
23462   ac_status=$?
23463   echo "$as_me:$LINENO: \$? = $ac_status" >&5
23464   (exit $ac_status); }; } &&
23465          { ac_try='test -s conftest$ac_exeext'
23466   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23467   (eval $ac_try) 2>&5
23468   ac_status=$?
23469   echo "$as_me:$LINENO: \$? = $ac_status" >&5
23470   (exit $ac_status); }; }; then
23471   eval "$as_ac_var=yes"
23472 else
23473   echo "$as_me: failed program was:" >&5
23474 sed 's/^/| /' conftest.$ac_ext >&5
23475
23476 eval "$as_ac_var=no"
23477 fi
23478 rm -f conftest.err conftest.$ac_objext \
23479       conftest$ac_exeext conftest.$ac_ext
23480 fi
23481 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
23482 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
23483 if test `eval echo '${'$as_ac_var'}'` = yes; then
23484   cat >>confdefs.h <<_ACEOF
23485 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
23486 _ACEOF
23487
23488 fi
23489 done
23490
23491   else
23492
23493   echo "$as_me:$LINENO: checking for _hypotl declaration" >&5
23494 echo $ECHO_N "checking for _hypotl declaration... $ECHO_C" >&6
23495   if test x${glibcxx_cv_func__hypotl_use+set} != xset; then
23496     if test "${glibcxx_cv_func__hypotl_use+set}" = set; then
23497   echo $ECHO_N "(cached) $ECHO_C" >&6
23498 else
23499
23500
23501
23502       ac_ext=cc
23503 ac_cpp='$CXXCPP $CPPFLAGS'
23504 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23505 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23506 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23507
23508       cat >conftest.$ac_ext <<_ACEOF
23509 /* confdefs.h.  */
23510 _ACEOF
23511 cat confdefs.h >>conftest.$ac_ext
23512 cat >>conftest.$ac_ext <<_ACEOF
23513 /* end confdefs.h.  */
23514 #include <math.h>
23515 int
23516 main ()
23517 {
23518  _hypotl(0, 0);
23519   ;
23520   return 0;
23521 }
23522 _ACEOF
23523 rm -f conftest.$ac_objext
23524 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
23525   (eval $ac_compile) 2>conftest.er1
23526   ac_status=$?
23527   grep -v '^ *+' conftest.er1 >conftest.err
23528   rm -f conftest.er1
23529   cat conftest.err >&5
23530   echo "$as_me:$LINENO: \$? = $ac_status" >&5
23531   (exit $ac_status); } &&
23532          { ac_try='test -z "$ac_cxx_werror_flag"
23533                          || test ! -s conftest.err'
23534   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23535   (eval $ac_try) 2>&5
23536   ac_status=$?
23537   echo "$as_me:$LINENO: \$? = $ac_status" >&5
23538   (exit $ac_status); }; } &&
23539          { ac_try='test -s conftest.$ac_objext'
23540   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23541   (eval $ac_try) 2>&5
23542   ac_status=$?
23543   echo "$as_me:$LINENO: \$? = $ac_status" >&5
23544   (exit $ac_status); }; }; then
23545   glibcxx_cv_func__hypotl_use=yes
23546 else
23547   echo "$as_me: failed program was:" >&5
23548 sed 's/^/| /' conftest.$ac_ext >&5
23549
23550 glibcxx_cv_func__hypotl_use=no
23551 fi
23552 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
23553       ac_ext=c
23554 ac_cpp='$CPP $CPPFLAGS'
23555 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23556 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23557 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23558
23559
23560 fi
23561
23562   fi
23563   echo "$as_me:$LINENO: result: $glibcxx_cv_func__hypotl_use" >&5
23564 echo "${ECHO_T}$glibcxx_cv_func__hypotl_use" >&6
23565
23566     if test x$glibcxx_cv_func__hypotl_use = x"yes"; then
23567
23568 for ac_func in _hypotl
23569 do
23570 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
23571 echo "$as_me:$LINENO: checking for $ac_func" >&5
23572 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
23573 if eval "test \"\${$as_ac_var+set}\" = set"; then
23574   echo $ECHO_N "(cached) $ECHO_C" >&6
23575 else
23576   if test x$gcc_no_link = xyes; then
23577   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
23578 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
23579    { (exit 1); exit 1; }; }
23580 fi
23581 cat >conftest.$ac_ext <<_ACEOF
23582 /* confdefs.h.  */
23583 _ACEOF
23584 cat confdefs.h >>conftest.$ac_ext
23585 cat >>conftest.$ac_ext <<_ACEOF
23586 /* end confdefs.h.  */
23587 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
23588    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
23589 #define $ac_func innocuous_$ac_func
23590
23591 /* System header to define __stub macros and hopefully few prototypes,
23592     which can conflict with char $ac_func (); below.
23593     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
23594     <limits.h> exists even on freestanding compilers.  */
23595
23596 #ifdef __STDC__
23597 # include <limits.h>
23598 #else
23599 # include <assert.h>
23600 #endif
23601
23602 #undef $ac_func
23603
23604 /* Override any gcc2 internal prototype to avoid an error.  */
23605 #ifdef __cplusplus
23606 extern "C"
23607 {
23608 #endif
23609 /* We use char because int might match the return type of a gcc2
23610    builtin and then its argument prototype would still apply.  */
23611 char $ac_func ();
23612 /* The GNU C library defines this for functions which it implements
23613     to always fail with ENOSYS.  Some functions are actually named
23614     something starting with __ and the normal name is an alias.  */
23615 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
23616 choke me
23617 #else
23618 char (*f) () = $ac_func;
23619 #endif
23620 #ifdef __cplusplus
23621 }
23622 #endif
23623
23624 int
23625 main ()
23626 {
23627 return f != $ac_func;
23628   ;
23629   return 0;
23630 }
23631 _ACEOF
23632 rm -f conftest.$ac_objext conftest$ac_exeext
23633 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23634   (eval $ac_link) 2>conftest.er1
23635   ac_status=$?
23636   grep -v '^ *+' conftest.er1 >conftest.err
23637   rm -f conftest.er1
23638   cat conftest.err >&5
23639   echo "$as_me:$LINENO: \$? = $ac_status" >&5
23640   (exit $ac_status); } &&
23641          { ac_try='test -z "$ac_c_werror_flag"
23642                          || test ! -s conftest.err'
23643   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23644   (eval $ac_try) 2>&5
23645   ac_status=$?
23646   echo "$as_me:$LINENO: \$? = $ac_status" >&5
23647   (exit $ac_status); }; } &&
23648          { ac_try='test -s conftest$ac_exeext'
23649   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23650   (eval $ac_try) 2>&5
23651   ac_status=$?
23652   echo "$as_me:$LINENO: \$? = $ac_status" >&5
23653   (exit $ac_status); }; }; then
23654   eval "$as_ac_var=yes"
23655 else
23656   echo "$as_me: failed program was:" >&5
23657 sed 's/^/| /' conftest.$ac_ext >&5
23658
23659 eval "$as_ac_var=no"
23660 fi
23661 rm -f conftest.err conftest.$ac_objext \
23662       conftest$ac_exeext conftest.$ac_ext
23663 fi
23664 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
23665 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
23666 if test `eval echo '${'$as_ac_var'}'` = yes; then
23667   cat >>confdefs.h <<_ACEOF
23668 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
23669 _ACEOF
23670
23671 fi
23672 done
23673
23674     fi
23675   fi
23676
23677
23678
23679
23680
23681
23682   echo "$as_me:$LINENO: checking for ldexpl declaration" >&5
23683 echo $ECHO_N "checking for ldexpl declaration... $ECHO_C" >&6
23684   if test x${glibcxx_cv_func_ldexpl_use+set} != xset; then
23685     if test "${glibcxx_cv_func_ldexpl_use+set}" = set; then
23686   echo $ECHO_N "(cached) $ECHO_C" >&6
23687 else
23688
23689
23690
23691       ac_ext=cc
23692 ac_cpp='$CXXCPP $CPPFLAGS'
23693 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23694 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23695 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23696
23697       cat >conftest.$ac_ext <<_ACEOF
23698 /* confdefs.h.  */
23699 _ACEOF
23700 cat confdefs.h >>conftest.$ac_ext
23701 cat >>conftest.$ac_ext <<_ACEOF
23702 /* end confdefs.h.  */
23703 #include <math.h>
23704 int
23705 main ()
23706 {
23707  ldexpl(0, 0);
23708   ;
23709   return 0;
23710 }
23711 _ACEOF
23712 rm -f conftest.$ac_objext
23713 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
23714   (eval $ac_compile) 2>conftest.er1
23715   ac_status=$?
23716   grep -v '^ *+' conftest.er1 >conftest.err
23717   rm -f conftest.er1
23718   cat conftest.err >&5
23719   echo "$as_me:$LINENO: \$? = $ac_status" >&5
23720   (exit $ac_status); } &&
23721          { ac_try='test -z "$ac_cxx_werror_flag"
23722                          || test ! -s conftest.err'
23723   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23724   (eval $ac_try) 2>&5
23725   ac_status=$?
23726   echo "$as_me:$LINENO: \$? = $ac_status" >&5
23727   (exit $ac_status); }; } &&
23728          { ac_try='test -s conftest.$ac_objext'
23729   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23730   (eval $ac_try) 2>&5
23731   ac_status=$?
23732   echo "$as_me:$LINENO: \$? = $ac_status" >&5
23733   (exit $ac_status); }; }; then
23734   glibcxx_cv_func_ldexpl_use=yes
23735 else
23736   echo "$as_me: failed program was:" >&5
23737 sed 's/^/| /' conftest.$ac_ext >&5
23738
23739 glibcxx_cv_func_ldexpl_use=no
23740 fi
23741 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
23742       ac_ext=c
23743 ac_cpp='$CPP $CPPFLAGS'
23744 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23745 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23746 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23747
23748
23749 fi
23750
23751   fi
23752   echo "$as_me:$LINENO: result: $glibcxx_cv_func_ldexpl_use" >&5
23753 echo "${ECHO_T}$glibcxx_cv_func_ldexpl_use" >&6
23754
23755   if test x$glibcxx_cv_func_ldexpl_use = x"yes"; then
23756
23757 for ac_func in ldexpl
23758 do
23759 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
23760 echo "$as_me:$LINENO: checking for $ac_func" >&5
23761 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
23762 if eval "test \"\${$as_ac_var+set}\" = set"; then
23763   echo $ECHO_N "(cached) $ECHO_C" >&6
23764 else
23765   if test x$gcc_no_link = xyes; then
23766   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
23767 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
23768    { (exit 1); exit 1; }; }
23769 fi
23770 cat >conftest.$ac_ext <<_ACEOF
23771 /* confdefs.h.  */
23772 _ACEOF
23773 cat confdefs.h >>conftest.$ac_ext
23774 cat >>conftest.$ac_ext <<_ACEOF
23775 /* end confdefs.h.  */
23776 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
23777    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
23778 #define $ac_func innocuous_$ac_func
23779
23780 /* System header to define __stub macros and hopefully few prototypes,
23781     which can conflict with char $ac_func (); below.
23782     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
23783     <limits.h> exists even on freestanding compilers.  */
23784
23785 #ifdef __STDC__
23786 # include <limits.h>
23787 #else
23788 # include <assert.h>
23789 #endif
23790
23791 #undef $ac_func
23792
23793 /* Override any gcc2 internal prototype to avoid an error.  */
23794 #ifdef __cplusplus
23795 extern "C"
23796 {
23797 #endif
23798 /* We use char because int might match the return type of a gcc2
23799    builtin and then its argument prototype would still apply.  */
23800 char $ac_func ();
23801 /* The GNU C library defines this for functions which it implements
23802     to always fail with ENOSYS.  Some functions are actually named
23803     something starting with __ and the normal name is an alias.  */
23804 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
23805 choke me
23806 #else
23807 char (*f) () = $ac_func;
23808 #endif
23809 #ifdef __cplusplus
23810 }
23811 #endif
23812
23813 int
23814 main ()
23815 {
23816 return f != $ac_func;
23817   ;
23818   return 0;
23819 }
23820 _ACEOF
23821 rm -f conftest.$ac_objext conftest$ac_exeext
23822 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23823   (eval $ac_link) 2>conftest.er1
23824   ac_status=$?
23825   grep -v '^ *+' conftest.er1 >conftest.err
23826   rm -f conftest.er1
23827   cat conftest.err >&5
23828   echo "$as_me:$LINENO: \$? = $ac_status" >&5
23829   (exit $ac_status); } &&
23830          { ac_try='test -z "$ac_c_werror_flag"
23831                          || test ! -s conftest.err'
23832   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23833   (eval $ac_try) 2>&5
23834   ac_status=$?
23835   echo "$as_me:$LINENO: \$? = $ac_status" >&5
23836   (exit $ac_status); }; } &&
23837          { ac_try='test -s conftest$ac_exeext'
23838   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23839   (eval $ac_try) 2>&5
23840   ac_status=$?
23841   echo "$as_me:$LINENO: \$? = $ac_status" >&5
23842   (exit $ac_status); }; }; then
23843   eval "$as_ac_var=yes"
23844 else
23845   echo "$as_me: failed program was:" >&5
23846 sed 's/^/| /' conftest.$ac_ext >&5
23847
23848 eval "$as_ac_var=no"
23849 fi
23850 rm -f conftest.err conftest.$ac_objext \
23851       conftest$ac_exeext conftest.$ac_ext
23852 fi
23853 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
23854 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
23855 if test `eval echo '${'$as_ac_var'}'` = yes; then
23856   cat >>confdefs.h <<_ACEOF
23857 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
23858 _ACEOF
23859
23860 fi
23861 done
23862
23863   else
23864
23865   echo "$as_me:$LINENO: checking for _ldexpl declaration" >&5
23866 echo $ECHO_N "checking for _ldexpl declaration... $ECHO_C" >&6
23867   if test x${glibcxx_cv_func__ldexpl_use+set} != xset; then
23868     if test "${glibcxx_cv_func__ldexpl_use+set}" = set; then
23869   echo $ECHO_N "(cached) $ECHO_C" >&6
23870 else
23871
23872
23873
23874       ac_ext=cc
23875 ac_cpp='$CXXCPP $CPPFLAGS'
23876 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23877 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23878 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23879
23880       cat >conftest.$ac_ext <<_ACEOF
23881 /* confdefs.h.  */
23882 _ACEOF
23883 cat confdefs.h >>conftest.$ac_ext
23884 cat >>conftest.$ac_ext <<_ACEOF
23885 /* end confdefs.h.  */
23886 #include <math.h>
23887 int
23888 main ()
23889 {
23890  _ldexpl(0, 0);
23891   ;
23892   return 0;
23893 }
23894 _ACEOF
23895 rm -f conftest.$ac_objext
23896 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
23897   (eval $ac_compile) 2>conftest.er1
23898   ac_status=$?
23899   grep -v '^ *+' conftest.er1 >conftest.err
23900   rm -f conftest.er1
23901   cat conftest.err >&5
23902   echo "$as_me:$LINENO: \$? = $ac_status" >&5
23903   (exit $ac_status); } &&
23904          { ac_try='test -z "$ac_cxx_werror_flag"
23905                          || test ! -s conftest.err'
23906   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23907   (eval $ac_try) 2>&5
23908   ac_status=$?
23909   echo "$as_me:$LINENO: \$? = $ac_status" >&5
23910   (exit $ac_status); }; } &&
23911          { ac_try='test -s conftest.$ac_objext'
23912   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23913   (eval $ac_try) 2>&5
23914   ac_status=$?
23915   echo "$as_me:$LINENO: \$? = $ac_status" >&5
23916   (exit $ac_status); }; }; then
23917   glibcxx_cv_func__ldexpl_use=yes
23918 else
23919   echo "$as_me: failed program was:" >&5
23920 sed 's/^/| /' conftest.$ac_ext >&5
23921
23922 glibcxx_cv_func__ldexpl_use=no
23923 fi
23924 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
23925       ac_ext=c
23926 ac_cpp='$CPP $CPPFLAGS'
23927 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23928 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23929 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23930
23931
23932 fi
23933
23934   fi
23935   echo "$as_me:$LINENO: result: $glibcxx_cv_func__ldexpl_use" >&5
23936 echo "${ECHO_T}$glibcxx_cv_func__ldexpl_use" >&6
23937
23938     if test x$glibcxx_cv_func__ldexpl_use = x"yes"; then
23939
23940 for ac_func in _ldexpl
23941 do
23942 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
23943 echo "$as_me:$LINENO: checking for $ac_func" >&5
23944 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
23945 if eval "test \"\${$as_ac_var+set}\" = set"; then
23946   echo $ECHO_N "(cached) $ECHO_C" >&6
23947 else
23948   if test x$gcc_no_link = xyes; then
23949   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
23950 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
23951    { (exit 1); exit 1; }; }
23952 fi
23953 cat >conftest.$ac_ext <<_ACEOF
23954 /* confdefs.h.  */
23955 _ACEOF
23956 cat confdefs.h >>conftest.$ac_ext
23957 cat >>conftest.$ac_ext <<_ACEOF
23958 /* end confdefs.h.  */
23959 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
23960    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
23961 #define $ac_func innocuous_$ac_func
23962
23963 /* System header to define __stub macros and hopefully few prototypes,
23964     which can conflict with char $ac_func (); below.
23965     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
23966     <limits.h> exists even on freestanding compilers.  */
23967
23968 #ifdef __STDC__
23969 # include <limits.h>
23970 #else
23971 # include <assert.h>
23972 #endif
23973
23974 #undef $ac_func
23975
23976 /* Override any gcc2 internal prototype to avoid an error.  */
23977 #ifdef __cplusplus
23978 extern "C"
23979 {
23980 #endif
23981 /* We use char because int might match the return type of a gcc2
23982    builtin and then its argument prototype would still apply.  */
23983 char $ac_func ();
23984 /* The GNU C library defines this for functions which it implements
23985     to always fail with ENOSYS.  Some functions are actually named
23986     something starting with __ and the normal name is an alias.  */
23987 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
23988 choke me
23989 #else
23990 char (*f) () = $ac_func;
23991 #endif
23992 #ifdef __cplusplus
23993 }
23994 #endif
23995
23996 int
23997 main ()
23998 {
23999 return f != $ac_func;
24000   ;
24001   return 0;
24002 }
24003 _ACEOF
24004 rm -f conftest.$ac_objext conftest$ac_exeext
24005 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24006   (eval $ac_link) 2>conftest.er1
24007   ac_status=$?
24008   grep -v '^ *+' conftest.er1 >conftest.err
24009   rm -f conftest.er1
24010   cat conftest.err >&5
24011   echo "$as_me:$LINENO: \$? = $ac_status" >&5
24012   (exit $ac_status); } &&
24013          { ac_try='test -z "$ac_c_werror_flag"
24014                          || test ! -s conftest.err'
24015   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24016   (eval $ac_try) 2>&5
24017   ac_status=$?
24018   echo "$as_me:$LINENO: \$? = $ac_status" >&5
24019   (exit $ac_status); }; } &&
24020          { ac_try='test -s conftest$ac_exeext'
24021   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24022   (eval $ac_try) 2>&5
24023   ac_status=$?
24024   echo "$as_me:$LINENO: \$? = $ac_status" >&5
24025   (exit $ac_status); }; }; then
24026   eval "$as_ac_var=yes"
24027 else
24028   echo "$as_me: failed program was:" >&5
24029 sed 's/^/| /' conftest.$ac_ext >&5
24030
24031 eval "$as_ac_var=no"
24032 fi
24033 rm -f conftest.err conftest.$ac_objext \
24034       conftest$ac_exeext conftest.$ac_ext
24035 fi
24036 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
24037 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
24038 if test `eval echo '${'$as_ac_var'}'` = yes; then
24039   cat >>confdefs.h <<_ACEOF
24040 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
24041 _ACEOF
24042
24043 fi
24044 done
24045
24046     fi
24047   fi
24048
24049
24050
24051
24052
24053
24054   echo "$as_me:$LINENO: checking for logl declaration" >&5
24055 echo $ECHO_N "checking for logl declaration... $ECHO_C" >&6
24056   if test x${glibcxx_cv_func_logl_use+set} != xset; then
24057     if test "${glibcxx_cv_func_logl_use+set}" = set; then
24058   echo $ECHO_N "(cached) $ECHO_C" >&6
24059 else
24060
24061
24062
24063       ac_ext=cc
24064 ac_cpp='$CXXCPP $CPPFLAGS'
24065 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24066 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24067 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24068
24069       cat >conftest.$ac_ext <<_ACEOF
24070 /* confdefs.h.  */
24071 _ACEOF
24072 cat confdefs.h >>conftest.$ac_ext
24073 cat >>conftest.$ac_ext <<_ACEOF
24074 /* end confdefs.h.  */
24075 #include <math.h>
24076                       #ifdef HAVE_IEEEFP_H
24077                       #include <ieeefp.h>
24078                       #endif
24079
24080 int
24081 main ()
24082 {
24083  logl(0);
24084   ;
24085   return 0;
24086 }
24087 _ACEOF
24088 rm -f conftest.$ac_objext
24089 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
24090   (eval $ac_compile) 2>conftest.er1
24091   ac_status=$?
24092   grep -v '^ *+' conftest.er1 >conftest.err
24093   rm -f conftest.er1
24094   cat conftest.err >&5
24095   echo "$as_me:$LINENO: \$? = $ac_status" >&5
24096   (exit $ac_status); } &&
24097          { ac_try='test -z "$ac_cxx_werror_flag"
24098                          || test ! -s conftest.err'
24099   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24100   (eval $ac_try) 2>&5
24101   ac_status=$?
24102   echo "$as_me:$LINENO: \$? = $ac_status" >&5
24103   (exit $ac_status); }; } &&
24104          { ac_try='test -s conftest.$ac_objext'
24105   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24106   (eval $ac_try) 2>&5
24107   ac_status=$?
24108   echo "$as_me:$LINENO: \$? = $ac_status" >&5
24109   (exit $ac_status); }; }; then
24110   glibcxx_cv_func_logl_use=yes
24111 else
24112   echo "$as_me: failed program was:" >&5
24113 sed 's/^/| /' conftest.$ac_ext >&5
24114
24115 glibcxx_cv_func_logl_use=no
24116 fi
24117 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
24118       ac_ext=c
24119 ac_cpp='$CPP $CPPFLAGS'
24120 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24121 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24122 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24123
24124
24125 fi
24126
24127   fi
24128   echo "$as_me:$LINENO: result: $glibcxx_cv_func_logl_use" >&5
24129 echo "${ECHO_T}$glibcxx_cv_func_logl_use" >&6
24130
24131   if test x$glibcxx_cv_func_logl_use = x"yes"; then
24132
24133 for ac_func in logl
24134 do
24135 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
24136 echo "$as_me:$LINENO: checking for $ac_func" >&5
24137 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
24138 if eval "test \"\${$as_ac_var+set}\" = set"; then
24139   echo $ECHO_N "(cached) $ECHO_C" >&6
24140 else
24141   if test x$gcc_no_link = xyes; then
24142   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
24143 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
24144    { (exit 1); exit 1; }; }
24145 fi
24146 cat >conftest.$ac_ext <<_ACEOF
24147 /* confdefs.h.  */
24148 _ACEOF
24149 cat confdefs.h >>conftest.$ac_ext
24150 cat >>conftest.$ac_ext <<_ACEOF
24151 /* end confdefs.h.  */
24152 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
24153    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
24154 #define $ac_func innocuous_$ac_func
24155
24156 /* System header to define __stub macros and hopefully few prototypes,
24157     which can conflict with char $ac_func (); below.
24158     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
24159     <limits.h> exists even on freestanding compilers.  */
24160
24161 #ifdef __STDC__
24162 # include <limits.h>
24163 #else
24164 # include <assert.h>
24165 #endif
24166
24167 #undef $ac_func
24168
24169 /* Override any gcc2 internal prototype to avoid an error.  */
24170 #ifdef __cplusplus
24171 extern "C"
24172 {
24173 #endif
24174 /* We use char because int might match the return type of a gcc2
24175    builtin and then its argument prototype would still apply.  */
24176 char $ac_func ();
24177 /* The GNU C library defines this for functions which it implements
24178     to always fail with ENOSYS.  Some functions are actually named
24179     something starting with __ and the normal name is an alias.  */
24180 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
24181 choke me
24182 #else
24183 char (*f) () = $ac_func;
24184 #endif
24185 #ifdef __cplusplus
24186 }
24187 #endif
24188
24189 int
24190 main ()
24191 {
24192 return f != $ac_func;
24193   ;
24194   return 0;
24195 }
24196 _ACEOF
24197 rm -f conftest.$ac_objext conftest$ac_exeext
24198 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24199   (eval $ac_link) 2>conftest.er1
24200   ac_status=$?
24201   grep -v '^ *+' conftest.er1 >conftest.err
24202   rm -f conftest.er1
24203   cat conftest.err >&5
24204   echo "$as_me:$LINENO: \$? = $ac_status" >&5
24205   (exit $ac_status); } &&
24206          { ac_try='test -z "$ac_c_werror_flag"
24207                          || test ! -s conftest.err'
24208   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24209   (eval $ac_try) 2>&5
24210   ac_status=$?
24211   echo "$as_me:$LINENO: \$? = $ac_status" >&5
24212   (exit $ac_status); }; } &&
24213          { ac_try='test -s conftest$ac_exeext'
24214   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24215   (eval $ac_try) 2>&5
24216   ac_status=$?
24217   echo "$as_me:$LINENO: \$? = $ac_status" >&5
24218   (exit $ac_status); }; }; then
24219   eval "$as_ac_var=yes"
24220 else
24221   echo "$as_me: failed program was:" >&5
24222 sed 's/^/| /' conftest.$ac_ext >&5
24223
24224 eval "$as_ac_var=no"
24225 fi
24226 rm -f conftest.err conftest.$ac_objext \
24227       conftest$ac_exeext conftest.$ac_ext
24228 fi
24229 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
24230 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
24231 if test `eval echo '${'$as_ac_var'}'` = yes; then
24232   cat >>confdefs.h <<_ACEOF
24233 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
24234 _ACEOF
24235
24236 fi
24237 done
24238
24239   else
24240
24241   echo "$as_me:$LINENO: checking for _logl declaration" >&5
24242 echo $ECHO_N "checking for _logl declaration... $ECHO_C" >&6
24243   if test x${glibcxx_cv_func__logl_use+set} != xset; then
24244     if test "${glibcxx_cv_func__logl_use+set}" = set; then
24245   echo $ECHO_N "(cached) $ECHO_C" >&6
24246 else
24247
24248
24249
24250       ac_ext=cc
24251 ac_cpp='$CXXCPP $CPPFLAGS'
24252 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24253 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24254 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24255
24256       cat >conftest.$ac_ext <<_ACEOF
24257 /* confdefs.h.  */
24258 _ACEOF
24259 cat confdefs.h >>conftest.$ac_ext
24260 cat >>conftest.$ac_ext <<_ACEOF
24261 /* end confdefs.h.  */
24262 #include <math.h>
24263                       #ifdef HAVE_IEEEFP_H
24264                       #include <ieeefp.h>
24265                       #endif
24266
24267 int
24268 main ()
24269 {
24270  _logl(0);
24271   ;
24272   return 0;
24273 }
24274 _ACEOF
24275 rm -f conftest.$ac_objext
24276 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
24277   (eval $ac_compile) 2>conftest.er1
24278   ac_status=$?
24279   grep -v '^ *+' conftest.er1 >conftest.err
24280   rm -f conftest.er1
24281   cat conftest.err >&5
24282   echo "$as_me:$LINENO: \$? = $ac_status" >&5
24283   (exit $ac_status); } &&
24284          { ac_try='test -z "$ac_cxx_werror_flag"
24285                          || test ! -s conftest.err'
24286   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24287   (eval $ac_try) 2>&5
24288   ac_status=$?
24289   echo "$as_me:$LINENO: \$? = $ac_status" >&5
24290   (exit $ac_status); }; } &&
24291          { ac_try='test -s conftest.$ac_objext'
24292   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24293   (eval $ac_try) 2>&5
24294   ac_status=$?
24295   echo "$as_me:$LINENO: \$? = $ac_status" >&5
24296   (exit $ac_status); }; }; then
24297   glibcxx_cv_func__logl_use=yes
24298 else
24299   echo "$as_me: failed program was:" >&5
24300 sed 's/^/| /' conftest.$ac_ext >&5
24301
24302 glibcxx_cv_func__logl_use=no
24303 fi
24304 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
24305       ac_ext=c
24306 ac_cpp='$CPP $CPPFLAGS'
24307 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24308 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24309 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24310
24311
24312 fi
24313
24314   fi
24315   echo "$as_me:$LINENO: result: $glibcxx_cv_func__logl_use" >&5
24316 echo "${ECHO_T}$glibcxx_cv_func__logl_use" >&6
24317
24318     if test x$glibcxx_cv_func__logl_use = x"yes"; then
24319
24320 for ac_func in _logl
24321 do
24322 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
24323 echo "$as_me:$LINENO: checking for $ac_func" >&5
24324 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
24325 if eval "test \"\${$as_ac_var+set}\" = set"; then
24326   echo $ECHO_N "(cached) $ECHO_C" >&6
24327 else
24328   if test x$gcc_no_link = xyes; then
24329   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
24330 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
24331    { (exit 1); exit 1; }; }
24332 fi
24333 cat >conftest.$ac_ext <<_ACEOF
24334 /* confdefs.h.  */
24335 _ACEOF
24336 cat confdefs.h >>conftest.$ac_ext
24337 cat >>conftest.$ac_ext <<_ACEOF
24338 /* end confdefs.h.  */
24339 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
24340    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
24341 #define $ac_func innocuous_$ac_func
24342
24343 /* System header to define __stub macros and hopefully few prototypes,
24344     which can conflict with char $ac_func (); below.
24345     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
24346     <limits.h> exists even on freestanding compilers.  */
24347
24348 #ifdef __STDC__
24349 # include <limits.h>
24350 #else
24351 # include <assert.h>
24352 #endif
24353
24354 #undef $ac_func
24355
24356 /* Override any gcc2 internal prototype to avoid an error.  */
24357 #ifdef __cplusplus
24358 extern "C"
24359 {
24360 #endif
24361 /* We use char because int might match the return type of a gcc2
24362    builtin and then its argument prototype would still apply.  */
24363 char $ac_func ();
24364 /* The GNU C library defines this for functions which it implements
24365     to always fail with ENOSYS.  Some functions are actually named
24366     something starting with __ and the normal name is an alias.  */
24367 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
24368 choke me
24369 #else
24370 char (*f) () = $ac_func;
24371 #endif
24372 #ifdef __cplusplus
24373 }
24374 #endif
24375
24376 int
24377 main ()
24378 {
24379 return f != $ac_func;
24380   ;
24381   return 0;
24382 }
24383 _ACEOF
24384 rm -f conftest.$ac_objext conftest$ac_exeext
24385 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24386   (eval $ac_link) 2>conftest.er1
24387   ac_status=$?
24388   grep -v '^ *+' conftest.er1 >conftest.err
24389   rm -f conftest.er1
24390   cat conftest.err >&5
24391   echo "$as_me:$LINENO: \$? = $ac_status" >&5
24392   (exit $ac_status); } &&
24393          { ac_try='test -z "$ac_c_werror_flag"
24394                          || test ! -s conftest.err'
24395   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24396   (eval $ac_try) 2>&5
24397   ac_status=$?
24398   echo "$as_me:$LINENO: \$? = $ac_status" >&5
24399   (exit $ac_status); }; } &&
24400          { ac_try='test -s conftest$ac_exeext'
24401   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24402   (eval $ac_try) 2>&5
24403   ac_status=$?
24404   echo "$as_me:$LINENO: \$? = $ac_status" >&5
24405   (exit $ac_status); }; }; then
24406   eval "$as_ac_var=yes"
24407 else
24408   echo "$as_me: failed program was:" >&5
24409 sed 's/^/| /' conftest.$ac_ext >&5
24410
24411 eval "$as_ac_var=no"
24412 fi
24413 rm -f conftest.err conftest.$ac_objext \
24414       conftest$ac_exeext conftest.$ac_ext
24415 fi
24416 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
24417 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
24418 if test `eval echo '${'$as_ac_var'}'` = yes; then
24419   cat >>confdefs.h <<_ACEOF
24420 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
24421 _ACEOF
24422
24423 fi
24424 done
24425
24426     fi
24427   fi
24428
24429
24430
24431
24432
24433
24434   echo "$as_me:$LINENO: checking for log10l declaration" >&5
24435 echo $ECHO_N "checking for log10l declaration... $ECHO_C" >&6
24436   if test x${glibcxx_cv_func_log10l_use+set} != xset; then
24437     if test "${glibcxx_cv_func_log10l_use+set}" = set; then
24438   echo $ECHO_N "(cached) $ECHO_C" >&6
24439 else
24440
24441
24442
24443       ac_ext=cc
24444 ac_cpp='$CXXCPP $CPPFLAGS'
24445 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24446 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24447 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24448
24449       cat >conftest.$ac_ext <<_ACEOF
24450 /* confdefs.h.  */
24451 _ACEOF
24452 cat confdefs.h >>conftest.$ac_ext
24453 cat >>conftest.$ac_ext <<_ACEOF
24454 /* end confdefs.h.  */
24455 #include <math.h>
24456                       #ifdef HAVE_IEEEFP_H
24457                       #include <ieeefp.h>
24458                       #endif
24459
24460 int
24461 main ()
24462 {
24463  log10l(0);
24464   ;
24465   return 0;
24466 }
24467 _ACEOF
24468 rm -f conftest.$ac_objext
24469 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
24470   (eval $ac_compile) 2>conftest.er1
24471   ac_status=$?
24472   grep -v '^ *+' conftest.er1 >conftest.err
24473   rm -f conftest.er1
24474   cat conftest.err >&5
24475   echo "$as_me:$LINENO: \$? = $ac_status" >&5
24476   (exit $ac_status); } &&
24477          { ac_try='test -z "$ac_cxx_werror_flag"
24478                          || test ! -s conftest.err'
24479   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24480   (eval $ac_try) 2>&5
24481   ac_status=$?
24482   echo "$as_me:$LINENO: \$? = $ac_status" >&5
24483   (exit $ac_status); }; } &&
24484          { ac_try='test -s conftest.$ac_objext'
24485   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24486   (eval $ac_try) 2>&5
24487   ac_status=$?
24488   echo "$as_me:$LINENO: \$? = $ac_status" >&5
24489   (exit $ac_status); }; }; then
24490   glibcxx_cv_func_log10l_use=yes
24491 else
24492   echo "$as_me: failed program was:" >&5
24493 sed 's/^/| /' conftest.$ac_ext >&5
24494
24495 glibcxx_cv_func_log10l_use=no
24496 fi
24497 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
24498       ac_ext=c
24499 ac_cpp='$CPP $CPPFLAGS'
24500 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24501 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24502 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24503
24504
24505 fi
24506
24507   fi
24508   echo "$as_me:$LINENO: result: $glibcxx_cv_func_log10l_use" >&5
24509 echo "${ECHO_T}$glibcxx_cv_func_log10l_use" >&6
24510
24511   if test x$glibcxx_cv_func_log10l_use = x"yes"; then
24512
24513 for ac_func in log10l
24514 do
24515 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
24516 echo "$as_me:$LINENO: checking for $ac_func" >&5
24517 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
24518 if eval "test \"\${$as_ac_var+set}\" = set"; then
24519   echo $ECHO_N "(cached) $ECHO_C" >&6
24520 else
24521   if test x$gcc_no_link = xyes; then
24522   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
24523 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
24524    { (exit 1); exit 1; }; }
24525 fi
24526 cat >conftest.$ac_ext <<_ACEOF
24527 /* confdefs.h.  */
24528 _ACEOF
24529 cat confdefs.h >>conftest.$ac_ext
24530 cat >>conftest.$ac_ext <<_ACEOF
24531 /* end confdefs.h.  */
24532 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
24533    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
24534 #define $ac_func innocuous_$ac_func
24535
24536 /* System header to define __stub macros and hopefully few prototypes,
24537     which can conflict with char $ac_func (); below.
24538     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
24539     <limits.h> exists even on freestanding compilers.  */
24540
24541 #ifdef __STDC__
24542 # include <limits.h>
24543 #else
24544 # include <assert.h>
24545 #endif
24546
24547 #undef $ac_func
24548
24549 /* Override any gcc2 internal prototype to avoid an error.  */
24550 #ifdef __cplusplus
24551 extern "C"
24552 {
24553 #endif
24554 /* We use char because int might match the return type of a gcc2
24555    builtin and then its argument prototype would still apply.  */
24556 char $ac_func ();
24557 /* The GNU C library defines this for functions which it implements
24558     to always fail with ENOSYS.  Some functions are actually named
24559     something starting with __ and the normal name is an alias.  */
24560 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
24561 choke me
24562 #else
24563 char (*f) () = $ac_func;
24564 #endif
24565 #ifdef __cplusplus
24566 }
24567 #endif
24568
24569 int
24570 main ()
24571 {
24572 return f != $ac_func;
24573   ;
24574   return 0;
24575 }
24576 _ACEOF
24577 rm -f conftest.$ac_objext conftest$ac_exeext
24578 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24579   (eval $ac_link) 2>conftest.er1
24580   ac_status=$?
24581   grep -v '^ *+' conftest.er1 >conftest.err
24582   rm -f conftest.er1
24583   cat conftest.err >&5
24584   echo "$as_me:$LINENO: \$? = $ac_status" >&5
24585   (exit $ac_status); } &&
24586          { ac_try='test -z "$ac_c_werror_flag"
24587                          || test ! -s conftest.err'
24588   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24589   (eval $ac_try) 2>&5
24590   ac_status=$?
24591   echo "$as_me:$LINENO: \$? = $ac_status" >&5
24592   (exit $ac_status); }; } &&
24593          { ac_try='test -s conftest$ac_exeext'
24594   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24595   (eval $ac_try) 2>&5
24596   ac_status=$?
24597   echo "$as_me:$LINENO: \$? = $ac_status" >&5
24598   (exit $ac_status); }; }; then
24599   eval "$as_ac_var=yes"
24600 else
24601   echo "$as_me: failed program was:" >&5
24602 sed 's/^/| /' conftest.$ac_ext >&5
24603
24604 eval "$as_ac_var=no"
24605 fi
24606 rm -f conftest.err conftest.$ac_objext \
24607       conftest$ac_exeext conftest.$ac_ext
24608 fi
24609 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
24610 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
24611 if test `eval echo '${'$as_ac_var'}'` = yes; then
24612   cat >>confdefs.h <<_ACEOF
24613 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
24614 _ACEOF
24615
24616 fi
24617 done
24618
24619   else
24620
24621   echo "$as_me:$LINENO: checking for _log10l declaration" >&5
24622 echo $ECHO_N "checking for _log10l declaration... $ECHO_C" >&6
24623   if test x${glibcxx_cv_func__log10l_use+set} != xset; then
24624     if test "${glibcxx_cv_func__log10l_use+set}" = set; then
24625   echo $ECHO_N "(cached) $ECHO_C" >&6
24626 else
24627
24628
24629
24630       ac_ext=cc
24631 ac_cpp='$CXXCPP $CPPFLAGS'
24632 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24633 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24634 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24635
24636       cat >conftest.$ac_ext <<_ACEOF
24637 /* confdefs.h.  */
24638 _ACEOF
24639 cat confdefs.h >>conftest.$ac_ext
24640 cat >>conftest.$ac_ext <<_ACEOF
24641 /* end confdefs.h.  */
24642 #include <math.h>
24643                       #ifdef HAVE_IEEEFP_H
24644                       #include <ieeefp.h>
24645                       #endif
24646
24647 int
24648 main ()
24649 {
24650  _log10l(0);
24651   ;
24652   return 0;
24653 }
24654 _ACEOF
24655 rm -f conftest.$ac_objext
24656 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
24657   (eval $ac_compile) 2>conftest.er1
24658   ac_status=$?
24659   grep -v '^ *+' conftest.er1 >conftest.err
24660   rm -f conftest.er1
24661   cat conftest.err >&5
24662   echo "$as_me:$LINENO: \$? = $ac_status" >&5
24663   (exit $ac_status); } &&
24664          { ac_try='test -z "$ac_cxx_werror_flag"
24665                          || test ! -s conftest.err'
24666   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24667   (eval $ac_try) 2>&5
24668   ac_status=$?
24669   echo "$as_me:$LINENO: \$? = $ac_status" >&5
24670   (exit $ac_status); }; } &&
24671          { ac_try='test -s conftest.$ac_objext'
24672   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24673   (eval $ac_try) 2>&5
24674   ac_status=$?
24675   echo "$as_me:$LINENO: \$? = $ac_status" >&5
24676   (exit $ac_status); }; }; then
24677   glibcxx_cv_func__log10l_use=yes
24678 else
24679   echo "$as_me: failed program was:" >&5
24680 sed 's/^/| /' conftest.$ac_ext >&5
24681
24682 glibcxx_cv_func__log10l_use=no
24683 fi
24684 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
24685       ac_ext=c
24686 ac_cpp='$CPP $CPPFLAGS'
24687 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24688 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24689 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24690
24691
24692 fi
24693
24694   fi
24695   echo "$as_me:$LINENO: result: $glibcxx_cv_func__log10l_use" >&5
24696 echo "${ECHO_T}$glibcxx_cv_func__log10l_use" >&6
24697
24698     if test x$glibcxx_cv_func__log10l_use = x"yes"; then
24699
24700 for ac_func in _log10l
24701 do
24702 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
24703 echo "$as_me:$LINENO: checking for $ac_func" >&5
24704 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
24705 if eval "test \"\${$as_ac_var+set}\" = set"; then
24706   echo $ECHO_N "(cached) $ECHO_C" >&6
24707 else
24708   if test x$gcc_no_link = xyes; then
24709   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
24710 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
24711    { (exit 1); exit 1; }; }
24712 fi
24713 cat >conftest.$ac_ext <<_ACEOF
24714 /* confdefs.h.  */
24715 _ACEOF
24716 cat confdefs.h >>conftest.$ac_ext
24717 cat >>conftest.$ac_ext <<_ACEOF
24718 /* end confdefs.h.  */
24719 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
24720    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
24721 #define $ac_func innocuous_$ac_func
24722
24723 /* System header to define __stub macros and hopefully few prototypes,
24724     which can conflict with char $ac_func (); below.
24725     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
24726     <limits.h> exists even on freestanding compilers.  */
24727
24728 #ifdef __STDC__
24729 # include <limits.h>
24730 #else
24731 # include <assert.h>
24732 #endif
24733
24734 #undef $ac_func
24735
24736 /* Override any gcc2 internal prototype to avoid an error.  */
24737 #ifdef __cplusplus
24738 extern "C"
24739 {
24740 #endif
24741 /* We use char because int might match the return type of a gcc2
24742    builtin and then its argument prototype would still apply.  */
24743 char $ac_func ();
24744 /* The GNU C library defines this for functions which it implements
24745     to always fail with ENOSYS.  Some functions are actually named
24746     something starting with __ and the normal name is an alias.  */
24747 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
24748 choke me
24749 #else
24750 char (*f) () = $ac_func;
24751 #endif
24752 #ifdef __cplusplus
24753 }
24754 #endif
24755
24756 int
24757 main ()
24758 {
24759 return f != $ac_func;
24760   ;
24761   return 0;
24762 }
24763 _ACEOF
24764 rm -f conftest.$ac_objext conftest$ac_exeext
24765 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24766   (eval $ac_link) 2>conftest.er1
24767   ac_status=$?
24768   grep -v '^ *+' conftest.er1 >conftest.err
24769   rm -f conftest.er1
24770   cat conftest.err >&5
24771   echo "$as_me:$LINENO: \$? = $ac_status" >&5
24772   (exit $ac_status); } &&
24773          { ac_try='test -z "$ac_c_werror_flag"
24774                          || test ! -s conftest.err'
24775   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24776   (eval $ac_try) 2>&5
24777   ac_status=$?
24778   echo "$as_me:$LINENO: \$? = $ac_status" >&5
24779   (exit $ac_status); }; } &&
24780          { ac_try='test -s conftest$ac_exeext'
24781   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24782   (eval $ac_try) 2>&5
24783   ac_status=$?
24784   echo "$as_me:$LINENO: \$? = $ac_status" >&5
24785   (exit $ac_status); }; }; then
24786   eval "$as_ac_var=yes"
24787 else
24788   echo "$as_me: failed program was:" >&5
24789 sed 's/^/| /' conftest.$ac_ext >&5
24790
24791 eval "$as_ac_var=no"
24792 fi
24793 rm -f conftest.err conftest.$ac_objext \
24794       conftest$ac_exeext conftest.$ac_ext
24795 fi
24796 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
24797 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
24798 if test `eval echo '${'$as_ac_var'}'` = yes; then
24799   cat >>confdefs.h <<_ACEOF
24800 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
24801 _ACEOF
24802
24803 fi
24804 done
24805
24806     fi
24807   fi
24808
24809
24810
24811
24812
24813
24814   echo "$as_me:$LINENO: checking for modfl declaration" >&5
24815 echo $ECHO_N "checking for modfl declaration... $ECHO_C" >&6
24816   if test x${glibcxx_cv_func_modfl_use+set} != xset; then
24817     if test "${glibcxx_cv_func_modfl_use+set}" = set; then
24818   echo $ECHO_N "(cached) $ECHO_C" >&6
24819 else
24820
24821
24822
24823       ac_ext=cc
24824 ac_cpp='$CXXCPP $CPPFLAGS'
24825 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24826 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24827 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24828
24829       cat >conftest.$ac_ext <<_ACEOF
24830 /* confdefs.h.  */
24831 _ACEOF
24832 cat confdefs.h >>conftest.$ac_ext
24833 cat >>conftest.$ac_ext <<_ACEOF
24834 /* end confdefs.h.  */
24835 #include <math.h>
24836 int
24837 main ()
24838 {
24839  modfl(0, 0);
24840   ;
24841   return 0;
24842 }
24843 _ACEOF
24844 rm -f conftest.$ac_objext
24845 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
24846   (eval $ac_compile) 2>conftest.er1
24847   ac_status=$?
24848   grep -v '^ *+' conftest.er1 >conftest.err
24849   rm -f conftest.er1
24850   cat conftest.err >&5
24851   echo "$as_me:$LINENO: \$? = $ac_status" >&5
24852   (exit $ac_status); } &&
24853          { ac_try='test -z "$ac_cxx_werror_flag"
24854                          || test ! -s conftest.err'
24855   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24856   (eval $ac_try) 2>&5
24857   ac_status=$?
24858   echo "$as_me:$LINENO: \$? = $ac_status" >&5
24859   (exit $ac_status); }; } &&
24860          { ac_try='test -s conftest.$ac_objext'
24861   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24862   (eval $ac_try) 2>&5
24863   ac_status=$?
24864   echo "$as_me:$LINENO: \$? = $ac_status" >&5
24865   (exit $ac_status); }; }; then
24866   glibcxx_cv_func_modfl_use=yes
24867 else
24868   echo "$as_me: failed program was:" >&5
24869 sed 's/^/| /' conftest.$ac_ext >&5
24870
24871 glibcxx_cv_func_modfl_use=no
24872 fi
24873 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
24874       ac_ext=c
24875 ac_cpp='$CPP $CPPFLAGS'
24876 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24877 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24878 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24879
24880
24881 fi
24882
24883   fi
24884   echo "$as_me:$LINENO: result: $glibcxx_cv_func_modfl_use" >&5
24885 echo "${ECHO_T}$glibcxx_cv_func_modfl_use" >&6
24886
24887   if test x$glibcxx_cv_func_modfl_use = x"yes"; then
24888
24889 for ac_func in modfl
24890 do
24891 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
24892 echo "$as_me:$LINENO: checking for $ac_func" >&5
24893 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
24894 if eval "test \"\${$as_ac_var+set}\" = set"; then
24895   echo $ECHO_N "(cached) $ECHO_C" >&6
24896 else
24897   if test x$gcc_no_link = xyes; then
24898   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
24899 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
24900    { (exit 1); exit 1; }; }
24901 fi
24902 cat >conftest.$ac_ext <<_ACEOF
24903 /* confdefs.h.  */
24904 _ACEOF
24905 cat confdefs.h >>conftest.$ac_ext
24906 cat >>conftest.$ac_ext <<_ACEOF
24907 /* end confdefs.h.  */
24908 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
24909    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
24910 #define $ac_func innocuous_$ac_func
24911
24912 /* System header to define __stub macros and hopefully few prototypes,
24913     which can conflict with char $ac_func (); below.
24914     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
24915     <limits.h> exists even on freestanding compilers.  */
24916
24917 #ifdef __STDC__
24918 # include <limits.h>
24919 #else
24920 # include <assert.h>
24921 #endif
24922
24923 #undef $ac_func
24924
24925 /* Override any gcc2 internal prototype to avoid an error.  */
24926 #ifdef __cplusplus
24927 extern "C"
24928 {
24929 #endif
24930 /* We use char because int might match the return type of a gcc2
24931    builtin and then its argument prototype would still apply.  */
24932 char $ac_func ();
24933 /* The GNU C library defines this for functions which it implements
24934     to always fail with ENOSYS.  Some functions are actually named
24935     something starting with __ and the normal name is an alias.  */
24936 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
24937 choke me
24938 #else
24939 char (*f) () = $ac_func;
24940 #endif
24941 #ifdef __cplusplus
24942 }
24943 #endif
24944
24945 int
24946 main ()
24947 {
24948 return f != $ac_func;
24949   ;
24950   return 0;
24951 }
24952 _ACEOF
24953 rm -f conftest.$ac_objext conftest$ac_exeext
24954 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24955   (eval $ac_link) 2>conftest.er1
24956   ac_status=$?
24957   grep -v '^ *+' conftest.er1 >conftest.err
24958   rm -f conftest.er1
24959   cat conftest.err >&5
24960   echo "$as_me:$LINENO: \$? = $ac_status" >&5
24961   (exit $ac_status); } &&
24962          { ac_try='test -z "$ac_c_werror_flag"
24963                          || test ! -s conftest.err'
24964   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24965   (eval $ac_try) 2>&5
24966   ac_status=$?
24967   echo "$as_me:$LINENO: \$? = $ac_status" >&5
24968   (exit $ac_status); }; } &&
24969          { ac_try='test -s conftest$ac_exeext'
24970   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24971   (eval $ac_try) 2>&5
24972   ac_status=$?
24973   echo "$as_me:$LINENO: \$? = $ac_status" >&5
24974   (exit $ac_status); }; }; then
24975   eval "$as_ac_var=yes"
24976 else
24977   echo "$as_me: failed program was:" >&5
24978 sed 's/^/| /' conftest.$ac_ext >&5
24979
24980 eval "$as_ac_var=no"
24981 fi
24982 rm -f conftest.err conftest.$ac_objext \
24983       conftest$ac_exeext conftest.$ac_ext
24984 fi
24985 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
24986 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
24987 if test `eval echo '${'$as_ac_var'}'` = yes; then
24988   cat >>confdefs.h <<_ACEOF
24989 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
24990 _ACEOF
24991
24992 fi
24993 done
24994
24995   else
24996
24997   echo "$as_me:$LINENO: checking for _modfl declaration" >&5
24998 echo $ECHO_N "checking for _modfl declaration... $ECHO_C" >&6
24999   if test x${glibcxx_cv_func__modfl_use+set} != xset; then
25000     if test "${glibcxx_cv_func__modfl_use+set}" = set; then
25001   echo $ECHO_N "(cached) $ECHO_C" >&6
25002 else
25003
25004
25005
25006       ac_ext=cc
25007 ac_cpp='$CXXCPP $CPPFLAGS'
25008 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25009 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25010 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25011
25012       cat >conftest.$ac_ext <<_ACEOF
25013 /* confdefs.h.  */
25014 _ACEOF
25015 cat confdefs.h >>conftest.$ac_ext
25016 cat >>conftest.$ac_ext <<_ACEOF
25017 /* end confdefs.h.  */
25018 #include <math.h>
25019 int
25020 main ()
25021 {
25022  _modfl(0, 0);
25023   ;
25024   return 0;
25025 }
25026 _ACEOF
25027 rm -f conftest.$ac_objext
25028 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
25029   (eval $ac_compile) 2>conftest.er1
25030   ac_status=$?
25031   grep -v '^ *+' conftest.er1 >conftest.err
25032   rm -f conftest.er1
25033   cat conftest.err >&5
25034   echo "$as_me:$LINENO: \$? = $ac_status" >&5
25035   (exit $ac_status); } &&
25036          { ac_try='test -z "$ac_cxx_werror_flag"
25037                          || test ! -s conftest.err'
25038   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25039   (eval $ac_try) 2>&5
25040   ac_status=$?
25041   echo "$as_me:$LINENO: \$? = $ac_status" >&5
25042   (exit $ac_status); }; } &&
25043          { ac_try='test -s conftest.$ac_objext'
25044   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25045   (eval $ac_try) 2>&5
25046   ac_status=$?
25047   echo "$as_me:$LINENO: \$? = $ac_status" >&5
25048   (exit $ac_status); }; }; then
25049   glibcxx_cv_func__modfl_use=yes
25050 else
25051   echo "$as_me: failed program was:" >&5
25052 sed 's/^/| /' conftest.$ac_ext >&5
25053
25054 glibcxx_cv_func__modfl_use=no
25055 fi
25056 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
25057       ac_ext=c
25058 ac_cpp='$CPP $CPPFLAGS'
25059 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25060 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25061 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25062
25063
25064 fi
25065
25066   fi
25067   echo "$as_me:$LINENO: result: $glibcxx_cv_func__modfl_use" >&5
25068 echo "${ECHO_T}$glibcxx_cv_func__modfl_use" >&6
25069
25070     if test x$glibcxx_cv_func__modfl_use = x"yes"; then
25071
25072 for ac_func in _modfl
25073 do
25074 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
25075 echo "$as_me:$LINENO: checking for $ac_func" >&5
25076 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
25077 if eval "test \"\${$as_ac_var+set}\" = set"; then
25078   echo $ECHO_N "(cached) $ECHO_C" >&6
25079 else
25080   if test x$gcc_no_link = xyes; then
25081   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
25082 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
25083    { (exit 1); exit 1; }; }
25084 fi
25085 cat >conftest.$ac_ext <<_ACEOF
25086 /* confdefs.h.  */
25087 _ACEOF
25088 cat confdefs.h >>conftest.$ac_ext
25089 cat >>conftest.$ac_ext <<_ACEOF
25090 /* end confdefs.h.  */
25091 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
25092    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
25093 #define $ac_func innocuous_$ac_func
25094
25095 /* System header to define __stub macros and hopefully few prototypes,
25096     which can conflict with char $ac_func (); below.
25097     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
25098     <limits.h> exists even on freestanding compilers.  */
25099
25100 #ifdef __STDC__
25101 # include <limits.h>
25102 #else
25103 # include <assert.h>
25104 #endif
25105
25106 #undef $ac_func
25107
25108 /* Override any gcc2 internal prototype to avoid an error.  */
25109 #ifdef __cplusplus
25110 extern "C"
25111 {
25112 #endif
25113 /* We use char because int might match the return type of a gcc2
25114    builtin and then its argument prototype would still apply.  */
25115 char $ac_func ();
25116 /* The GNU C library defines this for functions which it implements
25117     to always fail with ENOSYS.  Some functions are actually named
25118     something starting with __ and the normal name is an alias.  */
25119 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
25120 choke me
25121 #else
25122 char (*f) () = $ac_func;
25123 #endif
25124 #ifdef __cplusplus
25125 }
25126 #endif
25127
25128 int
25129 main ()
25130 {
25131 return f != $ac_func;
25132   ;
25133   return 0;
25134 }
25135 _ACEOF
25136 rm -f conftest.$ac_objext conftest$ac_exeext
25137 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25138   (eval $ac_link) 2>conftest.er1
25139   ac_status=$?
25140   grep -v '^ *+' conftest.er1 >conftest.err
25141   rm -f conftest.er1
25142   cat conftest.err >&5
25143   echo "$as_me:$LINENO: \$? = $ac_status" >&5
25144   (exit $ac_status); } &&
25145          { ac_try='test -z "$ac_c_werror_flag"
25146                          || test ! -s conftest.err'
25147   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25148   (eval $ac_try) 2>&5
25149   ac_status=$?
25150   echo "$as_me:$LINENO: \$? = $ac_status" >&5
25151   (exit $ac_status); }; } &&
25152          { ac_try='test -s conftest$ac_exeext'
25153   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25154   (eval $ac_try) 2>&5
25155   ac_status=$?
25156   echo "$as_me:$LINENO: \$? = $ac_status" >&5
25157   (exit $ac_status); }; }; then
25158   eval "$as_ac_var=yes"
25159 else
25160   echo "$as_me: failed program was:" >&5
25161 sed 's/^/| /' conftest.$ac_ext >&5
25162
25163 eval "$as_ac_var=no"
25164 fi
25165 rm -f conftest.err conftest.$ac_objext \
25166       conftest$ac_exeext conftest.$ac_ext
25167 fi
25168 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
25169 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
25170 if test `eval echo '${'$as_ac_var'}'` = yes; then
25171   cat >>confdefs.h <<_ACEOF
25172 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
25173 _ACEOF
25174
25175 fi
25176 done
25177
25178     fi
25179   fi
25180
25181
25182
25183
25184
25185
25186   echo "$as_me:$LINENO: checking for powl declaration" >&5
25187 echo $ECHO_N "checking for powl declaration... $ECHO_C" >&6
25188   if test x${glibcxx_cv_func_powl_use+set} != xset; then
25189     if test "${glibcxx_cv_func_powl_use+set}" = set; then
25190   echo $ECHO_N "(cached) $ECHO_C" >&6
25191 else
25192
25193
25194
25195       ac_ext=cc
25196 ac_cpp='$CXXCPP $CPPFLAGS'
25197 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25198 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25199 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25200
25201       cat >conftest.$ac_ext <<_ACEOF
25202 /* confdefs.h.  */
25203 _ACEOF
25204 cat confdefs.h >>conftest.$ac_ext
25205 cat >>conftest.$ac_ext <<_ACEOF
25206 /* end confdefs.h.  */
25207 #include <math.h>
25208 int
25209 main ()
25210 {
25211  powl(0, 0);
25212   ;
25213   return 0;
25214 }
25215 _ACEOF
25216 rm -f conftest.$ac_objext
25217 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
25218   (eval $ac_compile) 2>conftest.er1
25219   ac_status=$?
25220   grep -v '^ *+' conftest.er1 >conftest.err
25221   rm -f conftest.er1
25222   cat conftest.err >&5
25223   echo "$as_me:$LINENO: \$? = $ac_status" >&5
25224   (exit $ac_status); } &&
25225          { ac_try='test -z "$ac_cxx_werror_flag"
25226                          || test ! -s conftest.err'
25227   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25228   (eval $ac_try) 2>&5
25229   ac_status=$?
25230   echo "$as_me:$LINENO: \$? = $ac_status" >&5
25231   (exit $ac_status); }; } &&
25232          { ac_try='test -s conftest.$ac_objext'
25233   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25234   (eval $ac_try) 2>&5
25235   ac_status=$?
25236   echo "$as_me:$LINENO: \$? = $ac_status" >&5
25237   (exit $ac_status); }; }; then
25238   glibcxx_cv_func_powl_use=yes
25239 else
25240   echo "$as_me: failed program was:" >&5
25241 sed 's/^/| /' conftest.$ac_ext >&5
25242
25243 glibcxx_cv_func_powl_use=no
25244 fi
25245 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
25246       ac_ext=c
25247 ac_cpp='$CPP $CPPFLAGS'
25248 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25249 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25250 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25251
25252
25253 fi
25254
25255   fi
25256   echo "$as_me:$LINENO: result: $glibcxx_cv_func_powl_use" >&5
25257 echo "${ECHO_T}$glibcxx_cv_func_powl_use" >&6
25258
25259   if test x$glibcxx_cv_func_powl_use = x"yes"; then
25260
25261 for ac_func in powl
25262 do
25263 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
25264 echo "$as_me:$LINENO: checking for $ac_func" >&5
25265 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
25266 if eval "test \"\${$as_ac_var+set}\" = set"; then
25267   echo $ECHO_N "(cached) $ECHO_C" >&6
25268 else
25269   if test x$gcc_no_link = xyes; then
25270   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
25271 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
25272    { (exit 1); exit 1; }; }
25273 fi
25274 cat >conftest.$ac_ext <<_ACEOF
25275 /* confdefs.h.  */
25276 _ACEOF
25277 cat confdefs.h >>conftest.$ac_ext
25278 cat >>conftest.$ac_ext <<_ACEOF
25279 /* end confdefs.h.  */
25280 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
25281    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
25282 #define $ac_func innocuous_$ac_func
25283
25284 /* System header to define __stub macros and hopefully few prototypes,
25285     which can conflict with char $ac_func (); below.
25286     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
25287     <limits.h> exists even on freestanding compilers.  */
25288
25289 #ifdef __STDC__
25290 # include <limits.h>
25291 #else
25292 # include <assert.h>
25293 #endif
25294
25295 #undef $ac_func
25296
25297 /* Override any gcc2 internal prototype to avoid an error.  */
25298 #ifdef __cplusplus
25299 extern "C"
25300 {
25301 #endif
25302 /* We use char because int might match the return type of a gcc2
25303    builtin and then its argument prototype would still apply.  */
25304 char $ac_func ();
25305 /* The GNU C library defines this for functions which it implements
25306     to always fail with ENOSYS.  Some functions are actually named
25307     something starting with __ and the normal name is an alias.  */
25308 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
25309 choke me
25310 #else
25311 char (*f) () = $ac_func;
25312 #endif
25313 #ifdef __cplusplus
25314 }
25315 #endif
25316
25317 int
25318 main ()
25319 {
25320 return f != $ac_func;
25321   ;
25322   return 0;
25323 }
25324 _ACEOF
25325 rm -f conftest.$ac_objext conftest$ac_exeext
25326 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25327   (eval $ac_link) 2>conftest.er1
25328   ac_status=$?
25329   grep -v '^ *+' conftest.er1 >conftest.err
25330   rm -f conftest.er1
25331   cat conftest.err >&5
25332   echo "$as_me:$LINENO: \$? = $ac_status" >&5
25333   (exit $ac_status); } &&
25334          { ac_try='test -z "$ac_c_werror_flag"
25335                          || test ! -s conftest.err'
25336   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25337   (eval $ac_try) 2>&5
25338   ac_status=$?
25339   echo "$as_me:$LINENO: \$? = $ac_status" >&5
25340   (exit $ac_status); }; } &&
25341          { ac_try='test -s conftest$ac_exeext'
25342   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25343   (eval $ac_try) 2>&5
25344   ac_status=$?
25345   echo "$as_me:$LINENO: \$? = $ac_status" >&5
25346   (exit $ac_status); }; }; then
25347   eval "$as_ac_var=yes"
25348 else
25349   echo "$as_me: failed program was:" >&5
25350 sed 's/^/| /' conftest.$ac_ext >&5
25351
25352 eval "$as_ac_var=no"
25353 fi
25354 rm -f conftest.err conftest.$ac_objext \
25355       conftest$ac_exeext conftest.$ac_ext
25356 fi
25357 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
25358 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
25359 if test `eval echo '${'$as_ac_var'}'` = yes; then
25360   cat >>confdefs.h <<_ACEOF
25361 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
25362 _ACEOF
25363
25364 fi
25365 done
25366
25367   else
25368
25369   echo "$as_me:$LINENO: checking for _powl declaration" >&5
25370 echo $ECHO_N "checking for _powl declaration... $ECHO_C" >&6
25371   if test x${glibcxx_cv_func__powl_use+set} != xset; then
25372     if test "${glibcxx_cv_func__powl_use+set}" = set; then
25373   echo $ECHO_N "(cached) $ECHO_C" >&6
25374 else
25375
25376
25377
25378       ac_ext=cc
25379 ac_cpp='$CXXCPP $CPPFLAGS'
25380 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25381 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25382 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25383
25384       cat >conftest.$ac_ext <<_ACEOF
25385 /* confdefs.h.  */
25386 _ACEOF
25387 cat confdefs.h >>conftest.$ac_ext
25388 cat >>conftest.$ac_ext <<_ACEOF
25389 /* end confdefs.h.  */
25390 #include <math.h>
25391 int
25392 main ()
25393 {
25394  _powl(0, 0);
25395   ;
25396   return 0;
25397 }
25398 _ACEOF
25399 rm -f conftest.$ac_objext
25400 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
25401   (eval $ac_compile) 2>conftest.er1
25402   ac_status=$?
25403   grep -v '^ *+' conftest.er1 >conftest.err
25404   rm -f conftest.er1
25405   cat conftest.err >&5
25406   echo "$as_me:$LINENO: \$? = $ac_status" >&5
25407   (exit $ac_status); } &&
25408          { ac_try='test -z "$ac_cxx_werror_flag"
25409                          || test ! -s conftest.err'
25410   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25411   (eval $ac_try) 2>&5
25412   ac_status=$?
25413   echo "$as_me:$LINENO: \$? = $ac_status" >&5
25414   (exit $ac_status); }; } &&
25415          { ac_try='test -s conftest.$ac_objext'
25416   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25417   (eval $ac_try) 2>&5
25418   ac_status=$?
25419   echo "$as_me:$LINENO: \$? = $ac_status" >&5
25420   (exit $ac_status); }; }; then
25421   glibcxx_cv_func__powl_use=yes
25422 else
25423   echo "$as_me: failed program was:" >&5
25424 sed 's/^/| /' conftest.$ac_ext >&5
25425
25426 glibcxx_cv_func__powl_use=no
25427 fi
25428 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
25429       ac_ext=c
25430 ac_cpp='$CPP $CPPFLAGS'
25431 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25432 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25433 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25434
25435
25436 fi
25437
25438   fi
25439   echo "$as_me:$LINENO: result: $glibcxx_cv_func__powl_use" >&5
25440 echo "${ECHO_T}$glibcxx_cv_func__powl_use" >&6
25441
25442     if test x$glibcxx_cv_func__powl_use = x"yes"; then
25443
25444 for ac_func in _powl
25445 do
25446 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
25447 echo "$as_me:$LINENO: checking for $ac_func" >&5
25448 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
25449 if eval "test \"\${$as_ac_var+set}\" = set"; then
25450   echo $ECHO_N "(cached) $ECHO_C" >&6
25451 else
25452   if test x$gcc_no_link = xyes; then
25453   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
25454 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
25455    { (exit 1); exit 1; }; }
25456 fi
25457 cat >conftest.$ac_ext <<_ACEOF
25458 /* confdefs.h.  */
25459 _ACEOF
25460 cat confdefs.h >>conftest.$ac_ext
25461 cat >>conftest.$ac_ext <<_ACEOF
25462 /* end confdefs.h.  */
25463 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
25464    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
25465 #define $ac_func innocuous_$ac_func
25466
25467 /* System header to define __stub macros and hopefully few prototypes,
25468     which can conflict with char $ac_func (); below.
25469     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
25470     <limits.h> exists even on freestanding compilers.  */
25471
25472 #ifdef __STDC__
25473 # include <limits.h>
25474 #else
25475 # include <assert.h>
25476 #endif
25477
25478 #undef $ac_func
25479
25480 /* Override any gcc2 internal prototype to avoid an error.  */
25481 #ifdef __cplusplus
25482 extern "C"
25483 {
25484 #endif
25485 /* We use char because int might match the return type of a gcc2
25486    builtin and then its argument prototype would still apply.  */
25487 char $ac_func ();
25488 /* The GNU C library defines this for functions which it implements
25489     to always fail with ENOSYS.  Some functions are actually named
25490     something starting with __ and the normal name is an alias.  */
25491 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
25492 choke me
25493 #else
25494 char (*f) () = $ac_func;
25495 #endif
25496 #ifdef __cplusplus
25497 }
25498 #endif
25499
25500 int
25501 main ()
25502 {
25503 return f != $ac_func;
25504   ;
25505   return 0;
25506 }
25507 _ACEOF
25508 rm -f conftest.$ac_objext conftest$ac_exeext
25509 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25510   (eval $ac_link) 2>conftest.er1
25511   ac_status=$?
25512   grep -v '^ *+' conftest.er1 >conftest.err
25513   rm -f conftest.er1
25514   cat conftest.err >&5
25515   echo "$as_me:$LINENO: \$? = $ac_status" >&5
25516   (exit $ac_status); } &&
25517          { ac_try='test -z "$ac_c_werror_flag"
25518                          || test ! -s conftest.err'
25519   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25520   (eval $ac_try) 2>&5
25521   ac_status=$?
25522   echo "$as_me:$LINENO: \$? = $ac_status" >&5
25523   (exit $ac_status); }; } &&
25524          { ac_try='test -s conftest$ac_exeext'
25525   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25526   (eval $ac_try) 2>&5
25527   ac_status=$?
25528   echo "$as_me:$LINENO: \$? = $ac_status" >&5
25529   (exit $ac_status); }; }; then
25530   eval "$as_ac_var=yes"
25531 else
25532   echo "$as_me: failed program was:" >&5
25533 sed 's/^/| /' conftest.$ac_ext >&5
25534
25535 eval "$as_ac_var=no"
25536 fi
25537 rm -f conftest.err conftest.$ac_objext \
25538       conftest$ac_exeext conftest.$ac_ext
25539 fi
25540 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
25541 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
25542 if test `eval echo '${'$as_ac_var'}'` = yes; then
25543   cat >>confdefs.h <<_ACEOF
25544 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
25545 _ACEOF
25546
25547 fi
25548 done
25549
25550     fi
25551   fi
25552
25553
25554
25555
25556
25557
25558   echo "$as_me:$LINENO: checking for sqrtl declaration" >&5
25559 echo $ECHO_N "checking for sqrtl declaration... $ECHO_C" >&6
25560   if test x${glibcxx_cv_func_sqrtl_use+set} != xset; then
25561     if test "${glibcxx_cv_func_sqrtl_use+set}" = set; then
25562   echo $ECHO_N "(cached) $ECHO_C" >&6
25563 else
25564
25565
25566
25567       ac_ext=cc
25568 ac_cpp='$CXXCPP $CPPFLAGS'
25569 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25570 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25571 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25572
25573       cat >conftest.$ac_ext <<_ACEOF
25574 /* confdefs.h.  */
25575 _ACEOF
25576 cat confdefs.h >>conftest.$ac_ext
25577 cat >>conftest.$ac_ext <<_ACEOF
25578 /* end confdefs.h.  */
25579 #include <math.h>
25580                       #ifdef HAVE_IEEEFP_H
25581                       #include <ieeefp.h>
25582                       #endif
25583
25584 int
25585 main ()
25586 {
25587  sqrtl(0);
25588   ;
25589   return 0;
25590 }
25591 _ACEOF
25592 rm -f conftest.$ac_objext
25593 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
25594   (eval $ac_compile) 2>conftest.er1
25595   ac_status=$?
25596   grep -v '^ *+' conftest.er1 >conftest.err
25597   rm -f conftest.er1
25598   cat conftest.err >&5
25599   echo "$as_me:$LINENO: \$? = $ac_status" >&5
25600   (exit $ac_status); } &&
25601          { ac_try='test -z "$ac_cxx_werror_flag"
25602                          || test ! -s conftest.err'
25603   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25604   (eval $ac_try) 2>&5
25605   ac_status=$?
25606   echo "$as_me:$LINENO: \$? = $ac_status" >&5
25607   (exit $ac_status); }; } &&
25608          { ac_try='test -s conftest.$ac_objext'
25609   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25610   (eval $ac_try) 2>&5
25611   ac_status=$?
25612   echo "$as_me:$LINENO: \$? = $ac_status" >&5
25613   (exit $ac_status); }; }; then
25614   glibcxx_cv_func_sqrtl_use=yes
25615 else
25616   echo "$as_me: failed program was:" >&5
25617 sed 's/^/| /' conftest.$ac_ext >&5
25618
25619 glibcxx_cv_func_sqrtl_use=no
25620 fi
25621 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
25622       ac_ext=c
25623 ac_cpp='$CPP $CPPFLAGS'
25624 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25625 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25626 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25627
25628
25629 fi
25630
25631   fi
25632   echo "$as_me:$LINENO: result: $glibcxx_cv_func_sqrtl_use" >&5
25633 echo "${ECHO_T}$glibcxx_cv_func_sqrtl_use" >&6
25634
25635   if test x$glibcxx_cv_func_sqrtl_use = x"yes"; then
25636
25637 for ac_func in sqrtl
25638 do
25639 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
25640 echo "$as_me:$LINENO: checking for $ac_func" >&5
25641 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
25642 if eval "test \"\${$as_ac_var+set}\" = set"; then
25643   echo $ECHO_N "(cached) $ECHO_C" >&6
25644 else
25645   if test x$gcc_no_link = xyes; then
25646   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
25647 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
25648    { (exit 1); exit 1; }; }
25649 fi
25650 cat >conftest.$ac_ext <<_ACEOF
25651 /* confdefs.h.  */
25652 _ACEOF
25653 cat confdefs.h >>conftest.$ac_ext
25654 cat >>conftest.$ac_ext <<_ACEOF
25655 /* end confdefs.h.  */
25656 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
25657    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
25658 #define $ac_func innocuous_$ac_func
25659
25660 /* System header to define __stub macros and hopefully few prototypes,
25661     which can conflict with char $ac_func (); below.
25662     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
25663     <limits.h> exists even on freestanding compilers.  */
25664
25665 #ifdef __STDC__
25666 # include <limits.h>
25667 #else
25668 # include <assert.h>
25669 #endif
25670
25671 #undef $ac_func
25672
25673 /* Override any gcc2 internal prototype to avoid an error.  */
25674 #ifdef __cplusplus
25675 extern "C"
25676 {
25677 #endif
25678 /* We use char because int might match the return type of a gcc2
25679    builtin and then its argument prototype would still apply.  */
25680 char $ac_func ();
25681 /* The GNU C library defines this for functions which it implements
25682     to always fail with ENOSYS.  Some functions are actually named
25683     something starting with __ and the normal name is an alias.  */
25684 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
25685 choke me
25686 #else
25687 char (*f) () = $ac_func;
25688 #endif
25689 #ifdef __cplusplus
25690 }
25691 #endif
25692
25693 int
25694 main ()
25695 {
25696 return f != $ac_func;
25697   ;
25698   return 0;
25699 }
25700 _ACEOF
25701 rm -f conftest.$ac_objext conftest$ac_exeext
25702 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25703   (eval $ac_link) 2>conftest.er1
25704   ac_status=$?
25705   grep -v '^ *+' conftest.er1 >conftest.err
25706   rm -f conftest.er1
25707   cat conftest.err >&5
25708   echo "$as_me:$LINENO: \$? = $ac_status" >&5
25709   (exit $ac_status); } &&
25710          { ac_try='test -z "$ac_c_werror_flag"
25711                          || test ! -s conftest.err'
25712   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25713   (eval $ac_try) 2>&5
25714   ac_status=$?
25715   echo "$as_me:$LINENO: \$? = $ac_status" >&5
25716   (exit $ac_status); }; } &&
25717          { ac_try='test -s conftest$ac_exeext'
25718   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25719   (eval $ac_try) 2>&5
25720   ac_status=$?
25721   echo "$as_me:$LINENO: \$? = $ac_status" >&5
25722   (exit $ac_status); }; }; then
25723   eval "$as_ac_var=yes"
25724 else
25725   echo "$as_me: failed program was:" >&5
25726 sed 's/^/| /' conftest.$ac_ext >&5
25727
25728 eval "$as_ac_var=no"
25729 fi
25730 rm -f conftest.err conftest.$ac_objext \
25731       conftest$ac_exeext conftest.$ac_ext
25732 fi
25733 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
25734 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
25735 if test `eval echo '${'$as_ac_var'}'` = yes; then
25736   cat >>confdefs.h <<_ACEOF
25737 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
25738 _ACEOF
25739
25740 fi
25741 done
25742
25743   else
25744
25745   echo "$as_me:$LINENO: checking for _sqrtl declaration" >&5
25746 echo $ECHO_N "checking for _sqrtl declaration... $ECHO_C" >&6
25747   if test x${glibcxx_cv_func__sqrtl_use+set} != xset; then
25748     if test "${glibcxx_cv_func__sqrtl_use+set}" = set; then
25749   echo $ECHO_N "(cached) $ECHO_C" >&6
25750 else
25751
25752
25753
25754       ac_ext=cc
25755 ac_cpp='$CXXCPP $CPPFLAGS'
25756 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25757 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25758 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25759
25760       cat >conftest.$ac_ext <<_ACEOF
25761 /* confdefs.h.  */
25762 _ACEOF
25763 cat confdefs.h >>conftest.$ac_ext
25764 cat >>conftest.$ac_ext <<_ACEOF
25765 /* end confdefs.h.  */
25766 #include <math.h>
25767                       #ifdef HAVE_IEEEFP_H
25768                       #include <ieeefp.h>
25769                       #endif
25770
25771 int
25772 main ()
25773 {
25774  _sqrtl(0);
25775   ;
25776   return 0;
25777 }
25778 _ACEOF
25779 rm -f conftest.$ac_objext
25780 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
25781   (eval $ac_compile) 2>conftest.er1
25782   ac_status=$?
25783   grep -v '^ *+' conftest.er1 >conftest.err
25784   rm -f conftest.er1
25785   cat conftest.err >&5
25786   echo "$as_me:$LINENO: \$? = $ac_status" >&5
25787   (exit $ac_status); } &&
25788          { ac_try='test -z "$ac_cxx_werror_flag"
25789                          || test ! -s conftest.err'
25790   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25791   (eval $ac_try) 2>&5
25792   ac_status=$?
25793   echo "$as_me:$LINENO: \$? = $ac_status" >&5
25794   (exit $ac_status); }; } &&
25795          { ac_try='test -s conftest.$ac_objext'
25796   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25797   (eval $ac_try) 2>&5
25798   ac_status=$?
25799   echo "$as_me:$LINENO: \$? = $ac_status" >&5
25800   (exit $ac_status); }; }; then
25801   glibcxx_cv_func__sqrtl_use=yes
25802 else
25803   echo "$as_me: failed program was:" >&5
25804 sed 's/^/| /' conftest.$ac_ext >&5
25805
25806 glibcxx_cv_func__sqrtl_use=no
25807 fi
25808 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
25809       ac_ext=c
25810 ac_cpp='$CPP $CPPFLAGS'
25811 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25812 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25813 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25814
25815
25816 fi
25817
25818   fi
25819   echo "$as_me:$LINENO: result: $glibcxx_cv_func__sqrtl_use" >&5
25820 echo "${ECHO_T}$glibcxx_cv_func__sqrtl_use" >&6
25821
25822     if test x$glibcxx_cv_func__sqrtl_use = x"yes"; then
25823
25824 for ac_func in _sqrtl
25825 do
25826 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
25827 echo "$as_me:$LINENO: checking for $ac_func" >&5
25828 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
25829 if eval "test \"\${$as_ac_var+set}\" = set"; then
25830   echo $ECHO_N "(cached) $ECHO_C" >&6
25831 else
25832   if test x$gcc_no_link = xyes; then
25833   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
25834 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
25835    { (exit 1); exit 1; }; }
25836 fi
25837 cat >conftest.$ac_ext <<_ACEOF
25838 /* confdefs.h.  */
25839 _ACEOF
25840 cat confdefs.h >>conftest.$ac_ext
25841 cat >>conftest.$ac_ext <<_ACEOF
25842 /* end confdefs.h.  */
25843 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
25844    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
25845 #define $ac_func innocuous_$ac_func
25846
25847 /* System header to define __stub macros and hopefully few prototypes,
25848     which can conflict with char $ac_func (); below.
25849     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
25850     <limits.h> exists even on freestanding compilers.  */
25851
25852 #ifdef __STDC__
25853 # include <limits.h>
25854 #else
25855 # include <assert.h>
25856 #endif
25857
25858 #undef $ac_func
25859
25860 /* Override any gcc2 internal prototype to avoid an error.  */
25861 #ifdef __cplusplus
25862 extern "C"
25863 {
25864 #endif
25865 /* We use char because int might match the return type of a gcc2
25866    builtin and then its argument prototype would still apply.  */
25867 char $ac_func ();
25868 /* The GNU C library defines this for functions which it implements
25869     to always fail with ENOSYS.  Some functions are actually named
25870     something starting with __ and the normal name is an alias.  */
25871 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
25872 choke me
25873 #else
25874 char (*f) () = $ac_func;
25875 #endif
25876 #ifdef __cplusplus
25877 }
25878 #endif
25879
25880 int
25881 main ()
25882 {
25883 return f != $ac_func;
25884   ;
25885   return 0;
25886 }
25887 _ACEOF
25888 rm -f conftest.$ac_objext conftest$ac_exeext
25889 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25890   (eval $ac_link) 2>conftest.er1
25891   ac_status=$?
25892   grep -v '^ *+' conftest.er1 >conftest.err
25893   rm -f conftest.er1
25894   cat conftest.err >&5
25895   echo "$as_me:$LINENO: \$? = $ac_status" >&5
25896   (exit $ac_status); } &&
25897          { ac_try='test -z "$ac_c_werror_flag"
25898                          || test ! -s conftest.err'
25899   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25900   (eval $ac_try) 2>&5
25901   ac_status=$?
25902   echo "$as_me:$LINENO: \$? = $ac_status" >&5
25903   (exit $ac_status); }; } &&
25904          { ac_try='test -s conftest$ac_exeext'
25905   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25906   (eval $ac_try) 2>&5
25907   ac_status=$?
25908   echo "$as_me:$LINENO: \$? = $ac_status" >&5
25909   (exit $ac_status); }; }; then
25910   eval "$as_ac_var=yes"
25911 else
25912   echo "$as_me: failed program was:" >&5
25913 sed 's/^/| /' conftest.$ac_ext >&5
25914
25915 eval "$as_ac_var=no"
25916 fi
25917 rm -f conftest.err conftest.$ac_objext \
25918       conftest$ac_exeext conftest.$ac_ext
25919 fi
25920 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
25921 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
25922 if test `eval echo '${'$as_ac_var'}'` = yes; then
25923   cat >>confdefs.h <<_ACEOF
25924 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
25925 _ACEOF
25926
25927 fi
25928 done
25929
25930     fi
25931   fi
25932
25933
25934
25935
25936
25937
25938   echo "$as_me:$LINENO: checking for sincosl declaration" >&5
25939 echo $ECHO_N "checking for sincosl declaration... $ECHO_C" >&6
25940   if test x${glibcxx_cv_func_sincosl_use+set} != xset; then
25941     if test "${glibcxx_cv_func_sincosl_use+set}" = set; then
25942   echo $ECHO_N "(cached) $ECHO_C" >&6
25943 else
25944
25945
25946
25947       ac_ext=cc
25948 ac_cpp='$CXXCPP $CPPFLAGS'
25949 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25950 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25951 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25952
25953       cat >conftest.$ac_ext <<_ACEOF
25954 /* confdefs.h.  */
25955 _ACEOF
25956 cat confdefs.h >>conftest.$ac_ext
25957 cat >>conftest.$ac_ext <<_ACEOF
25958 /* end confdefs.h.  */
25959 #include <math.h>
25960 int
25961 main ()
25962 {
25963  sincosl(0, 0, 0);
25964   ;
25965   return 0;
25966 }
25967 _ACEOF
25968 rm -f conftest.$ac_objext
25969 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
25970   (eval $ac_compile) 2>conftest.er1
25971   ac_status=$?
25972   grep -v '^ *+' conftest.er1 >conftest.err
25973   rm -f conftest.er1
25974   cat conftest.err >&5
25975   echo "$as_me:$LINENO: \$? = $ac_status" >&5
25976   (exit $ac_status); } &&
25977          { ac_try='test -z "$ac_cxx_werror_flag"
25978                          || test ! -s conftest.err'
25979   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25980   (eval $ac_try) 2>&5
25981   ac_status=$?
25982   echo "$as_me:$LINENO: \$? = $ac_status" >&5
25983   (exit $ac_status); }; } &&
25984          { ac_try='test -s conftest.$ac_objext'
25985   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25986   (eval $ac_try) 2>&5
25987   ac_status=$?
25988   echo "$as_me:$LINENO: \$? = $ac_status" >&5
25989   (exit $ac_status); }; }; then
25990   glibcxx_cv_func_sincosl_use=yes
25991 else
25992   echo "$as_me: failed program was:" >&5
25993 sed 's/^/| /' conftest.$ac_ext >&5
25994
25995 glibcxx_cv_func_sincosl_use=no
25996 fi
25997 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
25998       ac_ext=c
25999 ac_cpp='$CPP $CPPFLAGS'
26000 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26001 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26002 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26003
26004
26005 fi
26006
26007   fi
26008   echo "$as_me:$LINENO: result: $glibcxx_cv_func_sincosl_use" >&5
26009 echo "${ECHO_T}$glibcxx_cv_func_sincosl_use" >&6
26010
26011   if test x$glibcxx_cv_func_sincosl_use = x"yes"; then
26012
26013 for ac_func in sincosl
26014 do
26015 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
26016 echo "$as_me:$LINENO: checking for $ac_func" >&5
26017 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
26018 if eval "test \"\${$as_ac_var+set}\" = set"; then
26019   echo $ECHO_N "(cached) $ECHO_C" >&6
26020 else
26021   if test x$gcc_no_link = xyes; then
26022   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
26023 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
26024    { (exit 1); exit 1; }; }
26025 fi
26026 cat >conftest.$ac_ext <<_ACEOF
26027 /* confdefs.h.  */
26028 _ACEOF
26029 cat confdefs.h >>conftest.$ac_ext
26030 cat >>conftest.$ac_ext <<_ACEOF
26031 /* end confdefs.h.  */
26032 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
26033    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
26034 #define $ac_func innocuous_$ac_func
26035
26036 /* System header to define __stub macros and hopefully few prototypes,
26037     which can conflict with char $ac_func (); below.
26038     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
26039     <limits.h> exists even on freestanding compilers.  */
26040
26041 #ifdef __STDC__
26042 # include <limits.h>
26043 #else
26044 # include <assert.h>
26045 #endif
26046
26047 #undef $ac_func
26048
26049 /* Override any gcc2 internal prototype to avoid an error.  */
26050 #ifdef __cplusplus
26051 extern "C"
26052 {
26053 #endif
26054 /* We use char because int might match the return type of a gcc2
26055    builtin and then its argument prototype would still apply.  */
26056 char $ac_func ();
26057 /* The GNU C library defines this for functions which it implements
26058     to always fail with ENOSYS.  Some functions are actually named
26059     something starting with __ and the normal name is an alias.  */
26060 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
26061 choke me
26062 #else
26063 char (*f) () = $ac_func;
26064 #endif
26065 #ifdef __cplusplus
26066 }
26067 #endif
26068
26069 int
26070 main ()
26071 {
26072 return f != $ac_func;
26073   ;
26074   return 0;
26075 }
26076 _ACEOF
26077 rm -f conftest.$ac_objext conftest$ac_exeext
26078 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26079   (eval $ac_link) 2>conftest.er1
26080   ac_status=$?
26081   grep -v '^ *+' conftest.er1 >conftest.err
26082   rm -f conftest.er1
26083   cat conftest.err >&5
26084   echo "$as_me:$LINENO: \$? = $ac_status" >&5
26085   (exit $ac_status); } &&
26086          { ac_try='test -z "$ac_c_werror_flag"
26087                          || test ! -s conftest.err'
26088   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26089   (eval $ac_try) 2>&5
26090   ac_status=$?
26091   echo "$as_me:$LINENO: \$? = $ac_status" >&5
26092   (exit $ac_status); }; } &&
26093          { ac_try='test -s conftest$ac_exeext'
26094   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26095   (eval $ac_try) 2>&5
26096   ac_status=$?
26097   echo "$as_me:$LINENO: \$? = $ac_status" >&5
26098   (exit $ac_status); }; }; then
26099   eval "$as_ac_var=yes"
26100 else
26101   echo "$as_me: failed program was:" >&5
26102 sed 's/^/| /' conftest.$ac_ext >&5
26103
26104 eval "$as_ac_var=no"
26105 fi
26106 rm -f conftest.err conftest.$ac_objext \
26107       conftest$ac_exeext conftest.$ac_ext
26108 fi
26109 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
26110 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
26111 if test `eval echo '${'$as_ac_var'}'` = yes; then
26112   cat >>confdefs.h <<_ACEOF
26113 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
26114 _ACEOF
26115
26116 fi
26117 done
26118
26119   else
26120
26121   echo "$as_me:$LINENO: checking for _sincosl declaration" >&5
26122 echo $ECHO_N "checking for _sincosl declaration... $ECHO_C" >&6
26123   if test x${glibcxx_cv_func__sincosl_use+set} != xset; then
26124     if test "${glibcxx_cv_func__sincosl_use+set}" = set; then
26125   echo $ECHO_N "(cached) $ECHO_C" >&6
26126 else
26127
26128
26129
26130       ac_ext=cc
26131 ac_cpp='$CXXCPP $CPPFLAGS'
26132 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26133 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26134 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26135
26136       cat >conftest.$ac_ext <<_ACEOF
26137 /* confdefs.h.  */
26138 _ACEOF
26139 cat confdefs.h >>conftest.$ac_ext
26140 cat >>conftest.$ac_ext <<_ACEOF
26141 /* end confdefs.h.  */
26142 #include <math.h>
26143 int
26144 main ()
26145 {
26146  _sincosl(0, 0, 0);
26147   ;
26148   return 0;
26149 }
26150 _ACEOF
26151 rm -f conftest.$ac_objext
26152 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
26153   (eval $ac_compile) 2>conftest.er1
26154   ac_status=$?
26155   grep -v '^ *+' conftest.er1 >conftest.err
26156   rm -f conftest.er1
26157   cat conftest.err >&5
26158   echo "$as_me:$LINENO: \$? = $ac_status" >&5
26159   (exit $ac_status); } &&
26160          { ac_try='test -z "$ac_cxx_werror_flag"
26161                          || test ! -s conftest.err'
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); }; } &&
26167          { ac_try='test -s conftest.$ac_objext'
26168   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26169   (eval $ac_try) 2>&5
26170   ac_status=$?
26171   echo "$as_me:$LINENO: \$? = $ac_status" >&5
26172   (exit $ac_status); }; }; then
26173   glibcxx_cv_func__sincosl_use=yes
26174 else
26175   echo "$as_me: failed program was:" >&5
26176 sed 's/^/| /' conftest.$ac_ext >&5
26177
26178 glibcxx_cv_func__sincosl_use=no
26179 fi
26180 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
26181       ac_ext=c
26182 ac_cpp='$CPP $CPPFLAGS'
26183 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26184 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26185 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26186
26187
26188 fi
26189
26190   fi
26191   echo "$as_me:$LINENO: result: $glibcxx_cv_func__sincosl_use" >&5
26192 echo "${ECHO_T}$glibcxx_cv_func__sincosl_use" >&6
26193
26194     if test x$glibcxx_cv_func__sincosl_use = x"yes"; then
26195
26196 for ac_func in _sincosl
26197 do
26198 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
26199 echo "$as_me:$LINENO: checking for $ac_func" >&5
26200 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
26201 if eval "test \"\${$as_ac_var+set}\" = set"; then
26202   echo $ECHO_N "(cached) $ECHO_C" >&6
26203 else
26204   if test x$gcc_no_link = xyes; then
26205   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
26206 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
26207    { (exit 1); exit 1; }; }
26208 fi
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 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
26216    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
26217 #define $ac_func innocuous_$ac_func
26218
26219 /* System header to define __stub macros and hopefully few prototypes,
26220     which can conflict with char $ac_func (); below.
26221     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
26222     <limits.h> exists even on freestanding compilers.  */
26223
26224 #ifdef __STDC__
26225 # include <limits.h>
26226 #else
26227 # include <assert.h>
26228 #endif
26229
26230 #undef $ac_func
26231
26232 /* Override any gcc2 internal prototype to avoid an error.  */
26233 #ifdef __cplusplus
26234 extern "C"
26235 {
26236 #endif
26237 /* We use char because int might match the return type of a gcc2
26238    builtin and then its argument prototype would still apply.  */
26239 char $ac_func ();
26240 /* The GNU C library defines this for functions which it implements
26241     to always fail with ENOSYS.  Some functions are actually named
26242     something starting with __ and the normal name is an alias.  */
26243 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
26244 choke me
26245 #else
26246 char (*f) () = $ac_func;
26247 #endif
26248 #ifdef __cplusplus
26249 }
26250 #endif
26251
26252 int
26253 main ()
26254 {
26255 return f != $ac_func;
26256   ;
26257   return 0;
26258 }
26259 _ACEOF
26260 rm -f conftest.$ac_objext conftest$ac_exeext
26261 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26262   (eval $ac_link) 2>conftest.er1
26263   ac_status=$?
26264   grep -v '^ *+' conftest.er1 >conftest.err
26265   rm -f conftest.er1
26266   cat conftest.err >&5
26267   echo "$as_me:$LINENO: \$? = $ac_status" >&5
26268   (exit $ac_status); } &&
26269          { ac_try='test -z "$ac_c_werror_flag"
26270                          || test ! -s conftest.err'
26271   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26272   (eval $ac_try) 2>&5
26273   ac_status=$?
26274   echo "$as_me:$LINENO: \$? = $ac_status" >&5
26275   (exit $ac_status); }; } &&
26276          { ac_try='test -s conftest$ac_exeext'
26277   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26278   (eval $ac_try) 2>&5
26279   ac_status=$?
26280   echo "$as_me:$LINENO: \$? = $ac_status" >&5
26281   (exit $ac_status); }; }; then
26282   eval "$as_ac_var=yes"
26283 else
26284   echo "$as_me: failed program was:" >&5
26285 sed 's/^/| /' conftest.$ac_ext >&5
26286
26287 eval "$as_ac_var=no"
26288 fi
26289 rm -f conftest.err conftest.$ac_objext \
26290       conftest$ac_exeext conftest.$ac_ext
26291 fi
26292 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
26293 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
26294 if test `eval echo '${'$as_ac_var'}'` = yes; then
26295   cat >>confdefs.h <<_ACEOF
26296 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
26297 _ACEOF
26298
26299 fi
26300 done
26301
26302     fi
26303   fi
26304
26305
26306
26307
26308
26309
26310   echo "$as_me:$LINENO: checking for finitel declaration" >&5
26311 echo $ECHO_N "checking for finitel declaration... $ECHO_C" >&6
26312   if test x${glibcxx_cv_func_finitel_use+set} != xset; then
26313     if test "${glibcxx_cv_func_finitel_use+set}" = set; then
26314   echo $ECHO_N "(cached) $ECHO_C" >&6
26315 else
26316
26317
26318
26319       ac_ext=cc
26320 ac_cpp='$CXXCPP $CPPFLAGS'
26321 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26322 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26323 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26324
26325       cat >conftest.$ac_ext <<_ACEOF
26326 /* confdefs.h.  */
26327 _ACEOF
26328 cat confdefs.h >>conftest.$ac_ext
26329 cat >>conftest.$ac_ext <<_ACEOF
26330 /* end confdefs.h.  */
26331 #include <math.h>
26332                       #ifdef HAVE_IEEEFP_H
26333                       #include <ieeefp.h>
26334                       #endif
26335
26336 int
26337 main ()
26338 {
26339  finitel(0);
26340   ;
26341   return 0;
26342 }
26343 _ACEOF
26344 rm -f conftest.$ac_objext
26345 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
26346   (eval $ac_compile) 2>conftest.er1
26347   ac_status=$?
26348   grep -v '^ *+' conftest.er1 >conftest.err
26349   rm -f conftest.er1
26350   cat conftest.err >&5
26351   echo "$as_me:$LINENO: \$? = $ac_status" >&5
26352   (exit $ac_status); } &&
26353          { ac_try='test -z "$ac_cxx_werror_flag"
26354                          || test ! -s conftest.err'
26355   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26356   (eval $ac_try) 2>&5
26357   ac_status=$?
26358   echo "$as_me:$LINENO: \$? = $ac_status" >&5
26359   (exit $ac_status); }; } &&
26360          { ac_try='test -s conftest.$ac_objext'
26361   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26362   (eval $ac_try) 2>&5
26363   ac_status=$?
26364   echo "$as_me:$LINENO: \$? = $ac_status" >&5
26365   (exit $ac_status); }; }; then
26366   glibcxx_cv_func_finitel_use=yes
26367 else
26368   echo "$as_me: failed program was:" >&5
26369 sed 's/^/| /' conftest.$ac_ext >&5
26370
26371 glibcxx_cv_func_finitel_use=no
26372 fi
26373 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
26374       ac_ext=c
26375 ac_cpp='$CPP $CPPFLAGS'
26376 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26377 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26378 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26379
26380
26381 fi
26382
26383   fi
26384   echo "$as_me:$LINENO: result: $glibcxx_cv_func_finitel_use" >&5
26385 echo "${ECHO_T}$glibcxx_cv_func_finitel_use" >&6
26386
26387   if test x$glibcxx_cv_func_finitel_use = x"yes"; then
26388
26389 for ac_func in finitel
26390 do
26391 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
26392 echo "$as_me:$LINENO: checking for $ac_func" >&5
26393 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
26394 if eval "test \"\${$as_ac_var+set}\" = set"; then
26395   echo $ECHO_N "(cached) $ECHO_C" >&6
26396 else
26397   if test x$gcc_no_link = xyes; then
26398   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
26399 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
26400    { (exit 1); exit 1; }; }
26401 fi
26402 cat >conftest.$ac_ext <<_ACEOF
26403 /* confdefs.h.  */
26404 _ACEOF
26405 cat confdefs.h >>conftest.$ac_ext
26406 cat >>conftest.$ac_ext <<_ACEOF
26407 /* end confdefs.h.  */
26408 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
26409    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
26410 #define $ac_func innocuous_$ac_func
26411
26412 /* System header to define __stub macros and hopefully few prototypes,
26413     which can conflict with char $ac_func (); below.
26414     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
26415     <limits.h> exists even on freestanding compilers.  */
26416
26417 #ifdef __STDC__
26418 # include <limits.h>
26419 #else
26420 # include <assert.h>
26421 #endif
26422
26423 #undef $ac_func
26424
26425 /* Override any gcc2 internal prototype to avoid an error.  */
26426 #ifdef __cplusplus
26427 extern "C"
26428 {
26429 #endif
26430 /* We use char because int might match the return type of a gcc2
26431    builtin and then its argument prototype would still apply.  */
26432 char $ac_func ();
26433 /* The GNU C library defines this for functions which it implements
26434     to always fail with ENOSYS.  Some functions are actually named
26435     something starting with __ and the normal name is an alias.  */
26436 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
26437 choke me
26438 #else
26439 char (*f) () = $ac_func;
26440 #endif
26441 #ifdef __cplusplus
26442 }
26443 #endif
26444
26445 int
26446 main ()
26447 {
26448 return f != $ac_func;
26449   ;
26450   return 0;
26451 }
26452 _ACEOF
26453 rm -f conftest.$ac_objext conftest$ac_exeext
26454 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26455   (eval $ac_link) 2>conftest.er1
26456   ac_status=$?
26457   grep -v '^ *+' conftest.er1 >conftest.err
26458   rm -f conftest.er1
26459   cat conftest.err >&5
26460   echo "$as_me:$LINENO: \$? = $ac_status" >&5
26461   (exit $ac_status); } &&
26462          { ac_try='test -z "$ac_c_werror_flag"
26463                          || test ! -s conftest.err'
26464   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26465   (eval $ac_try) 2>&5
26466   ac_status=$?
26467   echo "$as_me:$LINENO: \$? = $ac_status" >&5
26468   (exit $ac_status); }; } &&
26469          { ac_try='test -s conftest$ac_exeext'
26470   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26471   (eval $ac_try) 2>&5
26472   ac_status=$?
26473   echo "$as_me:$LINENO: \$? = $ac_status" >&5
26474   (exit $ac_status); }; }; then
26475   eval "$as_ac_var=yes"
26476 else
26477   echo "$as_me: failed program was:" >&5
26478 sed 's/^/| /' conftest.$ac_ext >&5
26479
26480 eval "$as_ac_var=no"
26481 fi
26482 rm -f conftest.err conftest.$ac_objext \
26483       conftest$ac_exeext conftest.$ac_ext
26484 fi
26485 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
26486 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
26487 if test `eval echo '${'$as_ac_var'}'` = yes; then
26488   cat >>confdefs.h <<_ACEOF
26489 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
26490 _ACEOF
26491
26492 fi
26493 done
26494
26495   else
26496
26497   echo "$as_me:$LINENO: checking for _finitel declaration" >&5
26498 echo $ECHO_N "checking for _finitel declaration... $ECHO_C" >&6
26499   if test x${glibcxx_cv_func__finitel_use+set} != xset; then
26500     if test "${glibcxx_cv_func__finitel_use+set}" = set; then
26501   echo $ECHO_N "(cached) $ECHO_C" >&6
26502 else
26503
26504
26505
26506       ac_ext=cc
26507 ac_cpp='$CXXCPP $CPPFLAGS'
26508 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26509 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26510 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26511
26512       cat >conftest.$ac_ext <<_ACEOF
26513 /* confdefs.h.  */
26514 _ACEOF
26515 cat confdefs.h >>conftest.$ac_ext
26516 cat >>conftest.$ac_ext <<_ACEOF
26517 /* end confdefs.h.  */
26518 #include <math.h>
26519                       #ifdef HAVE_IEEEFP_H
26520                       #include <ieeefp.h>
26521                       #endif
26522
26523 int
26524 main ()
26525 {
26526  _finitel(0);
26527   ;
26528   return 0;
26529 }
26530 _ACEOF
26531 rm -f conftest.$ac_objext
26532 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
26533   (eval $ac_compile) 2>conftest.er1
26534   ac_status=$?
26535   grep -v '^ *+' conftest.er1 >conftest.err
26536   rm -f conftest.er1
26537   cat conftest.err >&5
26538   echo "$as_me:$LINENO: \$? = $ac_status" >&5
26539   (exit $ac_status); } &&
26540          { ac_try='test -z "$ac_cxx_werror_flag"
26541                          || test ! -s conftest.err'
26542   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26543   (eval $ac_try) 2>&5
26544   ac_status=$?
26545   echo "$as_me:$LINENO: \$? = $ac_status" >&5
26546   (exit $ac_status); }; } &&
26547          { ac_try='test -s conftest.$ac_objext'
26548   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26549   (eval $ac_try) 2>&5
26550   ac_status=$?
26551   echo "$as_me:$LINENO: \$? = $ac_status" >&5
26552   (exit $ac_status); }; }; then
26553   glibcxx_cv_func__finitel_use=yes
26554 else
26555   echo "$as_me: failed program was:" >&5
26556 sed 's/^/| /' conftest.$ac_ext >&5
26557
26558 glibcxx_cv_func__finitel_use=no
26559 fi
26560 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
26561       ac_ext=c
26562 ac_cpp='$CPP $CPPFLAGS'
26563 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26564 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26565 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26566
26567
26568 fi
26569
26570   fi
26571   echo "$as_me:$LINENO: result: $glibcxx_cv_func__finitel_use" >&5
26572 echo "${ECHO_T}$glibcxx_cv_func__finitel_use" >&6
26573
26574     if test x$glibcxx_cv_func__finitel_use = x"yes"; then
26575
26576 for ac_func in _finitel
26577 do
26578 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
26579 echo "$as_me:$LINENO: checking for $ac_func" >&5
26580 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
26581 if eval "test \"\${$as_ac_var+set}\" = set"; then
26582   echo $ECHO_N "(cached) $ECHO_C" >&6
26583 else
26584   if test x$gcc_no_link = xyes; then
26585   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
26586 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
26587    { (exit 1); exit 1; }; }
26588 fi
26589 cat >conftest.$ac_ext <<_ACEOF
26590 /* confdefs.h.  */
26591 _ACEOF
26592 cat confdefs.h >>conftest.$ac_ext
26593 cat >>conftest.$ac_ext <<_ACEOF
26594 /* end confdefs.h.  */
26595 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
26596    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
26597 #define $ac_func innocuous_$ac_func
26598
26599 /* System header to define __stub macros and hopefully few prototypes,
26600     which can conflict with char $ac_func (); below.
26601     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
26602     <limits.h> exists even on freestanding compilers.  */
26603
26604 #ifdef __STDC__
26605 # include <limits.h>
26606 #else
26607 # include <assert.h>
26608 #endif
26609
26610 #undef $ac_func
26611
26612 /* Override any gcc2 internal prototype to avoid an error.  */
26613 #ifdef __cplusplus
26614 extern "C"
26615 {
26616 #endif
26617 /* We use char because int might match the return type of a gcc2
26618    builtin and then its argument prototype would still apply.  */
26619 char $ac_func ();
26620 /* The GNU C library defines this for functions which it implements
26621     to always fail with ENOSYS.  Some functions are actually named
26622     something starting with __ and the normal name is an alias.  */
26623 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
26624 choke me
26625 #else
26626 char (*f) () = $ac_func;
26627 #endif
26628 #ifdef __cplusplus
26629 }
26630 #endif
26631
26632 int
26633 main ()
26634 {
26635 return f != $ac_func;
26636   ;
26637   return 0;
26638 }
26639 _ACEOF
26640 rm -f conftest.$ac_objext conftest$ac_exeext
26641 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26642   (eval $ac_link) 2>conftest.er1
26643   ac_status=$?
26644   grep -v '^ *+' conftest.er1 >conftest.err
26645   rm -f conftest.er1
26646   cat conftest.err >&5
26647   echo "$as_me:$LINENO: \$? = $ac_status" >&5
26648   (exit $ac_status); } &&
26649          { ac_try='test -z "$ac_c_werror_flag"
26650                          || test ! -s conftest.err'
26651   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26652   (eval $ac_try) 2>&5
26653   ac_status=$?
26654   echo "$as_me:$LINENO: \$? = $ac_status" >&5
26655   (exit $ac_status); }; } &&
26656          { ac_try='test -s conftest$ac_exeext'
26657   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26658   (eval $ac_try) 2>&5
26659   ac_status=$?
26660   echo "$as_me:$LINENO: \$? = $ac_status" >&5
26661   (exit $ac_status); }; }; then
26662   eval "$as_ac_var=yes"
26663 else
26664   echo "$as_me: failed program was:" >&5
26665 sed 's/^/| /' conftest.$ac_ext >&5
26666
26667 eval "$as_ac_var=no"
26668 fi
26669 rm -f conftest.err conftest.$ac_objext \
26670       conftest$ac_exeext conftest.$ac_ext
26671 fi
26672 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
26673 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
26674 if test `eval echo '${'$as_ac_var'}'` = yes; then
26675   cat >>confdefs.h <<_ACEOF
26676 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
26677 _ACEOF
26678
26679 fi
26680 done
26681
26682     fi
26683   fi
26684
26685
26686
26687
26688
26689   LIBS="$ac_save_LIBS"
26690   CXXFLAGS="$ac_save_CXXFLAGS"
26691
26692
26693
26694   echo "$as_me:$LINENO: checking for __builtin_abs declaration" >&5
26695 echo $ECHO_N "checking for __builtin_abs declaration... $ECHO_C" >&6
26696   if test x${glibcxx_cv_func___builtin_abs_use+set} != xset; then
26697     if test "${glibcxx_cv_func___builtin_abs_use+set}" = set; then
26698   echo $ECHO_N "(cached) $ECHO_C" >&6
26699 else
26700
26701
26702
26703       ac_ext=cc
26704 ac_cpp='$CXXCPP $CPPFLAGS'
26705 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26706 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26707 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26708
26709       cat >conftest.$ac_ext <<_ACEOF
26710 /* confdefs.h.  */
26711 _ACEOF
26712 cat confdefs.h >>conftest.$ac_ext
26713 cat >>conftest.$ac_ext <<_ACEOF
26714 /* end confdefs.h.  */
26715 #include <math.h>
26716 int
26717 main ()
26718 {
26719  __builtin_abs(0);
26720   ;
26721   return 0;
26722 }
26723 _ACEOF
26724 rm -f conftest.$ac_objext
26725 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
26726   (eval $ac_compile) 2>conftest.er1
26727   ac_status=$?
26728   grep -v '^ *+' conftest.er1 >conftest.err
26729   rm -f conftest.er1
26730   cat conftest.err >&5
26731   echo "$as_me:$LINENO: \$? = $ac_status" >&5
26732   (exit $ac_status); } &&
26733          { ac_try='test -z "$ac_cxx_werror_flag"
26734                          || test ! -s conftest.err'
26735   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26736   (eval $ac_try) 2>&5
26737   ac_status=$?
26738   echo "$as_me:$LINENO: \$? = $ac_status" >&5
26739   (exit $ac_status); }; } &&
26740          { ac_try='test -s conftest.$ac_objext'
26741   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26742   (eval $ac_try) 2>&5
26743   ac_status=$?
26744   echo "$as_me:$LINENO: \$? = $ac_status" >&5
26745   (exit $ac_status); }; }; then
26746   glibcxx_cv_func___builtin_abs_use=yes
26747 else
26748   echo "$as_me: failed program was:" >&5
26749 sed 's/^/| /' conftest.$ac_ext >&5
26750
26751 glibcxx_cv_func___builtin_abs_use=no
26752 fi
26753 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
26754       ac_ext=c
26755 ac_cpp='$CPP $CPPFLAGS'
26756 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26757 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26758 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26759
26760
26761 fi
26762
26763   fi
26764   echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_abs_use" >&5
26765 echo "${ECHO_T}$glibcxx_cv_func___builtin_abs_use" >&6
26766   if test x$glibcxx_cv_func___builtin_abs_use = x"yes"; then
26767     echo "$as_me:$LINENO: checking for __builtin_abs linkage" >&5
26768 echo $ECHO_N "checking for __builtin_abs linkage... $ECHO_C" >&6
26769     if test x${glibcxx_cv_func___builtin_abs_link+set} != xset; then
26770       if test "${glibcxx_cv_func___builtin_abs_link+set}" = set; then
26771   echo $ECHO_N "(cached) $ECHO_C" >&6
26772 else
26773
26774         if test x$gcc_no_link = xyes; then
26775   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
26776 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
26777    { (exit 1); exit 1; }; }
26778 fi
26779 cat >conftest.$ac_ext <<_ACEOF
26780 /* confdefs.h.  */
26781 _ACEOF
26782 cat confdefs.h >>conftest.$ac_ext
26783 cat >>conftest.$ac_ext <<_ACEOF
26784 /* end confdefs.h.  */
26785 #include <math.h>
26786 int
26787 main ()
26788 {
26789  __builtin_abs(0);
26790   ;
26791   return 0;
26792 }
26793 _ACEOF
26794 rm -f conftest.$ac_objext conftest$ac_exeext
26795 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26796   (eval $ac_link) 2>conftest.er1
26797   ac_status=$?
26798   grep -v '^ *+' conftest.er1 >conftest.err
26799   rm -f conftest.er1
26800   cat conftest.err >&5
26801   echo "$as_me:$LINENO: \$? = $ac_status" >&5
26802   (exit $ac_status); } &&
26803          { ac_try='test -z "$ac_c_werror_flag"
26804                          || test ! -s conftest.err'
26805   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26806   (eval $ac_try) 2>&5
26807   ac_status=$?
26808   echo "$as_me:$LINENO: \$? = $ac_status" >&5
26809   (exit $ac_status); }; } &&
26810          { ac_try='test -s conftest$ac_exeext'
26811   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26812   (eval $ac_try) 2>&5
26813   ac_status=$?
26814   echo "$as_me:$LINENO: \$? = $ac_status" >&5
26815   (exit $ac_status); }; }; then
26816   glibcxx_cv_func___builtin_abs_link=yes
26817 else
26818   echo "$as_me: failed program was:" >&5
26819 sed 's/^/| /' conftest.$ac_ext >&5
26820
26821 glibcxx_cv_func___builtin_abs_link=no
26822 fi
26823 rm -f conftest.err conftest.$ac_objext \
26824       conftest$ac_exeext conftest.$ac_ext
26825
26826 fi
26827
26828     fi
26829     echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_abs_link" >&5
26830 echo "${ECHO_T}$glibcxx_cv_func___builtin_abs_link" >&6
26831
26832     if test x$glibcxx_cv_func___builtin_abs_link = x"yes"; then
26833
26834 cat >>confdefs.h <<\_ACEOF
26835 #define HAVE___BUILTIN_ABS 1
26836 _ACEOF
26837
26838     fi
26839
26840   fi
26841
26842
26843   echo "$as_me:$LINENO: checking for __builtin_fabsf declaration" >&5
26844 echo $ECHO_N "checking for __builtin_fabsf declaration... $ECHO_C" >&6
26845   if test x${glibcxx_cv_func___builtin_fabsf_use+set} != xset; then
26846     if test "${glibcxx_cv_func___builtin_fabsf_use+set}" = set; then
26847   echo $ECHO_N "(cached) $ECHO_C" >&6
26848 else
26849
26850
26851
26852       ac_ext=cc
26853 ac_cpp='$CXXCPP $CPPFLAGS'
26854 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26855 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26856 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26857
26858       cat >conftest.$ac_ext <<_ACEOF
26859 /* confdefs.h.  */
26860 _ACEOF
26861 cat confdefs.h >>conftest.$ac_ext
26862 cat >>conftest.$ac_ext <<_ACEOF
26863 /* end confdefs.h.  */
26864 #include <math.h>
26865 int
26866 main ()
26867 {
26868  __builtin_fabsf(0);
26869   ;
26870   return 0;
26871 }
26872 _ACEOF
26873 rm -f conftest.$ac_objext
26874 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
26875   (eval $ac_compile) 2>conftest.er1
26876   ac_status=$?
26877   grep -v '^ *+' conftest.er1 >conftest.err
26878   rm -f conftest.er1
26879   cat conftest.err >&5
26880   echo "$as_me:$LINENO: \$? = $ac_status" >&5
26881   (exit $ac_status); } &&
26882          { ac_try='test -z "$ac_cxx_werror_flag"
26883                          || test ! -s conftest.err'
26884   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26885   (eval $ac_try) 2>&5
26886   ac_status=$?
26887   echo "$as_me:$LINENO: \$? = $ac_status" >&5
26888   (exit $ac_status); }; } &&
26889          { ac_try='test -s conftest.$ac_objext'
26890   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26891   (eval $ac_try) 2>&5
26892   ac_status=$?
26893   echo "$as_me:$LINENO: \$? = $ac_status" >&5
26894   (exit $ac_status); }; }; then
26895   glibcxx_cv_func___builtin_fabsf_use=yes
26896 else
26897   echo "$as_me: failed program was:" >&5
26898 sed 's/^/| /' conftest.$ac_ext >&5
26899
26900 glibcxx_cv_func___builtin_fabsf_use=no
26901 fi
26902 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
26903       ac_ext=c
26904 ac_cpp='$CPP $CPPFLAGS'
26905 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26906 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26907 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26908
26909
26910 fi
26911
26912   fi
26913   echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_fabsf_use" >&5
26914 echo "${ECHO_T}$glibcxx_cv_func___builtin_fabsf_use" >&6
26915   if test x$glibcxx_cv_func___builtin_fabsf_use = x"yes"; then
26916     echo "$as_me:$LINENO: checking for __builtin_fabsf linkage" >&5
26917 echo $ECHO_N "checking for __builtin_fabsf linkage... $ECHO_C" >&6
26918     if test x${glibcxx_cv_func___builtin_fabsf_link+set} != xset; then
26919       if test "${glibcxx_cv_func___builtin_fabsf_link+set}" = set; then
26920   echo $ECHO_N "(cached) $ECHO_C" >&6
26921 else
26922
26923         if test x$gcc_no_link = xyes; then
26924   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
26925 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
26926    { (exit 1); exit 1; }; }
26927 fi
26928 cat >conftest.$ac_ext <<_ACEOF
26929 /* confdefs.h.  */
26930 _ACEOF
26931 cat confdefs.h >>conftest.$ac_ext
26932 cat >>conftest.$ac_ext <<_ACEOF
26933 /* end confdefs.h.  */
26934 #include <math.h>
26935 int
26936 main ()
26937 {
26938  __builtin_fabsf(0);
26939   ;
26940   return 0;
26941 }
26942 _ACEOF
26943 rm -f conftest.$ac_objext conftest$ac_exeext
26944 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26945   (eval $ac_link) 2>conftest.er1
26946   ac_status=$?
26947   grep -v '^ *+' conftest.er1 >conftest.err
26948   rm -f conftest.er1
26949   cat conftest.err >&5
26950   echo "$as_me:$LINENO: \$? = $ac_status" >&5
26951   (exit $ac_status); } &&
26952          { ac_try='test -z "$ac_c_werror_flag"
26953                          || test ! -s conftest.err'
26954   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26955   (eval $ac_try) 2>&5
26956   ac_status=$?
26957   echo "$as_me:$LINENO: \$? = $ac_status" >&5
26958   (exit $ac_status); }; } &&
26959          { ac_try='test -s conftest$ac_exeext'
26960   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26961   (eval $ac_try) 2>&5
26962   ac_status=$?
26963   echo "$as_me:$LINENO: \$? = $ac_status" >&5
26964   (exit $ac_status); }; }; then
26965   glibcxx_cv_func___builtin_fabsf_link=yes
26966 else
26967   echo "$as_me: failed program was:" >&5
26968 sed 's/^/| /' conftest.$ac_ext >&5
26969
26970 glibcxx_cv_func___builtin_fabsf_link=no
26971 fi
26972 rm -f conftest.err conftest.$ac_objext \
26973       conftest$ac_exeext conftest.$ac_ext
26974
26975 fi
26976
26977     fi
26978     echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_fabsf_link" >&5
26979 echo "${ECHO_T}$glibcxx_cv_func___builtin_fabsf_link" >&6
26980
26981     if test x$glibcxx_cv_func___builtin_fabsf_link = x"yes"; then
26982
26983 cat >>confdefs.h <<\_ACEOF
26984 #define HAVE___BUILTIN_FABSF 1
26985 _ACEOF
26986
26987     fi
26988
26989   fi
26990
26991
26992   echo "$as_me:$LINENO: checking for __builtin_fabs declaration" >&5
26993 echo $ECHO_N "checking for __builtin_fabs declaration... $ECHO_C" >&6
26994   if test x${glibcxx_cv_func___builtin_fabs_use+set} != xset; then
26995     if test "${glibcxx_cv_func___builtin_fabs_use+set}" = set; then
26996   echo $ECHO_N "(cached) $ECHO_C" >&6
26997 else
26998
26999
27000
27001       ac_ext=cc
27002 ac_cpp='$CXXCPP $CPPFLAGS'
27003 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27004 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27005 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27006
27007       cat >conftest.$ac_ext <<_ACEOF
27008 /* confdefs.h.  */
27009 _ACEOF
27010 cat confdefs.h >>conftest.$ac_ext
27011 cat >>conftest.$ac_ext <<_ACEOF
27012 /* end confdefs.h.  */
27013 #include <math.h>
27014 int
27015 main ()
27016 {
27017  __builtin_fabs(0);
27018   ;
27019   return 0;
27020 }
27021 _ACEOF
27022 rm -f conftest.$ac_objext
27023 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
27024   (eval $ac_compile) 2>conftest.er1
27025   ac_status=$?
27026   grep -v '^ *+' conftest.er1 >conftest.err
27027   rm -f conftest.er1
27028   cat conftest.err >&5
27029   echo "$as_me:$LINENO: \$? = $ac_status" >&5
27030   (exit $ac_status); } &&
27031          { ac_try='test -z "$ac_cxx_werror_flag"
27032                          || test ! -s conftest.err'
27033   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27034   (eval $ac_try) 2>&5
27035   ac_status=$?
27036   echo "$as_me:$LINENO: \$? = $ac_status" >&5
27037   (exit $ac_status); }; } &&
27038          { ac_try='test -s conftest.$ac_objext'
27039   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27040   (eval $ac_try) 2>&5
27041   ac_status=$?
27042   echo "$as_me:$LINENO: \$? = $ac_status" >&5
27043   (exit $ac_status); }; }; then
27044   glibcxx_cv_func___builtin_fabs_use=yes
27045 else
27046   echo "$as_me: failed program was:" >&5
27047 sed 's/^/| /' conftest.$ac_ext >&5
27048
27049 glibcxx_cv_func___builtin_fabs_use=no
27050 fi
27051 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
27052       ac_ext=c
27053 ac_cpp='$CPP $CPPFLAGS'
27054 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27055 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27056 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27057
27058
27059 fi
27060
27061   fi
27062   echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_fabs_use" >&5
27063 echo "${ECHO_T}$glibcxx_cv_func___builtin_fabs_use" >&6
27064   if test x$glibcxx_cv_func___builtin_fabs_use = x"yes"; then
27065     echo "$as_me:$LINENO: checking for __builtin_fabs linkage" >&5
27066 echo $ECHO_N "checking for __builtin_fabs linkage... $ECHO_C" >&6
27067     if test x${glibcxx_cv_func___builtin_fabs_link+set} != xset; then
27068       if test "${glibcxx_cv_func___builtin_fabs_link+set}" = set; then
27069   echo $ECHO_N "(cached) $ECHO_C" >&6
27070 else
27071
27072         if test x$gcc_no_link = xyes; then
27073   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
27074 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
27075    { (exit 1); exit 1; }; }
27076 fi
27077 cat >conftest.$ac_ext <<_ACEOF
27078 /* confdefs.h.  */
27079 _ACEOF
27080 cat confdefs.h >>conftest.$ac_ext
27081 cat >>conftest.$ac_ext <<_ACEOF
27082 /* end confdefs.h.  */
27083 #include <math.h>
27084 int
27085 main ()
27086 {
27087  __builtin_fabs(0);
27088   ;
27089   return 0;
27090 }
27091 _ACEOF
27092 rm -f conftest.$ac_objext conftest$ac_exeext
27093 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27094   (eval $ac_link) 2>conftest.er1
27095   ac_status=$?
27096   grep -v '^ *+' conftest.er1 >conftest.err
27097   rm -f conftest.er1
27098   cat conftest.err >&5
27099   echo "$as_me:$LINENO: \$? = $ac_status" >&5
27100   (exit $ac_status); } &&
27101          { ac_try='test -z "$ac_c_werror_flag"
27102                          || test ! -s conftest.err'
27103   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27104   (eval $ac_try) 2>&5
27105   ac_status=$?
27106   echo "$as_me:$LINENO: \$? = $ac_status" >&5
27107   (exit $ac_status); }; } &&
27108          { ac_try='test -s conftest$ac_exeext'
27109   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27110   (eval $ac_try) 2>&5
27111   ac_status=$?
27112   echo "$as_me:$LINENO: \$? = $ac_status" >&5
27113   (exit $ac_status); }; }; then
27114   glibcxx_cv_func___builtin_fabs_link=yes
27115 else
27116   echo "$as_me: failed program was:" >&5
27117 sed 's/^/| /' conftest.$ac_ext >&5
27118
27119 glibcxx_cv_func___builtin_fabs_link=no
27120 fi
27121 rm -f conftest.err conftest.$ac_objext \
27122       conftest$ac_exeext conftest.$ac_ext
27123
27124 fi
27125
27126     fi
27127     echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_fabs_link" >&5
27128 echo "${ECHO_T}$glibcxx_cv_func___builtin_fabs_link" >&6
27129
27130     if test x$glibcxx_cv_func___builtin_fabs_link = x"yes"; then
27131
27132 cat >>confdefs.h <<\_ACEOF
27133 #define HAVE___BUILTIN_FABS 1
27134 _ACEOF
27135
27136     fi
27137
27138   fi
27139
27140
27141   echo "$as_me:$LINENO: checking for __builtin_fabsl declaration" >&5
27142 echo $ECHO_N "checking for __builtin_fabsl declaration... $ECHO_C" >&6
27143   if test x${glibcxx_cv_func___builtin_fabsl_use+set} != xset; then
27144     if test "${glibcxx_cv_func___builtin_fabsl_use+set}" = set; then
27145   echo $ECHO_N "(cached) $ECHO_C" >&6
27146 else
27147
27148
27149
27150       ac_ext=cc
27151 ac_cpp='$CXXCPP $CPPFLAGS'
27152 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27153 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27154 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27155
27156       cat >conftest.$ac_ext <<_ACEOF
27157 /* confdefs.h.  */
27158 _ACEOF
27159 cat confdefs.h >>conftest.$ac_ext
27160 cat >>conftest.$ac_ext <<_ACEOF
27161 /* end confdefs.h.  */
27162 #include <math.h>
27163 int
27164 main ()
27165 {
27166  __builtin_fabsl(0);
27167   ;
27168   return 0;
27169 }
27170 _ACEOF
27171 rm -f conftest.$ac_objext
27172 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
27173   (eval $ac_compile) 2>conftest.er1
27174   ac_status=$?
27175   grep -v '^ *+' conftest.er1 >conftest.err
27176   rm -f conftest.er1
27177   cat conftest.err >&5
27178   echo "$as_me:$LINENO: \$? = $ac_status" >&5
27179   (exit $ac_status); } &&
27180          { ac_try='test -z "$ac_cxx_werror_flag"
27181                          || test ! -s conftest.err'
27182   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27183   (eval $ac_try) 2>&5
27184   ac_status=$?
27185   echo "$as_me:$LINENO: \$? = $ac_status" >&5
27186   (exit $ac_status); }; } &&
27187          { ac_try='test -s conftest.$ac_objext'
27188   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27189   (eval $ac_try) 2>&5
27190   ac_status=$?
27191   echo "$as_me:$LINENO: \$? = $ac_status" >&5
27192   (exit $ac_status); }; }; then
27193   glibcxx_cv_func___builtin_fabsl_use=yes
27194 else
27195   echo "$as_me: failed program was:" >&5
27196 sed 's/^/| /' conftest.$ac_ext >&5
27197
27198 glibcxx_cv_func___builtin_fabsl_use=no
27199 fi
27200 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
27201       ac_ext=c
27202 ac_cpp='$CPP $CPPFLAGS'
27203 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27204 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27205 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27206
27207
27208 fi
27209
27210   fi
27211   echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_fabsl_use" >&5
27212 echo "${ECHO_T}$glibcxx_cv_func___builtin_fabsl_use" >&6
27213   if test x$glibcxx_cv_func___builtin_fabsl_use = x"yes"; then
27214     echo "$as_me:$LINENO: checking for __builtin_fabsl linkage" >&5
27215 echo $ECHO_N "checking for __builtin_fabsl linkage... $ECHO_C" >&6
27216     if test x${glibcxx_cv_func___builtin_fabsl_link+set} != xset; then
27217       if test "${glibcxx_cv_func___builtin_fabsl_link+set}" = set; then
27218   echo $ECHO_N "(cached) $ECHO_C" >&6
27219 else
27220
27221         if test x$gcc_no_link = xyes; then
27222   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
27223 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
27224    { (exit 1); exit 1; }; }
27225 fi
27226 cat >conftest.$ac_ext <<_ACEOF
27227 /* confdefs.h.  */
27228 _ACEOF
27229 cat confdefs.h >>conftest.$ac_ext
27230 cat >>conftest.$ac_ext <<_ACEOF
27231 /* end confdefs.h.  */
27232 #include <math.h>
27233 int
27234 main ()
27235 {
27236  __builtin_fabsl(0);
27237   ;
27238   return 0;
27239 }
27240 _ACEOF
27241 rm -f conftest.$ac_objext conftest$ac_exeext
27242 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27243   (eval $ac_link) 2>conftest.er1
27244   ac_status=$?
27245   grep -v '^ *+' conftest.er1 >conftest.err
27246   rm -f conftest.er1
27247   cat conftest.err >&5
27248   echo "$as_me:$LINENO: \$? = $ac_status" >&5
27249   (exit $ac_status); } &&
27250          { ac_try='test -z "$ac_c_werror_flag"
27251                          || test ! -s conftest.err'
27252   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27253   (eval $ac_try) 2>&5
27254   ac_status=$?
27255   echo "$as_me:$LINENO: \$? = $ac_status" >&5
27256   (exit $ac_status); }; } &&
27257          { ac_try='test -s conftest$ac_exeext'
27258   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27259   (eval $ac_try) 2>&5
27260   ac_status=$?
27261   echo "$as_me:$LINENO: \$? = $ac_status" >&5
27262   (exit $ac_status); }; }; then
27263   glibcxx_cv_func___builtin_fabsl_link=yes
27264 else
27265   echo "$as_me: failed program was:" >&5
27266 sed 's/^/| /' conftest.$ac_ext >&5
27267
27268 glibcxx_cv_func___builtin_fabsl_link=no
27269 fi
27270 rm -f conftest.err conftest.$ac_objext \
27271       conftest$ac_exeext conftest.$ac_ext
27272
27273 fi
27274
27275     fi
27276     echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_fabsl_link" >&5
27277 echo "${ECHO_T}$glibcxx_cv_func___builtin_fabsl_link" >&6
27278
27279     if test x$glibcxx_cv_func___builtin_fabsl_link = x"yes"; then
27280
27281 cat >>confdefs.h <<\_ACEOF
27282 #define HAVE___BUILTIN_FABSL 1
27283 _ACEOF
27284
27285     fi
27286
27287   fi
27288
27289
27290   echo "$as_me:$LINENO: checking for __builtin_labs declaration" >&5
27291 echo $ECHO_N "checking for __builtin_labs declaration... $ECHO_C" >&6
27292   if test x${glibcxx_cv_func___builtin_labs_use+set} != xset; then
27293     if test "${glibcxx_cv_func___builtin_labs_use+set}" = set; then
27294   echo $ECHO_N "(cached) $ECHO_C" >&6
27295 else
27296
27297
27298
27299       ac_ext=cc
27300 ac_cpp='$CXXCPP $CPPFLAGS'
27301 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27302 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27303 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27304
27305       cat >conftest.$ac_ext <<_ACEOF
27306 /* confdefs.h.  */
27307 _ACEOF
27308 cat confdefs.h >>conftest.$ac_ext
27309 cat >>conftest.$ac_ext <<_ACEOF
27310 /* end confdefs.h.  */
27311 #include <math.h>
27312 int
27313 main ()
27314 {
27315  __builtin_labs(0);
27316   ;
27317   return 0;
27318 }
27319 _ACEOF
27320 rm -f conftest.$ac_objext
27321 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
27322   (eval $ac_compile) 2>conftest.er1
27323   ac_status=$?
27324   grep -v '^ *+' conftest.er1 >conftest.err
27325   rm -f conftest.er1
27326   cat conftest.err >&5
27327   echo "$as_me:$LINENO: \$? = $ac_status" >&5
27328   (exit $ac_status); } &&
27329          { ac_try='test -z "$ac_cxx_werror_flag"
27330                          || test ! -s conftest.err'
27331   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27332   (eval $ac_try) 2>&5
27333   ac_status=$?
27334   echo "$as_me:$LINENO: \$? = $ac_status" >&5
27335   (exit $ac_status); }; } &&
27336          { ac_try='test -s conftest.$ac_objext'
27337   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27338   (eval $ac_try) 2>&5
27339   ac_status=$?
27340   echo "$as_me:$LINENO: \$? = $ac_status" >&5
27341   (exit $ac_status); }; }; then
27342   glibcxx_cv_func___builtin_labs_use=yes
27343 else
27344   echo "$as_me: failed program was:" >&5
27345 sed 's/^/| /' conftest.$ac_ext >&5
27346
27347 glibcxx_cv_func___builtin_labs_use=no
27348 fi
27349 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
27350       ac_ext=c
27351 ac_cpp='$CPP $CPPFLAGS'
27352 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27353 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27354 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27355
27356
27357 fi
27358
27359   fi
27360   echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_labs_use" >&5
27361 echo "${ECHO_T}$glibcxx_cv_func___builtin_labs_use" >&6
27362   if test x$glibcxx_cv_func___builtin_labs_use = x"yes"; then
27363     echo "$as_me:$LINENO: checking for __builtin_labs linkage" >&5
27364 echo $ECHO_N "checking for __builtin_labs linkage... $ECHO_C" >&6
27365     if test x${glibcxx_cv_func___builtin_labs_link+set} != xset; then
27366       if test "${glibcxx_cv_func___builtin_labs_link+set}" = set; then
27367   echo $ECHO_N "(cached) $ECHO_C" >&6
27368 else
27369
27370         if test x$gcc_no_link = xyes; then
27371   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
27372 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
27373    { (exit 1); exit 1; }; }
27374 fi
27375 cat >conftest.$ac_ext <<_ACEOF
27376 /* confdefs.h.  */
27377 _ACEOF
27378 cat confdefs.h >>conftest.$ac_ext
27379 cat >>conftest.$ac_ext <<_ACEOF
27380 /* end confdefs.h.  */
27381 #include <math.h>
27382 int
27383 main ()
27384 {
27385  __builtin_labs(0);
27386   ;
27387   return 0;
27388 }
27389 _ACEOF
27390 rm -f conftest.$ac_objext conftest$ac_exeext
27391 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27392   (eval $ac_link) 2>conftest.er1
27393   ac_status=$?
27394   grep -v '^ *+' conftest.er1 >conftest.err
27395   rm -f conftest.er1
27396   cat conftest.err >&5
27397   echo "$as_me:$LINENO: \$? = $ac_status" >&5
27398   (exit $ac_status); } &&
27399          { ac_try='test -z "$ac_c_werror_flag"
27400                          || test ! -s conftest.err'
27401   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27402   (eval $ac_try) 2>&5
27403   ac_status=$?
27404   echo "$as_me:$LINENO: \$? = $ac_status" >&5
27405   (exit $ac_status); }; } &&
27406          { ac_try='test -s conftest$ac_exeext'
27407   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27408   (eval $ac_try) 2>&5
27409   ac_status=$?
27410   echo "$as_me:$LINENO: \$? = $ac_status" >&5
27411   (exit $ac_status); }; }; then
27412   glibcxx_cv_func___builtin_labs_link=yes
27413 else
27414   echo "$as_me: failed program was:" >&5
27415 sed 's/^/| /' conftest.$ac_ext >&5
27416
27417 glibcxx_cv_func___builtin_labs_link=no
27418 fi
27419 rm -f conftest.err conftest.$ac_objext \
27420       conftest$ac_exeext conftest.$ac_ext
27421
27422 fi
27423
27424     fi
27425     echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_labs_link" >&5
27426 echo "${ECHO_T}$glibcxx_cv_func___builtin_labs_link" >&6
27427
27428     if test x$glibcxx_cv_func___builtin_labs_link = x"yes"; then
27429
27430 cat >>confdefs.h <<\_ACEOF
27431 #define HAVE___BUILTIN_LABS 1
27432 _ACEOF
27433
27434     fi
27435
27436   fi
27437
27438
27439
27440   echo "$as_me:$LINENO: checking for __builtin_sqrtf declaration" >&5
27441 echo $ECHO_N "checking for __builtin_sqrtf declaration... $ECHO_C" >&6
27442   if test x${glibcxx_cv_func___builtin_sqrtf_use+set} != xset; then
27443     if test "${glibcxx_cv_func___builtin_sqrtf_use+set}" = set; then
27444   echo $ECHO_N "(cached) $ECHO_C" >&6
27445 else
27446
27447
27448
27449       ac_ext=cc
27450 ac_cpp='$CXXCPP $CPPFLAGS'
27451 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27452 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27453 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27454
27455       cat >conftest.$ac_ext <<_ACEOF
27456 /* confdefs.h.  */
27457 _ACEOF
27458 cat confdefs.h >>conftest.$ac_ext
27459 cat >>conftest.$ac_ext <<_ACEOF
27460 /* end confdefs.h.  */
27461 #include <math.h>
27462 int
27463 main ()
27464 {
27465  __builtin_sqrtf(0);
27466   ;
27467   return 0;
27468 }
27469 _ACEOF
27470 rm -f conftest.$ac_objext
27471 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
27472   (eval $ac_compile) 2>conftest.er1
27473   ac_status=$?
27474   grep -v '^ *+' conftest.er1 >conftest.err
27475   rm -f conftest.er1
27476   cat conftest.err >&5
27477   echo "$as_me:$LINENO: \$? = $ac_status" >&5
27478   (exit $ac_status); } &&
27479          { ac_try='test -z "$ac_cxx_werror_flag"
27480                          || test ! -s conftest.err'
27481   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27482   (eval $ac_try) 2>&5
27483   ac_status=$?
27484   echo "$as_me:$LINENO: \$? = $ac_status" >&5
27485   (exit $ac_status); }; } &&
27486          { ac_try='test -s conftest.$ac_objext'
27487   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27488   (eval $ac_try) 2>&5
27489   ac_status=$?
27490   echo "$as_me:$LINENO: \$? = $ac_status" >&5
27491   (exit $ac_status); }; }; then
27492   glibcxx_cv_func___builtin_sqrtf_use=yes
27493 else
27494   echo "$as_me: failed program was:" >&5
27495 sed 's/^/| /' conftest.$ac_ext >&5
27496
27497 glibcxx_cv_func___builtin_sqrtf_use=no
27498 fi
27499 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
27500       ac_ext=c
27501 ac_cpp='$CPP $CPPFLAGS'
27502 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27503 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27504 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27505
27506
27507 fi
27508
27509   fi
27510   echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sqrtf_use" >&5
27511 echo "${ECHO_T}$glibcxx_cv_func___builtin_sqrtf_use" >&6
27512   if test x$glibcxx_cv_func___builtin_sqrtf_use = x"yes"; then
27513     echo "$as_me:$LINENO: checking for __builtin_sqrtf linkage" >&5
27514 echo $ECHO_N "checking for __builtin_sqrtf linkage... $ECHO_C" >&6
27515     if test x${glibcxx_cv_func___builtin_sqrtf_link+set} != xset; then
27516       if test "${glibcxx_cv_func___builtin_sqrtf_link+set}" = set; then
27517   echo $ECHO_N "(cached) $ECHO_C" >&6
27518 else
27519
27520         if test x$gcc_no_link = xyes; then
27521   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
27522 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
27523    { (exit 1); exit 1; }; }
27524 fi
27525 cat >conftest.$ac_ext <<_ACEOF
27526 /* confdefs.h.  */
27527 _ACEOF
27528 cat confdefs.h >>conftest.$ac_ext
27529 cat >>conftest.$ac_ext <<_ACEOF
27530 /* end confdefs.h.  */
27531 #include <math.h>
27532 int
27533 main ()
27534 {
27535  __builtin_sqrtf(0);
27536   ;
27537   return 0;
27538 }
27539 _ACEOF
27540 rm -f conftest.$ac_objext conftest$ac_exeext
27541 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27542   (eval $ac_link) 2>conftest.er1
27543   ac_status=$?
27544   grep -v '^ *+' conftest.er1 >conftest.err
27545   rm -f conftest.er1
27546   cat conftest.err >&5
27547   echo "$as_me:$LINENO: \$? = $ac_status" >&5
27548   (exit $ac_status); } &&
27549          { ac_try='test -z "$ac_c_werror_flag"
27550                          || test ! -s conftest.err'
27551   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27552   (eval $ac_try) 2>&5
27553   ac_status=$?
27554   echo "$as_me:$LINENO: \$? = $ac_status" >&5
27555   (exit $ac_status); }; } &&
27556          { ac_try='test -s conftest$ac_exeext'
27557   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27558   (eval $ac_try) 2>&5
27559   ac_status=$?
27560   echo "$as_me:$LINENO: \$? = $ac_status" >&5
27561   (exit $ac_status); }; }; then
27562   glibcxx_cv_func___builtin_sqrtf_link=yes
27563 else
27564   echo "$as_me: failed program was:" >&5
27565 sed 's/^/| /' conftest.$ac_ext >&5
27566
27567 glibcxx_cv_func___builtin_sqrtf_link=no
27568 fi
27569 rm -f conftest.err conftest.$ac_objext \
27570       conftest$ac_exeext conftest.$ac_ext
27571
27572 fi
27573
27574     fi
27575     echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sqrtf_link" >&5
27576 echo "${ECHO_T}$glibcxx_cv_func___builtin_sqrtf_link" >&6
27577
27578     if test x$glibcxx_cv_func___builtin_sqrtf_link = x"yes"; then
27579
27580 cat >>confdefs.h <<\_ACEOF
27581 #define HAVE___BUILTIN_SQRTF 1
27582 _ACEOF
27583
27584     fi
27585
27586   fi
27587
27588
27589   echo "$as_me:$LINENO: checking for __builtin_sqrt declaration" >&5
27590 echo $ECHO_N "checking for __builtin_sqrt declaration... $ECHO_C" >&6
27591   if test x${glibcxx_cv_func___builtin_sqrt_use+set} != xset; then
27592     if test "${glibcxx_cv_func___builtin_sqrt_use+set}" = set; then
27593   echo $ECHO_N "(cached) $ECHO_C" >&6
27594 else
27595
27596
27597
27598       ac_ext=cc
27599 ac_cpp='$CXXCPP $CPPFLAGS'
27600 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27601 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27602 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27603
27604       cat >conftest.$ac_ext <<_ACEOF
27605 /* confdefs.h.  */
27606 _ACEOF
27607 cat confdefs.h >>conftest.$ac_ext
27608 cat >>conftest.$ac_ext <<_ACEOF
27609 /* end confdefs.h.  */
27610 #include <math.h>
27611 int
27612 main ()
27613 {
27614  __builtin_sqrt(0);
27615   ;
27616   return 0;
27617 }
27618 _ACEOF
27619 rm -f conftest.$ac_objext
27620 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
27621   (eval $ac_compile) 2>conftest.er1
27622   ac_status=$?
27623   grep -v '^ *+' conftest.er1 >conftest.err
27624   rm -f conftest.er1
27625   cat conftest.err >&5
27626   echo "$as_me:$LINENO: \$? = $ac_status" >&5
27627   (exit $ac_status); } &&
27628          { ac_try='test -z "$ac_cxx_werror_flag"
27629                          || test ! -s conftest.err'
27630   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27631   (eval $ac_try) 2>&5
27632   ac_status=$?
27633   echo "$as_me:$LINENO: \$? = $ac_status" >&5
27634   (exit $ac_status); }; } &&
27635          { ac_try='test -s conftest.$ac_objext'
27636   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27637   (eval $ac_try) 2>&5
27638   ac_status=$?
27639   echo "$as_me:$LINENO: \$? = $ac_status" >&5
27640   (exit $ac_status); }; }; then
27641   glibcxx_cv_func___builtin_sqrt_use=yes
27642 else
27643   echo "$as_me: failed program was:" >&5
27644 sed 's/^/| /' conftest.$ac_ext >&5
27645
27646 glibcxx_cv_func___builtin_sqrt_use=no
27647 fi
27648 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
27649       ac_ext=c
27650 ac_cpp='$CPP $CPPFLAGS'
27651 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27652 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27653 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27654
27655
27656 fi
27657
27658   fi
27659   echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sqrt_use" >&5
27660 echo "${ECHO_T}$glibcxx_cv_func___builtin_sqrt_use" >&6
27661   if test x$glibcxx_cv_func___builtin_sqrt_use = x"yes"; then
27662     echo "$as_me:$LINENO: checking for __builtin_sqrt linkage" >&5
27663 echo $ECHO_N "checking for __builtin_sqrt linkage... $ECHO_C" >&6
27664     if test x${glibcxx_cv_func___builtin_sqrt_link+set} != xset; then
27665       if test "${glibcxx_cv_func___builtin_sqrt_link+set}" = set; then
27666   echo $ECHO_N "(cached) $ECHO_C" >&6
27667 else
27668
27669         if test x$gcc_no_link = xyes; then
27670   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
27671 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
27672    { (exit 1); exit 1; }; }
27673 fi
27674 cat >conftest.$ac_ext <<_ACEOF
27675 /* confdefs.h.  */
27676 _ACEOF
27677 cat confdefs.h >>conftest.$ac_ext
27678 cat >>conftest.$ac_ext <<_ACEOF
27679 /* end confdefs.h.  */
27680 #include <math.h>
27681 int
27682 main ()
27683 {
27684  __builtin_sqrt(0);
27685   ;
27686   return 0;
27687 }
27688 _ACEOF
27689 rm -f conftest.$ac_objext conftest$ac_exeext
27690 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27691   (eval $ac_link) 2>conftest.er1
27692   ac_status=$?
27693   grep -v '^ *+' conftest.er1 >conftest.err
27694   rm -f conftest.er1
27695   cat conftest.err >&5
27696   echo "$as_me:$LINENO: \$? = $ac_status" >&5
27697   (exit $ac_status); } &&
27698          { ac_try='test -z "$ac_c_werror_flag"
27699                          || test ! -s conftest.err'
27700   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27701   (eval $ac_try) 2>&5
27702   ac_status=$?
27703   echo "$as_me:$LINENO: \$? = $ac_status" >&5
27704   (exit $ac_status); }; } &&
27705          { ac_try='test -s conftest$ac_exeext'
27706   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27707   (eval $ac_try) 2>&5
27708   ac_status=$?
27709   echo "$as_me:$LINENO: \$? = $ac_status" >&5
27710   (exit $ac_status); }; }; then
27711   glibcxx_cv_func___builtin_sqrt_link=yes
27712 else
27713   echo "$as_me: failed program was:" >&5
27714 sed 's/^/| /' conftest.$ac_ext >&5
27715
27716 glibcxx_cv_func___builtin_sqrt_link=no
27717 fi
27718 rm -f conftest.err conftest.$ac_objext \
27719       conftest$ac_exeext conftest.$ac_ext
27720
27721 fi
27722
27723     fi
27724     echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sqrt_link" >&5
27725 echo "${ECHO_T}$glibcxx_cv_func___builtin_sqrt_link" >&6
27726
27727     if test x$glibcxx_cv_func___builtin_sqrt_link = x"yes"; then
27728
27729 cat >>confdefs.h <<\_ACEOF
27730 #define HAVE___BUILTIN_SQRT 1
27731 _ACEOF
27732
27733     fi
27734
27735   fi
27736
27737
27738   echo "$as_me:$LINENO: checking for __builtin_sqrtl declaration" >&5
27739 echo $ECHO_N "checking for __builtin_sqrtl declaration... $ECHO_C" >&6
27740   if test x${glibcxx_cv_func___builtin_sqrtl_use+set} != xset; then
27741     if test "${glibcxx_cv_func___builtin_sqrtl_use+set}" = set; then
27742   echo $ECHO_N "(cached) $ECHO_C" >&6
27743 else
27744
27745
27746
27747       ac_ext=cc
27748 ac_cpp='$CXXCPP $CPPFLAGS'
27749 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27750 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27751 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27752
27753       cat >conftest.$ac_ext <<_ACEOF
27754 /* confdefs.h.  */
27755 _ACEOF
27756 cat confdefs.h >>conftest.$ac_ext
27757 cat >>conftest.$ac_ext <<_ACEOF
27758 /* end confdefs.h.  */
27759 #include <math.h>
27760 int
27761 main ()
27762 {
27763  __builtin_sqrtl(0);
27764   ;
27765   return 0;
27766 }
27767 _ACEOF
27768 rm -f conftest.$ac_objext
27769 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
27770   (eval $ac_compile) 2>conftest.er1
27771   ac_status=$?
27772   grep -v '^ *+' conftest.er1 >conftest.err
27773   rm -f conftest.er1
27774   cat conftest.err >&5
27775   echo "$as_me:$LINENO: \$? = $ac_status" >&5
27776   (exit $ac_status); } &&
27777          { ac_try='test -z "$ac_cxx_werror_flag"
27778                          || test ! -s conftest.err'
27779   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27780   (eval $ac_try) 2>&5
27781   ac_status=$?
27782   echo "$as_me:$LINENO: \$? = $ac_status" >&5
27783   (exit $ac_status); }; } &&
27784          { ac_try='test -s conftest.$ac_objext'
27785   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27786   (eval $ac_try) 2>&5
27787   ac_status=$?
27788   echo "$as_me:$LINENO: \$? = $ac_status" >&5
27789   (exit $ac_status); }; }; then
27790   glibcxx_cv_func___builtin_sqrtl_use=yes
27791 else
27792   echo "$as_me: failed program was:" >&5
27793 sed 's/^/| /' conftest.$ac_ext >&5
27794
27795 glibcxx_cv_func___builtin_sqrtl_use=no
27796 fi
27797 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
27798       ac_ext=c
27799 ac_cpp='$CPP $CPPFLAGS'
27800 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27801 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27802 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27803
27804
27805 fi
27806
27807   fi
27808   echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sqrtl_use" >&5
27809 echo "${ECHO_T}$glibcxx_cv_func___builtin_sqrtl_use" >&6
27810   if test x$glibcxx_cv_func___builtin_sqrtl_use = x"yes"; then
27811     echo "$as_me:$LINENO: checking for __builtin_sqrtl linkage" >&5
27812 echo $ECHO_N "checking for __builtin_sqrtl linkage... $ECHO_C" >&6
27813     if test x${glibcxx_cv_func___builtin_sqrtl_link+set} != xset; then
27814       if test "${glibcxx_cv_func___builtin_sqrtl_link+set}" = set; then
27815   echo $ECHO_N "(cached) $ECHO_C" >&6
27816 else
27817
27818         if test x$gcc_no_link = xyes; then
27819   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
27820 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
27821    { (exit 1); exit 1; }; }
27822 fi
27823 cat >conftest.$ac_ext <<_ACEOF
27824 /* confdefs.h.  */
27825 _ACEOF
27826 cat confdefs.h >>conftest.$ac_ext
27827 cat >>conftest.$ac_ext <<_ACEOF
27828 /* end confdefs.h.  */
27829 #include <math.h>
27830 int
27831 main ()
27832 {
27833  __builtin_sqrtl(0);
27834   ;
27835   return 0;
27836 }
27837 _ACEOF
27838 rm -f conftest.$ac_objext conftest$ac_exeext
27839 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27840   (eval $ac_link) 2>conftest.er1
27841   ac_status=$?
27842   grep -v '^ *+' conftest.er1 >conftest.err
27843   rm -f conftest.er1
27844   cat conftest.err >&5
27845   echo "$as_me:$LINENO: \$? = $ac_status" >&5
27846   (exit $ac_status); } &&
27847          { ac_try='test -z "$ac_c_werror_flag"
27848                          || test ! -s conftest.err'
27849   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27850   (eval $ac_try) 2>&5
27851   ac_status=$?
27852   echo "$as_me:$LINENO: \$? = $ac_status" >&5
27853   (exit $ac_status); }; } &&
27854          { ac_try='test -s conftest$ac_exeext'
27855   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27856   (eval $ac_try) 2>&5
27857   ac_status=$?
27858   echo "$as_me:$LINENO: \$? = $ac_status" >&5
27859   (exit $ac_status); }; }; then
27860   glibcxx_cv_func___builtin_sqrtl_link=yes
27861 else
27862   echo "$as_me: failed program was:" >&5
27863 sed 's/^/| /' conftest.$ac_ext >&5
27864
27865 glibcxx_cv_func___builtin_sqrtl_link=no
27866 fi
27867 rm -f conftest.err conftest.$ac_objext \
27868       conftest$ac_exeext conftest.$ac_ext
27869
27870 fi
27871
27872     fi
27873     echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sqrtl_link" >&5
27874 echo "${ECHO_T}$glibcxx_cv_func___builtin_sqrtl_link" >&6
27875
27876     if test x$glibcxx_cv_func___builtin_sqrtl_link = x"yes"; then
27877
27878 cat >>confdefs.h <<\_ACEOF
27879 #define HAVE___BUILTIN_SQRTL 1
27880 _ACEOF
27881
27882     fi
27883
27884   fi
27885
27886
27887
27888   echo "$as_me:$LINENO: checking for __builtin_sinf declaration" >&5
27889 echo $ECHO_N "checking for __builtin_sinf declaration... $ECHO_C" >&6
27890   if test x${glibcxx_cv_func___builtin_sinf_use+set} != xset; then
27891     if test "${glibcxx_cv_func___builtin_sinf_use+set}" = set; then
27892   echo $ECHO_N "(cached) $ECHO_C" >&6
27893 else
27894
27895
27896
27897       ac_ext=cc
27898 ac_cpp='$CXXCPP $CPPFLAGS'
27899 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27900 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27901 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27902
27903       cat >conftest.$ac_ext <<_ACEOF
27904 /* confdefs.h.  */
27905 _ACEOF
27906 cat confdefs.h >>conftest.$ac_ext
27907 cat >>conftest.$ac_ext <<_ACEOF
27908 /* end confdefs.h.  */
27909 #include <math.h>
27910 int
27911 main ()
27912 {
27913  __builtin_sinf(0);
27914   ;
27915   return 0;
27916 }
27917 _ACEOF
27918 rm -f conftest.$ac_objext
27919 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
27920   (eval $ac_compile) 2>conftest.er1
27921   ac_status=$?
27922   grep -v '^ *+' conftest.er1 >conftest.err
27923   rm -f conftest.er1
27924   cat conftest.err >&5
27925   echo "$as_me:$LINENO: \$? = $ac_status" >&5
27926   (exit $ac_status); } &&
27927          { ac_try='test -z "$ac_cxx_werror_flag"
27928                          || test ! -s conftest.err'
27929   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27930   (eval $ac_try) 2>&5
27931   ac_status=$?
27932   echo "$as_me:$LINENO: \$? = $ac_status" >&5
27933   (exit $ac_status); }; } &&
27934          { ac_try='test -s conftest.$ac_objext'
27935   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27936   (eval $ac_try) 2>&5
27937   ac_status=$?
27938   echo "$as_me:$LINENO: \$? = $ac_status" >&5
27939   (exit $ac_status); }; }; then
27940   glibcxx_cv_func___builtin_sinf_use=yes
27941 else
27942   echo "$as_me: failed program was:" >&5
27943 sed 's/^/| /' conftest.$ac_ext >&5
27944
27945 glibcxx_cv_func___builtin_sinf_use=no
27946 fi
27947 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
27948       ac_ext=c
27949 ac_cpp='$CPP $CPPFLAGS'
27950 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27951 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27952 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27953
27954
27955 fi
27956
27957   fi
27958   echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sinf_use" >&5
27959 echo "${ECHO_T}$glibcxx_cv_func___builtin_sinf_use" >&6
27960   if test x$glibcxx_cv_func___builtin_sinf_use = x"yes"; then
27961     echo "$as_me:$LINENO: checking for __builtin_sinf linkage" >&5
27962 echo $ECHO_N "checking for __builtin_sinf linkage... $ECHO_C" >&6
27963     if test x${glibcxx_cv_func___builtin_sinf_link+set} != xset; then
27964       if test "${glibcxx_cv_func___builtin_sinf_link+set}" = set; then
27965   echo $ECHO_N "(cached) $ECHO_C" >&6
27966 else
27967
27968         if test x$gcc_no_link = xyes; then
27969   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
27970 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
27971    { (exit 1); exit 1; }; }
27972 fi
27973 cat >conftest.$ac_ext <<_ACEOF
27974 /* confdefs.h.  */
27975 _ACEOF
27976 cat confdefs.h >>conftest.$ac_ext
27977 cat >>conftest.$ac_ext <<_ACEOF
27978 /* end confdefs.h.  */
27979 #include <math.h>
27980 int
27981 main ()
27982 {
27983  __builtin_sinf(0);
27984   ;
27985   return 0;
27986 }
27987 _ACEOF
27988 rm -f conftest.$ac_objext conftest$ac_exeext
27989 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27990   (eval $ac_link) 2>conftest.er1
27991   ac_status=$?
27992   grep -v '^ *+' conftest.er1 >conftest.err
27993   rm -f conftest.er1
27994   cat conftest.err >&5
27995   echo "$as_me:$LINENO: \$? = $ac_status" >&5
27996   (exit $ac_status); } &&
27997          { ac_try='test -z "$ac_c_werror_flag"
27998                          || test ! -s conftest.err'
27999   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28000   (eval $ac_try) 2>&5
28001   ac_status=$?
28002   echo "$as_me:$LINENO: \$? = $ac_status" >&5
28003   (exit $ac_status); }; } &&
28004          { ac_try='test -s conftest$ac_exeext'
28005   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28006   (eval $ac_try) 2>&5
28007   ac_status=$?
28008   echo "$as_me:$LINENO: \$? = $ac_status" >&5
28009   (exit $ac_status); }; }; then
28010   glibcxx_cv_func___builtin_sinf_link=yes
28011 else
28012   echo "$as_me: failed program was:" >&5
28013 sed 's/^/| /' conftest.$ac_ext >&5
28014
28015 glibcxx_cv_func___builtin_sinf_link=no
28016 fi
28017 rm -f conftest.err conftest.$ac_objext \
28018       conftest$ac_exeext conftest.$ac_ext
28019
28020 fi
28021
28022     fi
28023     echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sinf_link" >&5
28024 echo "${ECHO_T}$glibcxx_cv_func___builtin_sinf_link" >&6
28025
28026     if test x$glibcxx_cv_func___builtin_sinf_link = x"yes"; then
28027
28028 cat >>confdefs.h <<\_ACEOF
28029 #define HAVE___BUILTIN_SINF 1
28030 _ACEOF
28031
28032     fi
28033
28034   fi
28035
28036
28037   echo "$as_me:$LINENO: checking for __builtin_sin declaration" >&5
28038 echo $ECHO_N "checking for __builtin_sin declaration... $ECHO_C" >&6
28039   if test x${glibcxx_cv_func___builtin_sin_use+set} != xset; then
28040     if test "${glibcxx_cv_func___builtin_sin_use+set}" = set; then
28041   echo $ECHO_N "(cached) $ECHO_C" >&6
28042 else
28043
28044
28045
28046       ac_ext=cc
28047 ac_cpp='$CXXCPP $CPPFLAGS'
28048 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28049 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28050 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
28051
28052       cat >conftest.$ac_ext <<_ACEOF
28053 /* confdefs.h.  */
28054 _ACEOF
28055 cat confdefs.h >>conftest.$ac_ext
28056 cat >>conftest.$ac_ext <<_ACEOF
28057 /* end confdefs.h.  */
28058 #include <math.h>
28059 int
28060 main ()
28061 {
28062  __builtin_sin(0);
28063   ;
28064   return 0;
28065 }
28066 _ACEOF
28067 rm -f conftest.$ac_objext
28068 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
28069   (eval $ac_compile) 2>conftest.er1
28070   ac_status=$?
28071   grep -v '^ *+' conftest.er1 >conftest.err
28072   rm -f conftest.er1
28073   cat conftest.err >&5
28074   echo "$as_me:$LINENO: \$? = $ac_status" >&5
28075   (exit $ac_status); } &&
28076          { ac_try='test -z "$ac_cxx_werror_flag"
28077                          || test ! -s conftest.err'
28078   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28079   (eval $ac_try) 2>&5
28080   ac_status=$?
28081   echo "$as_me:$LINENO: \$? = $ac_status" >&5
28082   (exit $ac_status); }; } &&
28083          { ac_try='test -s conftest.$ac_objext'
28084   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28085   (eval $ac_try) 2>&5
28086   ac_status=$?
28087   echo "$as_me:$LINENO: \$? = $ac_status" >&5
28088   (exit $ac_status); }; }; then
28089   glibcxx_cv_func___builtin_sin_use=yes
28090 else
28091   echo "$as_me: failed program was:" >&5
28092 sed 's/^/| /' conftest.$ac_ext >&5
28093
28094 glibcxx_cv_func___builtin_sin_use=no
28095 fi
28096 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
28097       ac_ext=c
28098 ac_cpp='$CPP $CPPFLAGS'
28099 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28100 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28101 ac_compiler_gnu=$ac_cv_c_compiler_gnu
28102
28103
28104 fi
28105
28106   fi
28107   echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sin_use" >&5
28108 echo "${ECHO_T}$glibcxx_cv_func___builtin_sin_use" >&6
28109   if test x$glibcxx_cv_func___builtin_sin_use = x"yes"; then
28110     echo "$as_me:$LINENO: checking for __builtin_sin linkage" >&5
28111 echo $ECHO_N "checking for __builtin_sin linkage... $ECHO_C" >&6
28112     if test x${glibcxx_cv_func___builtin_sin_link+set} != xset; then
28113       if test "${glibcxx_cv_func___builtin_sin_link+set}" = set; then
28114   echo $ECHO_N "(cached) $ECHO_C" >&6
28115 else
28116
28117         if test x$gcc_no_link = xyes; then
28118   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
28119 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
28120    { (exit 1); exit 1; }; }
28121 fi
28122 cat >conftest.$ac_ext <<_ACEOF
28123 /* confdefs.h.  */
28124 _ACEOF
28125 cat confdefs.h >>conftest.$ac_ext
28126 cat >>conftest.$ac_ext <<_ACEOF
28127 /* end confdefs.h.  */
28128 #include <math.h>
28129 int
28130 main ()
28131 {
28132  __builtin_sin(0);
28133   ;
28134   return 0;
28135 }
28136 _ACEOF
28137 rm -f conftest.$ac_objext conftest$ac_exeext
28138 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28139   (eval $ac_link) 2>conftest.er1
28140   ac_status=$?
28141   grep -v '^ *+' conftest.er1 >conftest.err
28142   rm -f conftest.er1
28143   cat conftest.err >&5
28144   echo "$as_me:$LINENO: \$? = $ac_status" >&5
28145   (exit $ac_status); } &&
28146          { ac_try='test -z "$ac_c_werror_flag"
28147                          || test ! -s conftest.err'
28148   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28149   (eval $ac_try) 2>&5
28150   ac_status=$?
28151   echo "$as_me:$LINENO: \$? = $ac_status" >&5
28152   (exit $ac_status); }; } &&
28153          { ac_try='test -s conftest$ac_exeext'
28154   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28155   (eval $ac_try) 2>&5
28156   ac_status=$?
28157   echo "$as_me:$LINENO: \$? = $ac_status" >&5
28158   (exit $ac_status); }; }; then
28159   glibcxx_cv_func___builtin_sin_link=yes
28160 else
28161   echo "$as_me: failed program was:" >&5
28162 sed 's/^/| /' conftest.$ac_ext >&5
28163
28164 glibcxx_cv_func___builtin_sin_link=no
28165 fi
28166 rm -f conftest.err conftest.$ac_objext \
28167       conftest$ac_exeext conftest.$ac_ext
28168
28169 fi
28170
28171     fi
28172     echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sin_link" >&5
28173 echo "${ECHO_T}$glibcxx_cv_func___builtin_sin_link" >&6
28174
28175     if test x$glibcxx_cv_func___builtin_sin_link = x"yes"; then
28176
28177 cat >>confdefs.h <<\_ACEOF
28178 #define HAVE___BUILTIN_SIN 1
28179 _ACEOF
28180
28181     fi
28182
28183   fi
28184
28185
28186   echo "$as_me:$LINENO: checking for __builtin_sinl declaration" >&5
28187 echo $ECHO_N "checking for __builtin_sinl declaration... $ECHO_C" >&6
28188   if test x${glibcxx_cv_func___builtin_sinl_use+set} != xset; then
28189     if test "${glibcxx_cv_func___builtin_sinl_use+set}" = set; then
28190   echo $ECHO_N "(cached) $ECHO_C" >&6
28191 else
28192
28193
28194
28195       ac_ext=cc
28196 ac_cpp='$CXXCPP $CPPFLAGS'
28197 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28198 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28199 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
28200
28201       cat >conftest.$ac_ext <<_ACEOF
28202 /* confdefs.h.  */
28203 _ACEOF
28204 cat confdefs.h >>conftest.$ac_ext
28205 cat >>conftest.$ac_ext <<_ACEOF
28206 /* end confdefs.h.  */
28207 #include <math.h>
28208 int
28209 main ()
28210 {
28211  __builtin_sinl(0);
28212   ;
28213   return 0;
28214 }
28215 _ACEOF
28216 rm -f conftest.$ac_objext
28217 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
28218   (eval $ac_compile) 2>conftest.er1
28219   ac_status=$?
28220   grep -v '^ *+' conftest.er1 >conftest.err
28221   rm -f conftest.er1
28222   cat conftest.err >&5
28223   echo "$as_me:$LINENO: \$? = $ac_status" >&5
28224   (exit $ac_status); } &&
28225          { ac_try='test -z "$ac_cxx_werror_flag"
28226                          || test ! -s conftest.err'
28227   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28228   (eval $ac_try) 2>&5
28229   ac_status=$?
28230   echo "$as_me:$LINENO: \$? = $ac_status" >&5
28231   (exit $ac_status); }; } &&
28232          { ac_try='test -s conftest.$ac_objext'
28233   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28234   (eval $ac_try) 2>&5
28235   ac_status=$?
28236   echo "$as_me:$LINENO: \$? = $ac_status" >&5
28237   (exit $ac_status); }; }; then
28238   glibcxx_cv_func___builtin_sinl_use=yes
28239 else
28240   echo "$as_me: failed program was:" >&5
28241 sed 's/^/| /' conftest.$ac_ext >&5
28242
28243 glibcxx_cv_func___builtin_sinl_use=no
28244 fi
28245 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
28246       ac_ext=c
28247 ac_cpp='$CPP $CPPFLAGS'
28248 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28249 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28250 ac_compiler_gnu=$ac_cv_c_compiler_gnu
28251
28252
28253 fi
28254
28255   fi
28256   echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sinl_use" >&5
28257 echo "${ECHO_T}$glibcxx_cv_func___builtin_sinl_use" >&6
28258   if test x$glibcxx_cv_func___builtin_sinl_use = x"yes"; then
28259     echo "$as_me:$LINENO: checking for __builtin_sinl linkage" >&5
28260 echo $ECHO_N "checking for __builtin_sinl linkage... $ECHO_C" >&6
28261     if test x${glibcxx_cv_func___builtin_sinl_link+set} != xset; then
28262       if test "${glibcxx_cv_func___builtin_sinl_link+set}" = set; then
28263   echo $ECHO_N "(cached) $ECHO_C" >&6
28264 else
28265
28266         if test x$gcc_no_link = xyes; then
28267   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
28268 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
28269    { (exit 1); exit 1; }; }
28270 fi
28271 cat >conftest.$ac_ext <<_ACEOF
28272 /* confdefs.h.  */
28273 _ACEOF
28274 cat confdefs.h >>conftest.$ac_ext
28275 cat >>conftest.$ac_ext <<_ACEOF
28276 /* end confdefs.h.  */
28277 #include <math.h>
28278 int
28279 main ()
28280 {
28281  __builtin_sinl(0);
28282   ;
28283   return 0;
28284 }
28285 _ACEOF
28286 rm -f conftest.$ac_objext conftest$ac_exeext
28287 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28288   (eval $ac_link) 2>conftest.er1
28289   ac_status=$?
28290   grep -v '^ *+' conftest.er1 >conftest.err
28291   rm -f conftest.er1
28292   cat conftest.err >&5
28293   echo "$as_me:$LINENO: \$? = $ac_status" >&5
28294   (exit $ac_status); } &&
28295          { ac_try='test -z "$ac_c_werror_flag"
28296                          || test ! -s conftest.err'
28297   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28298   (eval $ac_try) 2>&5
28299   ac_status=$?
28300   echo "$as_me:$LINENO: \$? = $ac_status" >&5
28301   (exit $ac_status); }; } &&
28302          { ac_try='test -s conftest$ac_exeext'
28303   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28304   (eval $ac_try) 2>&5
28305   ac_status=$?
28306   echo "$as_me:$LINENO: \$? = $ac_status" >&5
28307   (exit $ac_status); }; }; then
28308   glibcxx_cv_func___builtin_sinl_link=yes
28309 else
28310   echo "$as_me: failed program was:" >&5
28311 sed 's/^/| /' conftest.$ac_ext >&5
28312
28313 glibcxx_cv_func___builtin_sinl_link=no
28314 fi
28315 rm -f conftest.err conftest.$ac_objext \
28316       conftest$ac_exeext conftest.$ac_ext
28317
28318 fi
28319
28320     fi
28321     echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sinl_link" >&5
28322 echo "${ECHO_T}$glibcxx_cv_func___builtin_sinl_link" >&6
28323
28324     if test x$glibcxx_cv_func___builtin_sinl_link = x"yes"; then
28325
28326 cat >>confdefs.h <<\_ACEOF
28327 #define HAVE___BUILTIN_SINL 1
28328 _ACEOF
28329
28330     fi
28331
28332   fi
28333
28334
28335
28336   echo "$as_me:$LINENO: checking for __builtin_cosf declaration" >&5
28337 echo $ECHO_N "checking for __builtin_cosf declaration... $ECHO_C" >&6
28338   if test x${glibcxx_cv_func___builtin_cosf_use+set} != xset; then
28339     if test "${glibcxx_cv_func___builtin_cosf_use+set}" = set; then
28340   echo $ECHO_N "(cached) $ECHO_C" >&6
28341 else
28342
28343
28344
28345       ac_ext=cc
28346 ac_cpp='$CXXCPP $CPPFLAGS'
28347 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28348 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28349 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
28350
28351       cat >conftest.$ac_ext <<_ACEOF
28352 /* confdefs.h.  */
28353 _ACEOF
28354 cat confdefs.h >>conftest.$ac_ext
28355 cat >>conftest.$ac_ext <<_ACEOF
28356 /* end confdefs.h.  */
28357 #include <math.h>
28358 int
28359 main ()
28360 {
28361  __builtin_cosf(0);
28362   ;
28363   return 0;
28364 }
28365 _ACEOF
28366 rm -f conftest.$ac_objext
28367 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
28368   (eval $ac_compile) 2>conftest.er1
28369   ac_status=$?
28370   grep -v '^ *+' conftest.er1 >conftest.err
28371   rm -f conftest.er1
28372   cat conftest.err >&5
28373   echo "$as_me:$LINENO: \$? = $ac_status" >&5
28374   (exit $ac_status); } &&
28375          { ac_try='test -z "$ac_cxx_werror_flag"
28376                          || test ! -s conftest.err'
28377   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28378   (eval $ac_try) 2>&5
28379   ac_status=$?
28380   echo "$as_me:$LINENO: \$? = $ac_status" >&5
28381   (exit $ac_status); }; } &&
28382          { ac_try='test -s conftest.$ac_objext'
28383   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28384   (eval $ac_try) 2>&5
28385   ac_status=$?
28386   echo "$as_me:$LINENO: \$? = $ac_status" >&5
28387   (exit $ac_status); }; }; then
28388   glibcxx_cv_func___builtin_cosf_use=yes
28389 else
28390   echo "$as_me: failed program was:" >&5
28391 sed 's/^/| /' conftest.$ac_ext >&5
28392
28393 glibcxx_cv_func___builtin_cosf_use=no
28394 fi
28395 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
28396       ac_ext=c
28397 ac_cpp='$CPP $CPPFLAGS'
28398 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28399 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28400 ac_compiler_gnu=$ac_cv_c_compiler_gnu
28401
28402
28403 fi
28404
28405   fi
28406   echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_cosf_use" >&5
28407 echo "${ECHO_T}$glibcxx_cv_func___builtin_cosf_use" >&6
28408   if test x$glibcxx_cv_func___builtin_cosf_use = x"yes"; then
28409     echo "$as_me:$LINENO: checking for __builtin_cosf linkage" >&5
28410 echo $ECHO_N "checking for __builtin_cosf linkage... $ECHO_C" >&6
28411     if test x${glibcxx_cv_func___builtin_cosf_link+set} != xset; then
28412       if test "${glibcxx_cv_func___builtin_cosf_link+set}" = set; then
28413   echo $ECHO_N "(cached) $ECHO_C" >&6
28414 else
28415
28416         if test x$gcc_no_link = xyes; then
28417   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
28418 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
28419    { (exit 1); exit 1; }; }
28420 fi
28421 cat >conftest.$ac_ext <<_ACEOF
28422 /* confdefs.h.  */
28423 _ACEOF
28424 cat confdefs.h >>conftest.$ac_ext
28425 cat >>conftest.$ac_ext <<_ACEOF
28426 /* end confdefs.h.  */
28427 #include <math.h>
28428 int
28429 main ()
28430 {
28431  __builtin_cosf(0);
28432   ;
28433   return 0;
28434 }
28435 _ACEOF
28436 rm -f conftest.$ac_objext conftest$ac_exeext
28437 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28438   (eval $ac_link) 2>conftest.er1
28439   ac_status=$?
28440   grep -v '^ *+' conftest.er1 >conftest.err
28441   rm -f conftest.er1
28442   cat conftest.err >&5
28443   echo "$as_me:$LINENO: \$? = $ac_status" >&5
28444   (exit $ac_status); } &&
28445          { ac_try='test -z "$ac_c_werror_flag"
28446                          || test ! -s conftest.err'
28447   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28448   (eval $ac_try) 2>&5
28449   ac_status=$?
28450   echo "$as_me:$LINENO: \$? = $ac_status" >&5
28451   (exit $ac_status); }; } &&
28452          { ac_try='test -s conftest$ac_exeext'
28453   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28454   (eval $ac_try) 2>&5
28455   ac_status=$?
28456   echo "$as_me:$LINENO: \$? = $ac_status" >&5
28457   (exit $ac_status); }; }; then
28458   glibcxx_cv_func___builtin_cosf_link=yes
28459 else
28460   echo "$as_me: failed program was:" >&5
28461 sed 's/^/| /' conftest.$ac_ext >&5
28462
28463 glibcxx_cv_func___builtin_cosf_link=no
28464 fi
28465 rm -f conftest.err conftest.$ac_objext \
28466       conftest$ac_exeext conftest.$ac_ext
28467
28468 fi
28469
28470     fi
28471     echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_cosf_link" >&5
28472 echo "${ECHO_T}$glibcxx_cv_func___builtin_cosf_link" >&6
28473
28474     if test x$glibcxx_cv_func___builtin_cosf_link = x"yes"; then
28475
28476 cat >>confdefs.h <<\_ACEOF
28477 #define HAVE___BUILTIN_COSF 1
28478 _ACEOF
28479
28480     fi
28481
28482   fi
28483
28484
28485   echo "$as_me:$LINENO: checking for __builtin_cos declaration" >&5
28486 echo $ECHO_N "checking for __builtin_cos declaration... $ECHO_C" >&6
28487   if test x${glibcxx_cv_func___builtin_cos_use+set} != xset; then
28488     if test "${glibcxx_cv_func___builtin_cos_use+set}" = set; then
28489   echo $ECHO_N "(cached) $ECHO_C" >&6
28490 else
28491
28492
28493
28494       ac_ext=cc
28495 ac_cpp='$CXXCPP $CPPFLAGS'
28496 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28497 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28498 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
28499
28500       cat >conftest.$ac_ext <<_ACEOF
28501 /* confdefs.h.  */
28502 _ACEOF
28503 cat confdefs.h >>conftest.$ac_ext
28504 cat >>conftest.$ac_ext <<_ACEOF
28505 /* end confdefs.h.  */
28506 #include <math.h>
28507 int
28508 main ()
28509 {
28510  __builtin_cos(0);
28511   ;
28512   return 0;
28513 }
28514 _ACEOF
28515 rm -f conftest.$ac_objext
28516 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
28517   (eval $ac_compile) 2>conftest.er1
28518   ac_status=$?
28519   grep -v '^ *+' conftest.er1 >conftest.err
28520   rm -f conftest.er1
28521   cat conftest.err >&5
28522   echo "$as_me:$LINENO: \$? = $ac_status" >&5
28523   (exit $ac_status); } &&
28524          { ac_try='test -z "$ac_cxx_werror_flag"
28525                          || test ! -s conftest.err'
28526   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28527   (eval $ac_try) 2>&5
28528   ac_status=$?
28529   echo "$as_me:$LINENO: \$? = $ac_status" >&5
28530   (exit $ac_status); }; } &&
28531          { ac_try='test -s conftest.$ac_objext'
28532   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28533   (eval $ac_try) 2>&5
28534   ac_status=$?
28535   echo "$as_me:$LINENO: \$? = $ac_status" >&5
28536   (exit $ac_status); }; }; then
28537   glibcxx_cv_func___builtin_cos_use=yes
28538 else
28539   echo "$as_me: failed program was:" >&5
28540 sed 's/^/| /' conftest.$ac_ext >&5
28541
28542 glibcxx_cv_func___builtin_cos_use=no
28543 fi
28544 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
28545       ac_ext=c
28546 ac_cpp='$CPP $CPPFLAGS'
28547 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28548 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28549 ac_compiler_gnu=$ac_cv_c_compiler_gnu
28550
28551
28552 fi
28553
28554   fi
28555   echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_cos_use" >&5
28556 echo "${ECHO_T}$glibcxx_cv_func___builtin_cos_use" >&6
28557   if test x$glibcxx_cv_func___builtin_cos_use = x"yes"; then
28558     echo "$as_me:$LINENO: checking for __builtin_cos linkage" >&5
28559 echo $ECHO_N "checking for __builtin_cos linkage... $ECHO_C" >&6
28560     if test x${glibcxx_cv_func___builtin_cos_link+set} != xset; then
28561       if test "${glibcxx_cv_func___builtin_cos_link+set}" = set; then
28562   echo $ECHO_N "(cached) $ECHO_C" >&6
28563 else
28564
28565         if test x$gcc_no_link = xyes; then
28566   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
28567 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
28568    { (exit 1); exit 1; }; }
28569 fi
28570 cat >conftest.$ac_ext <<_ACEOF
28571 /* confdefs.h.  */
28572 _ACEOF
28573 cat confdefs.h >>conftest.$ac_ext
28574 cat >>conftest.$ac_ext <<_ACEOF
28575 /* end confdefs.h.  */
28576 #include <math.h>
28577 int
28578 main ()
28579 {
28580  __builtin_cos(0);
28581   ;
28582   return 0;
28583 }
28584 _ACEOF
28585 rm -f conftest.$ac_objext conftest$ac_exeext
28586 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28587   (eval $ac_link) 2>conftest.er1
28588   ac_status=$?
28589   grep -v '^ *+' conftest.er1 >conftest.err
28590   rm -f conftest.er1
28591   cat conftest.err >&5
28592   echo "$as_me:$LINENO: \$? = $ac_status" >&5
28593   (exit $ac_status); } &&
28594          { ac_try='test -z "$ac_c_werror_flag"
28595                          || test ! -s conftest.err'
28596   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28597   (eval $ac_try) 2>&5
28598   ac_status=$?
28599   echo "$as_me:$LINENO: \$? = $ac_status" >&5
28600   (exit $ac_status); }; } &&
28601          { ac_try='test -s conftest$ac_exeext'
28602   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28603   (eval $ac_try) 2>&5
28604   ac_status=$?
28605   echo "$as_me:$LINENO: \$? = $ac_status" >&5
28606   (exit $ac_status); }; }; then
28607   glibcxx_cv_func___builtin_cos_link=yes
28608 else
28609   echo "$as_me: failed program was:" >&5
28610 sed 's/^/| /' conftest.$ac_ext >&5
28611
28612 glibcxx_cv_func___builtin_cos_link=no
28613 fi
28614 rm -f conftest.err conftest.$ac_objext \
28615       conftest$ac_exeext conftest.$ac_ext
28616
28617 fi
28618
28619     fi
28620     echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_cos_link" >&5
28621 echo "${ECHO_T}$glibcxx_cv_func___builtin_cos_link" >&6
28622
28623     if test x$glibcxx_cv_func___builtin_cos_link = x"yes"; then
28624
28625 cat >>confdefs.h <<\_ACEOF
28626 #define HAVE___BUILTIN_COS 1
28627 _ACEOF
28628
28629     fi
28630
28631   fi
28632
28633
28634   echo "$as_me:$LINENO: checking for __builtin_cosl declaration" >&5
28635 echo $ECHO_N "checking for __builtin_cosl declaration... $ECHO_C" >&6
28636   if test x${glibcxx_cv_func___builtin_cosl_use+set} != xset; then
28637     if test "${glibcxx_cv_func___builtin_cosl_use+set}" = set; then
28638   echo $ECHO_N "(cached) $ECHO_C" >&6
28639 else
28640
28641
28642
28643       ac_ext=cc
28644 ac_cpp='$CXXCPP $CPPFLAGS'
28645 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28646 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28647 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
28648
28649       cat >conftest.$ac_ext <<_ACEOF
28650 /* confdefs.h.  */
28651 _ACEOF
28652 cat confdefs.h >>conftest.$ac_ext
28653 cat >>conftest.$ac_ext <<_ACEOF
28654 /* end confdefs.h.  */
28655 #include <math.h>
28656 int
28657 main ()
28658 {
28659  __builtin_cosl(0);
28660   ;
28661   return 0;
28662 }
28663 _ACEOF
28664 rm -f conftest.$ac_objext
28665 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
28666   (eval $ac_compile) 2>conftest.er1
28667   ac_status=$?
28668   grep -v '^ *+' conftest.er1 >conftest.err
28669   rm -f conftest.er1
28670   cat conftest.err >&5
28671   echo "$as_me:$LINENO: \$? = $ac_status" >&5
28672   (exit $ac_status); } &&
28673          { ac_try='test -z "$ac_cxx_werror_flag"
28674                          || test ! -s conftest.err'
28675   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28676   (eval $ac_try) 2>&5
28677   ac_status=$?
28678   echo "$as_me:$LINENO: \$? = $ac_status" >&5
28679   (exit $ac_status); }; } &&
28680          { ac_try='test -s conftest.$ac_objext'
28681   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28682   (eval $ac_try) 2>&5
28683   ac_status=$?
28684   echo "$as_me:$LINENO: \$? = $ac_status" >&5
28685   (exit $ac_status); }; }; then
28686   glibcxx_cv_func___builtin_cosl_use=yes
28687 else
28688   echo "$as_me: failed program was:" >&5
28689 sed 's/^/| /' conftest.$ac_ext >&5
28690
28691 glibcxx_cv_func___builtin_cosl_use=no
28692 fi
28693 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
28694       ac_ext=c
28695 ac_cpp='$CPP $CPPFLAGS'
28696 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28697 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28698 ac_compiler_gnu=$ac_cv_c_compiler_gnu
28699
28700
28701 fi
28702
28703   fi
28704   echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_cosl_use" >&5
28705 echo "${ECHO_T}$glibcxx_cv_func___builtin_cosl_use" >&6
28706   if test x$glibcxx_cv_func___builtin_cosl_use = x"yes"; then
28707     echo "$as_me:$LINENO: checking for __builtin_cosl linkage" >&5
28708 echo $ECHO_N "checking for __builtin_cosl linkage... $ECHO_C" >&6
28709     if test x${glibcxx_cv_func___builtin_cosl_link+set} != xset; then
28710       if test "${glibcxx_cv_func___builtin_cosl_link+set}" = set; then
28711   echo $ECHO_N "(cached) $ECHO_C" >&6
28712 else
28713
28714         if test x$gcc_no_link = xyes; then
28715   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
28716 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
28717    { (exit 1); exit 1; }; }
28718 fi
28719 cat >conftest.$ac_ext <<_ACEOF
28720 /* confdefs.h.  */
28721 _ACEOF
28722 cat confdefs.h >>conftest.$ac_ext
28723 cat >>conftest.$ac_ext <<_ACEOF
28724 /* end confdefs.h.  */
28725 #include <math.h>
28726 int
28727 main ()
28728 {
28729  __builtin_cosl(0);
28730   ;
28731   return 0;
28732 }
28733 _ACEOF
28734 rm -f conftest.$ac_objext conftest$ac_exeext
28735 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28736   (eval $ac_link) 2>conftest.er1
28737   ac_status=$?
28738   grep -v '^ *+' conftest.er1 >conftest.err
28739   rm -f conftest.er1
28740   cat conftest.err >&5
28741   echo "$as_me:$LINENO: \$? = $ac_status" >&5
28742   (exit $ac_status); } &&
28743          { ac_try='test -z "$ac_c_werror_flag"
28744                          || test ! -s conftest.err'
28745   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28746   (eval $ac_try) 2>&5
28747   ac_status=$?
28748   echo "$as_me:$LINENO: \$? = $ac_status" >&5
28749   (exit $ac_status); }; } &&
28750          { ac_try='test -s conftest$ac_exeext'
28751   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28752   (eval $ac_try) 2>&5
28753   ac_status=$?
28754   echo "$as_me:$LINENO: \$? = $ac_status" >&5
28755   (exit $ac_status); }; }; then
28756   glibcxx_cv_func___builtin_cosl_link=yes
28757 else
28758   echo "$as_me: failed program was:" >&5
28759 sed 's/^/| /' conftest.$ac_ext >&5
28760
28761 glibcxx_cv_func___builtin_cosl_link=no
28762 fi
28763 rm -f conftest.err conftest.$ac_objext \
28764       conftest$ac_exeext conftest.$ac_ext
28765
28766 fi
28767
28768     fi
28769     echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_cosl_link" >&5
28770 echo "${ECHO_T}$glibcxx_cv_func___builtin_cosl_link" >&6
28771
28772     if test x$glibcxx_cv_func___builtin_cosl_link = x"yes"; then
28773
28774 cat >>confdefs.h <<\_ACEOF
28775 #define HAVE___BUILTIN_COSL 1
28776 _ACEOF
28777
28778     fi
28779
28780   fi
28781
28782
28783
28784
28785 echo "$as_me:$LINENO: checking for main in -lm" >&5
28786 echo $ECHO_N "checking for main in -lm... $ECHO_C" >&6
28787 if test "${ac_cv_lib_m_main+set}" = set; then
28788   echo $ECHO_N "(cached) $ECHO_C" >&6
28789 else
28790   ac_check_lib_save_LIBS=$LIBS
28791 LIBS="-lm  $LIBS"
28792 if test x$gcc_no_link = xyes; then
28793   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
28794 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
28795    { (exit 1); exit 1; }; }
28796 fi
28797 cat >conftest.$ac_ext <<_ACEOF
28798 /* confdefs.h.  */
28799 _ACEOF
28800 cat confdefs.h >>conftest.$ac_ext
28801 cat >>conftest.$ac_ext <<_ACEOF
28802 /* end confdefs.h.  */
28803
28804
28805 int
28806 main ()
28807 {
28808 main ();
28809   ;
28810   return 0;
28811 }
28812 _ACEOF
28813 rm -f conftest.$ac_objext conftest$ac_exeext
28814 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28815   (eval $ac_link) 2>conftest.er1
28816   ac_status=$?
28817   grep -v '^ *+' conftest.er1 >conftest.err
28818   rm -f conftest.er1
28819   cat conftest.err >&5
28820   echo "$as_me:$LINENO: \$? = $ac_status" >&5
28821   (exit $ac_status); } &&
28822          { ac_try='test -z "$ac_c_werror_flag"
28823                          || test ! -s conftest.err'
28824   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28825   (eval $ac_try) 2>&5
28826   ac_status=$?
28827   echo "$as_me:$LINENO: \$? = $ac_status" >&5
28828   (exit $ac_status); }; } &&
28829          { ac_try='test -s conftest$ac_exeext'
28830   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28831   (eval $ac_try) 2>&5
28832   ac_status=$?
28833   echo "$as_me:$LINENO: \$? = $ac_status" >&5
28834   (exit $ac_status); }; }; then
28835   ac_cv_lib_m_main=yes
28836 else
28837   echo "$as_me: failed program was:" >&5
28838 sed 's/^/| /' conftest.$ac_ext >&5
28839
28840 ac_cv_lib_m_main=no
28841 fi
28842 rm -f conftest.err conftest.$ac_objext \
28843       conftest$ac_exeext conftest.$ac_ext
28844 LIBS=$ac_check_lib_save_LIBS
28845 fi
28846 echo "$as_me:$LINENO: result: $ac_cv_lib_m_main" >&5
28847 echo "${ECHO_T}$ac_cv_lib_m_main" >&6
28848 if test $ac_cv_lib_m_main = yes; then
28849   cat >>confdefs.h <<_ACEOF
28850 #define HAVE_LIBM 1
28851 _ACEOF
28852
28853   LIBS="-lm $LIBS"
28854
28855 fi
28856
28857
28858 for ac_func in copysignf
28859 do
28860 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
28861 echo "$as_me:$LINENO: checking for $ac_func" >&5
28862 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
28863 if eval "test \"\${$as_ac_var+set}\" = set"; then
28864   echo $ECHO_N "(cached) $ECHO_C" >&6
28865 else
28866   if test x$gcc_no_link = xyes; then
28867   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
28868 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
28869    { (exit 1); exit 1; }; }
28870 fi
28871 cat >conftest.$ac_ext <<_ACEOF
28872 /* confdefs.h.  */
28873 _ACEOF
28874 cat confdefs.h >>conftest.$ac_ext
28875 cat >>conftest.$ac_ext <<_ACEOF
28876 /* end confdefs.h.  */
28877 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
28878    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
28879 #define $ac_func innocuous_$ac_func
28880
28881 /* System header to define __stub macros and hopefully few prototypes,
28882     which can conflict with char $ac_func (); below.
28883     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
28884     <limits.h> exists even on freestanding compilers.  */
28885
28886 #ifdef __STDC__
28887 # include <limits.h>
28888 #else
28889 # include <assert.h>
28890 #endif
28891
28892 #undef $ac_func
28893
28894 /* Override any gcc2 internal prototype to avoid an error.  */
28895 #ifdef __cplusplus
28896 extern "C"
28897 {
28898 #endif
28899 /* We use char because int might match the return type of a gcc2
28900    builtin and then its argument prototype would still apply.  */
28901 char $ac_func ();
28902 /* The GNU C library defines this for functions which it implements
28903     to always fail with ENOSYS.  Some functions are actually named
28904     something starting with __ and the normal name is an alias.  */
28905 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
28906 choke me
28907 #else
28908 char (*f) () = $ac_func;
28909 #endif
28910 #ifdef __cplusplus
28911 }
28912 #endif
28913
28914 int
28915 main ()
28916 {
28917 return f != $ac_func;
28918   ;
28919   return 0;
28920 }
28921 _ACEOF
28922 rm -f conftest.$ac_objext conftest$ac_exeext
28923 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28924   (eval $ac_link) 2>conftest.er1
28925   ac_status=$?
28926   grep -v '^ *+' conftest.er1 >conftest.err
28927   rm -f conftest.er1
28928   cat conftest.err >&5
28929   echo "$as_me:$LINENO: \$? = $ac_status" >&5
28930   (exit $ac_status); } &&
28931          { ac_try='test -z "$ac_c_werror_flag"
28932                          || test ! -s conftest.err'
28933   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28934   (eval $ac_try) 2>&5
28935   ac_status=$?
28936   echo "$as_me:$LINENO: \$? = $ac_status" >&5
28937   (exit $ac_status); }; } &&
28938          { ac_try='test -s conftest$ac_exeext'
28939   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28940   (eval $ac_try) 2>&5
28941   ac_status=$?
28942   echo "$as_me:$LINENO: \$? = $ac_status" >&5
28943   (exit $ac_status); }; }; then
28944   eval "$as_ac_var=yes"
28945 else
28946   echo "$as_me: failed program was:" >&5
28947 sed 's/^/| /' conftest.$ac_ext >&5
28948
28949 eval "$as_ac_var=no"
28950 fi
28951 rm -f conftest.err conftest.$ac_objext \
28952       conftest$ac_exeext conftest.$ac_ext
28953 fi
28954 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
28955 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
28956 if test `eval echo '${'$as_ac_var'}'` = yes; then
28957   cat >>confdefs.h <<_ACEOF
28958 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
28959 _ACEOF
28960
28961 else
28962   LIBMATHOBJS="$LIBMATHOBJS ${ac_func}.lo"
28963 fi
28964 done
28965
28966
28967
28968 for ac_func in __signbit
28969 do
28970 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
28971 echo "$as_me:$LINENO: checking for $ac_func" >&5
28972 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
28973 if eval "test \"\${$as_ac_var+set}\" = set"; then
28974   echo $ECHO_N "(cached) $ECHO_C" >&6
28975 else
28976   if test x$gcc_no_link = xyes; then
28977   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
28978 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
28979    { (exit 1); exit 1; }; }
28980 fi
28981 cat >conftest.$ac_ext <<_ACEOF
28982 /* confdefs.h.  */
28983 _ACEOF
28984 cat confdefs.h >>conftest.$ac_ext
28985 cat >>conftest.$ac_ext <<_ACEOF
28986 /* end confdefs.h.  */
28987 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
28988    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
28989 #define $ac_func innocuous_$ac_func
28990
28991 /* System header to define __stub macros and hopefully few prototypes,
28992     which can conflict with char $ac_func (); below.
28993     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
28994     <limits.h> exists even on freestanding compilers.  */
28995
28996 #ifdef __STDC__
28997 # include <limits.h>
28998 #else
28999 # include <assert.h>
29000 #endif
29001
29002 #undef $ac_func
29003
29004 /* Override any gcc2 internal prototype to avoid an error.  */
29005 #ifdef __cplusplus
29006 extern "C"
29007 {
29008 #endif
29009 /* We use char because int might match the return type of a gcc2
29010    builtin and then its argument prototype would still apply.  */
29011 char $ac_func ();
29012 /* The GNU C library defines this for functions which it implements
29013     to always fail with ENOSYS.  Some functions are actually named
29014     something starting with __ and the normal name is an alias.  */
29015 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
29016 choke me
29017 #else
29018 char (*f) () = $ac_func;
29019 #endif
29020 #ifdef __cplusplus
29021 }
29022 #endif
29023
29024 int
29025 main ()
29026 {
29027 return f != $ac_func;
29028   ;
29029   return 0;
29030 }
29031 _ACEOF
29032 rm -f conftest.$ac_objext conftest$ac_exeext
29033 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29034   (eval $ac_link) 2>conftest.er1
29035   ac_status=$?
29036   grep -v '^ *+' conftest.er1 >conftest.err
29037   rm -f conftest.er1
29038   cat conftest.err >&5
29039   echo "$as_me:$LINENO: \$? = $ac_status" >&5
29040   (exit $ac_status); } &&
29041          { ac_try='test -z "$ac_c_werror_flag"
29042                          || test ! -s conftest.err'
29043   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29044   (eval $ac_try) 2>&5
29045   ac_status=$?
29046   echo "$as_me:$LINENO: \$? = $ac_status" >&5
29047   (exit $ac_status); }; } &&
29048          { ac_try='test -s conftest$ac_exeext'
29049   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29050   (eval $ac_try) 2>&5
29051   ac_status=$?
29052   echo "$as_me:$LINENO: \$? = $ac_status" >&5
29053   (exit $ac_status); }; }; then
29054   eval "$as_ac_var=yes"
29055 else
29056   echo "$as_me: failed program was:" >&5
29057 sed 's/^/| /' conftest.$ac_ext >&5
29058
29059 eval "$as_ac_var=no"
29060 fi
29061 rm -f conftest.err conftest.$ac_objext \
29062       conftest$ac_exeext conftest.$ac_ext
29063 fi
29064 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
29065 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
29066 if test `eval echo '${'$as_ac_var'}'` = yes; then
29067   cat >>confdefs.h <<_ACEOF
29068 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
29069 _ACEOF
29070
29071 else
29072   LIBMATHOBJS="$LIBMATHOBJS signbit.lo"
29073 fi
29074 done
29075
29076
29077
29078 for ac_func in __signbitf
29079 do
29080 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
29081 echo "$as_me:$LINENO: checking for $ac_func" >&5
29082 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
29083 if eval "test \"\${$as_ac_var+set}\" = set"; then
29084   echo $ECHO_N "(cached) $ECHO_C" >&6
29085 else
29086   if test x$gcc_no_link = xyes; then
29087   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
29088 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
29089    { (exit 1); exit 1; }; }
29090 fi
29091 cat >conftest.$ac_ext <<_ACEOF
29092 /* confdefs.h.  */
29093 _ACEOF
29094 cat confdefs.h >>conftest.$ac_ext
29095 cat >>conftest.$ac_ext <<_ACEOF
29096 /* end confdefs.h.  */
29097 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
29098    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
29099 #define $ac_func innocuous_$ac_func
29100
29101 /* System header to define __stub macros and hopefully few prototypes,
29102     which can conflict with char $ac_func (); below.
29103     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
29104     <limits.h> exists even on freestanding compilers.  */
29105
29106 #ifdef __STDC__
29107 # include <limits.h>
29108 #else
29109 # include <assert.h>
29110 #endif
29111
29112 #undef $ac_func
29113
29114 /* Override any gcc2 internal prototype to avoid an error.  */
29115 #ifdef __cplusplus
29116 extern "C"
29117 {
29118 #endif
29119 /* We use char because int might match the return type of a gcc2
29120    builtin and then its argument prototype would still apply.  */
29121 char $ac_func ();
29122 /* The GNU C library defines this for functions which it implements
29123     to always fail with ENOSYS.  Some functions are actually named
29124     something starting with __ and the normal name is an alias.  */
29125 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
29126 choke me
29127 #else
29128 char (*f) () = $ac_func;
29129 #endif
29130 #ifdef __cplusplus
29131 }
29132 #endif
29133
29134 int
29135 main ()
29136 {
29137 return f != $ac_func;
29138   ;
29139   return 0;
29140 }
29141 _ACEOF
29142 rm -f conftest.$ac_objext conftest$ac_exeext
29143 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29144   (eval $ac_link) 2>conftest.er1
29145   ac_status=$?
29146   grep -v '^ *+' conftest.er1 >conftest.err
29147   rm -f conftest.er1
29148   cat conftest.err >&5
29149   echo "$as_me:$LINENO: \$? = $ac_status" >&5
29150   (exit $ac_status); } &&
29151          { ac_try='test -z "$ac_c_werror_flag"
29152                          || test ! -s conftest.err'
29153   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29154   (eval $ac_try) 2>&5
29155   ac_status=$?
29156   echo "$as_me:$LINENO: \$? = $ac_status" >&5
29157   (exit $ac_status); }; } &&
29158          { ac_try='test -s conftest$ac_exeext'
29159   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29160   (eval $ac_try) 2>&5
29161   ac_status=$?
29162   echo "$as_me:$LINENO: \$? = $ac_status" >&5
29163   (exit $ac_status); }; }; then
29164   eval "$as_ac_var=yes"
29165 else
29166   echo "$as_me: failed program was:" >&5
29167 sed 's/^/| /' conftest.$ac_ext >&5
29168
29169 eval "$as_ac_var=no"
29170 fi
29171 rm -f conftest.err conftest.$ac_objext \
29172       conftest$ac_exeext conftest.$ac_ext
29173 fi
29174 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
29175 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
29176 if test `eval echo '${'$as_ac_var'}'` = yes; then
29177   cat >>confdefs.h <<_ACEOF
29178 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
29179 _ACEOF
29180
29181 else
29182   LIBMATHOBJS="$LIBMATHOBJS signbitf.lo"
29183 fi
29184 done
29185
29186
29187           if test x$ac_cv_func_copysignl = x"yes"; then
29188
29189 for ac_func in __signbitl
29190 do
29191 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
29192 echo "$as_me:$LINENO: checking for $ac_func" >&5
29193 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
29194 if eval "test \"\${$as_ac_var+set}\" = set"; then
29195   echo $ECHO_N "(cached) $ECHO_C" >&6
29196 else
29197   if test x$gcc_no_link = xyes; then
29198   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
29199 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
29200    { (exit 1); exit 1; }; }
29201 fi
29202 cat >conftest.$ac_ext <<_ACEOF
29203 /* confdefs.h.  */
29204 _ACEOF
29205 cat confdefs.h >>conftest.$ac_ext
29206 cat >>conftest.$ac_ext <<_ACEOF
29207 /* end confdefs.h.  */
29208 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
29209    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
29210 #define $ac_func innocuous_$ac_func
29211
29212 /* System header to define __stub macros and hopefully few prototypes,
29213     which can conflict with char $ac_func (); below.
29214     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
29215     <limits.h> exists even on freestanding compilers.  */
29216
29217 #ifdef __STDC__
29218 # include <limits.h>
29219 #else
29220 # include <assert.h>
29221 #endif
29222
29223 #undef $ac_func
29224
29225 /* Override any gcc2 internal prototype to avoid an error.  */
29226 #ifdef __cplusplus
29227 extern "C"
29228 {
29229 #endif
29230 /* We use char because int might match the return type of a gcc2
29231    builtin and then its argument prototype would still apply.  */
29232 char $ac_func ();
29233 /* The GNU C library defines this for functions which it implements
29234     to always fail with ENOSYS.  Some functions are actually named
29235     something starting with __ and the normal name is an alias.  */
29236 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
29237 choke me
29238 #else
29239 char (*f) () = $ac_func;
29240 #endif
29241 #ifdef __cplusplus
29242 }
29243 #endif
29244
29245 int
29246 main ()
29247 {
29248 return f != $ac_func;
29249   ;
29250   return 0;
29251 }
29252 _ACEOF
29253 rm -f conftest.$ac_objext conftest$ac_exeext
29254 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29255   (eval $ac_link) 2>conftest.er1
29256   ac_status=$?
29257   grep -v '^ *+' conftest.er1 >conftest.err
29258   rm -f conftest.er1
29259   cat conftest.err >&5
29260   echo "$as_me:$LINENO: \$? = $ac_status" >&5
29261   (exit $ac_status); } &&
29262          { ac_try='test -z "$ac_c_werror_flag"
29263                          || test ! -s conftest.err'
29264   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29265   (eval $ac_try) 2>&5
29266   ac_status=$?
29267   echo "$as_me:$LINENO: \$? = $ac_status" >&5
29268   (exit $ac_status); }; } &&
29269          { ac_try='test -s conftest$ac_exeext'
29270   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29271   (eval $ac_try) 2>&5
29272   ac_status=$?
29273   echo "$as_me:$LINENO: \$? = $ac_status" >&5
29274   (exit $ac_status); }; }; then
29275   eval "$as_ac_var=yes"
29276 else
29277   echo "$as_me: failed program was:" >&5
29278 sed 's/^/| /' conftest.$ac_ext >&5
29279
29280 eval "$as_ac_var=no"
29281 fi
29282 rm -f conftest.err conftest.$ac_objext \
29283       conftest$ac_exeext conftest.$ac_ext
29284 fi
29285 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
29286 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
29287 if test `eval echo '${'$as_ac_var'}'` = yes; then
29288   cat >>confdefs.h <<_ACEOF
29289 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
29290 _ACEOF
29291
29292 else
29293   LIBMATHOBJS="$LIBMATHOBJS signbitl.lo"
29294 fi
29295 done
29296
29297   fi
29298
29299   # Used in libmath/Makefile.am.
29300   if test -n "$LIBMATHOBJS"; then
29301     need_libmath=yes
29302   fi
29303
29304
29305
29306   ac_test_CXXFLAGS="${CXXFLAGS+set}"
29307   ac_save_CXXFLAGS="$CXXFLAGS"
29308   CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
29309
29310
29311   echo "$as_me:$LINENO: checking for strtold declaration" >&5
29312 echo $ECHO_N "checking for strtold declaration... $ECHO_C" >&6
29313   if test x${glibcxx_cv_func_strtold_use+set} != xset; then
29314     if test "${glibcxx_cv_func_strtold_use+set}" = set; then
29315   echo $ECHO_N "(cached) $ECHO_C" >&6
29316 else
29317
29318
29319
29320       ac_ext=cc
29321 ac_cpp='$CXXCPP $CPPFLAGS'
29322 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29323 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29324 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29325
29326       cat >conftest.$ac_ext <<_ACEOF
29327 /* confdefs.h.  */
29328 _ACEOF
29329 cat confdefs.h >>conftest.$ac_ext
29330 cat >>conftest.$ac_ext <<_ACEOF
29331 /* end confdefs.h.  */
29332 #include <stdlib.h>
29333 int
29334 main ()
29335 {
29336  strtold(0, 0);
29337   ;
29338   return 0;
29339 }
29340 _ACEOF
29341 rm -f conftest.$ac_objext
29342 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
29343   (eval $ac_compile) 2>conftest.er1
29344   ac_status=$?
29345   grep -v '^ *+' conftest.er1 >conftest.err
29346   rm -f conftest.er1
29347   cat conftest.err >&5
29348   echo "$as_me:$LINENO: \$? = $ac_status" >&5
29349   (exit $ac_status); } &&
29350          { ac_try='test -z "$ac_cxx_werror_flag"
29351                          || test ! -s conftest.err'
29352   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29353   (eval $ac_try) 2>&5
29354   ac_status=$?
29355   echo "$as_me:$LINENO: \$? = $ac_status" >&5
29356   (exit $ac_status); }; } &&
29357          { ac_try='test -s conftest.$ac_objext'
29358   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29359   (eval $ac_try) 2>&5
29360   ac_status=$?
29361   echo "$as_me:$LINENO: \$? = $ac_status" >&5
29362   (exit $ac_status); }; }; then
29363   glibcxx_cv_func_strtold_use=yes
29364 else
29365   echo "$as_me: failed program was:" >&5
29366 sed 's/^/| /' conftest.$ac_ext >&5
29367
29368 glibcxx_cv_func_strtold_use=no
29369 fi
29370 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
29371       ac_ext=c
29372 ac_cpp='$CPP $CPPFLAGS'
29373 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29374 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29375 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29376
29377
29378 fi
29379
29380   fi
29381   echo "$as_me:$LINENO: result: $glibcxx_cv_func_strtold_use" >&5
29382 echo "${ECHO_T}$glibcxx_cv_func_strtold_use" >&6
29383   if test x$glibcxx_cv_func_strtold_use = x"yes"; then
29384
29385 for ac_func in strtold
29386 do
29387 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
29388 echo "$as_me:$LINENO: checking for $ac_func" >&5
29389 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
29390 if eval "test \"\${$as_ac_var+set}\" = set"; then
29391   echo $ECHO_N "(cached) $ECHO_C" >&6
29392 else
29393   if test x$gcc_no_link = xyes; then
29394   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
29395 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
29396    { (exit 1); exit 1; }; }
29397 fi
29398 cat >conftest.$ac_ext <<_ACEOF
29399 /* confdefs.h.  */
29400 _ACEOF
29401 cat confdefs.h >>conftest.$ac_ext
29402 cat >>conftest.$ac_ext <<_ACEOF
29403 /* end confdefs.h.  */
29404 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
29405    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
29406 #define $ac_func innocuous_$ac_func
29407
29408 /* System header to define __stub macros and hopefully few prototypes,
29409     which can conflict with char $ac_func (); below.
29410     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
29411     <limits.h> exists even on freestanding compilers.  */
29412
29413 #ifdef __STDC__
29414 # include <limits.h>
29415 #else
29416 # include <assert.h>
29417 #endif
29418
29419 #undef $ac_func
29420
29421 /* Override any gcc2 internal prototype to avoid an error.  */
29422 #ifdef __cplusplus
29423 extern "C"
29424 {
29425 #endif
29426 /* We use char because int might match the return type of a gcc2
29427    builtin and then its argument prototype would still apply.  */
29428 char $ac_func ();
29429 /* The GNU C library defines this for functions which it implements
29430     to always fail with ENOSYS.  Some functions are actually named
29431     something starting with __ and the normal name is an alias.  */
29432 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
29433 choke me
29434 #else
29435 char (*f) () = $ac_func;
29436 #endif
29437 #ifdef __cplusplus
29438 }
29439 #endif
29440
29441 int
29442 main ()
29443 {
29444 return f != $ac_func;
29445   ;
29446   return 0;
29447 }
29448 _ACEOF
29449 rm -f conftest.$ac_objext conftest$ac_exeext
29450 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29451   (eval $ac_link) 2>conftest.er1
29452   ac_status=$?
29453   grep -v '^ *+' conftest.er1 >conftest.err
29454   rm -f conftest.er1
29455   cat conftest.err >&5
29456   echo "$as_me:$LINENO: \$? = $ac_status" >&5
29457   (exit $ac_status); } &&
29458          { ac_try='test -z "$ac_c_werror_flag"
29459                          || test ! -s conftest.err'
29460   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29461   (eval $ac_try) 2>&5
29462   ac_status=$?
29463   echo "$as_me:$LINENO: \$? = $ac_status" >&5
29464   (exit $ac_status); }; } &&
29465          { ac_try='test -s conftest$ac_exeext'
29466   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29467   (eval $ac_try) 2>&5
29468   ac_status=$?
29469   echo "$as_me:$LINENO: \$? = $ac_status" >&5
29470   (exit $ac_status); }; }; then
29471   eval "$as_ac_var=yes"
29472 else
29473   echo "$as_me: failed program was:" >&5
29474 sed 's/^/| /' conftest.$ac_ext >&5
29475
29476 eval "$as_ac_var=no"
29477 fi
29478 rm -f conftest.err conftest.$ac_objext \
29479       conftest$ac_exeext conftest.$ac_ext
29480 fi
29481 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
29482 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
29483 if test `eval echo '${'$as_ac_var'}'` = yes; then
29484   cat >>confdefs.h <<_ACEOF
29485 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
29486 _ACEOF
29487
29488 fi
29489 done
29490
29491   fi
29492
29493
29494
29495
29496
29497   echo "$as_me:$LINENO: checking for strtof declaration" >&5
29498 echo $ECHO_N "checking for strtof declaration... $ECHO_C" >&6
29499   if test x${glibcxx_cv_func_strtof_use+set} != xset; then
29500     if test "${glibcxx_cv_func_strtof_use+set}" = set; then
29501   echo $ECHO_N "(cached) $ECHO_C" >&6
29502 else
29503
29504
29505
29506       ac_ext=cc
29507 ac_cpp='$CXXCPP $CPPFLAGS'
29508 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29509 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29510 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29511
29512       cat >conftest.$ac_ext <<_ACEOF
29513 /* confdefs.h.  */
29514 _ACEOF
29515 cat confdefs.h >>conftest.$ac_ext
29516 cat >>conftest.$ac_ext <<_ACEOF
29517 /* end confdefs.h.  */
29518 #include <stdlib.h>
29519 int
29520 main ()
29521 {
29522  strtof(0, 0);
29523   ;
29524   return 0;
29525 }
29526 _ACEOF
29527 rm -f conftest.$ac_objext
29528 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
29529   (eval $ac_compile) 2>conftest.er1
29530   ac_status=$?
29531   grep -v '^ *+' conftest.er1 >conftest.err
29532   rm -f conftest.er1
29533   cat conftest.err >&5
29534   echo "$as_me:$LINENO: \$? = $ac_status" >&5
29535   (exit $ac_status); } &&
29536          { ac_try='test -z "$ac_cxx_werror_flag"
29537                          || test ! -s conftest.err'
29538   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29539   (eval $ac_try) 2>&5
29540   ac_status=$?
29541   echo "$as_me:$LINENO: \$? = $ac_status" >&5
29542   (exit $ac_status); }; } &&
29543          { ac_try='test -s conftest.$ac_objext'
29544   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29545   (eval $ac_try) 2>&5
29546   ac_status=$?
29547   echo "$as_me:$LINENO: \$? = $ac_status" >&5
29548   (exit $ac_status); }; }; then
29549   glibcxx_cv_func_strtof_use=yes
29550 else
29551   echo "$as_me: failed program was:" >&5
29552 sed 's/^/| /' conftest.$ac_ext >&5
29553
29554 glibcxx_cv_func_strtof_use=no
29555 fi
29556 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
29557       ac_ext=c
29558 ac_cpp='$CPP $CPPFLAGS'
29559 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29560 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29561 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29562
29563
29564 fi
29565
29566   fi
29567   echo "$as_me:$LINENO: result: $glibcxx_cv_func_strtof_use" >&5
29568 echo "${ECHO_T}$glibcxx_cv_func_strtof_use" >&6
29569   if test x$glibcxx_cv_func_strtof_use = x"yes"; then
29570
29571 for ac_func in strtof
29572 do
29573 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
29574 echo "$as_me:$LINENO: checking for $ac_func" >&5
29575 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
29576 if eval "test \"\${$as_ac_var+set}\" = set"; then
29577   echo $ECHO_N "(cached) $ECHO_C" >&6
29578 else
29579   if test x$gcc_no_link = xyes; then
29580   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
29581 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
29582    { (exit 1); exit 1; }; }
29583 fi
29584 cat >conftest.$ac_ext <<_ACEOF
29585 /* confdefs.h.  */
29586 _ACEOF
29587 cat confdefs.h >>conftest.$ac_ext
29588 cat >>conftest.$ac_ext <<_ACEOF
29589 /* end confdefs.h.  */
29590 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
29591    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
29592 #define $ac_func innocuous_$ac_func
29593
29594 /* System header to define __stub macros and hopefully few prototypes,
29595     which can conflict with char $ac_func (); below.
29596     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
29597     <limits.h> exists even on freestanding compilers.  */
29598
29599 #ifdef __STDC__
29600 # include <limits.h>
29601 #else
29602 # include <assert.h>
29603 #endif
29604
29605 #undef $ac_func
29606
29607 /* Override any gcc2 internal prototype to avoid an error.  */
29608 #ifdef __cplusplus
29609 extern "C"
29610 {
29611 #endif
29612 /* We use char because int might match the return type of a gcc2
29613    builtin and then its argument prototype would still apply.  */
29614 char $ac_func ();
29615 /* The GNU C library defines this for functions which it implements
29616     to always fail with ENOSYS.  Some functions are actually named
29617     something starting with __ and the normal name is an alias.  */
29618 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
29619 choke me
29620 #else
29621 char (*f) () = $ac_func;
29622 #endif
29623 #ifdef __cplusplus
29624 }
29625 #endif
29626
29627 int
29628 main ()
29629 {
29630 return f != $ac_func;
29631   ;
29632   return 0;
29633 }
29634 _ACEOF
29635 rm -f conftest.$ac_objext conftest$ac_exeext
29636 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29637   (eval $ac_link) 2>conftest.er1
29638   ac_status=$?
29639   grep -v '^ *+' conftest.er1 >conftest.err
29640   rm -f conftest.er1
29641   cat conftest.err >&5
29642   echo "$as_me:$LINENO: \$? = $ac_status" >&5
29643   (exit $ac_status); } &&
29644          { ac_try='test -z "$ac_c_werror_flag"
29645                          || test ! -s conftest.err'
29646   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29647   (eval $ac_try) 2>&5
29648   ac_status=$?
29649   echo "$as_me:$LINENO: \$? = $ac_status" >&5
29650   (exit $ac_status); }; } &&
29651          { ac_try='test -s conftest$ac_exeext'
29652   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29653   (eval $ac_try) 2>&5
29654   ac_status=$?
29655   echo "$as_me:$LINENO: \$? = $ac_status" >&5
29656   (exit $ac_status); }; }; then
29657   eval "$as_ac_var=yes"
29658 else
29659   echo "$as_me: failed program was:" >&5
29660 sed 's/^/| /' conftest.$ac_ext >&5
29661
29662 eval "$as_ac_var=no"
29663 fi
29664 rm -f conftest.err conftest.$ac_objext \
29665       conftest$ac_exeext conftest.$ac_ext
29666 fi
29667 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
29668 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
29669 if test `eval echo '${'$as_ac_var'}'` = yes; then
29670   cat >>confdefs.h <<_ACEOF
29671 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
29672 _ACEOF
29673
29674 fi
29675 done
29676
29677   fi
29678
29679
29680
29681
29682
29683   CXXFLAGS="$ac_save_CXXFLAGS"
29684
29685
29686   # For showmanyc_helper().
29687
29688
29689 for ac_header in sys/ioctl.h sys/filio.h
29690 do
29691 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
29692 if eval "test \"\${$as_ac_Header+set}\" = set"; then
29693   echo "$as_me:$LINENO: checking for $ac_header" >&5
29694 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
29695 if eval "test \"\${$as_ac_Header+set}\" = set"; then
29696   echo $ECHO_N "(cached) $ECHO_C" >&6
29697 fi
29698 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
29699 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
29700 else
29701   # Is the header compilable?
29702 echo "$as_me:$LINENO: checking $ac_header usability" >&5
29703 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
29704 cat >conftest.$ac_ext <<_ACEOF
29705 /* confdefs.h.  */
29706 _ACEOF
29707 cat confdefs.h >>conftest.$ac_ext
29708 cat >>conftest.$ac_ext <<_ACEOF
29709 /* end confdefs.h.  */
29710 $ac_includes_default
29711 #include <$ac_header>
29712 _ACEOF
29713 rm -f conftest.$ac_objext
29714 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
29715   (eval $ac_compile) 2>conftest.er1
29716   ac_status=$?
29717   grep -v '^ *+' conftest.er1 >conftest.err
29718   rm -f conftest.er1
29719   cat conftest.err >&5
29720   echo "$as_me:$LINENO: \$? = $ac_status" >&5
29721   (exit $ac_status); } &&
29722          { ac_try='test -z "$ac_c_werror_flag"
29723                          || test ! -s conftest.err'
29724   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29725   (eval $ac_try) 2>&5
29726   ac_status=$?
29727   echo "$as_me:$LINENO: \$? = $ac_status" >&5
29728   (exit $ac_status); }; } &&
29729          { ac_try='test -s conftest.$ac_objext'
29730   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29731   (eval $ac_try) 2>&5
29732   ac_status=$?
29733   echo "$as_me:$LINENO: \$? = $ac_status" >&5
29734   (exit $ac_status); }; }; then
29735   ac_header_compiler=yes
29736 else
29737   echo "$as_me: failed program was:" >&5
29738 sed 's/^/| /' conftest.$ac_ext >&5
29739
29740 ac_header_compiler=no
29741 fi
29742 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
29743 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
29744 echo "${ECHO_T}$ac_header_compiler" >&6
29745
29746 # Is the header present?
29747 echo "$as_me:$LINENO: checking $ac_header presence" >&5
29748 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
29749 cat >conftest.$ac_ext <<_ACEOF
29750 /* confdefs.h.  */
29751 _ACEOF
29752 cat confdefs.h >>conftest.$ac_ext
29753 cat >>conftest.$ac_ext <<_ACEOF
29754 /* end confdefs.h.  */
29755 #include <$ac_header>
29756 _ACEOF
29757 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
29758   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
29759   ac_status=$?
29760   grep -v '^ *+' conftest.er1 >conftest.err
29761   rm -f conftest.er1
29762   cat conftest.err >&5
29763   echo "$as_me:$LINENO: \$? = $ac_status" >&5
29764   (exit $ac_status); } >/dev/null; then
29765   if test -s conftest.err; then
29766     ac_cpp_err=$ac_c_preproc_warn_flag
29767     ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
29768   else
29769     ac_cpp_err=
29770   fi
29771 else
29772   ac_cpp_err=yes
29773 fi
29774 if test -z "$ac_cpp_err"; then
29775   ac_header_preproc=yes
29776 else
29777   echo "$as_me: failed program was:" >&5
29778 sed 's/^/| /' conftest.$ac_ext >&5
29779
29780   ac_header_preproc=no
29781 fi
29782 rm -f conftest.err conftest.$ac_ext
29783 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
29784 echo "${ECHO_T}$ac_header_preproc" >&6
29785
29786 # So?  What about this header?
29787 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
29788   yes:no: )
29789     { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
29790 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
29791     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
29792 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
29793     ac_header_preproc=yes
29794     ;;
29795   no:yes:* )
29796     { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
29797 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
29798     { echo "$as_me:$LINENO: WARNING: $ac_header:     check for missing prerequisite headers?" >&5
29799 echo "$as_me: WARNING: $ac_header:     check for missing prerequisite headers?" >&2;}
29800     { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
29801 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
29802     { echo "$as_me:$LINENO: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&5
29803 echo "$as_me: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&2;}
29804     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
29805 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
29806     { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
29807 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
29808     (
29809       cat <<\_ASBOX
29810 ## ----------------------------------------- ##
29811 ## Report this to the package-unused lists.  ##
29812 ## ----------------------------------------- ##
29813 _ASBOX
29814     ) |
29815       sed "s/^/$as_me: WARNING:     /" >&2
29816     ;;
29817 esac
29818 echo "$as_me:$LINENO: checking for $ac_header" >&5
29819 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
29820 if eval "test \"\${$as_ac_Header+set}\" = set"; then
29821   echo $ECHO_N "(cached) $ECHO_C" >&6
29822 else
29823   eval "$as_ac_Header=\$ac_header_preproc"
29824 fi
29825 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
29826 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
29827
29828 fi
29829 if test `eval echo '${'$as_ac_Header'}'` = yes; then
29830   cat >>confdefs.h <<_ACEOF
29831 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
29832 _ACEOF
29833
29834 fi
29835
29836 done
29837
29838
29839   echo "$as_me:$LINENO: checking for poll" >&5
29840 echo $ECHO_N "checking for poll... $ECHO_C" >&6
29841   if test "${glibcxx_cv_POLL+set}" = set; then
29842   echo $ECHO_N "(cached) $ECHO_C" >&6
29843 else
29844
29845     if test x$gcc_no_link = xyes; then
29846   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
29847 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
29848    { (exit 1); exit 1; }; }
29849 fi
29850 cat >conftest.$ac_ext <<_ACEOF
29851 /* confdefs.h.  */
29852 _ACEOF
29853 cat confdefs.h >>conftest.$ac_ext
29854 cat >>conftest.$ac_ext <<_ACEOF
29855 /* end confdefs.h.  */
29856 #include <poll.h>
29857 int
29858 main ()
29859 {
29860 struct pollfd pfd[1];
29861        pfd[0].events = POLLIN;
29862        poll(pfd, 1, 0);
29863   ;
29864   return 0;
29865 }
29866 _ACEOF
29867 rm -f conftest.$ac_objext conftest$ac_exeext
29868 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29869   (eval $ac_link) 2>conftest.er1
29870   ac_status=$?
29871   grep -v '^ *+' conftest.er1 >conftest.err
29872   rm -f conftest.er1
29873   cat conftest.err >&5
29874   echo "$as_me:$LINENO: \$? = $ac_status" >&5
29875   (exit $ac_status); } &&
29876          { ac_try='test -z "$ac_c_werror_flag"
29877                          || test ! -s conftest.err'
29878   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29879   (eval $ac_try) 2>&5
29880   ac_status=$?
29881   echo "$as_me:$LINENO: \$? = $ac_status" >&5
29882   (exit $ac_status); }; } &&
29883          { ac_try='test -s conftest$ac_exeext'
29884   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29885   (eval $ac_try) 2>&5
29886   ac_status=$?
29887   echo "$as_me:$LINENO: \$? = $ac_status" >&5
29888   (exit $ac_status); }; }; then
29889   glibcxx_cv_POLL=yes
29890 else
29891   echo "$as_me: failed program was:" >&5
29892 sed 's/^/| /' conftest.$ac_ext >&5
29893
29894 glibcxx_cv_POLL=no
29895 fi
29896 rm -f conftest.err conftest.$ac_objext \
29897       conftest$ac_exeext conftest.$ac_ext
29898
29899 fi
29900
29901   if test $glibcxx_cv_POLL = yes; then
29902
29903 cat >>confdefs.h <<\_ACEOF
29904 #define HAVE_POLL 1
29905 _ACEOF
29906
29907   fi
29908   echo "$as_me:$LINENO: result: $glibcxx_cv_POLL" >&5
29909 echo "${ECHO_T}$glibcxx_cv_POLL" >&6
29910
29911
29912   echo "$as_me:$LINENO: checking for S_ISREG or S_IFREG" >&5
29913 echo $ECHO_N "checking for S_ISREG or S_IFREG... $ECHO_C" >&6
29914   if test "${glibcxx_cv_S_ISREG+set}" = set; then
29915   echo $ECHO_N "(cached) $ECHO_C" >&6
29916 else
29917
29918     if test x$gcc_no_link = xyes; then
29919   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
29920 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
29921    { (exit 1); exit 1; }; }
29922 fi
29923 cat >conftest.$ac_ext <<_ACEOF
29924 /* confdefs.h.  */
29925 _ACEOF
29926 cat confdefs.h >>conftest.$ac_ext
29927 cat >>conftest.$ac_ext <<_ACEOF
29928 /* end confdefs.h.  */
29929 #include <sys/stat.h>
29930 int
29931 main ()
29932 {
29933 struct stat buffer;
29934        fstat(0, &buffer);
29935        S_ISREG(buffer.st_mode);
29936   ;
29937   return 0;
29938 }
29939 _ACEOF
29940 rm -f conftest.$ac_objext conftest$ac_exeext
29941 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29942   (eval $ac_link) 2>conftest.er1
29943   ac_status=$?
29944   grep -v '^ *+' conftest.er1 >conftest.err
29945   rm -f conftest.er1
29946   cat conftest.err >&5
29947   echo "$as_me:$LINENO: \$? = $ac_status" >&5
29948   (exit $ac_status); } &&
29949          { ac_try='test -z "$ac_c_werror_flag"
29950                          || test ! -s conftest.err'
29951   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29952   (eval $ac_try) 2>&5
29953   ac_status=$?
29954   echo "$as_me:$LINENO: \$? = $ac_status" >&5
29955   (exit $ac_status); }; } &&
29956          { ac_try='test -s conftest$ac_exeext'
29957   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29958   (eval $ac_try) 2>&5
29959   ac_status=$?
29960   echo "$as_me:$LINENO: \$? = $ac_status" >&5
29961   (exit $ac_status); }; }; then
29962   glibcxx_cv_S_ISREG=yes
29963 else
29964   echo "$as_me: failed program was:" >&5
29965 sed 's/^/| /' conftest.$ac_ext >&5
29966
29967 glibcxx_cv_S_ISREG=no
29968 fi
29969 rm -f conftest.err conftest.$ac_objext \
29970       conftest$ac_exeext conftest.$ac_ext
29971
29972 fi
29973
29974   if test "${glibcxx_cv_S_IFREG+set}" = set; then
29975   echo $ECHO_N "(cached) $ECHO_C" >&6
29976 else
29977
29978     if test x$gcc_no_link = xyes; then
29979   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
29980 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
29981    { (exit 1); exit 1; }; }
29982 fi
29983 cat >conftest.$ac_ext <<_ACEOF
29984 /* confdefs.h.  */
29985 _ACEOF
29986 cat confdefs.h >>conftest.$ac_ext
29987 cat >>conftest.$ac_ext <<_ACEOF
29988 /* end confdefs.h.  */
29989 #include <sys/stat.h>
29990 int
29991 main ()
29992 {
29993 struct stat buffer;
29994        fstat(0, &buffer);
29995        S_IFREG & buffer.st_mode;
29996   ;
29997   return 0;
29998 }
29999 _ACEOF
30000 rm -f conftest.$ac_objext conftest$ac_exeext
30001 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
30002   (eval $ac_link) 2>conftest.er1
30003   ac_status=$?
30004   grep -v '^ *+' conftest.er1 >conftest.err
30005   rm -f conftest.er1
30006   cat conftest.err >&5
30007   echo "$as_me:$LINENO: \$? = $ac_status" >&5
30008   (exit $ac_status); } &&
30009          { ac_try='test -z "$ac_c_werror_flag"
30010                          || test ! -s conftest.err'
30011   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30012   (eval $ac_try) 2>&5
30013   ac_status=$?
30014   echo "$as_me:$LINENO: \$? = $ac_status" >&5
30015   (exit $ac_status); }; } &&
30016          { ac_try='test -s conftest$ac_exeext'
30017   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30018   (eval $ac_try) 2>&5
30019   ac_status=$?
30020   echo "$as_me:$LINENO: \$? = $ac_status" >&5
30021   (exit $ac_status); }; }; then
30022   glibcxx_cv_S_IFREG=yes
30023 else
30024   echo "$as_me: failed program was:" >&5
30025 sed 's/^/| /' conftest.$ac_ext >&5
30026
30027 glibcxx_cv_S_IFREG=no
30028 fi
30029 rm -f conftest.err conftest.$ac_objext \
30030       conftest$ac_exeext conftest.$ac_ext
30031
30032 fi
30033
30034   res=no
30035   if test $glibcxx_cv_S_ISREG = yes; then
30036
30037 cat >>confdefs.h <<\_ACEOF
30038 #define HAVE_S_ISREG 1
30039 _ACEOF
30040
30041     res=S_ISREG
30042   elif test $glibcxx_cv_S_IFREG = yes; then
30043
30044 cat >>confdefs.h <<\_ACEOF
30045 #define HAVE_S_IFREG 1
30046 _ACEOF
30047
30048     res=S_IFREG
30049   fi
30050   echo "$as_me:$LINENO: result: $res" >&5
30051 echo "${ECHO_T}$res" >&6
30052
30053
30054   # For xsputn_2().
30055
30056 for ac_header in sys/uio.h
30057 do
30058 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
30059 if eval "test \"\${$as_ac_Header+set}\" = set"; then
30060   echo "$as_me:$LINENO: checking for $ac_header" >&5
30061 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
30062 if eval "test \"\${$as_ac_Header+set}\" = set"; then
30063   echo $ECHO_N "(cached) $ECHO_C" >&6
30064 fi
30065 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
30066 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
30067 else
30068   # Is the header compilable?
30069 echo "$as_me:$LINENO: checking $ac_header usability" >&5
30070 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
30071 cat >conftest.$ac_ext <<_ACEOF
30072 /* confdefs.h.  */
30073 _ACEOF
30074 cat confdefs.h >>conftest.$ac_ext
30075 cat >>conftest.$ac_ext <<_ACEOF
30076 /* end confdefs.h.  */
30077 $ac_includes_default
30078 #include <$ac_header>
30079 _ACEOF
30080 rm -f conftest.$ac_objext
30081 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
30082   (eval $ac_compile) 2>conftest.er1
30083   ac_status=$?
30084   grep -v '^ *+' conftest.er1 >conftest.err
30085   rm -f conftest.er1
30086   cat conftest.err >&5
30087   echo "$as_me:$LINENO: \$? = $ac_status" >&5
30088   (exit $ac_status); } &&
30089          { ac_try='test -z "$ac_c_werror_flag"
30090                          || test ! -s conftest.err'
30091   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30092   (eval $ac_try) 2>&5
30093   ac_status=$?
30094   echo "$as_me:$LINENO: \$? = $ac_status" >&5
30095   (exit $ac_status); }; } &&
30096          { ac_try='test -s conftest.$ac_objext'
30097   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30098   (eval $ac_try) 2>&5
30099   ac_status=$?
30100   echo "$as_me:$LINENO: \$? = $ac_status" >&5
30101   (exit $ac_status); }; }; then
30102   ac_header_compiler=yes
30103 else
30104   echo "$as_me: failed program was:" >&5
30105 sed 's/^/| /' conftest.$ac_ext >&5
30106
30107 ac_header_compiler=no
30108 fi
30109 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
30110 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
30111 echo "${ECHO_T}$ac_header_compiler" >&6
30112
30113 # Is the header present?
30114 echo "$as_me:$LINENO: checking $ac_header presence" >&5
30115 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
30116 cat >conftest.$ac_ext <<_ACEOF
30117 /* confdefs.h.  */
30118 _ACEOF
30119 cat confdefs.h >>conftest.$ac_ext
30120 cat >>conftest.$ac_ext <<_ACEOF
30121 /* end confdefs.h.  */
30122 #include <$ac_header>
30123 _ACEOF
30124 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
30125   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
30126   ac_status=$?
30127   grep -v '^ *+' conftest.er1 >conftest.err
30128   rm -f conftest.er1
30129   cat conftest.err >&5
30130   echo "$as_me:$LINENO: \$? = $ac_status" >&5
30131   (exit $ac_status); } >/dev/null; then
30132   if test -s conftest.err; then
30133     ac_cpp_err=$ac_c_preproc_warn_flag
30134     ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
30135   else
30136     ac_cpp_err=
30137   fi
30138 else
30139   ac_cpp_err=yes
30140 fi
30141 if test -z "$ac_cpp_err"; then
30142   ac_header_preproc=yes
30143 else
30144   echo "$as_me: failed program was:" >&5
30145 sed 's/^/| /' conftest.$ac_ext >&5
30146
30147   ac_header_preproc=no
30148 fi
30149 rm -f conftest.err conftest.$ac_ext
30150 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
30151 echo "${ECHO_T}$ac_header_preproc" >&6
30152
30153 # So?  What about this header?
30154 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
30155   yes:no: )
30156     { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
30157 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
30158     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
30159 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
30160     ac_header_preproc=yes
30161     ;;
30162   no:yes:* )
30163     { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
30164 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
30165     { echo "$as_me:$LINENO: WARNING: $ac_header:     check for missing prerequisite headers?" >&5
30166 echo "$as_me: WARNING: $ac_header:     check for missing prerequisite headers?" >&2;}
30167     { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
30168 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
30169     { echo "$as_me:$LINENO: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&5
30170 echo "$as_me: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&2;}
30171     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
30172 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
30173     { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
30174 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
30175     (
30176       cat <<\_ASBOX
30177 ## ----------------------------------------- ##
30178 ## Report this to the package-unused lists.  ##
30179 ## ----------------------------------------- ##
30180 _ASBOX
30181     ) |
30182       sed "s/^/$as_me: WARNING:     /" >&2
30183     ;;
30184 esac
30185 echo "$as_me:$LINENO: checking for $ac_header" >&5
30186 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
30187 if eval "test \"\${$as_ac_Header+set}\" = set"; then
30188   echo $ECHO_N "(cached) $ECHO_C" >&6
30189 else
30190   eval "$as_ac_Header=\$ac_header_preproc"
30191 fi
30192 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
30193 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
30194
30195 fi
30196 if test `eval echo '${'$as_ac_Header'}'` = yes; then
30197   cat >>confdefs.h <<_ACEOF
30198 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
30199 _ACEOF
30200
30201 fi
30202
30203 done
30204
30205
30206   echo "$as_me:$LINENO: checking for writev" >&5
30207 echo $ECHO_N "checking for writev... $ECHO_C" >&6
30208   if test "${glibcxx_cv_WRITEV+set}" = set; then
30209   echo $ECHO_N "(cached) $ECHO_C" >&6
30210 else
30211
30212     if test x$gcc_no_link = xyes; then
30213   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
30214 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
30215    { (exit 1); exit 1; }; }
30216 fi
30217 cat >conftest.$ac_ext <<_ACEOF
30218 /* confdefs.h.  */
30219 _ACEOF
30220 cat confdefs.h >>conftest.$ac_ext
30221 cat >>conftest.$ac_ext <<_ACEOF
30222 /* end confdefs.h.  */
30223 #include <sys/uio.h>
30224 int
30225 main ()
30226 {
30227 struct iovec iov[2];
30228        writev(0, iov, 0);
30229   ;
30230   return 0;
30231 }
30232 _ACEOF
30233 rm -f conftest.$ac_objext conftest$ac_exeext
30234 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
30235   (eval $ac_link) 2>conftest.er1
30236   ac_status=$?
30237   grep -v '^ *+' conftest.er1 >conftest.err
30238   rm -f conftest.er1
30239   cat conftest.err >&5
30240   echo "$as_me:$LINENO: \$? = $ac_status" >&5
30241   (exit $ac_status); } &&
30242          { ac_try='test -z "$ac_c_werror_flag"
30243                          || test ! -s conftest.err'
30244   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30245   (eval $ac_try) 2>&5
30246   ac_status=$?
30247   echo "$as_me:$LINENO: \$? = $ac_status" >&5
30248   (exit $ac_status); }; } &&
30249          { ac_try='test -s conftest$ac_exeext'
30250   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30251   (eval $ac_try) 2>&5
30252   ac_status=$?
30253   echo "$as_me:$LINENO: \$? = $ac_status" >&5
30254   (exit $ac_status); }; }; then
30255   glibcxx_cv_WRITEV=yes
30256 else
30257   echo "$as_me: failed program was:" >&5
30258 sed 's/^/| /' conftest.$ac_ext >&5
30259
30260 glibcxx_cv_WRITEV=no
30261 fi
30262 rm -f conftest.err conftest.$ac_objext \
30263       conftest$ac_exeext conftest.$ac_ext
30264
30265 fi
30266
30267   if test $glibcxx_cv_WRITEV = yes; then
30268
30269 cat >>confdefs.h <<\_ACEOF
30270 #define HAVE_WRITEV 1
30271 _ACEOF
30272
30273   fi
30274   echo "$as_me:$LINENO: result: $glibcxx_cv_WRITEV" >&5
30275 echo "${ECHO_T}$glibcxx_cv_WRITEV" >&6
30276
30277
30278   # For the __streamoff_base_type typedef.
30279
30280   echo "$as_me:$LINENO: checking for int64_t" >&5
30281 echo $ECHO_N "checking for int64_t... $ECHO_C" >&6
30282   if test "${glibcxx_cv_INT64_T+set}" = set; then
30283   echo $ECHO_N "(cached) $ECHO_C" >&6
30284 else
30285
30286     cat >conftest.$ac_ext <<_ACEOF
30287 /* confdefs.h.  */
30288 _ACEOF
30289 cat confdefs.h >>conftest.$ac_ext
30290 cat >>conftest.$ac_ext <<_ACEOF
30291 /* end confdefs.h.  */
30292 #include <stdint.h>
30293 int
30294 main ()
30295 {
30296 int64_t var;
30297   ;
30298   return 0;
30299 }
30300 _ACEOF
30301 rm -f conftest.$ac_objext
30302 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
30303   (eval $ac_compile) 2>conftest.er1
30304   ac_status=$?
30305   grep -v '^ *+' conftest.er1 >conftest.err
30306   rm -f conftest.er1
30307   cat conftest.err >&5
30308   echo "$as_me:$LINENO: \$? = $ac_status" >&5
30309   (exit $ac_status); } &&
30310          { ac_try='test -z "$ac_c_werror_flag"
30311                          || test ! -s conftest.err'
30312   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30313   (eval $ac_try) 2>&5
30314   ac_status=$?
30315   echo "$as_me:$LINENO: \$? = $ac_status" >&5
30316   (exit $ac_status); }; } &&
30317          { ac_try='test -s conftest.$ac_objext'
30318   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30319   (eval $ac_try) 2>&5
30320   ac_status=$?
30321   echo "$as_me:$LINENO: \$? = $ac_status" >&5
30322   (exit $ac_status); }; }; then
30323   glibcxx_cv_INT64_T=yes
30324 else
30325   echo "$as_me: failed program was:" >&5
30326 sed 's/^/| /' conftest.$ac_ext >&5
30327
30328 glibcxx_cv_INT64_T=no
30329 fi
30330 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
30331
30332 fi
30333
30334   if test $glibcxx_cv_INT64_T = yes; then
30335
30336 cat >>confdefs.h <<\_ACEOF
30337 #define HAVE_INT64_T 1
30338 _ACEOF
30339
30340   fi
30341   echo "$as_me:$LINENO: result: $glibcxx_cv_INT64_T" >&5
30342 echo "${ECHO_T}$glibcxx_cv_INT64_T" >&6
30343
30344
30345   # For LFS support.
30346
30347
30348
30349   ac_ext=cc
30350 ac_cpp='$CXXCPP $CPPFLAGS'
30351 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30352 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30353 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30354
30355   ac_save_CXXFLAGS="$CXXFLAGS"
30356   CXXFLAGS="$CXXFLAGS -fno-exceptions"
30357   echo "$as_me:$LINENO: checking for LFS support" >&5
30358 echo $ECHO_N "checking for LFS support... $ECHO_C" >&6
30359   if test "${glibcxx_cv_LFS+set}" = set; then
30360   echo $ECHO_N "(cached) $ECHO_C" >&6
30361 else
30362
30363     if test x$gcc_no_link = xyes; then
30364   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
30365 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
30366    { (exit 1); exit 1; }; }
30367 fi
30368 cat >conftest.$ac_ext <<_ACEOF
30369 /* confdefs.h.  */
30370 _ACEOF
30371 cat confdefs.h >>conftest.$ac_ext
30372 cat >>conftest.$ac_ext <<_ACEOF
30373 /* end confdefs.h.  */
30374 #include <unistd.h>
30375        #include <stdio.h>
30376        #include <sys/stat.h>
30377
30378 int
30379 main ()
30380 {
30381 FILE* fp;
30382        fopen64("t", "w");
30383        fseeko64(fp, 0, SEEK_CUR);
30384        ftello64(fp);
30385        lseek64(1, 0, SEEK_CUR);
30386        struct stat64 buf;
30387        fstat64(1, &buf);
30388   ;
30389   return 0;
30390 }
30391 _ACEOF
30392 rm -f conftest.$ac_objext conftest$ac_exeext
30393 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
30394   (eval $ac_link) 2>conftest.er1
30395   ac_status=$?
30396   grep -v '^ *+' conftest.er1 >conftest.err
30397   rm -f conftest.er1
30398   cat conftest.err >&5
30399   echo "$as_me:$LINENO: \$? = $ac_status" >&5
30400   (exit $ac_status); } &&
30401          { ac_try='test -z "$ac_cxx_werror_flag"
30402                          || test ! -s conftest.err'
30403   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30404   (eval $ac_try) 2>&5
30405   ac_status=$?
30406   echo "$as_me:$LINENO: \$? = $ac_status" >&5
30407   (exit $ac_status); }; } &&
30408          { ac_try='test -s conftest$ac_exeext'
30409   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30410   (eval $ac_try) 2>&5
30411   ac_status=$?
30412   echo "$as_me:$LINENO: \$? = $ac_status" >&5
30413   (exit $ac_status); }; }; then
30414   glibcxx_cv_LFS=yes
30415 else
30416   echo "$as_me: failed program was:" >&5
30417 sed 's/^/| /' conftest.$ac_ext >&5
30418
30419 glibcxx_cv_LFS=no
30420 fi
30421 rm -f conftest.err conftest.$ac_objext \
30422       conftest$ac_exeext conftest.$ac_ext
30423
30424 fi
30425
30426   if test $glibcxx_cv_LFS = yes; then
30427
30428 cat >>confdefs.h <<\_ACEOF
30429 #define _GLIBCXX_USE_LFS 1
30430 _ACEOF
30431
30432   fi
30433   echo "$as_me:$LINENO: result: $glibcxx_cv_LFS" >&5
30434 echo "${ECHO_T}$glibcxx_cv_LFS" >&6
30435   CXXFLAGS="$ac_save_CXXFLAGS"
30436   ac_ext=c
30437 ac_cpp='$CPP $CPPFLAGS'
30438 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30439 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30440 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30441
30442
30443
30444   # For C99 support to TR1.
30445
30446
30447
30448
30449   ac_ext=cc
30450 ac_cpp='$CXXCPP $CPPFLAGS'
30451 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30452 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30453 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30454
30455
30456   # Check for the existence of <complex.h> complex math functions used
30457   # by tr1/complex.
30458
30459 for ac_header in complex.h
30460 do
30461 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
30462 if eval "test \"\${$as_ac_Header+set}\" = set"; then
30463   echo "$as_me:$LINENO: checking for $ac_header" >&5
30464 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
30465 if eval "test \"\${$as_ac_Header+set}\" = set"; then
30466   echo $ECHO_N "(cached) $ECHO_C" >&6
30467 fi
30468 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
30469 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
30470 else
30471   # Is the header compilable?
30472 echo "$as_me:$LINENO: checking $ac_header usability" >&5
30473 echo $ECHO_N "checking $ac_header usability... $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 $ac_includes_default
30481 #include <$ac_header>
30482 _ACEOF
30483 rm -f conftest.$ac_objext
30484 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
30485   (eval $ac_compile) 2>conftest.er1
30486   ac_status=$?
30487   grep -v '^ *+' conftest.er1 >conftest.err
30488   rm -f conftest.er1
30489   cat conftest.err >&5
30490   echo "$as_me:$LINENO: \$? = $ac_status" >&5
30491   (exit $ac_status); } &&
30492          { ac_try='test -z "$ac_cxx_werror_flag"
30493                          || test ! -s conftest.err'
30494   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30495   (eval $ac_try) 2>&5
30496   ac_status=$?
30497   echo "$as_me:$LINENO: \$? = $ac_status" >&5
30498   (exit $ac_status); }; } &&
30499          { ac_try='test -s conftest.$ac_objext'
30500   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30501   (eval $ac_try) 2>&5
30502   ac_status=$?
30503   echo "$as_me:$LINENO: \$? = $ac_status" >&5
30504   (exit $ac_status); }; }; then
30505   ac_header_compiler=yes
30506 else
30507   echo "$as_me: failed program was:" >&5
30508 sed 's/^/| /' conftest.$ac_ext >&5
30509
30510 ac_header_compiler=no
30511 fi
30512 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
30513 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
30514 echo "${ECHO_T}$ac_header_compiler" >&6
30515
30516 # Is the header present?
30517 echo "$as_me:$LINENO: checking $ac_header presence" >&5
30518 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
30519 cat >conftest.$ac_ext <<_ACEOF
30520 /* confdefs.h.  */
30521 _ACEOF
30522 cat confdefs.h >>conftest.$ac_ext
30523 cat >>conftest.$ac_ext <<_ACEOF
30524 /* end confdefs.h.  */
30525 #include <$ac_header>
30526 _ACEOF
30527 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
30528   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
30529   ac_status=$?
30530   grep -v '^ *+' conftest.er1 >conftest.err
30531   rm -f conftest.er1
30532   cat conftest.err >&5
30533   echo "$as_me:$LINENO: \$? = $ac_status" >&5
30534   (exit $ac_status); } >/dev/null; then
30535   if test -s conftest.err; then
30536     ac_cpp_err=$ac_cxx_preproc_warn_flag
30537     ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
30538   else
30539     ac_cpp_err=
30540   fi
30541 else
30542   ac_cpp_err=yes
30543 fi
30544 if test -z "$ac_cpp_err"; then
30545   ac_header_preproc=yes
30546 else
30547   echo "$as_me: failed program was:" >&5
30548 sed 's/^/| /' conftest.$ac_ext >&5
30549
30550   ac_header_preproc=no
30551 fi
30552 rm -f conftest.err conftest.$ac_ext
30553 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
30554 echo "${ECHO_T}$ac_header_preproc" >&6
30555
30556 # So?  What about this header?
30557 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
30558   yes:no: )
30559     { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
30560 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
30561     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
30562 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
30563     ac_header_preproc=yes
30564     ;;
30565   no:yes:* )
30566     { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
30567 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
30568     { echo "$as_me:$LINENO: WARNING: $ac_header:     check for missing prerequisite headers?" >&5
30569 echo "$as_me: WARNING: $ac_header:     check for missing prerequisite headers?" >&2;}
30570     { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
30571 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
30572     { echo "$as_me:$LINENO: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&5
30573 echo "$as_me: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&2;}
30574     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
30575 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
30576     { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
30577 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
30578     (
30579       cat <<\_ASBOX
30580 ## ----------------------------------------- ##
30581 ## Report this to the package-unused lists.  ##
30582 ## ----------------------------------------- ##
30583 _ASBOX
30584     ) |
30585       sed "s/^/$as_me: WARNING:     /" >&2
30586     ;;
30587 esac
30588 echo "$as_me:$LINENO: checking for $ac_header" >&5
30589 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
30590 if eval "test \"\${$as_ac_Header+set}\" = set"; then
30591   echo $ECHO_N "(cached) $ECHO_C" >&6
30592 else
30593   eval "$as_ac_Header=\$ac_header_preproc"
30594 fi
30595 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
30596 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
30597
30598 fi
30599 if test `eval echo '${'$as_ac_Header'}'` = yes; then
30600   cat >>confdefs.h <<_ACEOF
30601 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
30602 _ACEOF
30603  ac_has_complex_h=yes
30604 else
30605   ac_has_complex_h=no
30606 fi
30607
30608 done
30609
30610   ac_c99_complex_tr1=no;
30611   if test x"$ac_has_complex_h" = x"yes"; then
30612     echo "$as_me:$LINENO: checking for ISO C99 support to TR1 in <complex.h>" >&5
30613 echo $ECHO_N "checking for ISO C99 support to TR1 in <complex.h>... $ECHO_C" >&6
30614     cat >conftest.$ac_ext <<_ACEOF
30615 /* confdefs.h.  */
30616 _ACEOF
30617 cat confdefs.h >>conftest.$ac_ext
30618 cat >>conftest.$ac_ext <<_ACEOF
30619 /* end confdefs.h.  */
30620 #include <complex.h>
30621 int
30622 main ()
30623 {
30624 typedef __complex__ float float_type; float_type tmpf;
30625                     cacosf(tmpf);
30626                     casinf(tmpf);
30627                     catanf(tmpf);
30628                     cacoshf(tmpf);
30629                     casinhf(tmpf);
30630                     catanhf(tmpf);
30631                     typedef __complex__ double double_type; double_type tmpd;
30632                     cacos(tmpd);
30633                     casin(tmpd);
30634                     catan(tmpd);
30635                     cacosh(tmpd);
30636                     casinh(tmpd);
30637                     catanh(tmpd);
30638                     typedef __complex__ long double ld_type; ld_type tmpld;
30639                     cacosl(tmpld);
30640                     casinl(tmpld);
30641                     catanl(tmpld);
30642                     cacoshl(tmpld);
30643                     casinhl(tmpld);
30644                     catanhl(tmpld);
30645
30646   ;
30647   return 0;
30648 }
30649 _ACEOF
30650 rm -f conftest.$ac_objext
30651 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
30652   (eval $ac_compile) 2>conftest.er1
30653   ac_status=$?
30654   grep -v '^ *+' conftest.er1 >conftest.err
30655   rm -f conftest.er1
30656   cat conftest.err >&5
30657   echo "$as_me:$LINENO: \$? = $ac_status" >&5
30658   (exit $ac_status); } &&
30659          { ac_try='test -z "$ac_cxx_werror_flag"
30660                          || test ! -s conftest.err'
30661   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30662   (eval $ac_try) 2>&5
30663   ac_status=$?
30664   echo "$as_me:$LINENO: \$? = $ac_status" >&5
30665   (exit $ac_status); }; } &&
30666          { ac_try='test -s conftest.$ac_objext'
30667   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30668   (eval $ac_try) 2>&5
30669   ac_status=$?
30670   echo "$as_me:$LINENO: \$? = $ac_status" >&5
30671   (exit $ac_status); }; }; then
30672   ac_c99_complex_tr1=yes
30673 else
30674   echo "$as_me: failed program was:" >&5
30675 sed 's/^/| /' conftest.$ac_ext >&5
30676
30677 ac_c99_complex_tr1=no
30678 fi
30679 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
30680   fi
30681   echo "$as_me:$LINENO: result: $ac_c99_complex_tr1" >&5
30682 echo "${ECHO_T}$ac_c99_complex_tr1" >&6
30683   if test x"$ac_c99_complex_tr1" = x"yes"; then
30684
30685 cat >>confdefs.h <<\_ACEOF
30686 #define _GLIBCXX_USE_C99_COMPLEX_TR1 1
30687 _ACEOF
30688
30689   fi
30690
30691   # Check for the existence of <ctype.h> functions.
30692   echo "$as_me:$LINENO: checking for ISO C99 support to TR1 in <ctype.h>" >&5
30693 echo $ECHO_N "checking for ISO C99 support to TR1 in <ctype.h>... $ECHO_C" >&6
30694   if test "${ac_c99_ctype_tr1+set}" = set; then
30695   echo $ECHO_N "(cached) $ECHO_C" >&6
30696 else
30697
30698   cat >conftest.$ac_ext <<_ACEOF
30699 /* confdefs.h.  */
30700 _ACEOF
30701 cat confdefs.h >>conftest.$ac_ext
30702 cat >>conftest.$ac_ext <<_ACEOF
30703 /* end confdefs.h.  */
30704 #include <ctype.h>
30705 int
30706 main ()
30707 {
30708 int ch;
30709                   int ret;
30710                   ret = isblank(ch);
30711
30712   ;
30713   return 0;
30714 }
30715 _ACEOF
30716 rm -f conftest.$ac_objext
30717 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
30718   (eval $ac_compile) 2>conftest.er1
30719   ac_status=$?
30720   grep -v '^ *+' conftest.er1 >conftest.err
30721   rm -f conftest.er1
30722   cat conftest.err >&5
30723   echo "$as_me:$LINENO: \$? = $ac_status" >&5
30724   (exit $ac_status); } &&
30725          { ac_try='test -z "$ac_cxx_werror_flag"
30726                          || test ! -s conftest.err'
30727   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30728   (eval $ac_try) 2>&5
30729   ac_status=$?
30730   echo "$as_me:$LINENO: \$? = $ac_status" >&5
30731   (exit $ac_status); }; } &&
30732          { ac_try='test -s conftest.$ac_objext'
30733   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30734   (eval $ac_try) 2>&5
30735   ac_status=$?
30736   echo "$as_me:$LINENO: \$? = $ac_status" >&5
30737   (exit $ac_status); }; }; then
30738   ac_c99_ctype_tr1=yes
30739 else
30740   echo "$as_me: failed program was:" >&5
30741 sed 's/^/| /' conftest.$ac_ext >&5
30742
30743 ac_c99_ctype_tr1=no
30744 fi
30745 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
30746
30747 fi
30748
30749   echo "$as_me:$LINENO: result: $ac_c99_ctype_tr1" >&5
30750 echo "${ECHO_T}$ac_c99_ctype_tr1" >&6
30751   if test x"$ac_c99_ctype_tr1" = x"yes"; then
30752
30753 cat >>confdefs.h <<\_ACEOF
30754 #define _GLIBCXX_USE_C99_CTYPE_TR1 1
30755 _ACEOF
30756
30757   fi
30758
30759   # Check for the existence of <fenv.h> functions.
30760
30761 for ac_header in fenv.h
30762 do
30763 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
30764 if eval "test \"\${$as_ac_Header+set}\" = set"; then
30765   echo "$as_me:$LINENO: checking for $ac_header" >&5
30766 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
30767 if eval "test \"\${$as_ac_Header+set}\" = set"; then
30768   echo $ECHO_N "(cached) $ECHO_C" >&6
30769 fi
30770 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
30771 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
30772 else
30773   # Is the header compilable?
30774 echo "$as_me:$LINENO: checking $ac_header usability" >&5
30775 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
30776 cat >conftest.$ac_ext <<_ACEOF
30777 /* confdefs.h.  */
30778 _ACEOF
30779 cat confdefs.h >>conftest.$ac_ext
30780 cat >>conftest.$ac_ext <<_ACEOF
30781 /* end confdefs.h.  */
30782 $ac_includes_default
30783 #include <$ac_header>
30784 _ACEOF
30785 rm -f conftest.$ac_objext
30786 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
30787   (eval $ac_compile) 2>conftest.er1
30788   ac_status=$?
30789   grep -v '^ *+' conftest.er1 >conftest.err
30790   rm -f conftest.er1
30791   cat conftest.err >&5
30792   echo "$as_me:$LINENO: \$? = $ac_status" >&5
30793   (exit $ac_status); } &&
30794          { ac_try='test -z "$ac_cxx_werror_flag"
30795                          || test ! -s conftest.err'
30796   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30797   (eval $ac_try) 2>&5
30798   ac_status=$?
30799   echo "$as_me:$LINENO: \$? = $ac_status" >&5
30800   (exit $ac_status); }; } &&
30801          { ac_try='test -s conftest.$ac_objext'
30802   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30803   (eval $ac_try) 2>&5
30804   ac_status=$?
30805   echo "$as_me:$LINENO: \$? = $ac_status" >&5
30806   (exit $ac_status); }; }; then
30807   ac_header_compiler=yes
30808 else
30809   echo "$as_me: failed program was:" >&5
30810 sed 's/^/| /' conftest.$ac_ext >&5
30811
30812 ac_header_compiler=no
30813 fi
30814 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
30815 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
30816 echo "${ECHO_T}$ac_header_compiler" >&6
30817
30818 # Is the header present?
30819 echo "$as_me:$LINENO: checking $ac_header presence" >&5
30820 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
30821 cat >conftest.$ac_ext <<_ACEOF
30822 /* confdefs.h.  */
30823 _ACEOF
30824 cat confdefs.h >>conftest.$ac_ext
30825 cat >>conftest.$ac_ext <<_ACEOF
30826 /* end confdefs.h.  */
30827 #include <$ac_header>
30828 _ACEOF
30829 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
30830   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
30831   ac_status=$?
30832   grep -v '^ *+' conftest.er1 >conftest.err
30833   rm -f conftest.er1
30834   cat conftest.err >&5
30835   echo "$as_me:$LINENO: \$? = $ac_status" >&5
30836   (exit $ac_status); } >/dev/null; then
30837   if test -s conftest.err; then
30838     ac_cpp_err=$ac_cxx_preproc_warn_flag
30839     ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
30840   else
30841     ac_cpp_err=
30842   fi
30843 else
30844   ac_cpp_err=yes
30845 fi
30846 if test -z "$ac_cpp_err"; then
30847   ac_header_preproc=yes
30848 else
30849   echo "$as_me: failed program was:" >&5
30850 sed 's/^/| /' conftest.$ac_ext >&5
30851
30852   ac_header_preproc=no
30853 fi
30854 rm -f conftest.err conftest.$ac_ext
30855 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
30856 echo "${ECHO_T}$ac_header_preproc" >&6
30857
30858 # So?  What about this header?
30859 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
30860   yes:no: )
30861     { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
30862 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
30863     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
30864 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
30865     ac_header_preproc=yes
30866     ;;
30867   no:yes:* )
30868     { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
30869 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
30870     { echo "$as_me:$LINENO: WARNING: $ac_header:     check for missing prerequisite headers?" >&5
30871 echo "$as_me: WARNING: $ac_header:     check for missing prerequisite headers?" >&2;}
30872     { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
30873 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
30874     { echo "$as_me:$LINENO: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&5
30875 echo "$as_me: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&2;}
30876     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
30877 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
30878     { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
30879 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
30880     (
30881       cat <<\_ASBOX
30882 ## ----------------------------------------- ##
30883 ## Report this to the package-unused lists.  ##
30884 ## ----------------------------------------- ##
30885 _ASBOX
30886     ) |
30887       sed "s/^/$as_me: WARNING:     /" >&2
30888     ;;
30889 esac
30890 echo "$as_me:$LINENO: checking for $ac_header" >&5
30891 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
30892 if eval "test \"\${$as_ac_Header+set}\" = set"; then
30893   echo $ECHO_N "(cached) $ECHO_C" >&6
30894 else
30895   eval "$as_ac_Header=\$ac_header_preproc"
30896 fi
30897 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
30898 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
30899
30900 fi
30901 if test `eval echo '${'$as_ac_Header'}'` = yes; then
30902   cat >>confdefs.h <<_ACEOF
30903 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
30904 _ACEOF
30905  ac_has_fenv_h=yes
30906 else
30907   ac_has_fenv_h=no
30908 fi
30909
30910 done
30911
30912   ac_c99_fenv_tr1=no;
30913   if test x"$ac_has_fenv_h" = x"yes"; then
30914     echo "$as_me:$LINENO: checking for ISO C99 support to TR1 in <fenv.h>" >&5
30915 echo $ECHO_N "checking for ISO C99 support to TR1 in <fenv.h>... $ECHO_C" >&6
30916     cat >conftest.$ac_ext <<_ACEOF
30917 /* confdefs.h.  */
30918 _ACEOF
30919 cat confdefs.h >>conftest.$ac_ext
30920 cat >>conftest.$ac_ext <<_ACEOF
30921 /* end confdefs.h.  */
30922 #include <fenv.h>
30923 int
30924 main ()
30925 {
30926 int except, mode;
30927                     fexcept_t* pflag;
30928                     fenv_t* penv;
30929                     int ret;
30930                     ret = feclearexcept(except);
30931                     ret = fegetexceptflag(pflag, except);
30932                     ret = feraiseexcept(except);
30933                     ret = fesetexceptflag(pflag, except);
30934                     ret = fetestexcept(except);
30935                     ret = fegetround();
30936                     ret = fesetround(mode);
30937                     ret = fegetenv(penv);
30938                     ret = feholdexcept(penv);
30939                     ret = fesetenv(penv);
30940                     ret = feupdateenv(penv);
30941
30942   ;
30943   return 0;
30944 }
30945 _ACEOF
30946 rm -f conftest.$ac_objext
30947 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
30948   (eval $ac_compile) 2>conftest.er1
30949   ac_status=$?
30950   grep -v '^ *+' conftest.er1 >conftest.err
30951   rm -f conftest.er1
30952   cat conftest.err >&5
30953   echo "$as_me:$LINENO: \$? = $ac_status" >&5
30954   (exit $ac_status); } &&
30955          { ac_try='test -z "$ac_cxx_werror_flag"
30956                          || test ! -s conftest.err'
30957   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30958   (eval $ac_try) 2>&5
30959   ac_status=$?
30960   echo "$as_me:$LINENO: \$? = $ac_status" >&5
30961   (exit $ac_status); }; } &&
30962          { ac_try='test -s conftest.$ac_objext'
30963   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30964   (eval $ac_try) 2>&5
30965   ac_status=$?
30966   echo "$as_me:$LINENO: \$? = $ac_status" >&5
30967   (exit $ac_status); }; }; then
30968   ac_c99_fenv_tr1=yes
30969 else
30970   echo "$as_me: failed program was:" >&5
30971 sed 's/^/| /' conftest.$ac_ext >&5
30972
30973 ac_c99_fenv_tr1=no
30974 fi
30975 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
30976   fi
30977   echo "$as_me:$LINENO: result: $ac_c99_fenv_tr1" >&5
30978 echo "${ECHO_T}$ac_c99_fenv_tr1" >&6
30979   if test x"$ac_c99_fenv_tr1" = x"yes"; then
30980
30981 cat >>confdefs.h <<\_ACEOF
30982 #define _GLIBCXX_USE_C99_FENV_TR1 1
30983 _ACEOF
30984
30985   fi
30986
30987   # Check for the existence of <stdint.h> types.
30988   echo "$as_me:$LINENO: checking for ISO C99 support to TR1 in <stdint.h>" >&5
30989 echo $ECHO_N "checking for ISO C99 support to TR1 in <stdint.h>... $ECHO_C" >&6
30990   if test "${ac_c99_stdint_tr1+set}" = set; then
30991   echo $ECHO_N "(cached) $ECHO_C" >&6
30992 else
30993
30994   cat >conftest.$ac_ext <<_ACEOF
30995 /* confdefs.h.  */
30996 _ACEOF
30997 cat confdefs.h >>conftest.$ac_ext
30998 cat >>conftest.$ac_ext <<_ACEOF
30999 /* end confdefs.h.  */
31000 #include <stdint.h>
31001 int
31002 main ()
31003 {
31004 typedef int8_t          my_int8_t;
31005                   typedef int16_t         my_int16_t;
31006                   typedef int32_t         my_int32_t;
31007                   typedef int64_t         my_int64_t;
31008                   typedef int_fast8_t     my_int_fast8_t;
31009                   typedef int_fast16_t    my_int_fast16_t;
31010                   typedef int_fast32_t    my_int_fast32_t;
31011                   typedef int_fast64_t    my_int_fast64_t;
31012                   typedef int_least8_t    my_int_least8_t;
31013                   typedef int_least16_t   my_int_least16_t;
31014                   typedef int_least32_t   my_int_least32_t;
31015                   typedef int_least64_t   my_int_least64_t;
31016                   typedef intmax_t        my_intmax_t;
31017                   typedef intptr_t        my_intptr_t;
31018                   typedef uint8_t         my_uint8_t;
31019                   typedef uint16_t        my_uint16_t;
31020                   typedef uint32_t        my_uint32_t;
31021                   typedef uint64_t        my_uint64_t;
31022                   typedef uint_fast8_t    my_uint_fast8_t;
31023                   typedef uint_fast16_t   my_uint_fast16_t;
31024                   typedef uint_fast32_t   my_uint_fast32_t;
31025                   typedef uint_fast64_t   my_uint_fast64_t;
31026                   typedef uint_least8_t   my_uint_least8_t;
31027                   typedef uint_least16_t  my_uint_least16_t;
31028                   typedef uint_least32_t  my_uint_least32_t;
31029                   typedef uint_least64_t  my_uint_least64_t;
31030                   typedef uintmax_t       my_uintmax_t;
31031                   typedef uintptr_t       my_uintptr_t;
31032
31033   ;
31034   return 0;
31035 }
31036 _ACEOF
31037 rm -f conftest.$ac_objext
31038 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
31039   (eval $ac_compile) 2>conftest.er1
31040   ac_status=$?
31041   grep -v '^ *+' conftest.er1 >conftest.err
31042   rm -f conftest.er1
31043   cat conftest.err >&5
31044   echo "$as_me:$LINENO: \$? = $ac_status" >&5
31045   (exit $ac_status); } &&
31046          { ac_try='test -z "$ac_cxx_werror_flag"
31047                          || test ! -s conftest.err'
31048   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31049   (eval $ac_try) 2>&5
31050   ac_status=$?
31051   echo "$as_me:$LINENO: \$? = $ac_status" >&5
31052   (exit $ac_status); }; } &&
31053          { ac_try='test -s conftest.$ac_objext'
31054   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31055   (eval $ac_try) 2>&5
31056   ac_status=$?
31057   echo "$as_me:$LINENO: \$? = $ac_status" >&5
31058   (exit $ac_status); }; }; then
31059   ac_c99_stdint_tr1=yes
31060 else
31061   echo "$as_me: failed program was:" >&5
31062 sed 's/^/| /' conftest.$ac_ext >&5
31063
31064 ac_c99_stdint_tr1=no
31065 fi
31066 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
31067
31068 fi
31069
31070   echo "$as_me:$LINENO: result: $ac_c99_stdint_tr1" >&5
31071 echo "${ECHO_T}$ac_c99_stdint_tr1" >&6
31072   if test x"$ac_c99_stdint_tr1" = x"yes"; then
31073
31074 cat >>confdefs.h <<\_ACEOF
31075 #define _GLIBCXX_USE_C99_STDINT_TR1 1
31076 _ACEOF
31077
31078   fi
31079
31080   # Check for the existence of <math.h> functions.
31081   echo "$as_me:$LINENO: checking for ISO C99 support to TR1 in <math.h>" >&5
31082 echo $ECHO_N "checking for ISO C99 support to TR1 in <math.h>... $ECHO_C" >&6
31083   if test "${ac_c99_math_tr1+set}" = set; then
31084   echo $ECHO_N "(cached) $ECHO_C" >&6
31085 else
31086
31087   cat >conftest.$ac_ext <<_ACEOF
31088 /* confdefs.h.  */
31089 _ACEOF
31090 cat confdefs.h >>conftest.$ac_ext
31091 cat >>conftest.$ac_ext <<_ACEOF
31092 /* end confdefs.h.  */
31093 #include <math.h>
31094 int
31095 main ()
31096 {
31097 typedef double_t  my_double_t;
31098                   typedef float_t   my_float_t;
31099                   acosh(0.0);
31100                   acoshf(0.0f);
31101                   acoshl(0.0l);
31102                   asinh(0.0);
31103                   asinhf(0.0f);
31104                   asinhl(0.0l);
31105                   atanh(0.0);
31106                   atanhf(0.0f);
31107                   atanhl(0.0l);
31108                   cbrt(0.0);
31109                   cbrtf(0.0f);
31110                   cbrtl(0.0l);
31111                   copysign(0.0, 0.0);
31112                   copysignf(0.0f, 0.0f);
31113                   copysignl(0.0l, 0.0l);
31114                   erf(0.0);
31115                   erff(0.0f);
31116                   erfl(0.0l);
31117                   erfc(0.0);
31118                   erfcf(0.0f);
31119                   erfcl(0.0l);
31120                   exp2(0.0);
31121                   exp2f(0.0f);
31122                   exp2l(0.0l);
31123                   expm1(0.0);
31124                   expm1f(0.0f);
31125                   expm1l(0.0l);
31126                   fdim(0.0, 0.0);
31127                   fdimf(0.0f, 0.0f);
31128                   fdiml(0.0l, 0.0l);
31129                   fma(0.0, 0.0, 0.0);
31130                   fmaf(0.0f, 0.0f, 0.0f);
31131                   fmal(0.0l, 0.0l, 0.0l);
31132                   fmax(0.0, 0.0);
31133                   fmaxf(0.0f, 0.0f);
31134                   fmaxl(0.0l, 0.0l);
31135                   fmin(0.0, 0.0);
31136                   fminf(0.0f, 0.0f);
31137                   fminl(0.0l, 0.0l);
31138                   hypot(0.0, 0.0);
31139                   hypotf(0.0f, 0.0f);
31140                   hypotl(0.0l, 0.0l);
31141                   ilogb(0.0);
31142                   ilogbf(0.0f);
31143                   ilogbl(0.0l);
31144                   lgamma(0.0);
31145                   lgammaf(0.0f);
31146                   lgammal(0.0l);
31147                   llrint(0.0);
31148                   llrintf(0.0f);
31149                   llrintl(0.0l);
31150                   llround(0.0);
31151                   llroundf(0.0f);
31152                   llroundl(0.0l);
31153                   log1p(0.0);
31154                   log1pf(0.0f);
31155                   log1pl(0.0l);
31156                   log2(0.0);
31157                   log2f(0.0f);
31158                   log2l(0.0l);
31159                   logb(0.0);
31160                   logbf(0.0f);
31161                   logbl(0.0l);
31162                   lrint(0.0);
31163                   lrintf(0.0f);
31164                   lrintl(0.0l);
31165                   lround(0.0);
31166                   lroundf(0.0f);
31167                   lroundl(0.0l);
31168                   nan(0);
31169                   nanf(0);
31170                   nanl(0);
31171                   nearbyint(0.0);
31172                   nearbyintf(0.0f);
31173                   nearbyintl(0.0l);
31174                   nextafter(0.0, 0.0);
31175                   nextafterf(0.0f, 0.0f);
31176                   nextafterl(0.0l, 0.0l);
31177                   nexttoward(0.0, 0.0);
31178                   nexttowardf(0.0f, 0.0f);
31179                   nexttowardl(0.0l, 0.0l);
31180                   remainder(0.0, 0.0);
31181                   remainderf(0.0f, 0.0f);
31182                   remainderl(0.0l, 0.0l);
31183                   remquo(0.0, 0.0, 0);
31184                   remquo(0.0f, 0.0f, 0);
31185                   remquo(0.0l, 0.0l, 0);
31186                   rint(0.0);
31187                   rintf(0.0f);
31188                   rintl(0.0l);
31189                   round(0.0);
31190                   roundf(0.0f);
31191                   roundl(0.0l);
31192                   scalbln(0.0, 0l);
31193                   scalblnf(0.0f, 0l);
31194                   scalblnl(0.0l, 0l);
31195                   scalbn(0.0, 0);
31196                   scalbnf(0.0f, 0);
31197                   scalbnl(0.0l, 0);
31198                   tgamma(0.0);
31199                   tgammaf(0.0f);
31200                   tgammal(0.0l);
31201                   trunc(0.0);
31202                   truncf(0.0f);
31203                   truncl(0.0l);
31204
31205   ;
31206   return 0;
31207 }
31208 _ACEOF
31209 rm -f conftest.$ac_objext
31210 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
31211   (eval $ac_compile) 2>conftest.er1
31212   ac_status=$?
31213   grep -v '^ *+' conftest.er1 >conftest.err
31214   rm -f conftest.er1
31215   cat conftest.err >&5
31216   echo "$as_me:$LINENO: \$? = $ac_status" >&5
31217   (exit $ac_status); } &&
31218          { ac_try='test -z "$ac_cxx_werror_flag"
31219                          || test ! -s conftest.err'
31220   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31221   (eval $ac_try) 2>&5
31222   ac_status=$?
31223   echo "$as_me:$LINENO: \$? = $ac_status" >&5
31224   (exit $ac_status); }; } &&
31225          { ac_try='test -s conftest.$ac_objext'
31226   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31227   (eval $ac_try) 2>&5
31228   ac_status=$?
31229   echo "$as_me:$LINENO: \$? = $ac_status" >&5
31230   (exit $ac_status); }; }; then
31231   ac_c99_math_tr1=yes
31232 else
31233   echo "$as_me: failed program was:" >&5
31234 sed 's/^/| /' conftest.$ac_ext >&5
31235
31236 ac_c99_math_tr1=no
31237 fi
31238 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
31239
31240 fi
31241
31242   echo "$as_me:$LINENO: result: $ac_c99_math_tr1" >&5
31243 echo "${ECHO_T}$ac_c99_math_tr1" >&6
31244   if test x"$ac_c99_math_tr1" = x"yes"; then
31245
31246 cat >>confdefs.h <<\_ACEOF
31247 #define _GLIBCXX_USE_C99_MATH_TR1 1
31248 _ACEOF
31249
31250   fi
31251
31252   # Check for the existence of <inttypes.h> functions (NB: doesn't make
31253   # sense if the previous check fails, per C99, 7.8/1).
31254   ac_c99_inttypes_tr1=no;
31255   if test x"$ac_c99_stdint_tr1" = x"yes"; then
31256     echo "$as_me:$LINENO: checking for ISO C99 support to TR1 in <inttypes.h>" >&5
31257 echo $ECHO_N "checking for ISO C99 support to TR1 in <inttypes.h>... $ECHO_C" >&6
31258     cat >conftest.$ac_ext <<_ACEOF
31259 /* confdefs.h.  */
31260 _ACEOF
31261 cat confdefs.h >>conftest.$ac_ext
31262 cat >>conftest.$ac_ext <<_ACEOF
31263 /* end confdefs.h.  */
31264 #include <inttypes.h>
31265 int
31266 main ()
31267 {
31268 intmax_t i, numer, denom, base;
31269                     const char* s;
31270                     char** endptr;
31271                     intmax_t ret = imaxabs(i);
31272                     imaxdiv_t dret = imaxdiv(numer, denom);
31273                     ret = strtoimax(s, endptr, base);
31274                     uintmax_t uret = strtoumax(s, endptr, base);
31275
31276   ;
31277   return 0;
31278 }
31279 _ACEOF
31280 rm -f conftest.$ac_objext
31281 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
31282   (eval $ac_compile) 2>conftest.er1
31283   ac_status=$?
31284   grep -v '^ *+' conftest.er1 >conftest.err
31285   rm -f conftest.er1
31286   cat conftest.err >&5
31287   echo "$as_me:$LINENO: \$? = $ac_status" >&5
31288   (exit $ac_status); } &&
31289          { ac_try='test -z "$ac_cxx_werror_flag"
31290                          || test ! -s conftest.err'
31291   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31292   (eval $ac_try) 2>&5
31293   ac_status=$?
31294   echo "$as_me:$LINENO: \$? = $ac_status" >&5
31295   (exit $ac_status); }; } &&
31296          { ac_try='test -s conftest.$ac_objext'
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); }; }; then
31302   ac_c99_inttypes_tr1=yes
31303 else
31304   echo "$as_me: failed program was:" >&5
31305 sed 's/^/| /' conftest.$ac_ext >&5
31306
31307 ac_c99_inttypes_tr1=no
31308 fi
31309 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
31310   fi
31311   echo "$as_me:$LINENO: result: $ac_c99_inttypes_tr1" >&5
31312 echo "${ECHO_T}$ac_c99_inttypes_tr1" >&6
31313   if test x"$ac_c99_inttypes_tr1" = x"yes"; then
31314
31315 cat >>confdefs.h <<\_ACEOF
31316 #define _GLIBCXX_USE_C99_INTTYPES_TR1 1
31317 _ACEOF
31318
31319   fi
31320
31321   # Check for the existence of the <stdbool.h> header.
31322
31323 for ac_header in stdbool.h
31324 do
31325 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
31326 if eval "test \"\${$as_ac_Header+set}\" = set"; then
31327   echo "$as_me:$LINENO: checking for $ac_header" >&5
31328 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
31329 if eval "test \"\${$as_ac_Header+set}\" = set"; then
31330   echo $ECHO_N "(cached) $ECHO_C" >&6
31331 fi
31332 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
31333 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
31334 else
31335   # Is the header compilable?
31336 echo "$as_me:$LINENO: checking $ac_header usability" >&5
31337 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
31338 cat >conftest.$ac_ext <<_ACEOF
31339 /* confdefs.h.  */
31340 _ACEOF
31341 cat confdefs.h >>conftest.$ac_ext
31342 cat >>conftest.$ac_ext <<_ACEOF
31343 /* end confdefs.h.  */
31344 $ac_includes_default
31345 #include <$ac_header>
31346 _ACEOF
31347 rm -f conftest.$ac_objext
31348 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
31349   (eval $ac_compile) 2>conftest.er1
31350   ac_status=$?
31351   grep -v '^ *+' conftest.er1 >conftest.err
31352   rm -f conftest.er1
31353   cat conftest.err >&5
31354   echo "$as_me:$LINENO: \$? = $ac_status" >&5
31355   (exit $ac_status); } &&
31356          { ac_try='test -z "$ac_cxx_werror_flag"
31357                          || test ! -s conftest.err'
31358   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31359   (eval $ac_try) 2>&5
31360   ac_status=$?
31361   echo "$as_me:$LINENO: \$? = $ac_status" >&5
31362   (exit $ac_status); }; } &&
31363          { ac_try='test -s conftest.$ac_objext'
31364   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31365   (eval $ac_try) 2>&5
31366   ac_status=$?
31367   echo "$as_me:$LINENO: \$? = $ac_status" >&5
31368   (exit $ac_status); }; }; then
31369   ac_header_compiler=yes
31370 else
31371   echo "$as_me: failed program was:" >&5
31372 sed 's/^/| /' conftest.$ac_ext >&5
31373
31374 ac_header_compiler=no
31375 fi
31376 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
31377 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
31378 echo "${ECHO_T}$ac_header_compiler" >&6
31379
31380 # Is the header present?
31381 echo "$as_me:$LINENO: checking $ac_header presence" >&5
31382 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
31383 cat >conftest.$ac_ext <<_ACEOF
31384 /* confdefs.h.  */
31385 _ACEOF
31386 cat confdefs.h >>conftest.$ac_ext
31387 cat >>conftest.$ac_ext <<_ACEOF
31388 /* end confdefs.h.  */
31389 #include <$ac_header>
31390 _ACEOF
31391 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
31392   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
31393   ac_status=$?
31394   grep -v '^ *+' conftest.er1 >conftest.err
31395   rm -f conftest.er1
31396   cat conftest.err >&5
31397   echo "$as_me:$LINENO: \$? = $ac_status" >&5
31398   (exit $ac_status); } >/dev/null; then
31399   if test -s conftest.err; then
31400     ac_cpp_err=$ac_cxx_preproc_warn_flag
31401     ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
31402   else
31403     ac_cpp_err=
31404   fi
31405 else
31406   ac_cpp_err=yes
31407 fi
31408 if test -z "$ac_cpp_err"; then
31409   ac_header_preproc=yes
31410 else
31411   echo "$as_me: failed program was:" >&5
31412 sed 's/^/| /' conftest.$ac_ext >&5
31413
31414   ac_header_preproc=no
31415 fi
31416 rm -f conftest.err conftest.$ac_ext
31417 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
31418 echo "${ECHO_T}$ac_header_preproc" >&6
31419
31420 # So?  What about this header?
31421 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
31422   yes:no: )
31423     { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
31424 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
31425     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
31426 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
31427     ac_header_preproc=yes
31428     ;;
31429   no:yes:* )
31430     { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
31431 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
31432     { echo "$as_me:$LINENO: WARNING: $ac_header:     check for missing prerequisite headers?" >&5
31433 echo "$as_me: WARNING: $ac_header:     check for missing prerequisite headers?" >&2;}
31434     { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
31435 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
31436     { echo "$as_me:$LINENO: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&5
31437 echo "$as_me: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&2;}
31438     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
31439 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
31440     { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
31441 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
31442     (
31443       cat <<\_ASBOX
31444 ## ----------------------------------------- ##
31445 ## Report this to the package-unused lists.  ##
31446 ## ----------------------------------------- ##
31447 _ASBOX
31448     ) |
31449       sed "s/^/$as_me: WARNING:     /" >&2
31450     ;;
31451 esac
31452 echo "$as_me:$LINENO: checking for $ac_header" >&5
31453 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
31454 if eval "test \"\${$as_ac_Header+set}\" = set"; then
31455   echo $ECHO_N "(cached) $ECHO_C" >&6
31456 else
31457   eval "$as_ac_Header=\$ac_header_preproc"
31458 fi
31459 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
31460 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
31461
31462 fi
31463 if test `eval echo '${'$as_ac_Header'}'` = yes; then
31464   cat >>confdefs.h <<_ACEOF
31465 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
31466 _ACEOF
31467
31468 fi
31469
31470 done
31471
31472
31473   ac_ext=c
31474 ac_cpp='$CPP $CPPFLAGS'
31475 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31476 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31477 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31478
31479
31480
31481   # For dev/random and dev/urandom for TR1.
31482
31483
31484   echo "$as_me:$LINENO: checking for \"dev/random\" and \"dev/urandom\" for TR1 random_device" >&5
31485 echo $ECHO_N "checking for \"dev/random\" and \"dev/urandom\" for TR1 random_device... $ECHO_C" >&6
31486   if test "${ac_random_tr1+set}" = set; then
31487   echo $ECHO_N "(cached) $ECHO_C" >&6
31488 else
31489
31490   if test "$cross_compiling" = yes; then
31491   ac_random_tr1=no
31492 else
31493   cat >conftest.$ac_ext <<_ACEOF
31494 /* confdefs.h.  */
31495 _ACEOF
31496 cat confdefs.h >>conftest.$ac_ext
31497 cat >>conftest.$ac_ext <<_ACEOF
31498 /* end confdefs.h.  */
31499 #include <stdio.h>
31500               int main()
31501               {
31502                 return !(fopen("/dev/random", "r")
31503                          && fopen("/dev/urandom", "r"));
31504               }
31505
31506 _ACEOF
31507 rm -f conftest$ac_exeext
31508 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31509   (eval $ac_link) 2>&5
31510   ac_status=$?
31511   echo "$as_me:$LINENO: \$? = $ac_status" >&5
31512   (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
31513   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31514   (eval $ac_try) 2>&5
31515   ac_status=$?
31516   echo "$as_me:$LINENO: \$? = $ac_status" >&5
31517   (exit $ac_status); }; }; then
31518   ac_random_tr1=yes
31519 else
31520   echo "$as_me: program exited with status $ac_status" >&5
31521 echo "$as_me: failed program was:" >&5
31522 sed 's/^/| /' conftest.$ac_ext >&5
31523
31524 ( exit $ac_status )
31525 ac_random_tr1=no
31526 fi
31527 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
31528 fi
31529
31530 fi
31531
31532   echo "$as_me:$LINENO: result: $ac_random_tr1" >&5
31533 echo "${ECHO_T}$ac_random_tr1" >&6
31534   if test x"$ac_random_tr1" = x"yes"; then
31535
31536 cat >>confdefs.h <<\_ACEOF
31537 #define _GLIBCXX_USE_RANDOM_TR1 1
31538 _ACEOF
31539
31540   fi
31541
31542
31543
31544   # For TLS support.
31545
31546    # Check whether --enable-tls or --disable-tls was given.
31547 if test "${enable_tls+set}" = set; then
31548   enableval="$enable_tls"
31549
31550       case "$enableval" in
31551        yes|no) ;;
31552        *) { { echo "$as_me:$LINENO: error: Argument to enable/disable tls must be yes or no" >&5
31553 echo "$as_me: error: Argument to enable/disable tls must be yes or no" >&2;}
31554    { (exit 1); exit 1; }; } ;;
31555       esac
31556
31557 else
31558   enable_tls=yes
31559 fi;
31560
31561   echo "$as_me:$LINENO: checking whether the target supports thread-local storage" >&5
31562 echo $ECHO_N "checking whether the target supports thread-local storage... $ECHO_C" >&6
31563 if test "${have_tls+set}" = set; then
31564   echo $ECHO_N "(cached) $ECHO_C" >&6
31565 else
31566
31567     if test "$cross_compiling" = yes; then
31568   if test x$gcc_no_link = xyes; then
31569   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
31570 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
31571    { (exit 1); exit 1; }; }
31572 fi
31573 cat >conftest.$ac_ext <<_ACEOF
31574 __thread int a; int b; int main() { return a = b; }
31575 _ACEOF
31576 rm -f conftest.$ac_objext conftest$ac_exeext
31577 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31578   (eval $ac_link) 2>conftest.er1
31579   ac_status=$?
31580   grep -v '^ *+' conftest.er1 >conftest.err
31581   rm -f conftest.er1
31582   cat conftest.err >&5
31583   echo "$as_me:$LINENO: \$? = $ac_status" >&5
31584   (exit $ac_status); } &&
31585          { ac_try='test -z "$ac_c_werror_flag"
31586                          || test ! -s conftest.err'
31587   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31588   (eval $ac_try) 2>&5
31589   ac_status=$?
31590   echo "$as_me:$LINENO: \$? = $ac_status" >&5
31591   (exit $ac_status); }; } &&
31592          { ac_try='test -s conftest$ac_exeext'
31593   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31594   (eval $ac_try) 2>&5
31595   ac_status=$?
31596   echo "$as_me:$LINENO: \$? = $ac_status" >&5
31597   (exit $ac_status); }; }; then
31598   have_tls=yes
31599 else
31600   echo "$as_me: failed program was:" >&5
31601 sed 's/^/| /' conftest.$ac_ext >&5
31602
31603 have_tls=no
31604 fi
31605 rm -f conftest.err conftest.$ac_objext \
31606       conftest$ac_exeext conftest.$ac_ext
31607
31608 else
31609   cat >conftest.$ac_ext <<_ACEOF
31610 __thread int a; int b; int main() { return a = b; }
31611 _ACEOF
31612 rm -f conftest$ac_exeext
31613 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31614   (eval $ac_link) 2>&5
31615   ac_status=$?
31616   echo "$as_me:$LINENO: \$? = $ac_status" >&5
31617   (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
31618   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31619   (eval $ac_try) 2>&5
31620   ac_status=$?
31621   echo "$as_me:$LINENO: \$? = $ac_status" >&5
31622   (exit $ac_status); }; }; then
31623                       save_LDFLAGS="$LDFLAGS"
31624       LDFLAGS="-static $LDFLAGS"
31625       if test x$gcc_no_link = xyes; then
31626   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
31627 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
31628    { (exit 1); exit 1; }; }
31629 fi
31630 cat >conftest.$ac_ext <<_ACEOF
31631 int main() { return 0; }
31632 _ACEOF
31633 rm -f conftest.$ac_objext conftest$ac_exeext
31634 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31635   (eval $ac_link) 2>conftest.er1
31636   ac_status=$?
31637   grep -v '^ *+' conftest.er1 >conftest.err
31638   rm -f conftest.er1
31639   cat conftest.err >&5
31640   echo "$as_me:$LINENO: \$? = $ac_status" >&5
31641   (exit $ac_status); } &&
31642          { ac_try='test -z "$ac_c_werror_flag"
31643                          || test ! -s conftest.err'
31644   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31645   (eval $ac_try) 2>&5
31646   ac_status=$?
31647   echo "$as_me:$LINENO: \$? = $ac_status" >&5
31648   (exit $ac_status); }; } &&
31649          { ac_try='test -s conftest$ac_exeext'
31650   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31651   (eval $ac_try) 2>&5
31652   ac_status=$?
31653   echo "$as_me:$LINENO: \$? = $ac_status" >&5
31654   (exit $ac_status); }; }; then
31655   if test "$cross_compiling" = yes; then
31656   { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
31657 See \`config.log' for more details." >&5
31658 echo "$as_me: error: cannot run test program while cross compiling
31659 See \`config.log' for more details." >&2;}
31660    { (exit 1); exit 1; }; }
31661 else
31662   cat >conftest.$ac_ext <<_ACEOF
31663 __thread int a; int b; int main() { return a = b; }
31664 _ACEOF
31665 rm -f conftest$ac_exeext
31666 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31667   (eval $ac_link) 2>&5
31668   ac_status=$?
31669   echo "$as_me:$LINENO: \$? = $ac_status" >&5
31670   (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
31671   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31672   (eval $ac_try) 2>&5
31673   ac_status=$?
31674   echo "$as_me:$LINENO: \$? = $ac_status" >&5
31675   (exit $ac_status); }; }; then
31676   have_tls=yes
31677 else
31678   echo "$as_me: program exited with status $ac_status" >&5
31679 echo "$as_me: failed program was:" >&5
31680 sed 's/^/| /' conftest.$ac_ext >&5
31681
31682 ( exit $ac_status )
31683 have_tls=no
31684 fi
31685 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
31686 fi
31687 else
31688   echo "$as_me: failed program was:" >&5
31689 sed 's/^/| /' conftest.$ac_ext >&5
31690
31691 have_tls=yes
31692 fi
31693 rm -f conftest.err conftest.$ac_objext \
31694       conftest$ac_exeext conftest.$ac_ext
31695       LDFLAGS="$save_LDFLAGS"
31696 else
31697   echo "$as_me: program exited with status $ac_status" >&5
31698 echo "$as_me: failed program was:" >&5
31699 sed 's/^/| /' conftest.$ac_ext >&5
31700
31701 ( exit $ac_status )
31702 have_tls=no
31703 fi
31704 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
31705 fi
31706 fi
31707 echo "$as_me:$LINENO: result: $have_tls" >&5
31708 echo "${ECHO_T}$have_tls" >&6
31709   if test "$enable_tls $have_tls" = "yes yes"; then
31710
31711 cat >>confdefs.h <<\_ACEOF
31712 #define HAVE_TLS 1
31713 _ACEOF
31714
31715   fi
31716
31717   # For _Unwind_GetIPInfo.
31718
31719
31720
31721   ac_ext=cc
31722 ac_cpp='$CXXCPP $CPPFLAGS'
31723 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31724 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31725 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31726
31727   ac_save_CXXFLAGS="$CXXFLAGS"
31728   CXXFLAGS="$CXXFLAGS -fno-exceptions"
31729   echo "$as_me:$LINENO: checking for _Unwind_GetIPInfo" >&5
31730 echo $ECHO_N "checking for _Unwind_GetIPInfo... $ECHO_C" >&6
31731   if test "${gcc_cv_getipinfo+set}" = set; then
31732   echo $ECHO_N "(cached) $ECHO_C" >&6
31733 else
31734
31735   if test x$gcc_no_link = xyes; then
31736   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
31737 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
31738    { (exit 1); exit 1; }; }
31739 fi
31740 cat >conftest.$ac_ext <<_ACEOF
31741 /* confdefs.h.  */
31742 _ACEOF
31743 cat confdefs.h >>conftest.$ac_ext
31744 cat >>conftest.$ac_ext <<_ACEOF
31745 /* end confdefs.h.  */
31746 extern "C" { extern void _Unwind_GetIPInfo(); }
31747 int
31748 main ()
31749 {
31750 _Unwind_GetIPInfo();
31751   ;
31752   return 0;
31753 }
31754 _ACEOF
31755 rm -f conftest.$ac_objext conftest$ac_exeext
31756 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31757   (eval $ac_link) 2>conftest.er1
31758   ac_status=$?
31759   grep -v '^ *+' conftest.er1 >conftest.err
31760   rm -f conftest.er1
31761   cat conftest.err >&5
31762   echo "$as_me:$LINENO: \$? = $ac_status" >&5
31763   (exit $ac_status); } &&
31764          { ac_try='test -z "$ac_cxx_werror_flag"
31765                          || test ! -s conftest.err'
31766   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31767   (eval $ac_try) 2>&5
31768   ac_status=$?
31769   echo "$as_me:$LINENO: \$? = $ac_status" >&5
31770   (exit $ac_status); }; } &&
31771          { ac_try='test -s conftest$ac_exeext'
31772   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31773   (eval $ac_try) 2>&5
31774   ac_status=$?
31775   echo "$as_me:$LINENO: \$? = $ac_status" >&5
31776   (exit $ac_status); }; }; then
31777   gcc_cv_getipinfo=yes
31778 else
31779   echo "$as_me: failed program was:" >&5
31780 sed 's/^/| /' conftest.$ac_ext >&5
31781
31782 gcc_cv_getipinfo=no
31783 fi
31784 rm -f conftest.err conftest.$ac_objext \
31785       conftest$ac_exeext conftest.$ac_ext
31786
31787 fi
31788
31789   if test $gcc_cv_getipinfo = yes; then
31790
31791 cat >>confdefs.h <<\_ACEOF
31792 #define HAVE_GETIPINFO 1
31793 _ACEOF
31794
31795   fi
31796   echo "$as_me:$LINENO: result: $gcc_cv_getipinfo" >&5
31797 echo "${ECHO_T}$gcc_cv_getipinfo" >&6
31798   CXXFLAGS="$ac_save_CXXFLAGS"
31799   ac_ext=c
31800 ac_cpp='$CPP $CPPFLAGS'
31801 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31802 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31803 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31804
31805
31806
31807
31808   if test "${ac_cv_header_locale_h+set}" = set; then
31809   echo "$as_me:$LINENO: checking for locale.h" >&5
31810 echo $ECHO_N "checking for locale.h... $ECHO_C" >&6
31811 if test "${ac_cv_header_locale_h+set}" = set; then
31812   echo $ECHO_N "(cached) $ECHO_C" >&6
31813 fi
31814 echo "$as_me:$LINENO: result: $ac_cv_header_locale_h" >&5
31815 echo "${ECHO_T}$ac_cv_header_locale_h" >&6
31816 else
31817   # Is the header compilable?
31818 echo "$as_me:$LINENO: checking locale.h usability" >&5
31819 echo $ECHO_N "checking locale.h usability... $ECHO_C" >&6
31820 cat >conftest.$ac_ext <<_ACEOF
31821 /* confdefs.h.  */
31822 _ACEOF
31823 cat confdefs.h >>conftest.$ac_ext
31824 cat >>conftest.$ac_ext <<_ACEOF
31825 /* end confdefs.h.  */
31826 $ac_includes_default
31827 #include <locale.h>
31828 _ACEOF
31829 rm -f conftest.$ac_objext
31830 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
31831   (eval $ac_compile) 2>conftest.er1
31832   ac_status=$?
31833   grep -v '^ *+' conftest.er1 >conftest.err
31834   rm -f conftest.er1
31835   cat conftest.err >&5
31836   echo "$as_me:$LINENO: \$? = $ac_status" >&5
31837   (exit $ac_status); } &&
31838          { ac_try='test -z "$ac_c_werror_flag"
31839                          || test ! -s conftest.err'
31840   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31841   (eval $ac_try) 2>&5
31842   ac_status=$?
31843   echo "$as_me:$LINENO: \$? = $ac_status" >&5
31844   (exit $ac_status); }; } &&
31845          { ac_try='test -s conftest.$ac_objext'
31846   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31847   (eval $ac_try) 2>&5
31848   ac_status=$?
31849   echo "$as_me:$LINENO: \$? = $ac_status" >&5
31850   (exit $ac_status); }; }; then
31851   ac_header_compiler=yes
31852 else
31853   echo "$as_me: failed program was:" >&5
31854 sed 's/^/| /' conftest.$ac_ext >&5
31855
31856 ac_header_compiler=no
31857 fi
31858 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
31859 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
31860 echo "${ECHO_T}$ac_header_compiler" >&6
31861
31862 # Is the header present?
31863 echo "$as_me:$LINENO: checking locale.h presence" >&5
31864 echo $ECHO_N "checking locale.h presence... $ECHO_C" >&6
31865 cat >conftest.$ac_ext <<_ACEOF
31866 /* confdefs.h.  */
31867 _ACEOF
31868 cat confdefs.h >>conftest.$ac_ext
31869 cat >>conftest.$ac_ext <<_ACEOF
31870 /* end confdefs.h.  */
31871 #include <locale.h>
31872 _ACEOF
31873 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
31874   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
31875   ac_status=$?
31876   grep -v '^ *+' conftest.er1 >conftest.err
31877   rm -f conftest.er1
31878   cat conftest.err >&5
31879   echo "$as_me:$LINENO: \$? = $ac_status" >&5
31880   (exit $ac_status); } >/dev/null; then
31881   if test -s conftest.err; then
31882     ac_cpp_err=$ac_c_preproc_warn_flag
31883     ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
31884   else
31885     ac_cpp_err=
31886   fi
31887 else
31888   ac_cpp_err=yes
31889 fi
31890 if test -z "$ac_cpp_err"; then
31891   ac_header_preproc=yes
31892 else
31893   echo "$as_me: failed program was:" >&5
31894 sed 's/^/| /' conftest.$ac_ext >&5
31895
31896   ac_header_preproc=no
31897 fi
31898 rm -f conftest.err conftest.$ac_ext
31899 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
31900 echo "${ECHO_T}$ac_header_preproc" >&6
31901
31902 # So?  What about this header?
31903 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
31904   yes:no: )
31905     { echo "$as_me:$LINENO: WARNING: locale.h: accepted by the compiler, rejected by the preprocessor!" >&5
31906 echo "$as_me: WARNING: locale.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
31907     { echo "$as_me:$LINENO: WARNING: locale.h: proceeding with the compiler's result" >&5
31908 echo "$as_me: WARNING: locale.h: proceeding with the compiler's result" >&2;}
31909     ac_header_preproc=yes
31910     ;;
31911   no:yes:* )
31912     { echo "$as_me:$LINENO: WARNING: locale.h: present but cannot be compiled" >&5
31913 echo "$as_me: WARNING: locale.h: present but cannot be compiled" >&2;}
31914     { echo "$as_me:$LINENO: WARNING: locale.h:     check for missing prerequisite headers?" >&5
31915 echo "$as_me: WARNING: locale.h:     check for missing prerequisite headers?" >&2;}
31916     { echo "$as_me:$LINENO: WARNING: locale.h: see the Autoconf documentation" >&5
31917 echo "$as_me: WARNING: locale.h: see the Autoconf documentation" >&2;}
31918     { echo "$as_me:$LINENO: WARNING: locale.h:     section \"Present But Cannot Be Compiled\"" >&5
31919 echo "$as_me: WARNING: locale.h:     section \"Present But Cannot Be Compiled\"" >&2;}
31920     { echo "$as_me:$LINENO: WARNING: locale.h: proceeding with the preprocessor's result" >&5
31921 echo "$as_me: WARNING: locale.h: proceeding with the preprocessor's result" >&2;}
31922     { echo "$as_me:$LINENO: WARNING: locale.h: in the future, the compiler will take precedence" >&5
31923 echo "$as_me: WARNING: locale.h: in the future, the compiler will take precedence" >&2;}
31924     (
31925       cat <<\_ASBOX
31926 ## ----------------------------------------- ##
31927 ## Report this to the package-unused lists.  ##
31928 ## ----------------------------------------- ##
31929 _ASBOX
31930     ) |
31931       sed "s/^/$as_me: WARNING:     /" >&2
31932     ;;
31933 esac
31934 echo "$as_me:$LINENO: checking for locale.h" >&5
31935 echo $ECHO_N "checking for locale.h... $ECHO_C" >&6
31936 if test "${ac_cv_header_locale_h+set}" = set; then
31937   echo $ECHO_N "(cached) $ECHO_C" >&6
31938 else
31939   ac_cv_header_locale_h=$ac_header_preproc
31940 fi
31941 echo "$as_me:$LINENO: result: $ac_cv_header_locale_h" >&5
31942 echo "${ECHO_T}$ac_cv_header_locale_h" >&6
31943
31944 fi
31945 if test $ac_cv_header_locale_h = yes; then
31946
31947     echo "$as_me:$LINENO: checking for LC_MESSAGES" >&5
31948 echo $ECHO_N "checking for LC_MESSAGES... $ECHO_C" >&6
31949 if test "${ac_cv_val_LC_MESSAGES+set}" = set; then
31950   echo $ECHO_N "(cached) $ECHO_C" >&6
31951 else
31952   if test x$gcc_no_link = xyes; then
31953   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
31954 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
31955    { (exit 1); exit 1; }; }
31956 fi
31957 cat >conftest.$ac_ext <<_ACEOF
31958 /* confdefs.h.  */
31959 _ACEOF
31960 cat confdefs.h >>conftest.$ac_ext
31961 cat >>conftest.$ac_ext <<_ACEOF
31962 /* end confdefs.h.  */
31963 #include <locale.h>
31964 int
31965 main ()
31966 {
31967 return LC_MESSAGES
31968   ;
31969   return 0;
31970 }
31971 _ACEOF
31972 rm -f conftest.$ac_objext conftest$ac_exeext
31973 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31974   (eval $ac_link) 2>conftest.er1
31975   ac_status=$?
31976   grep -v '^ *+' conftest.er1 >conftest.err
31977   rm -f conftest.er1
31978   cat conftest.err >&5
31979   echo "$as_me:$LINENO: \$? = $ac_status" >&5
31980   (exit $ac_status); } &&
31981          { ac_try='test -z "$ac_c_werror_flag"
31982                          || test ! -s conftest.err'
31983   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31984   (eval $ac_try) 2>&5
31985   ac_status=$?
31986   echo "$as_me:$LINENO: \$? = $ac_status" >&5
31987   (exit $ac_status); }; } &&
31988          { ac_try='test -s conftest$ac_exeext'
31989   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31990   (eval $ac_try) 2>&5
31991   ac_status=$?
31992   echo "$as_me:$LINENO: \$? = $ac_status" >&5
31993   (exit $ac_status); }; }; then
31994   ac_cv_val_LC_MESSAGES=yes
31995 else
31996   echo "$as_me: failed program was:" >&5
31997 sed 's/^/| /' conftest.$ac_ext >&5
31998
31999 ac_cv_val_LC_MESSAGES=no
32000 fi
32001 rm -f conftest.err conftest.$ac_objext \
32002       conftest$ac_exeext conftest.$ac_ext
32003 fi
32004 echo "$as_me:$LINENO: result: $ac_cv_val_LC_MESSAGES" >&5
32005 echo "${ECHO_T}$ac_cv_val_LC_MESSAGES" >&6
32006     if test $ac_cv_val_LC_MESSAGES = yes; then
32007
32008 cat >>confdefs.h <<\_ACEOF
32009 #define HAVE_LC_MESSAGES 1
32010 _ACEOF
32011
32012     fi
32013
32014 fi
32015
32016
32017
32018
32019   cat >conftest.$ac_ext <<_ACEOF
32020 /* confdefs.h.  */
32021 _ACEOF
32022 cat confdefs.h >>conftest.$ac_ext
32023 cat >>conftest.$ac_ext <<_ACEOF
32024 /* end confdefs.h.  */
32025 #include <setjmp.h>
32026 int
32027 main ()
32028 {
32029 sigjmp_buf env;
32030      while (! sigsetjmp (env, 1))
32031        siglongjmp (env, 1);
32032
32033   ;
32034   return 0;
32035 }
32036 _ACEOF
32037 rm -f conftest.$ac_objext
32038 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
32039   (eval $ac_compile) 2>conftest.er1
32040   ac_status=$?
32041   grep -v '^ *+' conftest.er1 >conftest.err
32042   rm -f conftest.er1
32043   cat conftest.err >&5
32044   echo "$as_me:$LINENO: \$? = $ac_status" >&5
32045   (exit $ac_status); } &&
32046          { ac_try='test -z "$ac_c_werror_flag"
32047                          || test ! -s conftest.err'
32048   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32049   (eval $ac_try) 2>&5
32050   ac_status=$?
32051   echo "$as_me:$LINENO: \$? = $ac_status" >&5
32052   (exit $ac_status); }; } &&
32053          { ac_try='test -s conftest.$ac_objext'
32054   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32055   (eval $ac_try) 2>&5
32056   ac_status=$?
32057   echo "$as_me:$LINENO: \$? = $ac_status" >&5
32058   (exit $ac_status); }; }; then
32059
32060 cat >>confdefs.h <<\_ACEOF
32061 #define HAVE_SIGSETJMP 1
32062 _ACEOF
32063
32064 else
32065   echo "$as_me: failed program was:" >&5
32066 sed 's/^/| /' conftest.$ac_ext >&5
32067
32068 fi
32069 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
32070
32071   if test x$gcc_no_link = xyes; then
32072   if test "x${ac_cv_func_mmap_fixed_mapped+set}" != xset; then
32073     ac_cv_func_mmap_fixed_mapped=no
32074   fi
32075 fi
32076 if test "x${ac_cv_func_mmap_fixed_mapped}" != xno; then
32077
32078
32079 for ac_header in stdlib.h unistd.h
32080 do
32081 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
32082 if eval "test \"\${$as_ac_Header+set}\" = set"; then
32083   echo "$as_me:$LINENO: checking for $ac_header" >&5
32084 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
32085 if eval "test \"\${$as_ac_Header+set}\" = set"; then
32086   echo $ECHO_N "(cached) $ECHO_C" >&6
32087 fi
32088 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
32089 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
32090 else
32091   # Is the header compilable?
32092 echo "$as_me:$LINENO: checking $ac_header usability" >&5
32093 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
32094 cat >conftest.$ac_ext <<_ACEOF
32095 /* confdefs.h.  */
32096 _ACEOF
32097 cat confdefs.h >>conftest.$ac_ext
32098 cat >>conftest.$ac_ext <<_ACEOF
32099 /* end confdefs.h.  */
32100 $ac_includes_default
32101 #include <$ac_header>
32102 _ACEOF
32103 rm -f conftest.$ac_objext
32104 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
32105   (eval $ac_compile) 2>conftest.er1
32106   ac_status=$?
32107   grep -v '^ *+' conftest.er1 >conftest.err
32108   rm -f conftest.er1
32109   cat conftest.err >&5
32110   echo "$as_me:$LINENO: \$? = $ac_status" >&5
32111   (exit $ac_status); } &&
32112          { ac_try='test -z "$ac_c_werror_flag"
32113                          || test ! -s conftest.err'
32114   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32115   (eval $ac_try) 2>&5
32116   ac_status=$?
32117   echo "$as_me:$LINENO: \$? = $ac_status" >&5
32118   (exit $ac_status); }; } &&
32119          { ac_try='test -s conftest.$ac_objext'
32120   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32121   (eval $ac_try) 2>&5
32122   ac_status=$?
32123   echo "$as_me:$LINENO: \$? = $ac_status" >&5
32124   (exit $ac_status); }; }; then
32125   ac_header_compiler=yes
32126 else
32127   echo "$as_me: failed program was:" >&5
32128 sed 's/^/| /' conftest.$ac_ext >&5
32129
32130 ac_header_compiler=no
32131 fi
32132 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
32133 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
32134 echo "${ECHO_T}$ac_header_compiler" >&6
32135
32136 # Is the header present?
32137 echo "$as_me:$LINENO: checking $ac_header presence" >&5
32138 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
32139 cat >conftest.$ac_ext <<_ACEOF
32140 /* confdefs.h.  */
32141 _ACEOF
32142 cat confdefs.h >>conftest.$ac_ext
32143 cat >>conftest.$ac_ext <<_ACEOF
32144 /* end confdefs.h.  */
32145 #include <$ac_header>
32146 _ACEOF
32147 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
32148   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
32149   ac_status=$?
32150   grep -v '^ *+' conftest.er1 >conftest.err
32151   rm -f conftest.er1
32152   cat conftest.err >&5
32153   echo "$as_me:$LINENO: \$? = $ac_status" >&5
32154   (exit $ac_status); } >/dev/null; then
32155   if test -s conftest.err; then
32156     ac_cpp_err=$ac_c_preproc_warn_flag
32157     ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
32158   else
32159     ac_cpp_err=
32160   fi
32161 else
32162   ac_cpp_err=yes
32163 fi
32164 if test -z "$ac_cpp_err"; then
32165   ac_header_preproc=yes
32166 else
32167   echo "$as_me: failed program was:" >&5
32168 sed 's/^/| /' conftest.$ac_ext >&5
32169
32170   ac_header_preproc=no
32171 fi
32172 rm -f conftest.err conftest.$ac_ext
32173 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
32174 echo "${ECHO_T}$ac_header_preproc" >&6
32175
32176 # So?  What about this header?
32177 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
32178   yes:no: )
32179     { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
32180 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
32181     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
32182 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
32183     ac_header_preproc=yes
32184     ;;
32185   no:yes:* )
32186     { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
32187 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
32188     { echo "$as_me:$LINENO: WARNING: $ac_header:     check for missing prerequisite headers?" >&5
32189 echo "$as_me: WARNING: $ac_header:     check for missing prerequisite headers?" >&2;}
32190     { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
32191 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
32192     { echo "$as_me:$LINENO: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&5
32193 echo "$as_me: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&2;}
32194     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
32195 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
32196     { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
32197 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
32198     (
32199       cat <<\_ASBOX
32200 ## ----------------------------------------- ##
32201 ## Report this to the package-unused lists.  ##
32202 ## ----------------------------------------- ##
32203 _ASBOX
32204     ) |
32205       sed "s/^/$as_me: WARNING:     /" >&2
32206     ;;
32207 esac
32208 echo "$as_me:$LINENO: checking for $ac_header" >&5
32209 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
32210 if eval "test \"\${$as_ac_Header+set}\" = set"; then
32211   echo $ECHO_N "(cached) $ECHO_C" >&6
32212 else
32213   eval "$as_ac_Header=\$ac_header_preproc"
32214 fi
32215 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
32216 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
32217
32218 fi
32219 if test `eval echo '${'$as_ac_Header'}'` = yes; then
32220   cat >>confdefs.h <<_ACEOF
32221 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
32222 _ACEOF
32223
32224 fi
32225
32226 done
32227
32228
32229 for ac_func in getpagesize
32230 do
32231 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
32232 echo "$as_me:$LINENO: checking for $ac_func" >&5
32233 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
32234 if eval "test \"\${$as_ac_var+set}\" = set"; then
32235   echo $ECHO_N "(cached) $ECHO_C" >&6
32236 else
32237   if test x$gcc_no_link = xyes; then
32238   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
32239 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
32240    { (exit 1); exit 1; }; }
32241 fi
32242 cat >conftest.$ac_ext <<_ACEOF
32243 /* confdefs.h.  */
32244 _ACEOF
32245 cat confdefs.h >>conftest.$ac_ext
32246 cat >>conftest.$ac_ext <<_ACEOF
32247 /* end confdefs.h.  */
32248 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
32249    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
32250 #define $ac_func innocuous_$ac_func
32251
32252 /* System header to define __stub macros and hopefully few prototypes,
32253     which can conflict with char $ac_func (); below.
32254     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
32255     <limits.h> exists even on freestanding compilers.  */
32256
32257 #ifdef __STDC__
32258 # include <limits.h>
32259 #else
32260 # include <assert.h>
32261 #endif
32262
32263 #undef $ac_func
32264
32265 /* Override any gcc2 internal prototype to avoid an error.  */
32266 #ifdef __cplusplus
32267 extern "C"
32268 {
32269 #endif
32270 /* We use char because int might match the return type of a gcc2
32271    builtin and then its argument prototype would still apply.  */
32272 char $ac_func ();
32273 /* The GNU C library defines this for functions which it implements
32274     to always fail with ENOSYS.  Some functions are actually named
32275     something starting with __ and the normal name is an alias.  */
32276 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
32277 choke me
32278 #else
32279 char (*f) () = $ac_func;
32280 #endif
32281 #ifdef __cplusplus
32282 }
32283 #endif
32284
32285 int
32286 main ()
32287 {
32288 return f != $ac_func;
32289   ;
32290   return 0;
32291 }
32292 _ACEOF
32293 rm -f conftest.$ac_objext conftest$ac_exeext
32294 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
32295   (eval $ac_link) 2>conftest.er1
32296   ac_status=$?
32297   grep -v '^ *+' conftest.er1 >conftest.err
32298   rm -f conftest.er1
32299   cat conftest.err >&5
32300   echo "$as_me:$LINENO: \$? = $ac_status" >&5
32301   (exit $ac_status); } &&
32302          { ac_try='test -z "$ac_c_werror_flag"
32303                          || test ! -s conftest.err'
32304   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32305   (eval $ac_try) 2>&5
32306   ac_status=$?
32307   echo "$as_me:$LINENO: \$? = $ac_status" >&5
32308   (exit $ac_status); }; } &&
32309          { ac_try='test -s conftest$ac_exeext'
32310   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32311   (eval $ac_try) 2>&5
32312   ac_status=$?
32313   echo "$as_me:$LINENO: \$? = $ac_status" >&5
32314   (exit $ac_status); }; }; then
32315   eval "$as_ac_var=yes"
32316 else
32317   echo "$as_me: failed program was:" >&5
32318 sed 's/^/| /' conftest.$ac_ext >&5
32319
32320 eval "$as_ac_var=no"
32321 fi
32322 rm -f conftest.err conftest.$ac_objext \
32323       conftest$ac_exeext conftest.$ac_ext
32324 fi
32325 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
32326 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
32327 if test `eval echo '${'$as_ac_var'}'` = yes; then
32328   cat >>confdefs.h <<_ACEOF
32329 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
32330 _ACEOF
32331
32332 fi
32333 done
32334
32335 echo "$as_me:$LINENO: checking for working mmap" >&5
32336 echo $ECHO_N "checking for working mmap... $ECHO_C" >&6
32337 if test "${ac_cv_func_mmap_fixed_mapped+set}" = set; then
32338   echo $ECHO_N "(cached) $ECHO_C" >&6
32339 else
32340   if test "$cross_compiling" = yes; then
32341   ac_cv_func_mmap_fixed_mapped=no
32342 else
32343   cat >conftest.$ac_ext <<_ACEOF
32344 /* confdefs.h.  */
32345 _ACEOF
32346 cat confdefs.h >>conftest.$ac_ext
32347 cat >>conftest.$ac_ext <<_ACEOF
32348 /* end confdefs.h.  */
32349 $ac_includes_default
32350 /* malloc might have been renamed as rpl_malloc. */
32351 #undef malloc
32352
32353 /* Thanks to Mike Haertel and Jim Avera for this test.
32354    Here is a matrix of mmap possibilities:
32355         mmap private not fixed
32356         mmap private fixed at somewhere currently unmapped
32357         mmap private fixed at somewhere already mapped
32358         mmap shared not fixed
32359         mmap shared fixed at somewhere currently unmapped
32360         mmap shared fixed at somewhere already mapped
32361    For private mappings, we should verify that changes cannot be read()
32362    back from the file, nor mmap's back from the file at a different
32363    address.  (There have been systems where private was not correctly
32364    implemented like the infamous i386 svr4.0, and systems where the
32365    VM page cache was not coherent with the file system buffer cache
32366    like early versions of FreeBSD and possibly contemporary NetBSD.)
32367    For shared mappings, we should conversely verify that changes get
32368    propagated back to all the places they're supposed to be.
32369
32370    Grep wants private fixed already mapped.
32371    The main things grep needs to know about mmap are:
32372    * does it exist and is it safe to write into the mmap'd area
32373    * how to use it (BSD variants)  */
32374
32375 #include <fcntl.h>
32376 #include <sys/mman.h>
32377
32378 #if !STDC_HEADERS && !HAVE_STDLIB_H
32379 char *malloc ();
32380 #endif
32381
32382 /* This mess was copied from the GNU getpagesize.h.  */
32383 #if !HAVE_GETPAGESIZE
32384 /* Assume that all systems that can run configure have sys/param.h.  */
32385 # if !HAVE_SYS_PARAM_H
32386 #  define HAVE_SYS_PARAM_H 1
32387 # endif
32388
32389 # ifdef _SC_PAGESIZE
32390 #  define getpagesize() sysconf(_SC_PAGESIZE)
32391 # else /* no _SC_PAGESIZE */
32392 #  if HAVE_SYS_PARAM_H
32393 #   include <sys/param.h>
32394 #   ifdef EXEC_PAGESIZE
32395 #    define getpagesize() EXEC_PAGESIZE
32396 #   else /* no EXEC_PAGESIZE */
32397 #    ifdef NBPG
32398 #     define getpagesize() NBPG * CLSIZE
32399 #     ifndef CLSIZE
32400 #      define CLSIZE 1
32401 #     endif /* no CLSIZE */
32402 #    else /* no NBPG */
32403 #     ifdef NBPC
32404 #      define getpagesize() NBPC
32405 #     else /* no NBPC */
32406 #      ifdef PAGESIZE
32407 #       define getpagesize() PAGESIZE
32408 #      endif /* PAGESIZE */
32409 #     endif /* no NBPC */
32410 #    endif /* no NBPG */
32411 #   endif /* no EXEC_PAGESIZE */
32412 #  else /* no HAVE_SYS_PARAM_H */
32413 #   define getpagesize() 8192   /* punt totally */
32414 #  endif /* no HAVE_SYS_PARAM_H */
32415 # endif /* no _SC_PAGESIZE */
32416
32417 #endif /* no HAVE_GETPAGESIZE */
32418
32419 int
32420 main ()
32421 {
32422   char *data, *data2, *data3;
32423   int i, pagesize;
32424   int fd;
32425
32426   pagesize = getpagesize ();
32427
32428   /* First, make a file with some known garbage in it. */
32429   data = (char *) malloc (pagesize);
32430   if (!data)
32431     exit (1);
32432   for (i = 0; i < pagesize; ++i)
32433     *(data + i) = rand ();
32434   umask (0);
32435   fd = creat ("conftest.mmap", 0600);
32436   if (fd < 0)
32437     exit (1);
32438   if (write (fd, data, pagesize) != pagesize)
32439     exit (1);
32440   close (fd);
32441
32442   /* Next, try to mmap the file at a fixed address which already has
32443      something else allocated at it.  If we can, also make sure that
32444      we see the same garbage.  */
32445   fd = open ("conftest.mmap", O_RDWR);
32446   if (fd < 0)
32447     exit (1);
32448   data2 = (char *) malloc (2 * pagesize);
32449   if (!data2)
32450     exit (1);
32451   data2 += (pagesize - ((long) data2 & (pagesize - 1))) & (pagesize - 1);
32452   if (data2 != mmap (data2, pagesize, PROT_READ | PROT_WRITE,
32453                      MAP_PRIVATE | MAP_FIXED, fd, 0L))
32454     exit (1);
32455   for (i = 0; i < pagesize; ++i)
32456     if (*(data + i) != *(data2 + i))
32457       exit (1);
32458
32459   /* Finally, make sure that changes to the mapped area do not
32460      percolate back to the file as seen by read().  (This is a bug on
32461      some variants of i386 svr4.0.)  */
32462   for (i = 0; i < pagesize; ++i)
32463     *(data2 + i) = *(data2 + i) + 1;
32464   data3 = (char *) malloc (pagesize);
32465   if (!data3)
32466     exit (1);
32467   if (read (fd, data3, pagesize) != pagesize)
32468     exit (1);
32469   for (i = 0; i < pagesize; ++i)
32470     if (*(data + i) != *(data3 + i))
32471       exit (1);
32472   close (fd);
32473   exit (0);
32474 }
32475 _ACEOF
32476 rm -f conftest$ac_exeext
32477 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
32478   (eval $ac_link) 2>&5
32479   ac_status=$?
32480   echo "$as_me:$LINENO: \$? = $ac_status" >&5
32481   (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
32482   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32483   (eval $ac_try) 2>&5
32484   ac_status=$?
32485   echo "$as_me:$LINENO: \$? = $ac_status" >&5
32486   (exit $ac_status); }; }; then
32487   ac_cv_func_mmap_fixed_mapped=yes
32488 else
32489   echo "$as_me: program exited with status $ac_status" >&5
32490 echo "$as_me: failed program was:" >&5
32491 sed 's/^/| /' conftest.$ac_ext >&5
32492
32493 ( exit $ac_status )
32494 ac_cv_func_mmap_fixed_mapped=no
32495 fi
32496 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
32497 fi
32498 fi
32499 echo "$as_me:$LINENO: result: $ac_cv_func_mmap_fixed_mapped" >&5
32500 echo "${ECHO_T}$ac_cv_func_mmap_fixed_mapped" >&6
32501 if test $ac_cv_func_mmap_fixed_mapped = yes; then
32502
32503 cat >>confdefs.h <<\_ACEOF
32504 #define HAVE_MMAP 1
32505 _ACEOF
32506
32507 fi
32508 rm -f conftest.mmap
32509
32510 fi
32511
32512 else
32513
32514   # This lets us hard-code the functionality we know we'll have in the cross
32515   # target environment.  "Let" is a sugar-coated word placed on an especially
32516   # dull and tedious hack, actually.
32517   #
32518   # Here's why GLIBCXX_CHECK_MATH_SUPPORT, and other autoconf macros
32519   # that involve linking, can't be used:
32520   #    "cannot open sim-crt0.o"
32521   #    "cannot open crt0.o"
32522   # etc.  All this is because there currently exists no unified, consistent
32523   # way for top level CC information to be passed down to target directories:
32524   # newlib includes, newlib linking info, libgloss versus newlib crt0.o, etc.
32525   # When all of that is done, all of this hokey, excessive AC_DEFINE junk for
32526   # crosses can be removed.
32527
32528   # If Canadian cross, then don't pick up tools from the build directory.
32529   # Used only in GLIBCXX_EXPORT_INCLUDES.
32530   if test -n "$with_cross_host" &&
32531      test x"$build_alias" != x"$with_cross_host" &&
32532      test x"$build" != x"$target";
32533   then
32534     CANADIAN=yes
32535   else
32536     CANADIAN=no
32537   fi
32538
32539   # Construct crosses by hand, eliminating bits that need ld...
32540   # GLIBCXX_CHECK_BUILTIN_MATH_SUPPORT
32541   # GLIBCXX_CHECK_MATH_SUPPORT
32542
32543   # First, test for "known" system libraries.  We may be using newlib even
32544   # on a hosted environment.
32545   if test "x${with_newlib}" = "xyes"; then
32546     os_include_dir="os/newlib"
32547     cat >>confdefs.h <<\_ACEOF
32548 #define HAVE_HYPOT 1
32549 _ACEOF
32550
32551
32552     # GLIBCXX_CHECK_STDLIB_SUPPORT
32553     cat >>confdefs.h <<\_ACEOF
32554 #define HAVE_STRTOF 1
32555 _ACEOF
32556
32557     # AC_FUNC_MMAP
32558     cat >>confdefs.h <<\_ACEOF
32559 #define HAVE_MMAP 1
32560 _ACEOF
32561
32562
32563     cat >>confdefs.h <<\_ACEOF
32564 #define HAVE_ACOSF 1
32565 _ACEOF
32566
32567     cat >>confdefs.h <<\_ACEOF
32568 #define HAVE_ASINF 1
32569 _ACEOF
32570
32571     cat >>confdefs.h <<\_ACEOF
32572 #define HAVE_ATAN2F 1
32573 _ACEOF
32574
32575     cat >>confdefs.h <<\_ACEOF
32576 #define HAVE_ATANF 1
32577 _ACEOF
32578
32579     cat >>confdefs.h <<\_ACEOF
32580 #define HAVE_CEILF 1
32581 _ACEOF
32582
32583     cat >>confdefs.h <<\_ACEOF
32584 #define HAVE_COPYSIGN 1
32585 _ACEOF
32586
32587     cat >>confdefs.h <<\_ACEOF
32588 #define HAVE_COPYSIGNF 1
32589 _ACEOF
32590
32591     cat >>confdefs.h <<\_ACEOF
32592 #define HAVE_COSF 1
32593 _ACEOF
32594
32595     cat >>confdefs.h <<\_ACEOF
32596 #define HAVE_COSHF 1
32597 _ACEOF
32598
32599     cat >>confdefs.h <<\_ACEOF
32600 #define HAVE_EXPF 1
32601 _ACEOF
32602
32603     cat >>confdefs.h <<\_ACEOF
32604 #define HAVE_FABSF 1
32605 _ACEOF
32606
32607     cat >>confdefs.h <<\_ACEOF
32608 #define HAVE_FLOORF 1
32609 _ACEOF
32610
32611     cat >>confdefs.h <<\_ACEOF
32612 #define HAVE_FMODF 1
32613 _ACEOF
32614
32615     cat >>confdefs.h <<\_ACEOF
32616 #define HAVE_FREXPF 1
32617 _ACEOF
32618
32619     cat >>confdefs.h <<\_ACEOF
32620 #define HAVE_LDEXPF 1
32621 _ACEOF
32622
32623     cat >>confdefs.h <<\_ACEOF
32624 #define HAVE_LOG10F 1
32625 _ACEOF
32626
32627     cat >>confdefs.h <<\_ACEOF
32628 #define HAVE_LOGF 1
32629 _ACEOF
32630
32631     cat >>confdefs.h <<\_ACEOF
32632 #define HAVE_MODFF 1
32633 _ACEOF
32634
32635     cat >>confdefs.h <<\_ACEOF
32636 #define HAVE_POWF 1
32637 _ACEOF
32638
32639     cat >>confdefs.h <<\_ACEOF
32640 #define HAVE_SINF 1
32641 _ACEOF
32642
32643     cat >>confdefs.h <<\_ACEOF
32644 #define HAVE_SINHF 1
32645 _ACEOF
32646
32647     cat >>confdefs.h <<\_ACEOF
32648 #define HAVE_SQRTF 1
32649 _ACEOF
32650
32651     cat >>confdefs.h <<\_ACEOF
32652 #define HAVE_TANF 1
32653 _ACEOF
32654
32655     cat >>confdefs.h <<\_ACEOF
32656 #define HAVE_TANHF 1
32657 _ACEOF
32658
32659
32660     cat >>confdefs.h <<\_ACEOF
32661 #define HAVE_S_ISREG 1
32662 _ACEOF
32663
32664     cat >>confdefs.h <<\_ACEOF
32665 #define HAVE_S_IFREG 1
32666 _ACEOF
32667
32668   else
32669
32670 # Base decisions on target environment.
32671 case "${host}" in
32672   arm*-*-symbianelf*)
32673     # This is a freestanding configuration; there is nothing to do here.
32674     ;;
32675
32676   *-darwin*)
32677     # Darwin versions vary, but the linker should work in a cross environment,
32678     # so we just check for all the features here.
32679     # Check for available headers.
32680
32681
32682
32683
32684
32685
32686
32687
32688
32689
32690
32691
32692
32693 for ac_header in nan.h ieeefp.h endian.h sys/isa_defs.h machine/endian.h \
32694     machine/param.h sys/machine.h fp.h locale.h float.h inttypes.h gconv.h \
32695     sys/types.h
32696 do
32697 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
32698 if eval "test \"\${$as_ac_Header+set}\" = set"; then
32699   echo "$as_me:$LINENO: checking for $ac_header" >&5
32700 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
32701 if eval "test \"\${$as_ac_Header+set}\" = set"; then
32702   echo $ECHO_N "(cached) $ECHO_C" >&6
32703 fi
32704 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
32705 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
32706 else
32707   # Is the header compilable?
32708 echo "$as_me:$LINENO: checking $ac_header usability" >&5
32709 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
32710 cat >conftest.$ac_ext <<_ACEOF
32711 /* confdefs.h.  */
32712 _ACEOF
32713 cat confdefs.h >>conftest.$ac_ext
32714 cat >>conftest.$ac_ext <<_ACEOF
32715 /* end confdefs.h.  */
32716 $ac_includes_default
32717 #include <$ac_header>
32718 _ACEOF
32719 rm -f conftest.$ac_objext
32720 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
32721   (eval $ac_compile) 2>conftest.er1
32722   ac_status=$?
32723   grep -v '^ *+' conftest.er1 >conftest.err
32724   rm -f conftest.er1
32725   cat conftest.err >&5
32726   echo "$as_me:$LINENO: \$? = $ac_status" >&5
32727   (exit $ac_status); } &&
32728          { ac_try='test -z "$ac_c_werror_flag"
32729                          || test ! -s conftest.err'
32730   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32731   (eval $ac_try) 2>&5
32732   ac_status=$?
32733   echo "$as_me:$LINENO: \$? = $ac_status" >&5
32734   (exit $ac_status); }; } &&
32735          { ac_try='test -s conftest.$ac_objext'
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); }; }; then
32741   ac_header_compiler=yes
32742 else
32743   echo "$as_me: failed program was:" >&5
32744 sed 's/^/| /' conftest.$ac_ext >&5
32745
32746 ac_header_compiler=no
32747 fi
32748 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
32749 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
32750 echo "${ECHO_T}$ac_header_compiler" >&6
32751
32752 # Is the header present?
32753 echo "$as_me:$LINENO: checking $ac_header presence" >&5
32754 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
32755 cat >conftest.$ac_ext <<_ACEOF
32756 /* confdefs.h.  */
32757 _ACEOF
32758 cat confdefs.h >>conftest.$ac_ext
32759 cat >>conftest.$ac_ext <<_ACEOF
32760 /* end confdefs.h.  */
32761 #include <$ac_header>
32762 _ACEOF
32763 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
32764   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
32765   ac_status=$?
32766   grep -v '^ *+' conftest.er1 >conftest.err
32767   rm -f conftest.er1
32768   cat conftest.err >&5
32769   echo "$as_me:$LINENO: \$? = $ac_status" >&5
32770   (exit $ac_status); } >/dev/null; then
32771   if test -s conftest.err; then
32772     ac_cpp_err=$ac_c_preproc_warn_flag
32773     ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
32774   else
32775     ac_cpp_err=
32776   fi
32777 else
32778   ac_cpp_err=yes
32779 fi
32780 if test -z "$ac_cpp_err"; then
32781   ac_header_preproc=yes
32782 else
32783   echo "$as_me: failed program was:" >&5
32784 sed 's/^/| /' conftest.$ac_ext >&5
32785
32786   ac_header_preproc=no
32787 fi
32788 rm -f conftest.err conftest.$ac_ext
32789 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
32790 echo "${ECHO_T}$ac_header_preproc" >&6
32791
32792 # So?  What about this header?
32793 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
32794   yes:no: )
32795     { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
32796 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
32797     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
32798 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
32799     ac_header_preproc=yes
32800     ;;
32801   no:yes:* )
32802     { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
32803 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
32804     { echo "$as_me:$LINENO: WARNING: $ac_header:     check for missing prerequisite headers?" >&5
32805 echo "$as_me: WARNING: $ac_header:     check for missing prerequisite headers?" >&2;}
32806     { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
32807 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
32808     { echo "$as_me:$LINENO: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&5
32809 echo "$as_me: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&2;}
32810     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
32811 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
32812     { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
32813 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
32814     (
32815       cat <<\_ASBOX
32816 ## ----------------------------------------- ##
32817 ## Report this to the package-unused lists.  ##
32818 ## ----------------------------------------- ##
32819 _ASBOX
32820     ) |
32821       sed "s/^/$as_me: WARNING:     /" >&2
32822     ;;
32823 esac
32824 echo "$as_me:$LINENO: checking for $ac_header" >&5
32825 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
32826 if eval "test \"\${$as_ac_Header+set}\" = set"; then
32827   echo $ECHO_N "(cached) $ECHO_C" >&6
32828 else
32829   eval "$as_ac_Header=\$ac_header_preproc"
32830 fi
32831 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
32832 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
32833
32834 fi
32835 if test `eval echo '${'$as_ac_Header'}'` = yes; then
32836   cat >>confdefs.h <<_ACEOF
32837 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
32838 _ACEOF
32839
32840 fi
32841
32842 done
32843
32844
32845     # Don't call GLIBCXX_CHECK_LINKER_FEATURES, Darwin doesn't have a GNU ld
32846
32847   ac_test_CXXFLAGS="${CXXFLAGS+set}"
32848   ac_save_CXXFLAGS="$CXXFLAGS"
32849   CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
32850
32851     echo "$as_me:$LINENO: checking for sin in -lm" >&5
32852 echo $ECHO_N "checking for sin in -lm... $ECHO_C" >&6
32853 if test "${ac_cv_lib_m_sin+set}" = set; then
32854   echo $ECHO_N "(cached) $ECHO_C" >&6
32855 else
32856   ac_check_lib_save_LIBS=$LIBS
32857 LIBS="-lm  $LIBS"
32858 if test x$gcc_no_link = xyes; then
32859   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
32860 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
32861    { (exit 1); exit 1; }; }
32862 fi
32863 cat >conftest.$ac_ext <<_ACEOF
32864 /* confdefs.h.  */
32865 _ACEOF
32866 cat confdefs.h >>conftest.$ac_ext
32867 cat >>conftest.$ac_ext <<_ACEOF
32868 /* end confdefs.h.  */
32869
32870 /* Override any gcc2 internal prototype to avoid an error.  */
32871 #ifdef __cplusplus
32872 extern "C"
32873 #endif
32874 /* We use char because int might match the return type of a gcc2
32875    builtin and then its argument prototype would still apply.  */
32876 char sin ();
32877 int
32878 main ()
32879 {
32880 sin ();
32881   ;
32882   return 0;
32883 }
32884 _ACEOF
32885 rm -f conftest.$ac_objext conftest$ac_exeext
32886 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
32887   (eval $ac_link) 2>conftest.er1
32888   ac_status=$?
32889   grep -v '^ *+' conftest.er1 >conftest.err
32890   rm -f conftest.er1
32891   cat conftest.err >&5
32892   echo "$as_me:$LINENO: \$? = $ac_status" >&5
32893   (exit $ac_status); } &&
32894          { ac_try='test -z "$ac_c_werror_flag"
32895                          || test ! -s conftest.err'
32896   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32897   (eval $ac_try) 2>&5
32898   ac_status=$?
32899   echo "$as_me:$LINENO: \$? = $ac_status" >&5
32900   (exit $ac_status); }; } &&
32901          { ac_try='test -s conftest$ac_exeext'
32902   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32903   (eval $ac_try) 2>&5
32904   ac_status=$?
32905   echo "$as_me:$LINENO: \$? = $ac_status" >&5
32906   (exit $ac_status); }; }; then
32907   ac_cv_lib_m_sin=yes
32908 else
32909   echo "$as_me: failed program was:" >&5
32910 sed 's/^/| /' conftest.$ac_ext >&5
32911
32912 ac_cv_lib_m_sin=no
32913 fi
32914 rm -f conftest.err conftest.$ac_objext \
32915       conftest$ac_exeext conftest.$ac_ext
32916 LIBS=$ac_check_lib_save_LIBS
32917 fi
32918 echo "$as_me:$LINENO: result: $ac_cv_lib_m_sin" >&5
32919 echo "${ECHO_T}$ac_cv_lib_m_sin" >&6
32920 if test $ac_cv_lib_m_sin = yes; then
32921   libm="-lm"
32922 fi
32923
32924   ac_save_LIBS="$LIBS"
32925   LIBS="$LIBS $libm"
32926
32927
32928
32929   echo "$as_me:$LINENO: checking for isinf declaration" >&5
32930 echo $ECHO_N "checking for isinf declaration... $ECHO_C" >&6
32931   if test x${glibcxx_cv_func_isinf_use+set} != xset; then
32932     if test "${glibcxx_cv_func_isinf_use+set}" = set; then
32933   echo $ECHO_N "(cached) $ECHO_C" >&6
32934 else
32935
32936
32937
32938       ac_ext=cc
32939 ac_cpp='$CXXCPP $CPPFLAGS'
32940 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32941 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32942 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32943
32944       cat >conftest.$ac_ext <<_ACEOF
32945 /* confdefs.h.  */
32946 _ACEOF
32947 cat confdefs.h >>conftest.$ac_ext
32948 cat >>conftest.$ac_ext <<_ACEOF
32949 /* end confdefs.h.  */
32950 #include <math.h>
32951                       #ifdef HAVE_IEEEFP_H
32952                       #include <ieeefp.h>
32953                       #endif
32954
32955 int
32956 main ()
32957 {
32958  isinf(0);
32959   ;
32960   return 0;
32961 }
32962 _ACEOF
32963 rm -f conftest.$ac_objext
32964 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
32965   (eval $ac_compile) 2>conftest.er1
32966   ac_status=$?
32967   grep -v '^ *+' conftest.er1 >conftest.err
32968   rm -f conftest.er1
32969   cat conftest.err >&5
32970   echo "$as_me:$LINENO: \$? = $ac_status" >&5
32971   (exit $ac_status); } &&
32972          { ac_try='test -z "$ac_cxx_werror_flag"
32973                          || test ! -s conftest.err'
32974   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32975   (eval $ac_try) 2>&5
32976   ac_status=$?
32977   echo "$as_me:$LINENO: \$? = $ac_status" >&5
32978   (exit $ac_status); }; } &&
32979          { ac_try='test -s conftest.$ac_objext'
32980   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32981   (eval $ac_try) 2>&5
32982   ac_status=$?
32983   echo "$as_me:$LINENO: \$? = $ac_status" >&5
32984   (exit $ac_status); }; }; then
32985   glibcxx_cv_func_isinf_use=yes
32986 else
32987   echo "$as_me: failed program was:" >&5
32988 sed 's/^/| /' conftest.$ac_ext >&5
32989
32990 glibcxx_cv_func_isinf_use=no
32991 fi
32992 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
32993       ac_ext=c
32994 ac_cpp='$CPP $CPPFLAGS'
32995 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32996 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32997 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32998
32999
33000 fi
33001
33002   fi
33003   echo "$as_me:$LINENO: result: $glibcxx_cv_func_isinf_use" >&5
33004 echo "${ECHO_T}$glibcxx_cv_func_isinf_use" >&6
33005
33006   if test x$glibcxx_cv_func_isinf_use = x"yes"; then
33007
33008 for ac_func in isinf
33009 do
33010 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
33011 echo "$as_me:$LINENO: checking for $ac_func" >&5
33012 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
33013 if eval "test \"\${$as_ac_var+set}\" = set"; then
33014   echo $ECHO_N "(cached) $ECHO_C" >&6
33015 else
33016   if test x$gcc_no_link = xyes; then
33017   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
33018 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
33019    { (exit 1); exit 1; }; }
33020 fi
33021 cat >conftest.$ac_ext <<_ACEOF
33022 /* confdefs.h.  */
33023 _ACEOF
33024 cat confdefs.h >>conftest.$ac_ext
33025 cat >>conftest.$ac_ext <<_ACEOF
33026 /* end confdefs.h.  */
33027 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
33028    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
33029 #define $ac_func innocuous_$ac_func
33030
33031 /* System header to define __stub macros and hopefully few prototypes,
33032     which can conflict with char $ac_func (); below.
33033     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
33034     <limits.h> exists even on freestanding compilers.  */
33035
33036 #ifdef __STDC__
33037 # include <limits.h>
33038 #else
33039 # include <assert.h>
33040 #endif
33041
33042 #undef $ac_func
33043
33044 /* Override any gcc2 internal prototype to avoid an error.  */
33045 #ifdef __cplusplus
33046 extern "C"
33047 {
33048 #endif
33049 /* We use char because int might match the return type of a gcc2
33050    builtin and then its argument prototype would still apply.  */
33051 char $ac_func ();
33052 /* The GNU C library defines this for functions which it implements
33053     to always fail with ENOSYS.  Some functions are actually named
33054     something starting with __ and the normal name is an alias.  */
33055 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
33056 choke me
33057 #else
33058 char (*f) () = $ac_func;
33059 #endif
33060 #ifdef __cplusplus
33061 }
33062 #endif
33063
33064 int
33065 main ()
33066 {
33067 return f != $ac_func;
33068   ;
33069   return 0;
33070 }
33071 _ACEOF
33072 rm -f conftest.$ac_objext conftest$ac_exeext
33073 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
33074   (eval $ac_link) 2>conftest.er1
33075   ac_status=$?
33076   grep -v '^ *+' conftest.er1 >conftest.err
33077   rm -f conftest.er1
33078   cat conftest.err >&5
33079   echo "$as_me:$LINENO: \$? = $ac_status" >&5
33080   (exit $ac_status); } &&
33081          { ac_try='test -z "$ac_c_werror_flag"
33082                          || test ! -s conftest.err'
33083   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33084   (eval $ac_try) 2>&5
33085   ac_status=$?
33086   echo "$as_me:$LINENO: \$? = $ac_status" >&5
33087   (exit $ac_status); }; } &&
33088          { ac_try='test -s conftest$ac_exeext'
33089   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33090   (eval $ac_try) 2>&5
33091   ac_status=$?
33092   echo "$as_me:$LINENO: \$? = $ac_status" >&5
33093   (exit $ac_status); }; }; then
33094   eval "$as_ac_var=yes"
33095 else
33096   echo "$as_me: failed program was:" >&5
33097 sed 's/^/| /' conftest.$ac_ext >&5
33098
33099 eval "$as_ac_var=no"
33100 fi
33101 rm -f conftest.err conftest.$ac_objext \
33102       conftest$ac_exeext conftest.$ac_ext
33103 fi
33104 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
33105 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
33106 if test `eval echo '${'$as_ac_var'}'` = yes; then
33107   cat >>confdefs.h <<_ACEOF
33108 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
33109 _ACEOF
33110
33111 fi
33112 done
33113
33114   else
33115
33116   echo "$as_me:$LINENO: checking for _isinf declaration" >&5
33117 echo $ECHO_N "checking for _isinf declaration... $ECHO_C" >&6
33118   if test x${glibcxx_cv_func__isinf_use+set} != xset; then
33119     if test "${glibcxx_cv_func__isinf_use+set}" = set; then
33120   echo $ECHO_N "(cached) $ECHO_C" >&6
33121 else
33122
33123
33124
33125       ac_ext=cc
33126 ac_cpp='$CXXCPP $CPPFLAGS'
33127 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33128 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33129 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33130
33131       cat >conftest.$ac_ext <<_ACEOF
33132 /* confdefs.h.  */
33133 _ACEOF
33134 cat confdefs.h >>conftest.$ac_ext
33135 cat >>conftest.$ac_ext <<_ACEOF
33136 /* end confdefs.h.  */
33137 #include <math.h>
33138                       #ifdef HAVE_IEEEFP_H
33139                       #include <ieeefp.h>
33140                       #endif
33141
33142 int
33143 main ()
33144 {
33145  _isinf(0);
33146   ;
33147   return 0;
33148 }
33149 _ACEOF
33150 rm -f conftest.$ac_objext
33151 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
33152   (eval $ac_compile) 2>conftest.er1
33153   ac_status=$?
33154   grep -v '^ *+' conftest.er1 >conftest.err
33155   rm -f conftest.er1
33156   cat conftest.err >&5
33157   echo "$as_me:$LINENO: \$? = $ac_status" >&5
33158   (exit $ac_status); } &&
33159          { ac_try='test -z "$ac_cxx_werror_flag"
33160                          || test ! -s conftest.err'
33161   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33162   (eval $ac_try) 2>&5
33163   ac_status=$?
33164   echo "$as_me:$LINENO: \$? = $ac_status" >&5
33165   (exit $ac_status); }; } &&
33166          { ac_try='test -s conftest.$ac_objext'
33167   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33168   (eval $ac_try) 2>&5
33169   ac_status=$?
33170   echo "$as_me:$LINENO: \$? = $ac_status" >&5
33171   (exit $ac_status); }; }; then
33172   glibcxx_cv_func__isinf_use=yes
33173 else
33174   echo "$as_me: failed program was:" >&5
33175 sed 's/^/| /' conftest.$ac_ext >&5
33176
33177 glibcxx_cv_func__isinf_use=no
33178 fi
33179 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
33180       ac_ext=c
33181 ac_cpp='$CPP $CPPFLAGS'
33182 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33183 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33184 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33185
33186
33187 fi
33188
33189   fi
33190   echo "$as_me:$LINENO: result: $glibcxx_cv_func__isinf_use" >&5
33191 echo "${ECHO_T}$glibcxx_cv_func__isinf_use" >&6
33192
33193     if test x$glibcxx_cv_func__isinf_use = x"yes"; then
33194
33195 for ac_func in _isinf
33196 do
33197 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
33198 echo "$as_me:$LINENO: checking for $ac_func" >&5
33199 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
33200 if eval "test \"\${$as_ac_var+set}\" = set"; then
33201   echo $ECHO_N "(cached) $ECHO_C" >&6
33202 else
33203   if test x$gcc_no_link = xyes; then
33204   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
33205 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
33206    { (exit 1); exit 1; }; }
33207 fi
33208 cat >conftest.$ac_ext <<_ACEOF
33209 /* confdefs.h.  */
33210 _ACEOF
33211 cat confdefs.h >>conftest.$ac_ext
33212 cat >>conftest.$ac_ext <<_ACEOF
33213 /* end confdefs.h.  */
33214 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
33215    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
33216 #define $ac_func innocuous_$ac_func
33217
33218 /* System header to define __stub macros and hopefully few prototypes,
33219     which can conflict with char $ac_func (); below.
33220     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
33221     <limits.h> exists even on freestanding compilers.  */
33222
33223 #ifdef __STDC__
33224 # include <limits.h>
33225 #else
33226 # include <assert.h>
33227 #endif
33228
33229 #undef $ac_func
33230
33231 /* Override any gcc2 internal prototype to avoid an error.  */
33232 #ifdef __cplusplus
33233 extern "C"
33234 {
33235 #endif
33236 /* We use char because int might match the return type of a gcc2
33237    builtin and then its argument prototype would still apply.  */
33238 char $ac_func ();
33239 /* The GNU C library defines this for functions which it implements
33240     to always fail with ENOSYS.  Some functions are actually named
33241     something starting with __ and the normal name is an alias.  */
33242 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
33243 choke me
33244 #else
33245 char (*f) () = $ac_func;
33246 #endif
33247 #ifdef __cplusplus
33248 }
33249 #endif
33250
33251 int
33252 main ()
33253 {
33254 return f != $ac_func;
33255   ;
33256   return 0;
33257 }
33258 _ACEOF
33259 rm -f conftest.$ac_objext conftest$ac_exeext
33260 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
33261   (eval $ac_link) 2>conftest.er1
33262   ac_status=$?
33263   grep -v '^ *+' conftest.er1 >conftest.err
33264   rm -f conftest.er1
33265   cat conftest.err >&5
33266   echo "$as_me:$LINENO: \$? = $ac_status" >&5
33267   (exit $ac_status); } &&
33268          { ac_try='test -z "$ac_c_werror_flag"
33269                          || test ! -s conftest.err'
33270   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33271   (eval $ac_try) 2>&5
33272   ac_status=$?
33273   echo "$as_me:$LINENO: \$? = $ac_status" >&5
33274   (exit $ac_status); }; } &&
33275          { ac_try='test -s conftest$ac_exeext'
33276   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33277   (eval $ac_try) 2>&5
33278   ac_status=$?
33279   echo "$as_me:$LINENO: \$? = $ac_status" >&5
33280   (exit $ac_status); }; }; then
33281   eval "$as_ac_var=yes"
33282 else
33283   echo "$as_me: failed program was:" >&5
33284 sed 's/^/| /' conftest.$ac_ext >&5
33285
33286 eval "$as_ac_var=no"
33287 fi
33288 rm -f conftest.err conftest.$ac_objext \
33289       conftest$ac_exeext conftest.$ac_ext
33290 fi
33291 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
33292 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
33293 if test `eval echo '${'$as_ac_var'}'` = yes; then
33294   cat >>confdefs.h <<_ACEOF
33295 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
33296 _ACEOF
33297
33298 fi
33299 done
33300
33301     fi
33302   fi
33303
33304
33305
33306
33307
33308
33309   echo "$as_me:$LINENO: checking for isnan declaration" >&5
33310 echo $ECHO_N "checking for isnan declaration... $ECHO_C" >&6
33311   if test x${glibcxx_cv_func_isnan_use+set} != xset; then
33312     if test "${glibcxx_cv_func_isnan_use+set}" = set; then
33313   echo $ECHO_N "(cached) $ECHO_C" >&6
33314 else
33315
33316
33317
33318       ac_ext=cc
33319 ac_cpp='$CXXCPP $CPPFLAGS'
33320 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33321 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33322 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33323
33324       cat >conftest.$ac_ext <<_ACEOF
33325 /* confdefs.h.  */
33326 _ACEOF
33327 cat confdefs.h >>conftest.$ac_ext
33328 cat >>conftest.$ac_ext <<_ACEOF
33329 /* end confdefs.h.  */
33330 #include <math.h>
33331                       #ifdef HAVE_IEEEFP_H
33332                       #include <ieeefp.h>
33333                       #endif
33334
33335 int
33336 main ()
33337 {
33338  isnan(0);
33339   ;
33340   return 0;
33341 }
33342 _ACEOF
33343 rm -f conftest.$ac_objext
33344 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
33345   (eval $ac_compile) 2>conftest.er1
33346   ac_status=$?
33347   grep -v '^ *+' conftest.er1 >conftest.err
33348   rm -f conftest.er1
33349   cat conftest.err >&5
33350   echo "$as_me:$LINENO: \$? = $ac_status" >&5
33351   (exit $ac_status); } &&
33352          { ac_try='test -z "$ac_cxx_werror_flag"
33353                          || test ! -s conftest.err'
33354   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33355   (eval $ac_try) 2>&5
33356   ac_status=$?
33357   echo "$as_me:$LINENO: \$? = $ac_status" >&5
33358   (exit $ac_status); }; } &&
33359          { ac_try='test -s conftest.$ac_objext'
33360   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33361   (eval $ac_try) 2>&5
33362   ac_status=$?
33363   echo "$as_me:$LINENO: \$? = $ac_status" >&5
33364   (exit $ac_status); }; }; then
33365   glibcxx_cv_func_isnan_use=yes
33366 else
33367   echo "$as_me: failed program was:" >&5
33368 sed 's/^/| /' conftest.$ac_ext >&5
33369
33370 glibcxx_cv_func_isnan_use=no
33371 fi
33372 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
33373       ac_ext=c
33374 ac_cpp='$CPP $CPPFLAGS'
33375 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33376 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33377 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33378
33379
33380 fi
33381
33382   fi
33383   echo "$as_me:$LINENO: result: $glibcxx_cv_func_isnan_use" >&5
33384 echo "${ECHO_T}$glibcxx_cv_func_isnan_use" >&6
33385
33386   if test x$glibcxx_cv_func_isnan_use = x"yes"; then
33387
33388 for ac_func in isnan
33389 do
33390 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
33391 echo "$as_me:$LINENO: checking for $ac_func" >&5
33392 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
33393 if eval "test \"\${$as_ac_var+set}\" = set"; then
33394   echo $ECHO_N "(cached) $ECHO_C" >&6
33395 else
33396   if test x$gcc_no_link = xyes; then
33397   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
33398 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
33399    { (exit 1); exit 1; }; }
33400 fi
33401 cat >conftest.$ac_ext <<_ACEOF
33402 /* confdefs.h.  */
33403 _ACEOF
33404 cat confdefs.h >>conftest.$ac_ext
33405 cat >>conftest.$ac_ext <<_ACEOF
33406 /* end confdefs.h.  */
33407 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
33408    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
33409 #define $ac_func innocuous_$ac_func
33410
33411 /* System header to define __stub macros and hopefully few prototypes,
33412     which can conflict with char $ac_func (); below.
33413     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
33414     <limits.h> exists even on freestanding compilers.  */
33415
33416 #ifdef __STDC__
33417 # include <limits.h>
33418 #else
33419 # include <assert.h>
33420 #endif
33421
33422 #undef $ac_func
33423
33424 /* Override any gcc2 internal prototype to avoid an error.  */
33425 #ifdef __cplusplus
33426 extern "C"
33427 {
33428 #endif
33429 /* We use char because int might match the return type of a gcc2
33430    builtin and then its argument prototype would still apply.  */
33431 char $ac_func ();
33432 /* The GNU C library defines this for functions which it implements
33433     to always fail with ENOSYS.  Some functions are actually named
33434     something starting with __ and the normal name is an alias.  */
33435 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
33436 choke me
33437 #else
33438 char (*f) () = $ac_func;
33439 #endif
33440 #ifdef __cplusplus
33441 }
33442 #endif
33443
33444 int
33445 main ()
33446 {
33447 return f != $ac_func;
33448   ;
33449   return 0;
33450 }
33451 _ACEOF
33452 rm -f conftest.$ac_objext conftest$ac_exeext
33453 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
33454   (eval $ac_link) 2>conftest.er1
33455   ac_status=$?
33456   grep -v '^ *+' conftest.er1 >conftest.err
33457   rm -f conftest.er1
33458   cat conftest.err >&5
33459   echo "$as_me:$LINENO: \$? = $ac_status" >&5
33460   (exit $ac_status); } &&
33461          { ac_try='test -z "$ac_c_werror_flag"
33462                          || test ! -s conftest.err'
33463   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33464   (eval $ac_try) 2>&5
33465   ac_status=$?
33466   echo "$as_me:$LINENO: \$? = $ac_status" >&5
33467   (exit $ac_status); }; } &&
33468          { ac_try='test -s conftest$ac_exeext'
33469   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33470   (eval $ac_try) 2>&5
33471   ac_status=$?
33472   echo "$as_me:$LINENO: \$? = $ac_status" >&5
33473   (exit $ac_status); }; }; then
33474   eval "$as_ac_var=yes"
33475 else
33476   echo "$as_me: failed program was:" >&5
33477 sed 's/^/| /' conftest.$ac_ext >&5
33478
33479 eval "$as_ac_var=no"
33480 fi
33481 rm -f conftest.err conftest.$ac_objext \
33482       conftest$ac_exeext conftest.$ac_ext
33483 fi
33484 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
33485 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
33486 if test `eval echo '${'$as_ac_var'}'` = yes; then
33487   cat >>confdefs.h <<_ACEOF
33488 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
33489 _ACEOF
33490
33491 fi
33492 done
33493
33494   else
33495
33496   echo "$as_me:$LINENO: checking for _isnan declaration" >&5
33497 echo $ECHO_N "checking for _isnan declaration... $ECHO_C" >&6
33498   if test x${glibcxx_cv_func__isnan_use+set} != xset; then
33499     if test "${glibcxx_cv_func__isnan_use+set}" = set; then
33500   echo $ECHO_N "(cached) $ECHO_C" >&6
33501 else
33502
33503
33504
33505       ac_ext=cc
33506 ac_cpp='$CXXCPP $CPPFLAGS'
33507 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33508 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33509 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33510
33511       cat >conftest.$ac_ext <<_ACEOF
33512 /* confdefs.h.  */
33513 _ACEOF
33514 cat confdefs.h >>conftest.$ac_ext
33515 cat >>conftest.$ac_ext <<_ACEOF
33516 /* end confdefs.h.  */
33517 #include <math.h>
33518                       #ifdef HAVE_IEEEFP_H
33519                       #include <ieeefp.h>
33520                       #endif
33521
33522 int
33523 main ()
33524 {
33525  _isnan(0);
33526   ;
33527   return 0;
33528 }
33529 _ACEOF
33530 rm -f conftest.$ac_objext
33531 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
33532   (eval $ac_compile) 2>conftest.er1
33533   ac_status=$?
33534   grep -v '^ *+' conftest.er1 >conftest.err
33535   rm -f conftest.er1
33536   cat conftest.err >&5
33537   echo "$as_me:$LINENO: \$? = $ac_status" >&5
33538   (exit $ac_status); } &&
33539          { ac_try='test -z "$ac_cxx_werror_flag"
33540                          || test ! -s conftest.err'
33541   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33542   (eval $ac_try) 2>&5
33543   ac_status=$?
33544   echo "$as_me:$LINENO: \$? = $ac_status" >&5
33545   (exit $ac_status); }; } &&
33546          { ac_try='test -s conftest.$ac_objext'
33547   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33548   (eval $ac_try) 2>&5
33549   ac_status=$?
33550   echo "$as_me:$LINENO: \$? = $ac_status" >&5
33551   (exit $ac_status); }; }; then
33552   glibcxx_cv_func__isnan_use=yes
33553 else
33554   echo "$as_me: failed program was:" >&5
33555 sed 's/^/| /' conftest.$ac_ext >&5
33556
33557 glibcxx_cv_func__isnan_use=no
33558 fi
33559 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
33560       ac_ext=c
33561 ac_cpp='$CPP $CPPFLAGS'
33562 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33563 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33564 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33565
33566
33567 fi
33568
33569   fi
33570   echo "$as_me:$LINENO: result: $glibcxx_cv_func__isnan_use" >&5
33571 echo "${ECHO_T}$glibcxx_cv_func__isnan_use" >&6
33572
33573     if test x$glibcxx_cv_func__isnan_use = x"yes"; then
33574
33575 for ac_func in _isnan
33576 do
33577 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
33578 echo "$as_me:$LINENO: checking for $ac_func" >&5
33579 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
33580 if eval "test \"\${$as_ac_var+set}\" = set"; then
33581   echo $ECHO_N "(cached) $ECHO_C" >&6
33582 else
33583   if test x$gcc_no_link = xyes; then
33584   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
33585 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
33586    { (exit 1); exit 1; }; }
33587 fi
33588 cat >conftest.$ac_ext <<_ACEOF
33589 /* confdefs.h.  */
33590 _ACEOF
33591 cat confdefs.h >>conftest.$ac_ext
33592 cat >>conftest.$ac_ext <<_ACEOF
33593 /* end confdefs.h.  */
33594 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
33595    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
33596 #define $ac_func innocuous_$ac_func
33597
33598 /* System header to define __stub macros and hopefully few prototypes,
33599     which can conflict with char $ac_func (); below.
33600     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
33601     <limits.h> exists even on freestanding compilers.  */
33602
33603 #ifdef __STDC__
33604 # include <limits.h>
33605 #else
33606 # include <assert.h>
33607 #endif
33608
33609 #undef $ac_func
33610
33611 /* Override any gcc2 internal prototype to avoid an error.  */
33612 #ifdef __cplusplus
33613 extern "C"
33614 {
33615 #endif
33616 /* We use char because int might match the return type of a gcc2
33617    builtin and then its argument prototype would still apply.  */
33618 char $ac_func ();
33619 /* The GNU C library defines this for functions which it implements
33620     to always fail with ENOSYS.  Some functions are actually named
33621     something starting with __ and the normal name is an alias.  */
33622 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
33623 choke me
33624 #else
33625 char (*f) () = $ac_func;
33626 #endif
33627 #ifdef __cplusplus
33628 }
33629 #endif
33630
33631 int
33632 main ()
33633 {
33634 return f != $ac_func;
33635   ;
33636   return 0;
33637 }
33638 _ACEOF
33639 rm -f conftest.$ac_objext conftest$ac_exeext
33640 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
33641   (eval $ac_link) 2>conftest.er1
33642   ac_status=$?
33643   grep -v '^ *+' conftest.er1 >conftest.err
33644   rm -f conftest.er1
33645   cat conftest.err >&5
33646   echo "$as_me:$LINENO: \$? = $ac_status" >&5
33647   (exit $ac_status); } &&
33648          { ac_try='test -z "$ac_c_werror_flag"
33649                          || test ! -s conftest.err'
33650   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33651   (eval $ac_try) 2>&5
33652   ac_status=$?
33653   echo "$as_me:$LINENO: \$? = $ac_status" >&5
33654   (exit $ac_status); }; } &&
33655          { ac_try='test -s conftest$ac_exeext'
33656   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33657   (eval $ac_try) 2>&5
33658   ac_status=$?
33659   echo "$as_me:$LINENO: \$? = $ac_status" >&5
33660   (exit $ac_status); }; }; then
33661   eval "$as_ac_var=yes"
33662 else
33663   echo "$as_me: failed program was:" >&5
33664 sed 's/^/| /' conftest.$ac_ext >&5
33665
33666 eval "$as_ac_var=no"
33667 fi
33668 rm -f conftest.err conftest.$ac_objext \
33669       conftest$ac_exeext conftest.$ac_ext
33670 fi
33671 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
33672 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
33673 if test `eval echo '${'$as_ac_var'}'` = yes; then
33674   cat >>confdefs.h <<_ACEOF
33675 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
33676 _ACEOF
33677
33678 fi
33679 done
33680
33681     fi
33682   fi
33683
33684
33685
33686
33687
33688
33689   echo "$as_me:$LINENO: checking for finite declaration" >&5
33690 echo $ECHO_N "checking for finite declaration... $ECHO_C" >&6
33691   if test x${glibcxx_cv_func_finite_use+set} != xset; then
33692     if test "${glibcxx_cv_func_finite_use+set}" = set; then
33693   echo $ECHO_N "(cached) $ECHO_C" >&6
33694 else
33695
33696
33697
33698       ac_ext=cc
33699 ac_cpp='$CXXCPP $CPPFLAGS'
33700 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33701 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33702 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33703
33704       cat >conftest.$ac_ext <<_ACEOF
33705 /* confdefs.h.  */
33706 _ACEOF
33707 cat confdefs.h >>conftest.$ac_ext
33708 cat >>conftest.$ac_ext <<_ACEOF
33709 /* end confdefs.h.  */
33710 #include <math.h>
33711                       #ifdef HAVE_IEEEFP_H
33712                       #include <ieeefp.h>
33713                       #endif
33714
33715 int
33716 main ()
33717 {
33718  finite(0);
33719   ;
33720   return 0;
33721 }
33722 _ACEOF
33723 rm -f conftest.$ac_objext
33724 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
33725   (eval $ac_compile) 2>conftest.er1
33726   ac_status=$?
33727   grep -v '^ *+' conftest.er1 >conftest.err
33728   rm -f conftest.er1
33729   cat conftest.err >&5
33730   echo "$as_me:$LINENO: \$? = $ac_status" >&5
33731   (exit $ac_status); } &&
33732          { ac_try='test -z "$ac_cxx_werror_flag"
33733                          || test ! -s conftest.err'
33734   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33735   (eval $ac_try) 2>&5
33736   ac_status=$?
33737   echo "$as_me:$LINENO: \$? = $ac_status" >&5
33738   (exit $ac_status); }; } &&
33739          { ac_try='test -s conftest.$ac_objext'
33740   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33741   (eval $ac_try) 2>&5
33742   ac_status=$?
33743   echo "$as_me:$LINENO: \$? = $ac_status" >&5
33744   (exit $ac_status); }; }; then
33745   glibcxx_cv_func_finite_use=yes
33746 else
33747   echo "$as_me: failed program was:" >&5
33748 sed 's/^/| /' conftest.$ac_ext >&5
33749
33750 glibcxx_cv_func_finite_use=no
33751 fi
33752 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
33753       ac_ext=c
33754 ac_cpp='$CPP $CPPFLAGS'
33755 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33756 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33757 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33758
33759
33760 fi
33761
33762   fi
33763   echo "$as_me:$LINENO: result: $glibcxx_cv_func_finite_use" >&5
33764 echo "${ECHO_T}$glibcxx_cv_func_finite_use" >&6
33765
33766   if test x$glibcxx_cv_func_finite_use = x"yes"; then
33767
33768 for ac_func in finite
33769 do
33770 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
33771 echo "$as_me:$LINENO: checking for $ac_func" >&5
33772 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
33773 if eval "test \"\${$as_ac_var+set}\" = set"; then
33774   echo $ECHO_N "(cached) $ECHO_C" >&6
33775 else
33776   if test x$gcc_no_link = xyes; then
33777   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
33778 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
33779    { (exit 1); exit 1; }; }
33780 fi
33781 cat >conftest.$ac_ext <<_ACEOF
33782 /* confdefs.h.  */
33783 _ACEOF
33784 cat confdefs.h >>conftest.$ac_ext
33785 cat >>conftest.$ac_ext <<_ACEOF
33786 /* end confdefs.h.  */
33787 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
33788    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
33789 #define $ac_func innocuous_$ac_func
33790
33791 /* System header to define __stub macros and hopefully few prototypes,
33792     which can conflict with char $ac_func (); below.
33793     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
33794     <limits.h> exists even on freestanding compilers.  */
33795
33796 #ifdef __STDC__
33797 # include <limits.h>
33798 #else
33799 # include <assert.h>
33800 #endif
33801
33802 #undef $ac_func
33803
33804 /* Override any gcc2 internal prototype to avoid an error.  */
33805 #ifdef __cplusplus
33806 extern "C"
33807 {
33808 #endif
33809 /* We use char because int might match the return type of a gcc2
33810    builtin and then its argument prototype would still apply.  */
33811 char $ac_func ();
33812 /* The GNU C library defines this for functions which it implements
33813     to always fail with ENOSYS.  Some functions are actually named
33814     something starting with __ and the normal name is an alias.  */
33815 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
33816 choke me
33817 #else
33818 char (*f) () = $ac_func;
33819 #endif
33820 #ifdef __cplusplus
33821 }
33822 #endif
33823
33824 int
33825 main ()
33826 {
33827 return f != $ac_func;
33828   ;
33829   return 0;
33830 }
33831 _ACEOF
33832 rm -f conftest.$ac_objext conftest$ac_exeext
33833 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
33834   (eval $ac_link) 2>conftest.er1
33835   ac_status=$?
33836   grep -v '^ *+' conftest.er1 >conftest.err
33837   rm -f conftest.er1
33838   cat conftest.err >&5
33839   echo "$as_me:$LINENO: \$? = $ac_status" >&5
33840   (exit $ac_status); } &&
33841          { ac_try='test -z "$ac_c_werror_flag"
33842                          || test ! -s conftest.err'
33843   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33844   (eval $ac_try) 2>&5
33845   ac_status=$?
33846   echo "$as_me:$LINENO: \$? = $ac_status" >&5
33847   (exit $ac_status); }; } &&
33848          { ac_try='test -s conftest$ac_exeext'
33849   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33850   (eval $ac_try) 2>&5
33851   ac_status=$?
33852   echo "$as_me:$LINENO: \$? = $ac_status" >&5
33853   (exit $ac_status); }; }; then
33854   eval "$as_ac_var=yes"
33855 else
33856   echo "$as_me: failed program was:" >&5
33857 sed 's/^/| /' conftest.$ac_ext >&5
33858
33859 eval "$as_ac_var=no"
33860 fi
33861 rm -f conftest.err conftest.$ac_objext \
33862       conftest$ac_exeext conftest.$ac_ext
33863 fi
33864 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
33865 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
33866 if test `eval echo '${'$as_ac_var'}'` = yes; then
33867   cat >>confdefs.h <<_ACEOF
33868 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
33869 _ACEOF
33870
33871 fi
33872 done
33873
33874   else
33875
33876   echo "$as_me:$LINENO: checking for _finite declaration" >&5
33877 echo $ECHO_N "checking for _finite declaration... $ECHO_C" >&6
33878   if test x${glibcxx_cv_func__finite_use+set} != xset; then
33879     if test "${glibcxx_cv_func__finite_use+set}" = set; then
33880   echo $ECHO_N "(cached) $ECHO_C" >&6
33881 else
33882
33883
33884
33885       ac_ext=cc
33886 ac_cpp='$CXXCPP $CPPFLAGS'
33887 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33888 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33889 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33890
33891       cat >conftest.$ac_ext <<_ACEOF
33892 /* confdefs.h.  */
33893 _ACEOF
33894 cat confdefs.h >>conftest.$ac_ext
33895 cat >>conftest.$ac_ext <<_ACEOF
33896 /* end confdefs.h.  */
33897 #include <math.h>
33898                       #ifdef HAVE_IEEEFP_H
33899                       #include <ieeefp.h>
33900                       #endif
33901
33902 int
33903 main ()
33904 {
33905  _finite(0);
33906   ;
33907   return 0;
33908 }
33909 _ACEOF
33910 rm -f conftest.$ac_objext
33911 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
33912   (eval $ac_compile) 2>conftest.er1
33913   ac_status=$?
33914   grep -v '^ *+' conftest.er1 >conftest.err
33915   rm -f conftest.er1
33916   cat conftest.err >&5
33917   echo "$as_me:$LINENO: \$? = $ac_status" >&5
33918   (exit $ac_status); } &&
33919          { ac_try='test -z "$ac_cxx_werror_flag"
33920                          || test ! -s conftest.err'
33921   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33922   (eval $ac_try) 2>&5
33923   ac_status=$?
33924   echo "$as_me:$LINENO: \$? = $ac_status" >&5
33925   (exit $ac_status); }; } &&
33926          { ac_try='test -s conftest.$ac_objext'
33927   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33928   (eval $ac_try) 2>&5
33929   ac_status=$?
33930   echo "$as_me:$LINENO: \$? = $ac_status" >&5
33931   (exit $ac_status); }; }; then
33932   glibcxx_cv_func__finite_use=yes
33933 else
33934   echo "$as_me: failed program was:" >&5
33935 sed 's/^/| /' conftest.$ac_ext >&5
33936
33937 glibcxx_cv_func__finite_use=no
33938 fi
33939 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
33940       ac_ext=c
33941 ac_cpp='$CPP $CPPFLAGS'
33942 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33943 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33944 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33945
33946
33947 fi
33948
33949   fi
33950   echo "$as_me:$LINENO: result: $glibcxx_cv_func__finite_use" >&5
33951 echo "${ECHO_T}$glibcxx_cv_func__finite_use" >&6
33952
33953     if test x$glibcxx_cv_func__finite_use = x"yes"; then
33954
33955 for ac_func in _finite
33956 do
33957 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
33958 echo "$as_me:$LINENO: checking for $ac_func" >&5
33959 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
33960 if eval "test \"\${$as_ac_var+set}\" = set"; then
33961   echo $ECHO_N "(cached) $ECHO_C" >&6
33962 else
33963   if test x$gcc_no_link = xyes; then
33964   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
33965 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
33966    { (exit 1); exit 1; }; }
33967 fi
33968 cat >conftest.$ac_ext <<_ACEOF
33969 /* confdefs.h.  */
33970 _ACEOF
33971 cat confdefs.h >>conftest.$ac_ext
33972 cat >>conftest.$ac_ext <<_ACEOF
33973 /* end confdefs.h.  */
33974 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
33975    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
33976 #define $ac_func innocuous_$ac_func
33977
33978 /* System header to define __stub macros and hopefully few prototypes,
33979     which can conflict with char $ac_func (); below.
33980     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
33981     <limits.h> exists even on freestanding compilers.  */
33982
33983 #ifdef __STDC__
33984 # include <limits.h>
33985 #else
33986 # include <assert.h>
33987 #endif
33988
33989 #undef $ac_func
33990
33991 /* Override any gcc2 internal prototype to avoid an error.  */
33992 #ifdef __cplusplus
33993 extern "C"
33994 {
33995 #endif
33996 /* We use char because int might match the return type of a gcc2
33997    builtin and then its argument prototype would still apply.  */
33998 char $ac_func ();
33999 /* The GNU C library defines this for functions which it implements
34000     to always fail with ENOSYS.  Some functions are actually named
34001     something starting with __ and the normal name is an alias.  */
34002 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
34003 choke me
34004 #else
34005 char (*f) () = $ac_func;
34006 #endif
34007 #ifdef __cplusplus
34008 }
34009 #endif
34010
34011 int
34012 main ()
34013 {
34014 return f != $ac_func;
34015   ;
34016   return 0;
34017 }
34018 _ACEOF
34019 rm -f conftest.$ac_objext conftest$ac_exeext
34020 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
34021   (eval $ac_link) 2>conftest.er1
34022   ac_status=$?
34023   grep -v '^ *+' conftest.er1 >conftest.err
34024   rm -f conftest.er1
34025   cat conftest.err >&5
34026   echo "$as_me:$LINENO: \$? = $ac_status" >&5
34027   (exit $ac_status); } &&
34028          { ac_try='test -z "$ac_c_werror_flag"
34029                          || test ! -s conftest.err'
34030   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34031   (eval $ac_try) 2>&5
34032   ac_status=$?
34033   echo "$as_me:$LINENO: \$? = $ac_status" >&5
34034   (exit $ac_status); }; } &&
34035          { ac_try='test -s conftest$ac_exeext'
34036   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34037   (eval $ac_try) 2>&5
34038   ac_status=$?
34039   echo "$as_me:$LINENO: \$? = $ac_status" >&5
34040   (exit $ac_status); }; }; then
34041   eval "$as_ac_var=yes"
34042 else
34043   echo "$as_me: failed program was:" >&5
34044 sed 's/^/| /' conftest.$ac_ext >&5
34045
34046 eval "$as_ac_var=no"
34047 fi
34048 rm -f conftest.err conftest.$ac_objext \
34049       conftest$ac_exeext conftest.$ac_ext
34050 fi
34051 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
34052 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
34053 if test `eval echo '${'$as_ac_var'}'` = yes; then
34054   cat >>confdefs.h <<_ACEOF
34055 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
34056 _ACEOF
34057
34058 fi
34059 done
34060
34061     fi
34062   fi
34063
34064
34065
34066
34067
34068
34069   echo "$as_me:$LINENO: checking for copysign declaration" >&5
34070 echo $ECHO_N "checking for copysign declaration... $ECHO_C" >&6
34071   if test x${glibcxx_cv_func_copysign_use+set} != xset; then
34072     if test "${glibcxx_cv_func_copysign_use+set}" = set; then
34073   echo $ECHO_N "(cached) $ECHO_C" >&6
34074 else
34075
34076
34077
34078       ac_ext=cc
34079 ac_cpp='$CXXCPP $CPPFLAGS'
34080 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34081 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34082 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34083
34084       cat >conftest.$ac_ext <<_ACEOF
34085 /* confdefs.h.  */
34086 _ACEOF
34087 cat confdefs.h >>conftest.$ac_ext
34088 cat >>conftest.$ac_ext <<_ACEOF
34089 /* end confdefs.h.  */
34090 #include <math.h>
34091 int
34092 main ()
34093 {
34094  copysign(0, 0);
34095   ;
34096   return 0;
34097 }
34098 _ACEOF
34099 rm -f conftest.$ac_objext
34100 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
34101   (eval $ac_compile) 2>conftest.er1
34102   ac_status=$?
34103   grep -v '^ *+' conftest.er1 >conftest.err
34104   rm -f conftest.er1
34105   cat conftest.err >&5
34106   echo "$as_me:$LINENO: \$? = $ac_status" >&5
34107   (exit $ac_status); } &&
34108          { ac_try='test -z "$ac_cxx_werror_flag"
34109                          || test ! -s conftest.err'
34110   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34111   (eval $ac_try) 2>&5
34112   ac_status=$?
34113   echo "$as_me:$LINENO: \$? = $ac_status" >&5
34114   (exit $ac_status); }; } &&
34115          { ac_try='test -s conftest.$ac_objext'
34116   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34117   (eval $ac_try) 2>&5
34118   ac_status=$?
34119   echo "$as_me:$LINENO: \$? = $ac_status" >&5
34120   (exit $ac_status); }; }; then
34121   glibcxx_cv_func_copysign_use=yes
34122 else
34123   echo "$as_me: failed program was:" >&5
34124 sed 's/^/| /' conftest.$ac_ext >&5
34125
34126 glibcxx_cv_func_copysign_use=no
34127 fi
34128 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
34129       ac_ext=c
34130 ac_cpp='$CPP $CPPFLAGS'
34131 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34132 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34133 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34134
34135
34136 fi
34137
34138   fi
34139   echo "$as_me:$LINENO: result: $glibcxx_cv_func_copysign_use" >&5
34140 echo "${ECHO_T}$glibcxx_cv_func_copysign_use" >&6
34141
34142   if test x$glibcxx_cv_func_copysign_use = x"yes"; then
34143
34144 for ac_func in copysign
34145 do
34146 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
34147 echo "$as_me:$LINENO: checking for $ac_func" >&5
34148 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
34149 if eval "test \"\${$as_ac_var+set}\" = set"; then
34150   echo $ECHO_N "(cached) $ECHO_C" >&6
34151 else
34152   if test x$gcc_no_link = xyes; then
34153   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
34154 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
34155    { (exit 1); exit 1; }; }
34156 fi
34157 cat >conftest.$ac_ext <<_ACEOF
34158 /* confdefs.h.  */
34159 _ACEOF
34160 cat confdefs.h >>conftest.$ac_ext
34161 cat >>conftest.$ac_ext <<_ACEOF
34162 /* end confdefs.h.  */
34163 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
34164    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
34165 #define $ac_func innocuous_$ac_func
34166
34167 /* System header to define __stub macros and hopefully few prototypes,
34168     which can conflict with char $ac_func (); below.
34169     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
34170     <limits.h> exists even on freestanding compilers.  */
34171
34172 #ifdef __STDC__
34173 # include <limits.h>
34174 #else
34175 # include <assert.h>
34176 #endif
34177
34178 #undef $ac_func
34179
34180 /* Override any gcc2 internal prototype to avoid an error.  */
34181 #ifdef __cplusplus
34182 extern "C"
34183 {
34184 #endif
34185 /* We use char because int might match the return type of a gcc2
34186    builtin and then its argument prototype would still apply.  */
34187 char $ac_func ();
34188 /* The GNU C library defines this for functions which it implements
34189     to always fail with ENOSYS.  Some functions are actually named
34190     something starting with __ and the normal name is an alias.  */
34191 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
34192 choke me
34193 #else
34194 char (*f) () = $ac_func;
34195 #endif
34196 #ifdef __cplusplus
34197 }
34198 #endif
34199
34200 int
34201 main ()
34202 {
34203 return f != $ac_func;
34204   ;
34205   return 0;
34206 }
34207 _ACEOF
34208 rm -f conftest.$ac_objext conftest$ac_exeext
34209 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
34210   (eval $ac_link) 2>conftest.er1
34211   ac_status=$?
34212   grep -v '^ *+' conftest.er1 >conftest.err
34213   rm -f conftest.er1
34214   cat conftest.err >&5
34215   echo "$as_me:$LINENO: \$? = $ac_status" >&5
34216   (exit $ac_status); } &&
34217          { ac_try='test -z "$ac_c_werror_flag"
34218                          || test ! -s conftest.err'
34219   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34220   (eval $ac_try) 2>&5
34221   ac_status=$?
34222   echo "$as_me:$LINENO: \$? = $ac_status" >&5
34223   (exit $ac_status); }; } &&
34224          { ac_try='test -s conftest$ac_exeext'
34225   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34226   (eval $ac_try) 2>&5
34227   ac_status=$?
34228   echo "$as_me:$LINENO: \$? = $ac_status" >&5
34229   (exit $ac_status); }; }; then
34230   eval "$as_ac_var=yes"
34231 else
34232   echo "$as_me: failed program was:" >&5
34233 sed 's/^/| /' conftest.$ac_ext >&5
34234
34235 eval "$as_ac_var=no"
34236 fi
34237 rm -f conftest.err conftest.$ac_objext \
34238       conftest$ac_exeext conftest.$ac_ext
34239 fi
34240 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
34241 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
34242 if test `eval echo '${'$as_ac_var'}'` = yes; then
34243   cat >>confdefs.h <<_ACEOF
34244 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
34245 _ACEOF
34246
34247 fi
34248 done
34249
34250   else
34251
34252   echo "$as_me:$LINENO: checking for _copysign declaration" >&5
34253 echo $ECHO_N "checking for _copysign declaration... $ECHO_C" >&6
34254   if test x${glibcxx_cv_func__copysign_use+set} != xset; then
34255     if test "${glibcxx_cv_func__copysign_use+set}" = set; then
34256   echo $ECHO_N "(cached) $ECHO_C" >&6
34257 else
34258
34259
34260
34261       ac_ext=cc
34262 ac_cpp='$CXXCPP $CPPFLAGS'
34263 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34264 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34265 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34266
34267       cat >conftest.$ac_ext <<_ACEOF
34268 /* confdefs.h.  */
34269 _ACEOF
34270 cat confdefs.h >>conftest.$ac_ext
34271 cat >>conftest.$ac_ext <<_ACEOF
34272 /* end confdefs.h.  */
34273 #include <math.h>
34274 int
34275 main ()
34276 {
34277  _copysign(0, 0);
34278   ;
34279   return 0;
34280 }
34281 _ACEOF
34282 rm -f conftest.$ac_objext
34283 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
34284   (eval $ac_compile) 2>conftest.er1
34285   ac_status=$?
34286   grep -v '^ *+' conftest.er1 >conftest.err
34287   rm -f conftest.er1
34288   cat conftest.err >&5
34289   echo "$as_me:$LINENO: \$? = $ac_status" >&5
34290   (exit $ac_status); } &&
34291          { ac_try='test -z "$ac_cxx_werror_flag"
34292                          || test ! -s conftest.err'
34293   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34294   (eval $ac_try) 2>&5
34295   ac_status=$?
34296   echo "$as_me:$LINENO: \$? = $ac_status" >&5
34297   (exit $ac_status); }; } &&
34298          { ac_try='test -s conftest.$ac_objext'
34299   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34300   (eval $ac_try) 2>&5
34301   ac_status=$?
34302   echo "$as_me:$LINENO: \$? = $ac_status" >&5
34303   (exit $ac_status); }; }; then
34304   glibcxx_cv_func__copysign_use=yes
34305 else
34306   echo "$as_me: failed program was:" >&5
34307 sed 's/^/| /' conftest.$ac_ext >&5
34308
34309 glibcxx_cv_func__copysign_use=no
34310 fi
34311 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
34312       ac_ext=c
34313 ac_cpp='$CPP $CPPFLAGS'
34314 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34315 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34316 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34317
34318
34319 fi
34320
34321   fi
34322   echo "$as_me:$LINENO: result: $glibcxx_cv_func__copysign_use" >&5
34323 echo "${ECHO_T}$glibcxx_cv_func__copysign_use" >&6
34324
34325     if test x$glibcxx_cv_func__copysign_use = x"yes"; then
34326
34327 for ac_func in _copysign
34328 do
34329 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
34330 echo "$as_me:$LINENO: checking for $ac_func" >&5
34331 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
34332 if eval "test \"\${$as_ac_var+set}\" = set"; then
34333   echo $ECHO_N "(cached) $ECHO_C" >&6
34334 else
34335   if test x$gcc_no_link = xyes; then
34336   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
34337 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
34338    { (exit 1); exit 1; }; }
34339 fi
34340 cat >conftest.$ac_ext <<_ACEOF
34341 /* confdefs.h.  */
34342 _ACEOF
34343 cat confdefs.h >>conftest.$ac_ext
34344 cat >>conftest.$ac_ext <<_ACEOF
34345 /* end confdefs.h.  */
34346 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
34347    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
34348 #define $ac_func innocuous_$ac_func
34349
34350 /* System header to define __stub macros and hopefully few prototypes,
34351     which can conflict with char $ac_func (); below.
34352     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
34353     <limits.h> exists even on freestanding compilers.  */
34354
34355 #ifdef __STDC__
34356 # include <limits.h>
34357 #else
34358 # include <assert.h>
34359 #endif
34360
34361 #undef $ac_func
34362
34363 /* Override any gcc2 internal prototype to avoid an error.  */
34364 #ifdef __cplusplus
34365 extern "C"
34366 {
34367 #endif
34368 /* We use char because int might match the return type of a gcc2
34369    builtin and then its argument prototype would still apply.  */
34370 char $ac_func ();
34371 /* The GNU C library defines this for functions which it implements
34372     to always fail with ENOSYS.  Some functions are actually named
34373     something starting with __ and the normal name is an alias.  */
34374 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
34375 choke me
34376 #else
34377 char (*f) () = $ac_func;
34378 #endif
34379 #ifdef __cplusplus
34380 }
34381 #endif
34382
34383 int
34384 main ()
34385 {
34386 return f != $ac_func;
34387   ;
34388   return 0;
34389 }
34390 _ACEOF
34391 rm -f conftest.$ac_objext conftest$ac_exeext
34392 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
34393   (eval $ac_link) 2>conftest.er1
34394   ac_status=$?
34395   grep -v '^ *+' conftest.er1 >conftest.err
34396   rm -f conftest.er1
34397   cat conftest.err >&5
34398   echo "$as_me:$LINENO: \$? = $ac_status" >&5
34399   (exit $ac_status); } &&
34400          { ac_try='test -z "$ac_c_werror_flag"
34401                          || test ! -s conftest.err'
34402   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34403   (eval $ac_try) 2>&5
34404   ac_status=$?
34405   echo "$as_me:$LINENO: \$? = $ac_status" >&5
34406   (exit $ac_status); }; } &&
34407          { ac_try='test -s conftest$ac_exeext'
34408   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34409   (eval $ac_try) 2>&5
34410   ac_status=$?
34411   echo "$as_me:$LINENO: \$? = $ac_status" >&5
34412   (exit $ac_status); }; }; then
34413   eval "$as_ac_var=yes"
34414 else
34415   echo "$as_me: failed program was:" >&5
34416 sed 's/^/| /' conftest.$ac_ext >&5
34417
34418 eval "$as_ac_var=no"
34419 fi
34420 rm -f conftest.err conftest.$ac_objext \
34421       conftest$ac_exeext conftest.$ac_ext
34422 fi
34423 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
34424 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
34425 if test `eval echo '${'$as_ac_var'}'` = yes; then
34426   cat >>confdefs.h <<_ACEOF
34427 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
34428 _ACEOF
34429
34430 fi
34431 done
34432
34433     fi
34434   fi
34435
34436
34437
34438
34439
34440
34441   echo "$as_me:$LINENO: checking for sincos declaration" >&5
34442 echo $ECHO_N "checking for sincos declaration... $ECHO_C" >&6
34443   if test x${glibcxx_cv_func_sincos_use+set} != xset; then
34444     if test "${glibcxx_cv_func_sincos_use+set}" = set; then
34445   echo $ECHO_N "(cached) $ECHO_C" >&6
34446 else
34447
34448
34449
34450       ac_ext=cc
34451 ac_cpp='$CXXCPP $CPPFLAGS'
34452 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34453 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34454 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34455
34456       cat >conftest.$ac_ext <<_ACEOF
34457 /* confdefs.h.  */
34458 _ACEOF
34459 cat confdefs.h >>conftest.$ac_ext
34460 cat >>conftest.$ac_ext <<_ACEOF
34461 /* end confdefs.h.  */
34462 #include <math.h>
34463 int
34464 main ()
34465 {
34466  sincos(0, 0, 0);
34467   ;
34468   return 0;
34469 }
34470 _ACEOF
34471 rm -f conftest.$ac_objext
34472 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
34473   (eval $ac_compile) 2>conftest.er1
34474   ac_status=$?
34475   grep -v '^ *+' conftest.er1 >conftest.err
34476   rm -f conftest.er1
34477   cat conftest.err >&5
34478   echo "$as_me:$LINENO: \$? = $ac_status" >&5
34479   (exit $ac_status); } &&
34480          { ac_try='test -z "$ac_cxx_werror_flag"
34481                          || test ! -s conftest.err'
34482   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34483   (eval $ac_try) 2>&5
34484   ac_status=$?
34485   echo "$as_me:$LINENO: \$? = $ac_status" >&5
34486   (exit $ac_status); }; } &&
34487          { ac_try='test -s conftest.$ac_objext'
34488   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34489   (eval $ac_try) 2>&5
34490   ac_status=$?
34491   echo "$as_me:$LINENO: \$? = $ac_status" >&5
34492   (exit $ac_status); }; }; then
34493   glibcxx_cv_func_sincos_use=yes
34494 else
34495   echo "$as_me: failed program was:" >&5
34496 sed 's/^/| /' conftest.$ac_ext >&5
34497
34498 glibcxx_cv_func_sincos_use=no
34499 fi
34500 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
34501       ac_ext=c
34502 ac_cpp='$CPP $CPPFLAGS'
34503 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34504 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34505 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34506
34507
34508 fi
34509
34510   fi
34511   echo "$as_me:$LINENO: result: $glibcxx_cv_func_sincos_use" >&5
34512 echo "${ECHO_T}$glibcxx_cv_func_sincos_use" >&6
34513
34514   if test x$glibcxx_cv_func_sincos_use = x"yes"; then
34515
34516 for ac_func in sincos
34517 do
34518 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
34519 echo "$as_me:$LINENO: checking for $ac_func" >&5
34520 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
34521 if eval "test \"\${$as_ac_var+set}\" = set"; then
34522   echo $ECHO_N "(cached) $ECHO_C" >&6
34523 else
34524   if test x$gcc_no_link = xyes; then
34525   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
34526 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
34527    { (exit 1); exit 1; }; }
34528 fi
34529 cat >conftest.$ac_ext <<_ACEOF
34530 /* confdefs.h.  */
34531 _ACEOF
34532 cat confdefs.h >>conftest.$ac_ext
34533 cat >>conftest.$ac_ext <<_ACEOF
34534 /* end confdefs.h.  */
34535 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
34536    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
34537 #define $ac_func innocuous_$ac_func
34538
34539 /* System header to define __stub macros and hopefully few prototypes,
34540     which can conflict with char $ac_func (); below.
34541     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
34542     <limits.h> exists even on freestanding compilers.  */
34543
34544 #ifdef __STDC__
34545 # include <limits.h>
34546 #else
34547 # include <assert.h>
34548 #endif
34549
34550 #undef $ac_func
34551
34552 /* Override any gcc2 internal prototype to avoid an error.  */
34553 #ifdef __cplusplus
34554 extern "C"
34555 {
34556 #endif
34557 /* We use char because int might match the return type of a gcc2
34558    builtin and then its argument prototype would still apply.  */
34559 char $ac_func ();
34560 /* The GNU C library defines this for functions which it implements
34561     to always fail with ENOSYS.  Some functions are actually named
34562     something starting with __ and the normal name is an alias.  */
34563 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
34564 choke me
34565 #else
34566 char (*f) () = $ac_func;
34567 #endif
34568 #ifdef __cplusplus
34569 }
34570 #endif
34571
34572 int
34573 main ()
34574 {
34575 return f != $ac_func;
34576   ;
34577   return 0;
34578 }
34579 _ACEOF
34580 rm -f conftest.$ac_objext conftest$ac_exeext
34581 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
34582   (eval $ac_link) 2>conftest.er1
34583   ac_status=$?
34584   grep -v '^ *+' conftest.er1 >conftest.err
34585   rm -f conftest.er1
34586   cat conftest.err >&5
34587   echo "$as_me:$LINENO: \$? = $ac_status" >&5
34588   (exit $ac_status); } &&
34589          { ac_try='test -z "$ac_c_werror_flag"
34590                          || test ! -s conftest.err'
34591   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34592   (eval $ac_try) 2>&5
34593   ac_status=$?
34594   echo "$as_me:$LINENO: \$? = $ac_status" >&5
34595   (exit $ac_status); }; } &&
34596          { ac_try='test -s conftest$ac_exeext'
34597   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34598   (eval $ac_try) 2>&5
34599   ac_status=$?
34600   echo "$as_me:$LINENO: \$? = $ac_status" >&5
34601   (exit $ac_status); }; }; then
34602   eval "$as_ac_var=yes"
34603 else
34604   echo "$as_me: failed program was:" >&5
34605 sed 's/^/| /' conftest.$ac_ext >&5
34606
34607 eval "$as_ac_var=no"
34608 fi
34609 rm -f conftest.err conftest.$ac_objext \
34610       conftest$ac_exeext conftest.$ac_ext
34611 fi
34612 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
34613 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
34614 if test `eval echo '${'$as_ac_var'}'` = yes; then
34615   cat >>confdefs.h <<_ACEOF
34616 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
34617 _ACEOF
34618
34619 fi
34620 done
34621
34622   else
34623
34624   echo "$as_me:$LINENO: checking for _sincos declaration" >&5
34625 echo $ECHO_N "checking for _sincos declaration... $ECHO_C" >&6
34626   if test x${glibcxx_cv_func__sincos_use+set} != xset; then
34627     if test "${glibcxx_cv_func__sincos_use+set}" = set; then
34628   echo $ECHO_N "(cached) $ECHO_C" >&6
34629 else
34630
34631
34632
34633       ac_ext=cc
34634 ac_cpp='$CXXCPP $CPPFLAGS'
34635 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34636 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34637 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34638
34639       cat >conftest.$ac_ext <<_ACEOF
34640 /* confdefs.h.  */
34641 _ACEOF
34642 cat confdefs.h >>conftest.$ac_ext
34643 cat >>conftest.$ac_ext <<_ACEOF
34644 /* end confdefs.h.  */
34645 #include <math.h>
34646 int
34647 main ()
34648 {
34649  _sincos(0, 0, 0);
34650   ;
34651   return 0;
34652 }
34653 _ACEOF
34654 rm -f conftest.$ac_objext
34655 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
34656   (eval $ac_compile) 2>conftest.er1
34657   ac_status=$?
34658   grep -v '^ *+' conftest.er1 >conftest.err
34659   rm -f conftest.er1
34660   cat conftest.err >&5
34661   echo "$as_me:$LINENO: \$? = $ac_status" >&5
34662   (exit $ac_status); } &&
34663          { ac_try='test -z "$ac_cxx_werror_flag"
34664                          || test ! -s conftest.err'
34665   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34666   (eval $ac_try) 2>&5
34667   ac_status=$?
34668   echo "$as_me:$LINENO: \$? = $ac_status" >&5
34669   (exit $ac_status); }; } &&
34670          { ac_try='test -s conftest.$ac_objext'
34671   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34672   (eval $ac_try) 2>&5
34673   ac_status=$?
34674   echo "$as_me:$LINENO: \$? = $ac_status" >&5
34675   (exit $ac_status); }; }; then
34676   glibcxx_cv_func__sincos_use=yes
34677 else
34678   echo "$as_me: failed program was:" >&5
34679 sed 's/^/| /' conftest.$ac_ext >&5
34680
34681 glibcxx_cv_func__sincos_use=no
34682 fi
34683 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
34684       ac_ext=c
34685 ac_cpp='$CPP $CPPFLAGS'
34686 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34687 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34688 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34689
34690
34691 fi
34692
34693   fi
34694   echo "$as_me:$LINENO: result: $glibcxx_cv_func__sincos_use" >&5
34695 echo "${ECHO_T}$glibcxx_cv_func__sincos_use" >&6
34696
34697     if test x$glibcxx_cv_func__sincos_use = x"yes"; then
34698
34699 for ac_func in _sincos
34700 do
34701 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
34702 echo "$as_me:$LINENO: checking for $ac_func" >&5
34703 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
34704 if eval "test \"\${$as_ac_var+set}\" = set"; then
34705   echo $ECHO_N "(cached) $ECHO_C" >&6
34706 else
34707   if test x$gcc_no_link = xyes; then
34708   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
34709 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
34710    { (exit 1); exit 1; }; }
34711 fi
34712 cat >conftest.$ac_ext <<_ACEOF
34713 /* confdefs.h.  */
34714 _ACEOF
34715 cat confdefs.h >>conftest.$ac_ext
34716 cat >>conftest.$ac_ext <<_ACEOF
34717 /* end confdefs.h.  */
34718 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
34719    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
34720 #define $ac_func innocuous_$ac_func
34721
34722 /* System header to define __stub macros and hopefully few prototypes,
34723     which can conflict with char $ac_func (); below.
34724     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
34725     <limits.h> exists even on freestanding compilers.  */
34726
34727 #ifdef __STDC__
34728 # include <limits.h>
34729 #else
34730 # include <assert.h>
34731 #endif
34732
34733 #undef $ac_func
34734
34735 /* Override any gcc2 internal prototype to avoid an error.  */
34736 #ifdef __cplusplus
34737 extern "C"
34738 {
34739 #endif
34740 /* We use char because int might match the return type of a gcc2
34741    builtin and then its argument prototype would still apply.  */
34742 char $ac_func ();
34743 /* The GNU C library defines this for functions which it implements
34744     to always fail with ENOSYS.  Some functions are actually named
34745     something starting with __ and the normal name is an alias.  */
34746 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
34747 choke me
34748 #else
34749 char (*f) () = $ac_func;
34750 #endif
34751 #ifdef __cplusplus
34752 }
34753 #endif
34754
34755 int
34756 main ()
34757 {
34758 return f != $ac_func;
34759   ;
34760   return 0;
34761 }
34762 _ACEOF
34763 rm -f conftest.$ac_objext conftest$ac_exeext
34764 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
34765   (eval $ac_link) 2>conftest.er1
34766   ac_status=$?
34767   grep -v '^ *+' conftest.er1 >conftest.err
34768   rm -f conftest.er1
34769   cat conftest.err >&5
34770   echo "$as_me:$LINENO: \$? = $ac_status" >&5
34771   (exit $ac_status); } &&
34772          { ac_try='test -z "$ac_c_werror_flag"
34773                          || test ! -s conftest.err'
34774   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34775   (eval $ac_try) 2>&5
34776   ac_status=$?
34777   echo "$as_me:$LINENO: \$? = $ac_status" >&5
34778   (exit $ac_status); }; } &&
34779          { ac_try='test -s conftest$ac_exeext'
34780   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34781   (eval $ac_try) 2>&5
34782   ac_status=$?
34783   echo "$as_me:$LINENO: \$? = $ac_status" >&5
34784   (exit $ac_status); }; }; then
34785   eval "$as_ac_var=yes"
34786 else
34787   echo "$as_me: failed program was:" >&5
34788 sed 's/^/| /' conftest.$ac_ext >&5
34789
34790 eval "$as_ac_var=no"
34791 fi
34792 rm -f conftest.err conftest.$ac_objext \
34793       conftest$ac_exeext conftest.$ac_ext
34794 fi
34795 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
34796 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
34797 if test `eval echo '${'$as_ac_var'}'` = yes; then
34798   cat >>confdefs.h <<_ACEOF
34799 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
34800 _ACEOF
34801
34802 fi
34803 done
34804
34805     fi
34806   fi
34807
34808
34809
34810
34811
34812
34813   echo "$as_me:$LINENO: checking for fpclass declaration" >&5
34814 echo $ECHO_N "checking for fpclass declaration... $ECHO_C" >&6
34815   if test x${glibcxx_cv_func_fpclass_use+set} != xset; then
34816     if test "${glibcxx_cv_func_fpclass_use+set}" = set; then
34817   echo $ECHO_N "(cached) $ECHO_C" >&6
34818 else
34819
34820
34821
34822       ac_ext=cc
34823 ac_cpp='$CXXCPP $CPPFLAGS'
34824 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34825 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34826 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34827
34828       cat >conftest.$ac_ext <<_ACEOF
34829 /* confdefs.h.  */
34830 _ACEOF
34831 cat confdefs.h >>conftest.$ac_ext
34832 cat >>conftest.$ac_ext <<_ACEOF
34833 /* end confdefs.h.  */
34834 #include <math.h>
34835                       #ifdef HAVE_IEEEFP_H
34836                       #include <ieeefp.h>
34837                       #endif
34838
34839 int
34840 main ()
34841 {
34842  fpclass(0);
34843   ;
34844   return 0;
34845 }
34846 _ACEOF
34847 rm -f conftest.$ac_objext
34848 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
34849   (eval $ac_compile) 2>conftest.er1
34850   ac_status=$?
34851   grep -v '^ *+' conftest.er1 >conftest.err
34852   rm -f conftest.er1
34853   cat conftest.err >&5
34854   echo "$as_me:$LINENO: \$? = $ac_status" >&5
34855   (exit $ac_status); } &&
34856          { ac_try='test -z "$ac_cxx_werror_flag"
34857                          || test ! -s conftest.err'
34858   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34859   (eval $ac_try) 2>&5
34860   ac_status=$?
34861   echo "$as_me:$LINENO: \$? = $ac_status" >&5
34862   (exit $ac_status); }; } &&
34863          { ac_try='test -s conftest.$ac_objext'
34864   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34865   (eval $ac_try) 2>&5
34866   ac_status=$?
34867   echo "$as_me:$LINENO: \$? = $ac_status" >&5
34868   (exit $ac_status); }; }; then
34869   glibcxx_cv_func_fpclass_use=yes
34870 else
34871   echo "$as_me: failed program was:" >&5
34872 sed 's/^/| /' conftest.$ac_ext >&5
34873
34874 glibcxx_cv_func_fpclass_use=no
34875 fi
34876 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
34877       ac_ext=c
34878 ac_cpp='$CPP $CPPFLAGS'
34879 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34880 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34881 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34882
34883
34884 fi
34885
34886   fi
34887   echo "$as_me:$LINENO: result: $glibcxx_cv_func_fpclass_use" >&5
34888 echo "${ECHO_T}$glibcxx_cv_func_fpclass_use" >&6
34889
34890   if test x$glibcxx_cv_func_fpclass_use = x"yes"; then
34891
34892 for ac_func in fpclass
34893 do
34894 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
34895 echo "$as_me:$LINENO: checking for $ac_func" >&5
34896 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
34897 if eval "test \"\${$as_ac_var+set}\" = set"; then
34898   echo $ECHO_N "(cached) $ECHO_C" >&6
34899 else
34900   if test x$gcc_no_link = xyes; then
34901   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
34902 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
34903    { (exit 1); exit 1; }; }
34904 fi
34905 cat >conftest.$ac_ext <<_ACEOF
34906 /* confdefs.h.  */
34907 _ACEOF
34908 cat confdefs.h >>conftest.$ac_ext
34909 cat >>conftest.$ac_ext <<_ACEOF
34910 /* end confdefs.h.  */
34911 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
34912    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
34913 #define $ac_func innocuous_$ac_func
34914
34915 /* System header to define __stub macros and hopefully few prototypes,
34916     which can conflict with char $ac_func (); below.
34917     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
34918     <limits.h> exists even on freestanding compilers.  */
34919
34920 #ifdef __STDC__
34921 # include <limits.h>
34922 #else
34923 # include <assert.h>
34924 #endif
34925
34926 #undef $ac_func
34927
34928 /* Override any gcc2 internal prototype to avoid an error.  */
34929 #ifdef __cplusplus
34930 extern "C"
34931 {
34932 #endif
34933 /* We use char because int might match the return type of a gcc2
34934    builtin and then its argument prototype would still apply.  */
34935 char $ac_func ();
34936 /* The GNU C library defines this for functions which it implements
34937     to always fail with ENOSYS.  Some functions are actually named
34938     something starting with __ and the normal name is an alias.  */
34939 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
34940 choke me
34941 #else
34942 char (*f) () = $ac_func;
34943 #endif
34944 #ifdef __cplusplus
34945 }
34946 #endif
34947
34948 int
34949 main ()
34950 {
34951 return f != $ac_func;
34952   ;
34953   return 0;
34954 }
34955 _ACEOF
34956 rm -f conftest.$ac_objext conftest$ac_exeext
34957 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
34958   (eval $ac_link) 2>conftest.er1
34959   ac_status=$?
34960   grep -v '^ *+' conftest.er1 >conftest.err
34961   rm -f conftest.er1
34962   cat conftest.err >&5
34963   echo "$as_me:$LINENO: \$? = $ac_status" >&5
34964   (exit $ac_status); } &&
34965          { ac_try='test -z "$ac_c_werror_flag"
34966                          || test ! -s conftest.err'
34967   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34968   (eval $ac_try) 2>&5
34969   ac_status=$?
34970   echo "$as_me:$LINENO: \$? = $ac_status" >&5
34971   (exit $ac_status); }; } &&
34972          { ac_try='test -s conftest$ac_exeext'
34973   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34974   (eval $ac_try) 2>&5
34975   ac_status=$?
34976   echo "$as_me:$LINENO: \$? = $ac_status" >&5
34977   (exit $ac_status); }; }; then
34978   eval "$as_ac_var=yes"
34979 else
34980   echo "$as_me: failed program was:" >&5
34981 sed 's/^/| /' conftest.$ac_ext >&5
34982
34983 eval "$as_ac_var=no"
34984 fi
34985 rm -f conftest.err conftest.$ac_objext \
34986       conftest$ac_exeext conftest.$ac_ext
34987 fi
34988 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
34989 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
34990 if test `eval echo '${'$as_ac_var'}'` = yes; then
34991   cat >>confdefs.h <<_ACEOF
34992 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
34993 _ACEOF
34994
34995 fi
34996 done
34997
34998   else
34999
35000   echo "$as_me:$LINENO: checking for _fpclass declaration" >&5
35001 echo $ECHO_N "checking for _fpclass declaration... $ECHO_C" >&6
35002   if test x${glibcxx_cv_func__fpclass_use+set} != xset; then
35003     if test "${glibcxx_cv_func__fpclass_use+set}" = set; then
35004   echo $ECHO_N "(cached) $ECHO_C" >&6
35005 else
35006
35007
35008
35009       ac_ext=cc
35010 ac_cpp='$CXXCPP $CPPFLAGS'
35011 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35012 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35013 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35014
35015       cat >conftest.$ac_ext <<_ACEOF
35016 /* confdefs.h.  */
35017 _ACEOF
35018 cat confdefs.h >>conftest.$ac_ext
35019 cat >>conftest.$ac_ext <<_ACEOF
35020 /* end confdefs.h.  */
35021 #include <math.h>
35022                       #ifdef HAVE_IEEEFP_H
35023                       #include <ieeefp.h>
35024                       #endif
35025
35026 int
35027 main ()
35028 {
35029  _fpclass(0);
35030   ;
35031   return 0;
35032 }
35033 _ACEOF
35034 rm -f conftest.$ac_objext
35035 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
35036   (eval $ac_compile) 2>conftest.er1
35037   ac_status=$?
35038   grep -v '^ *+' conftest.er1 >conftest.err
35039   rm -f conftest.er1
35040   cat conftest.err >&5
35041   echo "$as_me:$LINENO: \$? = $ac_status" >&5
35042   (exit $ac_status); } &&
35043          { ac_try='test -z "$ac_cxx_werror_flag"
35044                          || test ! -s conftest.err'
35045   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35046   (eval $ac_try) 2>&5
35047   ac_status=$?
35048   echo "$as_me:$LINENO: \$? = $ac_status" >&5
35049   (exit $ac_status); }; } &&
35050          { ac_try='test -s conftest.$ac_objext'
35051   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35052   (eval $ac_try) 2>&5
35053   ac_status=$?
35054   echo "$as_me:$LINENO: \$? = $ac_status" >&5
35055   (exit $ac_status); }; }; then
35056   glibcxx_cv_func__fpclass_use=yes
35057 else
35058   echo "$as_me: failed program was:" >&5
35059 sed 's/^/| /' conftest.$ac_ext >&5
35060
35061 glibcxx_cv_func__fpclass_use=no
35062 fi
35063 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
35064       ac_ext=c
35065 ac_cpp='$CPP $CPPFLAGS'
35066 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35067 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35068 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35069
35070
35071 fi
35072
35073   fi
35074   echo "$as_me:$LINENO: result: $glibcxx_cv_func__fpclass_use" >&5
35075 echo "${ECHO_T}$glibcxx_cv_func__fpclass_use" >&6
35076
35077     if test x$glibcxx_cv_func__fpclass_use = x"yes"; then
35078
35079 for ac_func in _fpclass
35080 do
35081 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
35082 echo "$as_me:$LINENO: checking for $ac_func" >&5
35083 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
35084 if eval "test \"\${$as_ac_var+set}\" = set"; then
35085   echo $ECHO_N "(cached) $ECHO_C" >&6
35086 else
35087   if test x$gcc_no_link = xyes; then
35088   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
35089 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
35090    { (exit 1); exit 1; }; }
35091 fi
35092 cat >conftest.$ac_ext <<_ACEOF
35093 /* confdefs.h.  */
35094 _ACEOF
35095 cat confdefs.h >>conftest.$ac_ext
35096 cat >>conftest.$ac_ext <<_ACEOF
35097 /* end confdefs.h.  */
35098 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
35099    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
35100 #define $ac_func innocuous_$ac_func
35101
35102 /* System header to define __stub macros and hopefully few prototypes,
35103     which can conflict with char $ac_func (); below.
35104     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
35105     <limits.h> exists even on freestanding compilers.  */
35106
35107 #ifdef __STDC__
35108 # include <limits.h>
35109 #else
35110 # include <assert.h>
35111 #endif
35112
35113 #undef $ac_func
35114
35115 /* Override any gcc2 internal prototype to avoid an error.  */
35116 #ifdef __cplusplus
35117 extern "C"
35118 {
35119 #endif
35120 /* We use char because int might match the return type of a gcc2
35121    builtin and then its argument prototype would still apply.  */
35122 char $ac_func ();
35123 /* The GNU C library defines this for functions which it implements
35124     to always fail with ENOSYS.  Some functions are actually named
35125     something starting with __ and the normal name is an alias.  */
35126 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
35127 choke me
35128 #else
35129 char (*f) () = $ac_func;
35130 #endif
35131 #ifdef __cplusplus
35132 }
35133 #endif
35134
35135 int
35136 main ()
35137 {
35138 return f != $ac_func;
35139   ;
35140   return 0;
35141 }
35142 _ACEOF
35143 rm -f conftest.$ac_objext conftest$ac_exeext
35144 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
35145   (eval $ac_link) 2>conftest.er1
35146   ac_status=$?
35147   grep -v '^ *+' conftest.er1 >conftest.err
35148   rm -f conftest.er1
35149   cat conftest.err >&5
35150   echo "$as_me:$LINENO: \$? = $ac_status" >&5
35151   (exit $ac_status); } &&
35152          { ac_try='test -z "$ac_c_werror_flag"
35153                          || test ! -s conftest.err'
35154   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35155   (eval $ac_try) 2>&5
35156   ac_status=$?
35157   echo "$as_me:$LINENO: \$? = $ac_status" >&5
35158   (exit $ac_status); }; } &&
35159          { ac_try='test -s conftest$ac_exeext'
35160   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35161   (eval $ac_try) 2>&5
35162   ac_status=$?
35163   echo "$as_me:$LINENO: \$? = $ac_status" >&5
35164   (exit $ac_status); }; }; then
35165   eval "$as_ac_var=yes"
35166 else
35167   echo "$as_me: failed program was:" >&5
35168 sed 's/^/| /' conftest.$ac_ext >&5
35169
35170 eval "$as_ac_var=no"
35171 fi
35172 rm -f conftest.err conftest.$ac_objext \
35173       conftest$ac_exeext conftest.$ac_ext
35174 fi
35175 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
35176 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
35177 if test `eval echo '${'$as_ac_var'}'` = yes; then
35178   cat >>confdefs.h <<_ACEOF
35179 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
35180 _ACEOF
35181
35182 fi
35183 done
35184
35185     fi
35186   fi
35187
35188
35189
35190
35191
35192
35193   echo "$as_me:$LINENO: checking for qfpclass declaration" >&5
35194 echo $ECHO_N "checking for qfpclass declaration... $ECHO_C" >&6
35195   if test x${glibcxx_cv_func_qfpclass_use+set} != xset; then
35196     if test "${glibcxx_cv_func_qfpclass_use+set}" = set; then
35197   echo $ECHO_N "(cached) $ECHO_C" >&6
35198 else
35199
35200
35201
35202       ac_ext=cc
35203 ac_cpp='$CXXCPP $CPPFLAGS'
35204 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35205 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35206 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35207
35208       cat >conftest.$ac_ext <<_ACEOF
35209 /* confdefs.h.  */
35210 _ACEOF
35211 cat confdefs.h >>conftest.$ac_ext
35212 cat >>conftest.$ac_ext <<_ACEOF
35213 /* end confdefs.h.  */
35214 #include <math.h>
35215                       #ifdef HAVE_IEEEFP_H
35216                       #include <ieeefp.h>
35217                       #endif
35218
35219 int
35220 main ()
35221 {
35222  qfpclass(0);
35223   ;
35224   return 0;
35225 }
35226 _ACEOF
35227 rm -f conftest.$ac_objext
35228 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
35229   (eval $ac_compile) 2>conftest.er1
35230   ac_status=$?
35231   grep -v '^ *+' conftest.er1 >conftest.err
35232   rm -f conftest.er1
35233   cat conftest.err >&5
35234   echo "$as_me:$LINENO: \$? = $ac_status" >&5
35235   (exit $ac_status); } &&
35236          { ac_try='test -z "$ac_cxx_werror_flag"
35237                          || test ! -s conftest.err'
35238   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35239   (eval $ac_try) 2>&5
35240   ac_status=$?
35241   echo "$as_me:$LINENO: \$? = $ac_status" >&5
35242   (exit $ac_status); }; } &&
35243          { ac_try='test -s conftest.$ac_objext'
35244   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35245   (eval $ac_try) 2>&5
35246   ac_status=$?
35247   echo "$as_me:$LINENO: \$? = $ac_status" >&5
35248   (exit $ac_status); }; }; then
35249   glibcxx_cv_func_qfpclass_use=yes
35250 else
35251   echo "$as_me: failed program was:" >&5
35252 sed 's/^/| /' conftest.$ac_ext >&5
35253
35254 glibcxx_cv_func_qfpclass_use=no
35255 fi
35256 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
35257       ac_ext=c
35258 ac_cpp='$CPP $CPPFLAGS'
35259 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35260 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35261 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35262
35263
35264 fi
35265
35266   fi
35267   echo "$as_me:$LINENO: result: $glibcxx_cv_func_qfpclass_use" >&5
35268 echo "${ECHO_T}$glibcxx_cv_func_qfpclass_use" >&6
35269
35270   if test x$glibcxx_cv_func_qfpclass_use = x"yes"; then
35271
35272 for ac_func in qfpclass
35273 do
35274 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
35275 echo "$as_me:$LINENO: checking for $ac_func" >&5
35276 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
35277 if eval "test \"\${$as_ac_var+set}\" = set"; then
35278   echo $ECHO_N "(cached) $ECHO_C" >&6
35279 else
35280   if test x$gcc_no_link = xyes; then
35281   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
35282 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
35283    { (exit 1); exit 1; }; }
35284 fi
35285 cat >conftest.$ac_ext <<_ACEOF
35286 /* confdefs.h.  */
35287 _ACEOF
35288 cat confdefs.h >>conftest.$ac_ext
35289 cat >>conftest.$ac_ext <<_ACEOF
35290 /* end confdefs.h.  */
35291 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
35292    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
35293 #define $ac_func innocuous_$ac_func
35294
35295 /* System header to define __stub macros and hopefully few prototypes,
35296     which can conflict with char $ac_func (); below.
35297     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
35298     <limits.h> exists even on freestanding compilers.  */
35299
35300 #ifdef __STDC__
35301 # include <limits.h>
35302 #else
35303 # include <assert.h>
35304 #endif
35305
35306 #undef $ac_func
35307
35308 /* Override any gcc2 internal prototype to avoid an error.  */
35309 #ifdef __cplusplus
35310 extern "C"
35311 {
35312 #endif
35313 /* We use char because int might match the return type of a gcc2
35314    builtin and then its argument prototype would still apply.  */
35315 char $ac_func ();
35316 /* The GNU C library defines this for functions which it implements
35317     to always fail with ENOSYS.  Some functions are actually named
35318     something starting with __ and the normal name is an alias.  */
35319 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
35320 choke me
35321 #else
35322 char (*f) () = $ac_func;
35323 #endif
35324 #ifdef __cplusplus
35325 }
35326 #endif
35327
35328 int
35329 main ()
35330 {
35331 return f != $ac_func;
35332   ;
35333   return 0;
35334 }
35335 _ACEOF
35336 rm -f conftest.$ac_objext conftest$ac_exeext
35337 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
35338   (eval $ac_link) 2>conftest.er1
35339   ac_status=$?
35340   grep -v '^ *+' conftest.er1 >conftest.err
35341   rm -f conftest.er1
35342   cat conftest.err >&5
35343   echo "$as_me:$LINENO: \$? = $ac_status" >&5
35344   (exit $ac_status); } &&
35345          { ac_try='test -z "$ac_c_werror_flag"
35346                          || test ! -s conftest.err'
35347   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35348   (eval $ac_try) 2>&5
35349   ac_status=$?
35350   echo "$as_me:$LINENO: \$? = $ac_status" >&5
35351   (exit $ac_status); }; } &&
35352          { ac_try='test -s conftest$ac_exeext'
35353   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35354   (eval $ac_try) 2>&5
35355   ac_status=$?
35356   echo "$as_me:$LINENO: \$? = $ac_status" >&5
35357   (exit $ac_status); }; }; then
35358   eval "$as_ac_var=yes"
35359 else
35360   echo "$as_me: failed program was:" >&5
35361 sed 's/^/| /' conftest.$ac_ext >&5
35362
35363 eval "$as_ac_var=no"
35364 fi
35365 rm -f conftest.err conftest.$ac_objext \
35366       conftest$ac_exeext conftest.$ac_ext
35367 fi
35368 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
35369 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
35370 if test `eval echo '${'$as_ac_var'}'` = yes; then
35371   cat >>confdefs.h <<_ACEOF
35372 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
35373 _ACEOF
35374
35375 fi
35376 done
35377
35378   else
35379
35380   echo "$as_me:$LINENO: checking for _qfpclass declaration" >&5
35381 echo $ECHO_N "checking for _qfpclass declaration... $ECHO_C" >&6
35382   if test x${glibcxx_cv_func__qfpclass_use+set} != xset; then
35383     if test "${glibcxx_cv_func__qfpclass_use+set}" = set; then
35384   echo $ECHO_N "(cached) $ECHO_C" >&6
35385 else
35386
35387
35388
35389       ac_ext=cc
35390 ac_cpp='$CXXCPP $CPPFLAGS'
35391 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35392 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35393 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35394
35395       cat >conftest.$ac_ext <<_ACEOF
35396 /* confdefs.h.  */
35397 _ACEOF
35398 cat confdefs.h >>conftest.$ac_ext
35399 cat >>conftest.$ac_ext <<_ACEOF
35400 /* end confdefs.h.  */
35401 #include <math.h>
35402                       #ifdef HAVE_IEEEFP_H
35403                       #include <ieeefp.h>
35404                       #endif
35405
35406 int
35407 main ()
35408 {
35409  _qfpclass(0);
35410   ;
35411   return 0;
35412 }
35413 _ACEOF
35414 rm -f conftest.$ac_objext
35415 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
35416   (eval $ac_compile) 2>conftest.er1
35417   ac_status=$?
35418   grep -v '^ *+' conftest.er1 >conftest.err
35419   rm -f conftest.er1
35420   cat conftest.err >&5
35421   echo "$as_me:$LINENO: \$? = $ac_status" >&5
35422   (exit $ac_status); } &&
35423          { ac_try='test -z "$ac_cxx_werror_flag"
35424                          || test ! -s conftest.err'
35425   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35426   (eval $ac_try) 2>&5
35427   ac_status=$?
35428   echo "$as_me:$LINENO: \$? = $ac_status" >&5
35429   (exit $ac_status); }; } &&
35430          { ac_try='test -s conftest.$ac_objext'
35431   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35432   (eval $ac_try) 2>&5
35433   ac_status=$?
35434   echo "$as_me:$LINENO: \$? = $ac_status" >&5
35435   (exit $ac_status); }; }; then
35436   glibcxx_cv_func__qfpclass_use=yes
35437 else
35438   echo "$as_me: failed program was:" >&5
35439 sed 's/^/| /' conftest.$ac_ext >&5
35440
35441 glibcxx_cv_func__qfpclass_use=no
35442 fi
35443 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
35444       ac_ext=c
35445 ac_cpp='$CPP $CPPFLAGS'
35446 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35447 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35448 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35449
35450
35451 fi
35452
35453   fi
35454   echo "$as_me:$LINENO: result: $glibcxx_cv_func__qfpclass_use" >&5
35455 echo "${ECHO_T}$glibcxx_cv_func__qfpclass_use" >&6
35456
35457     if test x$glibcxx_cv_func__qfpclass_use = x"yes"; then
35458
35459 for ac_func in _qfpclass
35460 do
35461 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
35462 echo "$as_me:$LINENO: checking for $ac_func" >&5
35463 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
35464 if eval "test \"\${$as_ac_var+set}\" = set"; then
35465   echo $ECHO_N "(cached) $ECHO_C" >&6
35466 else
35467   if test x$gcc_no_link = xyes; then
35468   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
35469 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
35470    { (exit 1); exit 1; }; }
35471 fi
35472 cat >conftest.$ac_ext <<_ACEOF
35473 /* confdefs.h.  */
35474 _ACEOF
35475 cat confdefs.h >>conftest.$ac_ext
35476 cat >>conftest.$ac_ext <<_ACEOF
35477 /* end confdefs.h.  */
35478 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
35479    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
35480 #define $ac_func innocuous_$ac_func
35481
35482 /* System header to define __stub macros and hopefully few prototypes,
35483     which can conflict with char $ac_func (); below.
35484     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
35485     <limits.h> exists even on freestanding compilers.  */
35486
35487 #ifdef __STDC__
35488 # include <limits.h>
35489 #else
35490 # include <assert.h>
35491 #endif
35492
35493 #undef $ac_func
35494
35495 /* Override any gcc2 internal prototype to avoid an error.  */
35496 #ifdef __cplusplus
35497 extern "C"
35498 {
35499 #endif
35500 /* We use char because int might match the return type of a gcc2
35501    builtin and then its argument prototype would still apply.  */
35502 char $ac_func ();
35503 /* The GNU C library defines this for functions which it implements
35504     to always fail with ENOSYS.  Some functions are actually named
35505     something starting with __ and the normal name is an alias.  */
35506 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
35507 choke me
35508 #else
35509 char (*f) () = $ac_func;
35510 #endif
35511 #ifdef __cplusplus
35512 }
35513 #endif
35514
35515 int
35516 main ()
35517 {
35518 return f != $ac_func;
35519   ;
35520   return 0;
35521 }
35522 _ACEOF
35523 rm -f conftest.$ac_objext conftest$ac_exeext
35524 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
35525   (eval $ac_link) 2>conftest.er1
35526   ac_status=$?
35527   grep -v '^ *+' conftest.er1 >conftest.err
35528   rm -f conftest.er1
35529   cat conftest.err >&5
35530   echo "$as_me:$LINENO: \$? = $ac_status" >&5
35531   (exit $ac_status); } &&
35532          { ac_try='test -z "$ac_c_werror_flag"
35533                          || test ! -s conftest.err'
35534   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35535   (eval $ac_try) 2>&5
35536   ac_status=$?
35537   echo "$as_me:$LINENO: \$? = $ac_status" >&5
35538   (exit $ac_status); }; } &&
35539          { ac_try='test -s conftest$ac_exeext'
35540   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35541   (eval $ac_try) 2>&5
35542   ac_status=$?
35543   echo "$as_me:$LINENO: \$? = $ac_status" >&5
35544   (exit $ac_status); }; }; then
35545   eval "$as_ac_var=yes"
35546 else
35547   echo "$as_me: failed program was:" >&5
35548 sed 's/^/| /' conftest.$ac_ext >&5
35549
35550 eval "$as_ac_var=no"
35551 fi
35552 rm -f conftest.err conftest.$ac_objext \
35553       conftest$ac_exeext conftest.$ac_ext
35554 fi
35555 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
35556 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
35557 if test `eval echo '${'$as_ac_var'}'` = yes; then
35558   cat >>confdefs.h <<_ACEOF
35559 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
35560 _ACEOF
35561
35562 fi
35563 done
35564
35565     fi
35566   fi
35567
35568
35569
35570
35571
35572
35573   echo "$as_me:$LINENO: checking for hypot declaration" >&5
35574 echo $ECHO_N "checking for hypot declaration... $ECHO_C" >&6
35575   if test x${glibcxx_cv_func_hypot_use+set} != xset; then
35576     if test "${glibcxx_cv_func_hypot_use+set}" = set; then
35577   echo $ECHO_N "(cached) $ECHO_C" >&6
35578 else
35579
35580
35581
35582       ac_ext=cc
35583 ac_cpp='$CXXCPP $CPPFLAGS'
35584 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35585 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35586 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35587
35588       cat >conftest.$ac_ext <<_ACEOF
35589 /* confdefs.h.  */
35590 _ACEOF
35591 cat confdefs.h >>conftest.$ac_ext
35592 cat >>conftest.$ac_ext <<_ACEOF
35593 /* end confdefs.h.  */
35594 #include <math.h>
35595 int
35596 main ()
35597 {
35598  hypot(0, 0);
35599   ;
35600   return 0;
35601 }
35602 _ACEOF
35603 rm -f conftest.$ac_objext
35604 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
35605   (eval $ac_compile) 2>conftest.er1
35606   ac_status=$?
35607   grep -v '^ *+' conftest.er1 >conftest.err
35608   rm -f conftest.er1
35609   cat conftest.err >&5
35610   echo "$as_me:$LINENO: \$? = $ac_status" >&5
35611   (exit $ac_status); } &&
35612          { ac_try='test -z "$ac_cxx_werror_flag"
35613                          || test ! -s conftest.err'
35614   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35615   (eval $ac_try) 2>&5
35616   ac_status=$?
35617   echo "$as_me:$LINENO: \$? = $ac_status" >&5
35618   (exit $ac_status); }; } &&
35619          { ac_try='test -s conftest.$ac_objext'
35620   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35621   (eval $ac_try) 2>&5
35622   ac_status=$?
35623   echo "$as_me:$LINENO: \$? = $ac_status" >&5
35624   (exit $ac_status); }; }; then
35625   glibcxx_cv_func_hypot_use=yes
35626 else
35627   echo "$as_me: failed program was:" >&5
35628 sed 's/^/| /' conftest.$ac_ext >&5
35629
35630 glibcxx_cv_func_hypot_use=no
35631 fi
35632 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
35633       ac_ext=c
35634 ac_cpp='$CPP $CPPFLAGS'
35635 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35636 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35637 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35638
35639
35640 fi
35641
35642   fi
35643   echo "$as_me:$LINENO: result: $glibcxx_cv_func_hypot_use" >&5
35644 echo "${ECHO_T}$glibcxx_cv_func_hypot_use" >&6
35645
35646   if test x$glibcxx_cv_func_hypot_use = x"yes"; then
35647
35648 for ac_func in hypot
35649 do
35650 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
35651 echo "$as_me:$LINENO: checking for $ac_func" >&5
35652 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
35653 if eval "test \"\${$as_ac_var+set}\" = set"; then
35654   echo $ECHO_N "(cached) $ECHO_C" >&6
35655 else
35656   if test x$gcc_no_link = xyes; then
35657   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
35658 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
35659    { (exit 1); exit 1; }; }
35660 fi
35661 cat >conftest.$ac_ext <<_ACEOF
35662 /* confdefs.h.  */
35663 _ACEOF
35664 cat confdefs.h >>conftest.$ac_ext
35665 cat >>conftest.$ac_ext <<_ACEOF
35666 /* end confdefs.h.  */
35667 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
35668    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
35669 #define $ac_func innocuous_$ac_func
35670
35671 /* System header to define __stub macros and hopefully few prototypes,
35672     which can conflict with char $ac_func (); below.
35673     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
35674     <limits.h> exists even on freestanding compilers.  */
35675
35676 #ifdef __STDC__
35677 # include <limits.h>
35678 #else
35679 # include <assert.h>
35680 #endif
35681
35682 #undef $ac_func
35683
35684 /* Override any gcc2 internal prototype to avoid an error.  */
35685 #ifdef __cplusplus
35686 extern "C"
35687 {
35688 #endif
35689 /* We use char because int might match the return type of a gcc2
35690    builtin and then its argument prototype would still apply.  */
35691 char $ac_func ();
35692 /* The GNU C library defines this for functions which it implements
35693     to always fail with ENOSYS.  Some functions are actually named
35694     something starting with __ and the normal name is an alias.  */
35695 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
35696 choke me
35697 #else
35698 char (*f) () = $ac_func;
35699 #endif
35700 #ifdef __cplusplus
35701 }
35702 #endif
35703
35704 int
35705 main ()
35706 {
35707 return f != $ac_func;
35708   ;
35709   return 0;
35710 }
35711 _ACEOF
35712 rm -f conftest.$ac_objext conftest$ac_exeext
35713 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
35714   (eval $ac_link) 2>conftest.er1
35715   ac_status=$?
35716   grep -v '^ *+' conftest.er1 >conftest.err
35717   rm -f conftest.er1
35718   cat conftest.err >&5
35719   echo "$as_me:$LINENO: \$? = $ac_status" >&5
35720   (exit $ac_status); } &&
35721          { ac_try='test -z "$ac_c_werror_flag"
35722                          || test ! -s conftest.err'
35723   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35724   (eval $ac_try) 2>&5
35725   ac_status=$?
35726   echo "$as_me:$LINENO: \$? = $ac_status" >&5
35727   (exit $ac_status); }; } &&
35728          { ac_try='test -s conftest$ac_exeext'
35729   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35730   (eval $ac_try) 2>&5
35731   ac_status=$?
35732   echo "$as_me:$LINENO: \$? = $ac_status" >&5
35733   (exit $ac_status); }; }; then
35734   eval "$as_ac_var=yes"
35735 else
35736   echo "$as_me: failed program was:" >&5
35737 sed 's/^/| /' conftest.$ac_ext >&5
35738
35739 eval "$as_ac_var=no"
35740 fi
35741 rm -f conftest.err conftest.$ac_objext \
35742       conftest$ac_exeext conftest.$ac_ext
35743 fi
35744 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
35745 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
35746 if test `eval echo '${'$as_ac_var'}'` = yes; then
35747   cat >>confdefs.h <<_ACEOF
35748 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
35749 _ACEOF
35750
35751 fi
35752 done
35753
35754   else
35755
35756   echo "$as_me:$LINENO: checking for _hypot declaration" >&5
35757 echo $ECHO_N "checking for _hypot declaration... $ECHO_C" >&6
35758   if test x${glibcxx_cv_func__hypot_use+set} != xset; then
35759     if test "${glibcxx_cv_func__hypot_use+set}" = set; then
35760   echo $ECHO_N "(cached) $ECHO_C" >&6
35761 else
35762
35763
35764
35765       ac_ext=cc
35766 ac_cpp='$CXXCPP $CPPFLAGS'
35767 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35768 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35769 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35770
35771       cat >conftest.$ac_ext <<_ACEOF
35772 /* confdefs.h.  */
35773 _ACEOF
35774 cat confdefs.h >>conftest.$ac_ext
35775 cat >>conftest.$ac_ext <<_ACEOF
35776 /* end confdefs.h.  */
35777 #include <math.h>
35778 int
35779 main ()
35780 {
35781  _hypot(0, 0);
35782   ;
35783   return 0;
35784 }
35785 _ACEOF
35786 rm -f conftest.$ac_objext
35787 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
35788   (eval $ac_compile) 2>conftest.er1
35789   ac_status=$?
35790   grep -v '^ *+' conftest.er1 >conftest.err
35791   rm -f conftest.er1
35792   cat conftest.err >&5
35793   echo "$as_me:$LINENO: \$? = $ac_status" >&5
35794   (exit $ac_status); } &&
35795          { ac_try='test -z "$ac_cxx_werror_flag"
35796                          || test ! -s conftest.err'
35797   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35798   (eval $ac_try) 2>&5
35799   ac_status=$?
35800   echo "$as_me:$LINENO: \$? = $ac_status" >&5
35801   (exit $ac_status); }; } &&
35802          { ac_try='test -s conftest.$ac_objext'
35803   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35804   (eval $ac_try) 2>&5
35805   ac_status=$?
35806   echo "$as_me:$LINENO: \$? = $ac_status" >&5
35807   (exit $ac_status); }; }; then
35808   glibcxx_cv_func__hypot_use=yes
35809 else
35810   echo "$as_me: failed program was:" >&5
35811 sed 's/^/| /' conftest.$ac_ext >&5
35812
35813 glibcxx_cv_func__hypot_use=no
35814 fi
35815 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
35816       ac_ext=c
35817 ac_cpp='$CPP $CPPFLAGS'
35818 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35819 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35820 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35821
35822
35823 fi
35824
35825   fi
35826   echo "$as_me:$LINENO: result: $glibcxx_cv_func__hypot_use" >&5
35827 echo "${ECHO_T}$glibcxx_cv_func__hypot_use" >&6
35828
35829     if test x$glibcxx_cv_func__hypot_use = x"yes"; then
35830
35831 for ac_func in _hypot
35832 do
35833 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
35834 echo "$as_me:$LINENO: checking for $ac_func" >&5
35835 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
35836 if eval "test \"\${$as_ac_var+set}\" = set"; then
35837   echo $ECHO_N "(cached) $ECHO_C" >&6
35838 else
35839   if test x$gcc_no_link = xyes; then
35840   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
35841 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
35842    { (exit 1); exit 1; }; }
35843 fi
35844 cat >conftest.$ac_ext <<_ACEOF
35845 /* confdefs.h.  */
35846 _ACEOF
35847 cat confdefs.h >>conftest.$ac_ext
35848 cat >>conftest.$ac_ext <<_ACEOF
35849 /* end confdefs.h.  */
35850 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
35851    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
35852 #define $ac_func innocuous_$ac_func
35853
35854 /* System header to define __stub macros and hopefully few prototypes,
35855     which can conflict with char $ac_func (); below.
35856     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
35857     <limits.h> exists even on freestanding compilers.  */
35858
35859 #ifdef __STDC__
35860 # include <limits.h>
35861 #else
35862 # include <assert.h>
35863 #endif
35864
35865 #undef $ac_func
35866
35867 /* Override any gcc2 internal prototype to avoid an error.  */
35868 #ifdef __cplusplus
35869 extern "C"
35870 {
35871 #endif
35872 /* We use char because int might match the return type of a gcc2
35873    builtin and then its argument prototype would still apply.  */
35874 char $ac_func ();
35875 /* The GNU C library defines this for functions which it implements
35876     to always fail with ENOSYS.  Some functions are actually named
35877     something starting with __ and the normal name is an alias.  */
35878 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
35879 choke me
35880 #else
35881 char (*f) () = $ac_func;
35882 #endif
35883 #ifdef __cplusplus
35884 }
35885 #endif
35886
35887 int
35888 main ()
35889 {
35890 return f != $ac_func;
35891   ;
35892   return 0;
35893 }
35894 _ACEOF
35895 rm -f conftest.$ac_objext conftest$ac_exeext
35896 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
35897   (eval $ac_link) 2>conftest.er1
35898   ac_status=$?
35899   grep -v '^ *+' conftest.er1 >conftest.err
35900   rm -f conftest.er1
35901   cat conftest.err >&5
35902   echo "$as_me:$LINENO: \$? = $ac_status" >&5
35903   (exit $ac_status); } &&
35904          { ac_try='test -z "$ac_c_werror_flag"
35905                          || test ! -s conftest.err'
35906   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35907   (eval $ac_try) 2>&5
35908   ac_status=$?
35909   echo "$as_me:$LINENO: \$? = $ac_status" >&5
35910   (exit $ac_status); }; } &&
35911          { ac_try='test -s conftest$ac_exeext'
35912   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35913   (eval $ac_try) 2>&5
35914   ac_status=$?
35915   echo "$as_me:$LINENO: \$? = $ac_status" >&5
35916   (exit $ac_status); }; }; then
35917   eval "$as_ac_var=yes"
35918 else
35919   echo "$as_me: failed program was:" >&5
35920 sed 's/^/| /' conftest.$ac_ext >&5
35921
35922 eval "$as_ac_var=no"
35923 fi
35924 rm -f conftest.err conftest.$ac_objext \
35925       conftest$ac_exeext conftest.$ac_ext
35926 fi
35927 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
35928 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
35929 if test `eval echo '${'$as_ac_var'}'` = yes; then
35930   cat >>confdefs.h <<_ACEOF
35931 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
35932 _ACEOF
35933
35934 fi
35935 done
35936
35937     fi
35938   fi
35939
35940
35941
35942
35943
35944
35945     echo "$as_me:$LINENO: checking for float trig functions" >&5
35946 echo $ECHO_N "checking for float trig functions... $ECHO_C" >&6
35947   if test "${glibcxx_cv_func_float_trig_use+set}" = set; then
35948   echo $ECHO_N "(cached) $ECHO_C" >&6
35949 else
35950
35951
35952
35953     ac_ext=cc
35954 ac_cpp='$CXXCPP $CPPFLAGS'
35955 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35956 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35957 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35958
35959     cat >conftest.$ac_ext <<_ACEOF
35960 /* confdefs.h.  */
35961 _ACEOF
35962 cat confdefs.h >>conftest.$ac_ext
35963 cat >>conftest.$ac_ext <<_ACEOF
35964 /* end confdefs.h.  */
35965 #include <math.h>
35966 int
35967 main ()
35968 {
35969 acosf (0); asinf (0); atanf (0); cosf (0); sinf (0); tanf (0); coshf (0); sinhf (0); tanhf (0);
35970   ;
35971   return 0;
35972 }
35973 _ACEOF
35974 rm -f conftest.$ac_objext
35975 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
35976   (eval $ac_compile) 2>conftest.er1
35977   ac_status=$?
35978   grep -v '^ *+' conftest.er1 >conftest.err
35979   rm -f conftest.er1
35980   cat conftest.err >&5
35981   echo "$as_me:$LINENO: \$? = $ac_status" >&5
35982   (exit $ac_status); } &&
35983          { ac_try='test -z "$ac_cxx_werror_flag"
35984                          || test ! -s conftest.err'
35985   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35986   (eval $ac_try) 2>&5
35987   ac_status=$?
35988   echo "$as_me:$LINENO: \$? = $ac_status" >&5
35989   (exit $ac_status); }; } &&
35990          { ac_try='test -s conftest.$ac_objext'
35991   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35992   (eval $ac_try) 2>&5
35993   ac_status=$?
35994   echo "$as_me:$LINENO: \$? = $ac_status" >&5
35995   (exit $ac_status); }; }; then
35996   glibcxx_cv_func_float_trig_use=yes
35997 else
35998   echo "$as_me: failed program was:" >&5
35999 sed 's/^/| /' conftest.$ac_ext >&5
36000
36001 glibcxx_cv_func_float_trig_use=no
36002 fi
36003 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
36004     ac_ext=c
36005 ac_cpp='$CPP $CPPFLAGS'
36006 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36007 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36008 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36009
36010 fi
36011
36012   echo "$as_me:$LINENO: result: $glibcxx_cv_func_float_trig_use" >&5
36013 echo "${ECHO_T}$glibcxx_cv_func_float_trig_use" >&6
36014   if test x$glibcxx_cv_func_float_trig_use = x"yes"; then
36015
36016
36017
36018
36019
36020
36021
36022
36023
36024 for ac_func in acosf asinf atanf cosf sinf tanf coshf sinhf tanhf
36025 do
36026 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
36027 echo "$as_me:$LINENO: checking for $ac_func" >&5
36028 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
36029 if eval "test \"\${$as_ac_var+set}\" = set"; then
36030   echo $ECHO_N "(cached) $ECHO_C" >&6
36031 else
36032   if test x$gcc_no_link = xyes; then
36033   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
36034 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
36035    { (exit 1); exit 1; }; }
36036 fi
36037 cat >conftest.$ac_ext <<_ACEOF
36038 /* confdefs.h.  */
36039 _ACEOF
36040 cat confdefs.h >>conftest.$ac_ext
36041 cat >>conftest.$ac_ext <<_ACEOF
36042 /* end confdefs.h.  */
36043 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
36044    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
36045 #define $ac_func innocuous_$ac_func
36046
36047 /* System header to define __stub macros and hopefully few prototypes,
36048     which can conflict with char $ac_func (); below.
36049     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
36050     <limits.h> exists even on freestanding compilers.  */
36051
36052 #ifdef __STDC__
36053 # include <limits.h>
36054 #else
36055 # include <assert.h>
36056 #endif
36057
36058 #undef $ac_func
36059
36060 /* Override any gcc2 internal prototype to avoid an error.  */
36061 #ifdef __cplusplus
36062 extern "C"
36063 {
36064 #endif
36065 /* We use char because int might match the return type of a gcc2
36066    builtin and then its argument prototype would still apply.  */
36067 char $ac_func ();
36068 /* The GNU C library defines this for functions which it implements
36069     to always fail with ENOSYS.  Some functions are actually named
36070     something starting with __ and the normal name is an alias.  */
36071 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
36072 choke me
36073 #else
36074 char (*f) () = $ac_func;
36075 #endif
36076 #ifdef __cplusplus
36077 }
36078 #endif
36079
36080 int
36081 main ()
36082 {
36083 return f != $ac_func;
36084   ;
36085   return 0;
36086 }
36087 _ACEOF
36088 rm -f conftest.$ac_objext conftest$ac_exeext
36089 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
36090   (eval $ac_link) 2>conftest.er1
36091   ac_status=$?
36092   grep -v '^ *+' conftest.er1 >conftest.err
36093   rm -f conftest.er1
36094   cat conftest.err >&5
36095   echo "$as_me:$LINENO: \$? = $ac_status" >&5
36096   (exit $ac_status); } &&
36097          { ac_try='test -z "$ac_c_werror_flag"
36098                          || test ! -s conftest.err'
36099   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36100   (eval $ac_try) 2>&5
36101   ac_status=$?
36102   echo "$as_me:$LINENO: \$? = $ac_status" >&5
36103   (exit $ac_status); }; } &&
36104          { ac_try='test -s conftest$ac_exeext'
36105   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36106   (eval $ac_try) 2>&5
36107   ac_status=$?
36108   echo "$as_me:$LINENO: \$? = $ac_status" >&5
36109   (exit $ac_status); }; }; then
36110   eval "$as_ac_var=yes"
36111 else
36112   echo "$as_me: failed program was:" >&5
36113 sed 's/^/| /' conftest.$ac_ext >&5
36114
36115 eval "$as_ac_var=no"
36116 fi
36117 rm -f conftest.err conftest.$ac_objext \
36118       conftest$ac_exeext conftest.$ac_ext
36119 fi
36120 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
36121 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
36122 if test `eval echo '${'$as_ac_var'}'` = yes; then
36123   cat >>confdefs.h <<_ACEOF
36124 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
36125 _ACEOF
36126
36127 fi
36128 done
36129
36130   else
36131     echo "$as_me:$LINENO: checking for _float trig functions" >&5
36132 echo $ECHO_N "checking for _float trig functions... $ECHO_C" >&6
36133     if test "${glibcxx_cv_func__float_trig_use+set}" = set; then
36134   echo $ECHO_N "(cached) $ECHO_C" >&6
36135 else
36136
36137
36138
36139       ac_ext=cc
36140 ac_cpp='$CXXCPP $CPPFLAGS'
36141 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36142 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36143 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36144
36145       cat >conftest.$ac_ext <<_ACEOF
36146 /* confdefs.h.  */
36147 _ACEOF
36148 cat confdefs.h >>conftest.$ac_ext
36149 cat >>conftest.$ac_ext <<_ACEOF
36150 /* end confdefs.h.  */
36151 #include <math.h>
36152 int
36153 main ()
36154 {
36155 _acosf (0); _asinf (0); _atanf (0); _cosf (0); _sinf (0); _tanf (0); _coshf (0); _sinhf (0); _tanhf (0);
36156   ;
36157   return 0;
36158 }
36159 _ACEOF
36160 rm -f conftest.$ac_objext
36161 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
36162   (eval $ac_compile) 2>conftest.er1
36163   ac_status=$?
36164   grep -v '^ *+' conftest.er1 >conftest.err
36165   rm -f conftest.er1
36166   cat conftest.err >&5
36167   echo "$as_me:$LINENO: \$? = $ac_status" >&5
36168   (exit $ac_status); } &&
36169          { ac_try='test -z "$ac_cxx_werror_flag"
36170                          || test ! -s conftest.err'
36171   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36172   (eval $ac_try) 2>&5
36173   ac_status=$?
36174   echo "$as_me:$LINENO: \$? = $ac_status" >&5
36175   (exit $ac_status); }; } &&
36176          { ac_try='test -s conftest.$ac_objext'
36177   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36178   (eval $ac_try) 2>&5
36179   ac_status=$?
36180   echo "$as_me:$LINENO: \$? = $ac_status" >&5
36181   (exit $ac_status); }; }; then
36182   glibcxx_cv_func__float_trig_use=yes
36183 else
36184   echo "$as_me: failed program was:" >&5
36185 sed 's/^/| /' conftest.$ac_ext >&5
36186
36187 glibcxx_cv_func__float_trig_use=no
36188 fi
36189 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
36190       ac_ext=c
36191 ac_cpp='$CPP $CPPFLAGS'
36192 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36193 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36194 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36195
36196 fi
36197
36198     echo "$as_me:$LINENO: result: $glibcxx_cv_func__float_trig_use" >&5
36199 echo "${ECHO_T}$glibcxx_cv_func__float_trig_use" >&6
36200     if test x$glibcxx_cv_func__float_trig_use = x"yes"; then
36201
36202
36203
36204
36205
36206
36207
36208
36209
36210 for ac_func in _acosf _asinf _atanf _cosf _sinf _tanf _coshf _sinhf _tanhf
36211 do
36212 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
36213 echo "$as_me:$LINENO: checking for $ac_func" >&5
36214 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
36215 if eval "test \"\${$as_ac_var+set}\" = set"; then
36216   echo $ECHO_N "(cached) $ECHO_C" >&6
36217 else
36218   if test x$gcc_no_link = xyes; then
36219   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
36220 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
36221    { (exit 1); exit 1; }; }
36222 fi
36223 cat >conftest.$ac_ext <<_ACEOF
36224 /* confdefs.h.  */
36225 _ACEOF
36226 cat confdefs.h >>conftest.$ac_ext
36227 cat >>conftest.$ac_ext <<_ACEOF
36228 /* end confdefs.h.  */
36229 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
36230    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
36231 #define $ac_func innocuous_$ac_func
36232
36233 /* System header to define __stub macros and hopefully few prototypes,
36234     which can conflict with char $ac_func (); below.
36235     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
36236     <limits.h> exists even on freestanding compilers.  */
36237
36238 #ifdef __STDC__
36239 # include <limits.h>
36240 #else
36241 # include <assert.h>
36242 #endif
36243
36244 #undef $ac_func
36245
36246 /* Override any gcc2 internal prototype to avoid an error.  */
36247 #ifdef __cplusplus
36248 extern "C"
36249 {
36250 #endif
36251 /* We use char because int might match the return type of a gcc2
36252    builtin and then its argument prototype would still apply.  */
36253 char $ac_func ();
36254 /* The GNU C library defines this for functions which it implements
36255     to always fail with ENOSYS.  Some functions are actually named
36256     something starting with __ and the normal name is an alias.  */
36257 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
36258 choke me
36259 #else
36260 char (*f) () = $ac_func;
36261 #endif
36262 #ifdef __cplusplus
36263 }
36264 #endif
36265
36266 int
36267 main ()
36268 {
36269 return f != $ac_func;
36270   ;
36271   return 0;
36272 }
36273 _ACEOF
36274 rm -f conftest.$ac_objext conftest$ac_exeext
36275 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
36276   (eval $ac_link) 2>conftest.er1
36277   ac_status=$?
36278   grep -v '^ *+' conftest.er1 >conftest.err
36279   rm -f conftest.er1
36280   cat conftest.err >&5
36281   echo "$as_me:$LINENO: \$? = $ac_status" >&5
36282   (exit $ac_status); } &&
36283          { ac_try='test -z "$ac_c_werror_flag"
36284                          || test ! -s conftest.err'
36285   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36286   (eval $ac_try) 2>&5
36287   ac_status=$?
36288   echo "$as_me:$LINENO: \$? = $ac_status" >&5
36289   (exit $ac_status); }; } &&
36290          { ac_try='test -s conftest$ac_exeext'
36291   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36292   (eval $ac_try) 2>&5
36293   ac_status=$?
36294   echo "$as_me:$LINENO: \$? = $ac_status" >&5
36295   (exit $ac_status); }; }; then
36296   eval "$as_ac_var=yes"
36297 else
36298   echo "$as_me: failed program was:" >&5
36299 sed 's/^/| /' conftest.$ac_ext >&5
36300
36301 eval "$as_ac_var=no"
36302 fi
36303 rm -f conftest.err conftest.$ac_objext \
36304       conftest$ac_exeext conftest.$ac_ext
36305 fi
36306 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
36307 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
36308 if test `eval echo '${'$as_ac_var'}'` = yes; then
36309   cat >>confdefs.h <<_ACEOF
36310 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
36311 _ACEOF
36312
36313 fi
36314 done
36315
36316     fi
36317   fi
36318
36319
36320
36321
36322
36323
36324
36325
36326
36327
36328
36329
36330
36331
36332     echo "$as_me:$LINENO: checking for float round functions" >&5
36333 echo $ECHO_N "checking for float round functions... $ECHO_C" >&6
36334   if test "${glibcxx_cv_func_float_round_use+set}" = set; then
36335   echo $ECHO_N "(cached) $ECHO_C" >&6
36336 else
36337
36338
36339
36340     ac_ext=cc
36341 ac_cpp='$CXXCPP $CPPFLAGS'
36342 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36343 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36344 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36345
36346     cat >conftest.$ac_ext <<_ACEOF
36347 /* confdefs.h.  */
36348 _ACEOF
36349 cat confdefs.h >>conftest.$ac_ext
36350 cat >>conftest.$ac_ext <<_ACEOF
36351 /* end confdefs.h.  */
36352 #include <math.h>
36353 int
36354 main ()
36355 {
36356 ceilf (0); floorf (0);
36357   ;
36358   return 0;
36359 }
36360 _ACEOF
36361 rm -f conftest.$ac_objext
36362 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
36363   (eval $ac_compile) 2>conftest.er1
36364   ac_status=$?
36365   grep -v '^ *+' conftest.er1 >conftest.err
36366   rm -f conftest.er1
36367   cat conftest.err >&5
36368   echo "$as_me:$LINENO: \$? = $ac_status" >&5
36369   (exit $ac_status); } &&
36370          { ac_try='test -z "$ac_cxx_werror_flag"
36371                          || test ! -s conftest.err'
36372   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36373   (eval $ac_try) 2>&5
36374   ac_status=$?
36375   echo "$as_me:$LINENO: \$? = $ac_status" >&5
36376   (exit $ac_status); }; } &&
36377          { ac_try='test -s conftest.$ac_objext'
36378   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36379   (eval $ac_try) 2>&5
36380   ac_status=$?
36381   echo "$as_me:$LINENO: \$? = $ac_status" >&5
36382   (exit $ac_status); }; }; then
36383   glibcxx_cv_func_float_round_use=yes
36384 else
36385   echo "$as_me: failed program was:" >&5
36386 sed 's/^/| /' conftest.$ac_ext >&5
36387
36388 glibcxx_cv_func_float_round_use=no
36389 fi
36390 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
36391     ac_ext=c
36392 ac_cpp='$CPP $CPPFLAGS'
36393 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36394 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36395 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36396
36397 fi
36398
36399   echo "$as_me:$LINENO: result: $glibcxx_cv_func_float_round_use" >&5
36400 echo "${ECHO_T}$glibcxx_cv_func_float_round_use" >&6
36401   if test x$glibcxx_cv_func_float_round_use = x"yes"; then
36402
36403
36404 for ac_func in ceilf floorf
36405 do
36406 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
36407 echo "$as_me:$LINENO: checking for $ac_func" >&5
36408 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
36409 if eval "test \"\${$as_ac_var+set}\" = set"; then
36410   echo $ECHO_N "(cached) $ECHO_C" >&6
36411 else
36412   if test x$gcc_no_link = xyes; then
36413   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
36414 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
36415    { (exit 1); exit 1; }; }
36416 fi
36417 cat >conftest.$ac_ext <<_ACEOF
36418 /* confdefs.h.  */
36419 _ACEOF
36420 cat confdefs.h >>conftest.$ac_ext
36421 cat >>conftest.$ac_ext <<_ACEOF
36422 /* end confdefs.h.  */
36423 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
36424    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
36425 #define $ac_func innocuous_$ac_func
36426
36427 /* System header to define __stub macros and hopefully few prototypes,
36428     which can conflict with char $ac_func (); below.
36429     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
36430     <limits.h> exists even on freestanding compilers.  */
36431
36432 #ifdef __STDC__
36433 # include <limits.h>
36434 #else
36435 # include <assert.h>
36436 #endif
36437
36438 #undef $ac_func
36439
36440 /* Override any gcc2 internal prototype to avoid an error.  */
36441 #ifdef __cplusplus
36442 extern "C"
36443 {
36444 #endif
36445 /* We use char because int might match the return type of a gcc2
36446    builtin and then its argument prototype would still apply.  */
36447 char $ac_func ();
36448 /* The GNU C library defines this for functions which it implements
36449     to always fail with ENOSYS.  Some functions are actually named
36450     something starting with __ and the normal name is an alias.  */
36451 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
36452 choke me
36453 #else
36454 char (*f) () = $ac_func;
36455 #endif
36456 #ifdef __cplusplus
36457 }
36458 #endif
36459
36460 int
36461 main ()
36462 {
36463 return f != $ac_func;
36464   ;
36465   return 0;
36466 }
36467 _ACEOF
36468 rm -f conftest.$ac_objext conftest$ac_exeext
36469 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
36470   (eval $ac_link) 2>conftest.er1
36471   ac_status=$?
36472   grep -v '^ *+' conftest.er1 >conftest.err
36473   rm -f conftest.er1
36474   cat conftest.err >&5
36475   echo "$as_me:$LINENO: \$? = $ac_status" >&5
36476   (exit $ac_status); } &&
36477          { ac_try='test -z "$ac_c_werror_flag"
36478                          || test ! -s conftest.err'
36479   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36480   (eval $ac_try) 2>&5
36481   ac_status=$?
36482   echo "$as_me:$LINENO: \$? = $ac_status" >&5
36483   (exit $ac_status); }; } &&
36484          { ac_try='test -s conftest$ac_exeext'
36485   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36486   (eval $ac_try) 2>&5
36487   ac_status=$?
36488   echo "$as_me:$LINENO: \$? = $ac_status" >&5
36489   (exit $ac_status); }; }; then
36490   eval "$as_ac_var=yes"
36491 else
36492   echo "$as_me: failed program was:" >&5
36493 sed 's/^/| /' conftest.$ac_ext >&5
36494
36495 eval "$as_ac_var=no"
36496 fi
36497 rm -f conftest.err conftest.$ac_objext \
36498       conftest$ac_exeext conftest.$ac_ext
36499 fi
36500 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
36501 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
36502 if test `eval echo '${'$as_ac_var'}'` = yes; then
36503   cat >>confdefs.h <<_ACEOF
36504 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
36505 _ACEOF
36506
36507 fi
36508 done
36509
36510   else
36511     echo "$as_me:$LINENO: checking for _float round functions" >&5
36512 echo $ECHO_N "checking for _float round functions... $ECHO_C" >&6
36513     if test "${glibcxx_cv_func__float_round_use+set}" = set; then
36514   echo $ECHO_N "(cached) $ECHO_C" >&6
36515 else
36516
36517
36518
36519       ac_ext=cc
36520 ac_cpp='$CXXCPP $CPPFLAGS'
36521 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36522 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36523 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36524
36525       cat >conftest.$ac_ext <<_ACEOF
36526 /* confdefs.h.  */
36527 _ACEOF
36528 cat confdefs.h >>conftest.$ac_ext
36529 cat >>conftest.$ac_ext <<_ACEOF
36530 /* end confdefs.h.  */
36531 #include <math.h>
36532 int
36533 main ()
36534 {
36535 _ceilf (0); _floorf (0);
36536   ;
36537   return 0;
36538 }
36539 _ACEOF
36540 rm -f conftest.$ac_objext
36541 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
36542   (eval $ac_compile) 2>conftest.er1
36543   ac_status=$?
36544   grep -v '^ *+' conftest.er1 >conftest.err
36545   rm -f conftest.er1
36546   cat conftest.err >&5
36547   echo "$as_me:$LINENO: \$? = $ac_status" >&5
36548   (exit $ac_status); } &&
36549          { ac_try='test -z "$ac_cxx_werror_flag"
36550                          || test ! -s conftest.err'
36551   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36552   (eval $ac_try) 2>&5
36553   ac_status=$?
36554   echo "$as_me:$LINENO: \$? = $ac_status" >&5
36555   (exit $ac_status); }; } &&
36556          { ac_try='test -s conftest.$ac_objext'
36557   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36558   (eval $ac_try) 2>&5
36559   ac_status=$?
36560   echo "$as_me:$LINENO: \$? = $ac_status" >&5
36561   (exit $ac_status); }; }; then
36562   glibcxx_cv_func__float_round_use=yes
36563 else
36564   echo "$as_me: failed program was:" >&5
36565 sed 's/^/| /' conftest.$ac_ext >&5
36566
36567 glibcxx_cv_func__float_round_use=no
36568 fi
36569 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
36570       ac_ext=c
36571 ac_cpp='$CPP $CPPFLAGS'
36572 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36573 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36574 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36575
36576 fi
36577
36578     echo "$as_me:$LINENO: result: $glibcxx_cv_func__float_round_use" >&5
36579 echo "${ECHO_T}$glibcxx_cv_func__float_round_use" >&6
36580     if test x$glibcxx_cv_func__float_round_use = x"yes"; then
36581
36582
36583 for ac_func in _ceilf _floorf
36584 do
36585 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
36586 echo "$as_me:$LINENO: checking for $ac_func" >&5
36587 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
36588 if eval "test \"\${$as_ac_var+set}\" = set"; then
36589   echo $ECHO_N "(cached) $ECHO_C" >&6
36590 else
36591   if test x$gcc_no_link = xyes; then
36592   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
36593 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
36594    { (exit 1); exit 1; }; }
36595 fi
36596 cat >conftest.$ac_ext <<_ACEOF
36597 /* confdefs.h.  */
36598 _ACEOF
36599 cat confdefs.h >>conftest.$ac_ext
36600 cat >>conftest.$ac_ext <<_ACEOF
36601 /* end confdefs.h.  */
36602 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
36603    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
36604 #define $ac_func innocuous_$ac_func
36605
36606 /* System header to define __stub macros and hopefully few prototypes,
36607     which can conflict with char $ac_func (); below.
36608     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
36609     <limits.h> exists even on freestanding compilers.  */
36610
36611 #ifdef __STDC__
36612 # include <limits.h>
36613 #else
36614 # include <assert.h>
36615 #endif
36616
36617 #undef $ac_func
36618
36619 /* Override any gcc2 internal prototype to avoid an error.  */
36620 #ifdef __cplusplus
36621 extern "C"
36622 {
36623 #endif
36624 /* We use char because int might match the return type of a gcc2
36625    builtin and then its argument prototype would still apply.  */
36626 char $ac_func ();
36627 /* The GNU C library defines this for functions which it implements
36628     to always fail with ENOSYS.  Some functions are actually named
36629     something starting with __ and the normal name is an alias.  */
36630 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
36631 choke me
36632 #else
36633 char (*f) () = $ac_func;
36634 #endif
36635 #ifdef __cplusplus
36636 }
36637 #endif
36638
36639 int
36640 main ()
36641 {
36642 return f != $ac_func;
36643   ;
36644   return 0;
36645 }
36646 _ACEOF
36647 rm -f conftest.$ac_objext conftest$ac_exeext
36648 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
36649   (eval $ac_link) 2>conftest.er1
36650   ac_status=$?
36651   grep -v '^ *+' conftest.er1 >conftest.err
36652   rm -f conftest.er1
36653   cat conftest.err >&5
36654   echo "$as_me:$LINENO: \$? = $ac_status" >&5
36655   (exit $ac_status); } &&
36656          { ac_try='test -z "$ac_c_werror_flag"
36657                          || test ! -s conftest.err'
36658   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36659   (eval $ac_try) 2>&5
36660   ac_status=$?
36661   echo "$as_me:$LINENO: \$? = $ac_status" >&5
36662   (exit $ac_status); }; } &&
36663          { ac_try='test -s conftest$ac_exeext'
36664   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36665   (eval $ac_try) 2>&5
36666   ac_status=$?
36667   echo "$as_me:$LINENO: \$? = $ac_status" >&5
36668   (exit $ac_status); }; }; then
36669   eval "$as_ac_var=yes"
36670 else
36671   echo "$as_me: failed program was:" >&5
36672 sed 's/^/| /' conftest.$ac_ext >&5
36673
36674 eval "$as_ac_var=no"
36675 fi
36676 rm -f conftest.err conftest.$ac_objext \
36677       conftest$ac_exeext conftest.$ac_ext
36678 fi
36679 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
36680 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
36681 if test `eval echo '${'$as_ac_var'}'` = yes; then
36682   cat >>confdefs.h <<_ACEOF
36683 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
36684 _ACEOF
36685
36686 fi
36687 done
36688
36689     fi
36690   fi
36691
36692
36693
36694
36695
36696
36697
36698
36699   echo "$as_me:$LINENO: checking for expf declaration" >&5
36700 echo $ECHO_N "checking for expf declaration... $ECHO_C" >&6
36701   if test x${glibcxx_cv_func_expf_use+set} != xset; then
36702     if test "${glibcxx_cv_func_expf_use+set}" = set; then
36703   echo $ECHO_N "(cached) $ECHO_C" >&6
36704 else
36705
36706
36707
36708       ac_ext=cc
36709 ac_cpp='$CXXCPP $CPPFLAGS'
36710 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36711 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36712 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36713
36714       cat >conftest.$ac_ext <<_ACEOF
36715 /* confdefs.h.  */
36716 _ACEOF
36717 cat confdefs.h >>conftest.$ac_ext
36718 cat >>conftest.$ac_ext <<_ACEOF
36719 /* end confdefs.h.  */
36720 #include <math.h>
36721                       #ifdef HAVE_IEEEFP_H
36722                       #include <ieeefp.h>
36723                       #endif
36724
36725 int
36726 main ()
36727 {
36728  expf(0);
36729   ;
36730   return 0;
36731 }
36732 _ACEOF
36733 rm -f conftest.$ac_objext
36734 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
36735   (eval $ac_compile) 2>conftest.er1
36736   ac_status=$?
36737   grep -v '^ *+' conftest.er1 >conftest.err
36738   rm -f conftest.er1
36739   cat conftest.err >&5
36740   echo "$as_me:$LINENO: \$? = $ac_status" >&5
36741   (exit $ac_status); } &&
36742          { ac_try='test -z "$ac_cxx_werror_flag"
36743                          || test ! -s conftest.err'
36744   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36745   (eval $ac_try) 2>&5
36746   ac_status=$?
36747   echo "$as_me:$LINENO: \$? = $ac_status" >&5
36748   (exit $ac_status); }; } &&
36749          { ac_try='test -s conftest.$ac_objext'
36750   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36751   (eval $ac_try) 2>&5
36752   ac_status=$?
36753   echo "$as_me:$LINENO: \$? = $ac_status" >&5
36754   (exit $ac_status); }; }; then
36755   glibcxx_cv_func_expf_use=yes
36756 else
36757   echo "$as_me: failed program was:" >&5
36758 sed 's/^/| /' conftest.$ac_ext >&5
36759
36760 glibcxx_cv_func_expf_use=no
36761 fi
36762 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
36763       ac_ext=c
36764 ac_cpp='$CPP $CPPFLAGS'
36765 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36766 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36767 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36768
36769
36770 fi
36771
36772   fi
36773   echo "$as_me:$LINENO: result: $glibcxx_cv_func_expf_use" >&5
36774 echo "${ECHO_T}$glibcxx_cv_func_expf_use" >&6
36775
36776   if test x$glibcxx_cv_func_expf_use = x"yes"; then
36777
36778 for ac_func in expf
36779 do
36780 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
36781 echo "$as_me:$LINENO: checking for $ac_func" >&5
36782 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
36783 if eval "test \"\${$as_ac_var+set}\" = set"; then
36784   echo $ECHO_N "(cached) $ECHO_C" >&6
36785 else
36786   if test x$gcc_no_link = xyes; then
36787   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
36788 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
36789    { (exit 1); exit 1; }; }
36790 fi
36791 cat >conftest.$ac_ext <<_ACEOF
36792 /* confdefs.h.  */
36793 _ACEOF
36794 cat confdefs.h >>conftest.$ac_ext
36795 cat >>conftest.$ac_ext <<_ACEOF
36796 /* end confdefs.h.  */
36797 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
36798    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
36799 #define $ac_func innocuous_$ac_func
36800
36801 /* System header to define __stub macros and hopefully few prototypes,
36802     which can conflict with char $ac_func (); below.
36803     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
36804     <limits.h> exists even on freestanding compilers.  */
36805
36806 #ifdef __STDC__
36807 # include <limits.h>
36808 #else
36809 # include <assert.h>
36810 #endif
36811
36812 #undef $ac_func
36813
36814 /* Override any gcc2 internal prototype to avoid an error.  */
36815 #ifdef __cplusplus
36816 extern "C"
36817 {
36818 #endif
36819 /* We use char because int might match the return type of a gcc2
36820    builtin and then its argument prototype would still apply.  */
36821 char $ac_func ();
36822 /* The GNU C library defines this for functions which it implements
36823     to always fail with ENOSYS.  Some functions are actually named
36824     something starting with __ and the normal name is an alias.  */
36825 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
36826 choke me
36827 #else
36828 char (*f) () = $ac_func;
36829 #endif
36830 #ifdef __cplusplus
36831 }
36832 #endif
36833
36834 int
36835 main ()
36836 {
36837 return f != $ac_func;
36838   ;
36839   return 0;
36840 }
36841 _ACEOF
36842 rm -f conftest.$ac_objext conftest$ac_exeext
36843 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
36844   (eval $ac_link) 2>conftest.er1
36845   ac_status=$?
36846   grep -v '^ *+' conftest.er1 >conftest.err
36847   rm -f conftest.er1
36848   cat conftest.err >&5
36849   echo "$as_me:$LINENO: \$? = $ac_status" >&5
36850   (exit $ac_status); } &&
36851          { ac_try='test -z "$ac_c_werror_flag"
36852                          || test ! -s conftest.err'
36853   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36854   (eval $ac_try) 2>&5
36855   ac_status=$?
36856   echo "$as_me:$LINENO: \$? = $ac_status" >&5
36857   (exit $ac_status); }; } &&
36858          { ac_try='test -s conftest$ac_exeext'
36859   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36860   (eval $ac_try) 2>&5
36861   ac_status=$?
36862   echo "$as_me:$LINENO: \$? = $ac_status" >&5
36863   (exit $ac_status); }; }; then
36864   eval "$as_ac_var=yes"
36865 else
36866   echo "$as_me: failed program was:" >&5
36867 sed 's/^/| /' conftest.$ac_ext >&5
36868
36869 eval "$as_ac_var=no"
36870 fi
36871 rm -f conftest.err conftest.$ac_objext \
36872       conftest$ac_exeext conftest.$ac_ext
36873 fi
36874 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
36875 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
36876 if test `eval echo '${'$as_ac_var'}'` = yes; then
36877   cat >>confdefs.h <<_ACEOF
36878 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
36879 _ACEOF
36880
36881 fi
36882 done
36883
36884   else
36885
36886   echo "$as_me:$LINENO: checking for _expf declaration" >&5
36887 echo $ECHO_N "checking for _expf declaration... $ECHO_C" >&6
36888   if test x${glibcxx_cv_func__expf_use+set} != xset; then
36889     if test "${glibcxx_cv_func__expf_use+set}" = set; then
36890   echo $ECHO_N "(cached) $ECHO_C" >&6
36891 else
36892
36893
36894
36895       ac_ext=cc
36896 ac_cpp='$CXXCPP $CPPFLAGS'
36897 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36898 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36899 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36900
36901       cat >conftest.$ac_ext <<_ACEOF
36902 /* confdefs.h.  */
36903 _ACEOF
36904 cat confdefs.h >>conftest.$ac_ext
36905 cat >>conftest.$ac_ext <<_ACEOF
36906 /* end confdefs.h.  */
36907 #include <math.h>
36908                       #ifdef HAVE_IEEEFP_H
36909                       #include <ieeefp.h>
36910                       #endif
36911
36912 int
36913 main ()
36914 {
36915  _expf(0);
36916   ;
36917   return 0;
36918 }
36919 _ACEOF
36920 rm -f conftest.$ac_objext
36921 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
36922   (eval $ac_compile) 2>conftest.er1
36923   ac_status=$?
36924   grep -v '^ *+' conftest.er1 >conftest.err
36925   rm -f conftest.er1
36926   cat conftest.err >&5
36927   echo "$as_me:$LINENO: \$? = $ac_status" >&5
36928   (exit $ac_status); } &&
36929          { ac_try='test -z "$ac_cxx_werror_flag"
36930                          || test ! -s conftest.err'
36931   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36932   (eval $ac_try) 2>&5
36933   ac_status=$?
36934   echo "$as_me:$LINENO: \$? = $ac_status" >&5
36935   (exit $ac_status); }; } &&
36936          { ac_try='test -s conftest.$ac_objext'
36937   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36938   (eval $ac_try) 2>&5
36939   ac_status=$?
36940   echo "$as_me:$LINENO: \$? = $ac_status" >&5
36941   (exit $ac_status); }; }; then
36942   glibcxx_cv_func__expf_use=yes
36943 else
36944   echo "$as_me: failed program was:" >&5
36945 sed 's/^/| /' conftest.$ac_ext >&5
36946
36947 glibcxx_cv_func__expf_use=no
36948 fi
36949 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
36950       ac_ext=c
36951 ac_cpp='$CPP $CPPFLAGS'
36952 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36953 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36954 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36955
36956
36957 fi
36958
36959   fi
36960   echo "$as_me:$LINENO: result: $glibcxx_cv_func__expf_use" >&5
36961 echo "${ECHO_T}$glibcxx_cv_func__expf_use" >&6
36962
36963     if test x$glibcxx_cv_func__expf_use = x"yes"; then
36964
36965 for ac_func in _expf
36966 do
36967 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
36968 echo "$as_me:$LINENO: checking for $ac_func" >&5
36969 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
36970 if eval "test \"\${$as_ac_var+set}\" = set"; then
36971   echo $ECHO_N "(cached) $ECHO_C" >&6
36972 else
36973   if test x$gcc_no_link = xyes; then
36974   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
36975 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
36976    { (exit 1); exit 1; }; }
36977 fi
36978 cat >conftest.$ac_ext <<_ACEOF
36979 /* confdefs.h.  */
36980 _ACEOF
36981 cat confdefs.h >>conftest.$ac_ext
36982 cat >>conftest.$ac_ext <<_ACEOF
36983 /* end confdefs.h.  */
36984 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
36985    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
36986 #define $ac_func innocuous_$ac_func
36987
36988 /* System header to define __stub macros and hopefully few prototypes,
36989     which can conflict with char $ac_func (); below.
36990     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
36991     <limits.h> exists even on freestanding compilers.  */
36992
36993 #ifdef __STDC__
36994 # include <limits.h>
36995 #else
36996 # include <assert.h>
36997 #endif
36998
36999 #undef $ac_func
37000
37001 /* Override any gcc2 internal prototype to avoid an error.  */
37002 #ifdef __cplusplus
37003 extern "C"
37004 {
37005 #endif
37006 /* We use char because int might match the return type of a gcc2
37007    builtin and then its argument prototype would still apply.  */
37008 char $ac_func ();
37009 /* The GNU C library defines this for functions which it implements
37010     to always fail with ENOSYS.  Some functions are actually named
37011     something starting with __ and the normal name is an alias.  */
37012 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
37013 choke me
37014 #else
37015 char (*f) () = $ac_func;
37016 #endif
37017 #ifdef __cplusplus
37018 }
37019 #endif
37020
37021 int
37022 main ()
37023 {
37024 return f != $ac_func;
37025   ;
37026   return 0;
37027 }
37028 _ACEOF
37029 rm -f conftest.$ac_objext conftest$ac_exeext
37030 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
37031   (eval $ac_link) 2>conftest.er1
37032   ac_status=$?
37033   grep -v '^ *+' conftest.er1 >conftest.err
37034   rm -f conftest.er1
37035   cat conftest.err >&5
37036   echo "$as_me:$LINENO: \$? = $ac_status" >&5
37037   (exit $ac_status); } &&
37038          { ac_try='test -z "$ac_c_werror_flag"
37039                          || test ! -s conftest.err'
37040   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37041   (eval $ac_try) 2>&5
37042   ac_status=$?
37043   echo "$as_me:$LINENO: \$? = $ac_status" >&5
37044   (exit $ac_status); }; } &&
37045          { ac_try='test -s conftest$ac_exeext'
37046   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37047   (eval $ac_try) 2>&5
37048   ac_status=$?
37049   echo "$as_me:$LINENO: \$? = $ac_status" >&5
37050   (exit $ac_status); }; }; then
37051   eval "$as_ac_var=yes"
37052 else
37053   echo "$as_me: failed program was:" >&5
37054 sed 's/^/| /' conftest.$ac_ext >&5
37055
37056 eval "$as_ac_var=no"
37057 fi
37058 rm -f conftest.err conftest.$ac_objext \
37059       conftest$ac_exeext conftest.$ac_ext
37060 fi
37061 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
37062 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
37063 if test `eval echo '${'$as_ac_var'}'` = yes; then
37064   cat >>confdefs.h <<_ACEOF
37065 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
37066 _ACEOF
37067
37068 fi
37069 done
37070
37071     fi
37072   fi
37073
37074
37075
37076
37077
37078
37079   echo "$as_me:$LINENO: checking for isnanf declaration" >&5
37080 echo $ECHO_N "checking for isnanf declaration... $ECHO_C" >&6
37081   if test x${glibcxx_cv_func_isnanf_use+set} != xset; then
37082     if test "${glibcxx_cv_func_isnanf_use+set}" = set; then
37083   echo $ECHO_N "(cached) $ECHO_C" >&6
37084 else
37085
37086
37087
37088       ac_ext=cc
37089 ac_cpp='$CXXCPP $CPPFLAGS'
37090 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37091 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37092 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37093
37094       cat >conftest.$ac_ext <<_ACEOF
37095 /* confdefs.h.  */
37096 _ACEOF
37097 cat confdefs.h >>conftest.$ac_ext
37098 cat >>conftest.$ac_ext <<_ACEOF
37099 /* end confdefs.h.  */
37100 #include <math.h>
37101                       #ifdef HAVE_IEEEFP_H
37102                       #include <ieeefp.h>
37103                       #endif
37104
37105 int
37106 main ()
37107 {
37108  isnanf(0);
37109   ;
37110   return 0;
37111 }
37112 _ACEOF
37113 rm -f conftest.$ac_objext
37114 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
37115   (eval $ac_compile) 2>conftest.er1
37116   ac_status=$?
37117   grep -v '^ *+' conftest.er1 >conftest.err
37118   rm -f conftest.er1
37119   cat conftest.err >&5
37120   echo "$as_me:$LINENO: \$? = $ac_status" >&5
37121   (exit $ac_status); } &&
37122          { ac_try='test -z "$ac_cxx_werror_flag"
37123                          || test ! -s conftest.err'
37124   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37125   (eval $ac_try) 2>&5
37126   ac_status=$?
37127   echo "$as_me:$LINENO: \$? = $ac_status" >&5
37128   (exit $ac_status); }; } &&
37129          { ac_try='test -s conftest.$ac_objext'
37130   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37131   (eval $ac_try) 2>&5
37132   ac_status=$?
37133   echo "$as_me:$LINENO: \$? = $ac_status" >&5
37134   (exit $ac_status); }; }; then
37135   glibcxx_cv_func_isnanf_use=yes
37136 else
37137   echo "$as_me: failed program was:" >&5
37138 sed 's/^/| /' conftest.$ac_ext >&5
37139
37140 glibcxx_cv_func_isnanf_use=no
37141 fi
37142 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
37143       ac_ext=c
37144 ac_cpp='$CPP $CPPFLAGS'
37145 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37146 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37147 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37148
37149
37150 fi
37151
37152   fi
37153   echo "$as_me:$LINENO: result: $glibcxx_cv_func_isnanf_use" >&5
37154 echo "${ECHO_T}$glibcxx_cv_func_isnanf_use" >&6
37155
37156   if test x$glibcxx_cv_func_isnanf_use = x"yes"; then
37157
37158 for ac_func in isnanf
37159 do
37160 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
37161 echo "$as_me:$LINENO: checking for $ac_func" >&5
37162 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
37163 if eval "test \"\${$as_ac_var+set}\" = set"; then
37164   echo $ECHO_N "(cached) $ECHO_C" >&6
37165 else
37166   if test x$gcc_no_link = xyes; then
37167   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
37168 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
37169    { (exit 1); exit 1; }; }
37170 fi
37171 cat >conftest.$ac_ext <<_ACEOF
37172 /* confdefs.h.  */
37173 _ACEOF
37174 cat confdefs.h >>conftest.$ac_ext
37175 cat >>conftest.$ac_ext <<_ACEOF
37176 /* end confdefs.h.  */
37177 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
37178    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
37179 #define $ac_func innocuous_$ac_func
37180
37181 /* System header to define __stub macros and hopefully few prototypes,
37182     which can conflict with char $ac_func (); below.
37183     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
37184     <limits.h> exists even on freestanding compilers.  */
37185
37186 #ifdef __STDC__
37187 # include <limits.h>
37188 #else
37189 # include <assert.h>
37190 #endif
37191
37192 #undef $ac_func
37193
37194 /* Override any gcc2 internal prototype to avoid an error.  */
37195 #ifdef __cplusplus
37196 extern "C"
37197 {
37198 #endif
37199 /* We use char because int might match the return type of a gcc2
37200    builtin and then its argument prototype would still apply.  */
37201 char $ac_func ();
37202 /* The GNU C library defines this for functions which it implements
37203     to always fail with ENOSYS.  Some functions are actually named
37204     something starting with __ and the normal name is an alias.  */
37205 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
37206 choke me
37207 #else
37208 char (*f) () = $ac_func;
37209 #endif
37210 #ifdef __cplusplus
37211 }
37212 #endif
37213
37214 int
37215 main ()
37216 {
37217 return f != $ac_func;
37218   ;
37219   return 0;
37220 }
37221 _ACEOF
37222 rm -f conftest.$ac_objext conftest$ac_exeext
37223 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
37224   (eval $ac_link) 2>conftest.er1
37225   ac_status=$?
37226   grep -v '^ *+' conftest.er1 >conftest.err
37227   rm -f conftest.er1
37228   cat conftest.err >&5
37229   echo "$as_me:$LINENO: \$? = $ac_status" >&5
37230   (exit $ac_status); } &&
37231          { ac_try='test -z "$ac_c_werror_flag"
37232                          || test ! -s conftest.err'
37233   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37234   (eval $ac_try) 2>&5
37235   ac_status=$?
37236   echo "$as_me:$LINENO: \$? = $ac_status" >&5
37237   (exit $ac_status); }; } &&
37238          { ac_try='test -s conftest$ac_exeext'
37239   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37240   (eval $ac_try) 2>&5
37241   ac_status=$?
37242   echo "$as_me:$LINENO: \$? = $ac_status" >&5
37243   (exit $ac_status); }; }; then
37244   eval "$as_ac_var=yes"
37245 else
37246   echo "$as_me: failed program was:" >&5
37247 sed 's/^/| /' conftest.$ac_ext >&5
37248
37249 eval "$as_ac_var=no"
37250 fi
37251 rm -f conftest.err conftest.$ac_objext \
37252       conftest$ac_exeext conftest.$ac_ext
37253 fi
37254 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
37255 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
37256 if test `eval echo '${'$as_ac_var'}'` = yes; then
37257   cat >>confdefs.h <<_ACEOF
37258 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
37259 _ACEOF
37260
37261 fi
37262 done
37263
37264   else
37265
37266   echo "$as_me:$LINENO: checking for _isnanf declaration" >&5
37267 echo $ECHO_N "checking for _isnanf declaration... $ECHO_C" >&6
37268   if test x${glibcxx_cv_func__isnanf_use+set} != xset; then
37269     if test "${glibcxx_cv_func__isnanf_use+set}" = set; then
37270   echo $ECHO_N "(cached) $ECHO_C" >&6
37271 else
37272
37273
37274
37275       ac_ext=cc
37276 ac_cpp='$CXXCPP $CPPFLAGS'
37277 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37278 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37279 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37280
37281       cat >conftest.$ac_ext <<_ACEOF
37282 /* confdefs.h.  */
37283 _ACEOF
37284 cat confdefs.h >>conftest.$ac_ext
37285 cat >>conftest.$ac_ext <<_ACEOF
37286 /* end confdefs.h.  */
37287 #include <math.h>
37288                       #ifdef HAVE_IEEEFP_H
37289                       #include <ieeefp.h>
37290                       #endif
37291
37292 int
37293 main ()
37294 {
37295  _isnanf(0);
37296   ;
37297   return 0;
37298 }
37299 _ACEOF
37300 rm -f conftest.$ac_objext
37301 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
37302   (eval $ac_compile) 2>conftest.er1
37303   ac_status=$?
37304   grep -v '^ *+' conftest.er1 >conftest.err
37305   rm -f conftest.er1
37306   cat conftest.err >&5
37307   echo "$as_me:$LINENO: \$? = $ac_status" >&5
37308   (exit $ac_status); } &&
37309          { ac_try='test -z "$ac_cxx_werror_flag"
37310                          || test ! -s conftest.err'
37311   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37312   (eval $ac_try) 2>&5
37313   ac_status=$?
37314   echo "$as_me:$LINENO: \$? = $ac_status" >&5
37315   (exit $ac_status); }; } &&
37316          { ac_try='test -s conftest.$ac_objext'
37317   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37318   (eval $ac_try) 2>&5
37319   ac_status=$?
37320   echo "$as_me:$LINENO: \$? = $ac_status" >&5
37321   (exit $ac_status); }; }; then
37322   glibcxx_cv_func__isnanf_use=yes
37323 else
37324   echo "$as_me: failed program was:" >&5
37325 sed 's/^/| /' conftest.$ac_ext >&5
37326
37327 glibcxx_cv_func__isnanf_use=no
37328 fi
37329 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
37330       ac_ext=c
37331 ac_cpp='$CPP $CPPFLAGS'
37332 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37333 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37334 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37335
37336
37337 fi
37338
37339   fi
37340   echo "$as_me:$LINENO: result: $glibcxx_cv_func__isnanf_use" >&5
37341 echo "${ECHO_T}$glibcxx_cv_func__isnanf_use" >&6
37342
37343     if test x$glibcxx_cv_func__isnanf_use = x"yes"; then
37344
37345 for ac_func in _isnanf
37346 do
37347 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
37348 echo "$as_me:$LINENO: checking for $ac_func" >&5
37349 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
37350 if eval "test \"\${$as_ac_var+set}\" = set"; then
37351   echo $ECHO_N "(cached) $ECHO_C" >&6
37352 else
37353   if test x$gcc_no_link = xyes; then
37354   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
37355 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
37356    { (exit 1); exit 1; }; }
37357 fi
37358 cat >conftest.$ac_ext <<_ACEOF
37359 /* confdefs.h.  */
37360 _ACEOF
37361 cat confdefs.h >>conftest.$ac_ext
37362 cat >>conftest.$ac_ext <<_ACEOF
37363 /* end confdefs.h.  */
37364 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
37365    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
37366 #define $ac_func innocuous_$ac_func
37367
37368 /* System header to define __stub macros and hopefully few prototypes,
37369     which can conflict with char $ac_func (); below.
37370     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
37371     <limits.h> exists even on freestanding compilers.  */
37372
37373 #ifdef __STDC__
37374 # include <limits.h>
37375 #else
37376 # include <assert.h>
37377 #endif
37378
37379 #undef $ac_func
37380
37381 /* Override any gcc2 internal prototype to avoid an error.  */
37382 #ifdef __cplusplus
37383 extern "C"
37384 {
37385 #endif
37386 /* We use char because int might match the return type of a gcc2
37387    builtin and then its argument prototype would still apply.  */
37388 char $ac_func ();
37389 /* The GNU C library defines this for functions which it implements
37390     to always fail with ENOSYS.  Some functions are actually named
37391     something starting with __ and the normal name is an alias.  */
37392 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
37393 choke me
37394 #else
37395 char (*f) () = $ac_func;
37396 #endif
37397 #ifdef __cplusplus
37398 }
37399 #endif
37400
37401 int
37402 main ()
37403 {
37404 return f != $ac_func;
37405   ;
37406   return 0;
37407 }
37408 _ACEOF
37409 rm -f conftest.$ac_objext conftest$ac_exeext
37410 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
37411   (eval $ac_link) 2>conftest.er1
37412   ac_status=$?
37413   grep -v '^ *+' conftest.er1 >conftest.err
37414   rm -f conftest.er1
37415   cat conftest.err >&5
37416   echo "$as_me:$LINENO: \$? = $ac_status" >&5
37417   (exit $ac_status); } &&
37418          { ac_try='test -z "$ac_c_werror_flag"
37419                          || test ! -s conftest.err'
37420   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37421   (eval $ac_try) 2>&5
37422   ac_status=$?
37423   echo "$as_me:$LINENO: \$? = $ac_status" >&5
37424   (exit $ac_status); }; } &&
37425          { ac_try='test -s conftest$ac_exeext'
37426   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37427   (eval $ac_try) 2>&5
37428   ac_status=$?
37429   echo "$as_me:$LINENO: \$? = $ac_status" >&5
37430   (exit $ac_status); }; }; then
37431   eval "$as_ac_var=yes"
37432 else
37433   echo "$as_me: failed program was:" >&5
37434 sed 's/^/| /' conftest.$ac_ext >&5
37435
37436 eval "$as_ac_var=no"
37437 fi
37438 rm -f conftest.err conftest.$ac_objext \
37439       conftest$ac_exeext conftest.$ac_ext
37440 fi
37441 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
37442 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
37443 if test `eval echo '${'$as_ac_var'}'` = yes; then
37444   cat >>confdefs.h <<_ACEOF
37445 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
37446 _ACEOF
37447
37448 fi
37449 done
37450
37451     fi
37452   fi
37453
37454
37455
37456
37457
37458
37459   echo "$as_me:$LINENO: checking for isinff declaration" >&5
37460 echo $ECHO_N "checking for isinff declaration... $ECHO_C" >&6
37461   if test x${glibcxx_cv_func_isinff_use+set} != xset; then
37462     if test "${glibcxx_cv_func_isinff_use+set}" = set; then
37463   echo $ECHO_N "(cached) $ECHO_C" >&6
37464 else
37465
37466
37467
37468       ac_ext=cc
37469 ac_cpp='$CXXCPP $CPPFLAGS'
37470 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37471 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37472 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37473
37474       cat >conftest.$ac_ext <<_ACEOF
37475 /* confdefs.h.  */
37476 _ACEOF
37477 cat confdefs.h >>conftest.$ac_ext
37478 cat >>conftest.$ac_ext <<_ACEOF
37479 /* end confdefs.h.  */
37480 #include <math.h>
37481                       #ifdef HAVE_IEEEFP_H
37482                       #include <ieeefp.h>
37483                       #endif
37484
37485 int
37486 main ()
37487 {
37488  isinff(0);
37489   ;
37490   return 0;
37491 }
37492 _ACEOF
37493 rm -f conftest.$ac_objext
37494 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
37495   (eval $ac_compile) 2>conftest.er1
37496   ac_status=$?
37497   grep -v '^ *+' conftest.er1 >conftest.err
37498   rm -f conftest.er1
37499   cat conftest.err >&5
37500   echo "$as_me:$LINENO: \$? = $ac_status" >&5
37501   (exit $ac_status); } &&
37502          { ac_try='test -z "$ac_cxx_werror_flag"
37503                          || test ! -s conftest.err'
37504   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37505   (eval $ac_try) 2>&5
37506   ac_status=$?
37507   echo "$as_me:$LINENO: \$? = $ac_status" >&5
37508   (exit $ac_status); }; } &&
37509          { ac_try='test -s conftest.$ac_objext'
37510   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37511   (eval $ac_try) 2>&5
37512   ac_status=$?
37513   echo "$as_me:$LINENO: \$? = $ac_status" >&5
37514   (exit $ac_status); }; }; then
37515   glibcxx_cv_func_isinff_use=yes
37516 else
37517   echo "$as_me: failed program was:" >&5
37518 sed 's/^/| /' conftest.$ac_ext >&5
37519
37520 glibcxx_cv_func_isinff_use=no
37521 fi
37522 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
37523       ac_ext=c
37524 ac_cpp='$CPP $CPPFLAGS'
37525 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37526 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37527 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37528
37529
37530 fi
37531
37532   fi
37533   echo "$as_me:$LINENO: result: $glibcxx_cv_func_isinff_use" >&5
37534 echo "${ECHO_T}$glibcxx_cv_func_isinff_use" >&6
37535
37536   if test x$glibcxx_cv_func_isinff_use = x"yes"; then
37537
37538 for ac_func in isinff
37539 do
37540 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
37541 echo "$as_me:$LINENO: checking for $ac_func" >&5
37542 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
37543 if eval "test \"\${$as_ac_var+set}\" = set"; then
37544   echo $ECHO_N "(cached) $ECHO_C" >&6
37545 else
37546   if test x$gcc_no_link = xyes; then
37547   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
37548 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
37549    { (exit 1); exit 1; }; }
37550 fi
37551 cat >conftest.$ac_ext <<_ACEOF
37552 /* confdefs.h.  */
37553 _ACEOF
37554 cat confdefs.h >>conftest.$ac_ext
37555 cat >>conftest.$ac_ext <<_ACEOF
37556 /* end confdefs.h.  */
37557 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
37558    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
37559 #define $ac_func innocuous_$ac_func
37560
37561 /* System header to define __stub macros and hopefully few prototypes,
37562     which can conflict with char $ac_func (); below.
37563     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
37564     <limits.h> exists even on freestanding compilers.  */
37565
37566 #ifdef __STDC__
37567 # include <limits.h>
37568 #else
37569 # include <assert.h>
37570 #endif
37571
37572 #undef $ac_func
37573
37574 /* Override any gcc2 internal prototype to avoid an error.  */
37575 #ifdef __cplusplus
37576 extern "C"
37577 {
37578 #endif
37579 /* We use char because int might match the return type of a gcc2
37580    builtin and then its argument prototype would still apply.  */
37581 char $ac_func ();
37582 /* The GNU C library defines this for functions which it implements
37583     to always fail with ENOSYS.  Some functions are actually named
37584     something starting with __ and the normal name is an alias.  */
37585 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
37586 choke me
37587 #else
37588 char (*f) () = $ac_func;
37589 #endif
37590 #ifdef __cplusplus
37591 }
37592 #endif
37593
37594 int
37595 main ()
37596 {
37597 return f != $ac_func;
37598   ;
37599   return 0;
37600 }
37601 _ACEOF
37602 rm -f conftest.$ac_objext conftest$ac_exeext
37603 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
37604   (eval $ac_link) 2>conftest.er1
37605   ac_status=$?
37606   grep -v '^ *+' conftest.er1 >conftest.err
37607   rm -f conftest.er1
37608   cat conftest.err >&5
37609   echo "$as_me:$LINENO: \$? = $ac_status" >&5
37610   (exit $ac_status); } &&
37611          { ac_try='test -z "$ac_c_werror_flag"
37612                          || test ! -s conftest.err'
37613   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37614   (eval $ac_try) 2>&5
37615   ac_status=$?
37616   echo "$as_me:$LINENO: \$? = $ac_status" >&5
37617   (exit $ac_status); }; } &&
37618          { ac_try='test -s conftest$ac_exeext'
37619   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37620   (eval $ac_try) 2>&5
37621   ac_status=$?
37622   echo "$as_me:$LINENO: \$? = $ac_status" >&5
37623   (exit $ac_status); }; }; then
37624   eval "$as_ac_var=yes"
37625 else
37626   echo "$as_me: failed program was:" >&5
37627 sed 's/^/| /' conftest.$ac_ext >&5
37628
37629 eval "$as_ac_var=no"
37630 fi
37631 rm -f conftest.err conftest.$ac_objext \
37632       conftest$ac_exeext conftest.$ac_ext
37633 fi
37634 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
37635 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
37636 if test `eval echo '${'$as_ac_var'}'` = yes; then
37637   cat >>confdefs.h <<_ACEOF
37638 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
37639 _ACEOF
37640
37641 fi
37642 done
37643
37644   else
37645
37646   echo "$as_me:$LINENO: checking for _isinff declaration" >&5
37647 echo $ECHO_N "checking for _isinff declaration... $ECHO_C" >&6
37648   if test x${glibcxx_cv_func__isinff_use+set} != xset; then
37649     if test "${glibcxx_cv_func__isinff_use+set}" = set; then
37650   echo $ECHO_N "(cached) $ECHO_C" >&6
37651 else
37652
37653
37654
37655       ac_ext=cc
37656 ac_cpp='$CXXCPP $CPPFLAGS'
37657 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37658 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37659 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37660
37661       cat >conftest.$ac_ext <<_ACEOF
37662 /* confdefs.h.  */
37663 _ACEOF
37664 cat confdefs.h >>conftest.$ac_ext
37665 cat >>conftest.$ac_ext <<_ACEOF
37666 /* end confdefs.h.  */
37667 #include <math.h>
37668                       #ifdef HAVE_IEEEFP_H
37669                       #include <ieeefp.h>
37670                       #endif
37671
37672 int
37673 main ()
37674 {
37675  _isinff(0);
37676   ;
37677   return 0;
37678 }
37679 _ACEOF
37680 rm -f conftest.$ac_objext
37681 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
37682   (eval $ac_compile) 2>conftest.er1
37683   ac_status=$?
37684   grep -v '^ *+' conftest.er1 >conftest.err
37685   rm -f conftest.er1
37686   cat conftest.err >&5
37687   echo "$as_me:$LINENO: \$? = $ac_status" >&5
37688   (exit $ac_status); } &&
37689          { ac_try='test -z "$ac_cxx_werror_flag"
37690                          || test ! -s conftest.err'
37691   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37692   (eval $ac_try) 2>&5
37693   ac_status=$?
37694   echo "$as_me:$LINENO: \$? = $ac_status" >&5
37695   (exit $ac_status); }; } &&
37696          { ac_try='test -s conftest.$ac_objext'
37697   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37698   (eval $ac_try) 2>&5
37699   ac_status=$?
37700   echo "$as_me:$LINENO: \$? = $ac_status" >&5
37701   (exit $ac_status); }; }; then
37702   glibcxx_cv_func__isinff_use=yes
37703 else
37704   echo "$as_me: failed program was:" >&5
37705 sed 's/^/| /' conftest.$ac_ext >&5
37706
37707 glibcxx_cv_func__isinff_use=no
37708 fi
37709 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
37710       ac_ext=c
37711 ac_cpp='$CPP $CPPFLAGS'
37712 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37713 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37714 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37715
37716
37717 fi
37718
37719   fi
37720   echo "$as_me:$LINENO: result: $glibcxx_cv_func__isinff_use" >&5
37721 echo "${ECHO_T}$glibcxx_cv_func__isinff_use" >&6
37722
37723     if test x$glibcxx_cv_func__isinff_use = x"yes"; then
37724
37725 for ac_func in _isinff
37726 do
37727 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
37728 echo "$as_me:$LINENO: checking for $ac_func" >&5
37729 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
37730 if eval "test \"\${$as_ac_var+set}\" = set"; then
37731   echo $ECHO_N "(cached) $ECHO_C" >&6
37732 else
37733   if test x$gcc_no_link = xyes; then
37734   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
37735 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
37736    { (exit 1); exit 1; }; }
37737 fi
37738 cat >conftest.$ac_ext <<_ACEOF
37739 /* confdefs.h.  */
37740 _ACEOF
37741 cat confdefs.h >>conftest.$ac_ext
37742 cat >>conftest.$ac_ext <<_ACEOF
37743 /* end confdefs.h.  */
37744 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
37745    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
37746 #define $ac_func innocuous_$ac_func
37747
37748 /* System header to define __stub macros and hopefully few prototypes,
37749     which can conflict with char $ac_func (); below.
37750     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
37751     <limits.h> exists even on freestanding compilers.  */
37752
37753 #ifdef __STDC__
37754 # include <limits.h>
37755 #else
37756 # include <assert.h>
37757 #endif
37758
37759 #undef $ac_func
37760
37761 /* Override any gcc2 internal prototype to avoid an error.  */
37762 #ifdef __cplusplus
37763 extern "C"
37764 {
37765 #endif
37766 /* We use char because int might match the return type of a gcc2
37767    builtin and then its argument prototype would still apply.  */
37768 char $ac_func ();
37769 /* The GNU C library defines this for functions which it implements
37770     to always fail with ENOSYS.  Some functions are actually named
37771     something starting with __ and the normal name is an alias.  */
37772 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
37773 choke me
37774 #else
37775 char (*f) () = $ac_func;
37776 #endif
37777 #ifdef __cplusplus
37778 }
37779 #endif
37780
37781 int
37782 main ()
37783 {
37784 return f != $ac_func;
37785   ;
37786   return 0;
37787 }
37788 _ACEOF
37789 rm -f conftest.$ac_objext conftest$ac_exeext
37790 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
37791   (eval $ac_link) 2>conftest.er1
37792   ac_status=$?
37793   grep -v '^ *+' conftest.er1 >conftest.err
37794   rm -f conftest.er1
37795   cat conftest.err >&5
37796   echo "$as_me:$LINENO: \$? = $ac_status" >&5
37797   (exit $ac_status); } &&
37798          { ac_try='test -z "$ac_c_werror_flag"
37799                          || test ! -s conftest.err'
37800   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37801   (eval $ac_try) 2>&5
37802   ac_status=$?
37803   echo "$as_me:$LINENO: \$? = $ac_status" >&5
37804   (exit $ac_status); }; } &&
37805          { ac_try='test -s conftest$ac_exeext'
37806   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37807   (eval $ac_try) 2>&5
37808   ac_status=$?
37809   echo "$as_me:$LINENO: \$? = $ac_status" >&5
37810   (exit $ac_status); }; }; then
37811   eval "$as_ac_var=yes"
37812 else
37813   echo "$as_me: failed program was:" >&5
37814 sed 's/^/| /' conftest.$ac_ext >&5
37815
37816 eval "$as_ac_var=no"
37817 fi
37818 rm -f conftest.err conftest.$ac_objext \
37819       conftest$ac_exeext conftest.$ac_ext
37820 fi
37821 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
37822 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
37823 if test `eval echo '${'$as_ac_var'}'` = yes; then
37824   cat >>confdefs.h <<_ACEOF
37825 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
37826 _ACEOF
37827
37828 fi
37829 done
37830
37831     fi
37832   fi
37833
37834
37835
37836
37837
37838
37839   echo "$as_me:$LINENO: checking for atan2f declaration" >&5
37840 echo $ECHO_N "checking for atan2f declaration... $ECHO_C" >&6
37841   if test x${glibcxx_cv_func_atan2f_use+set} != xset; then
37842     if test "${glibcxx_cv_func_atan2f_use+set}" = set; then
37843   echo $ECHO_N "(cached) $ECHO_C" >&6
37844 else
37845
37846
37847
37848       ac_ext=cc
37849 ac_cpp='$CXXCPP $CPPFLAGS'
37850 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37851 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37852 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37853
37854       cat >conftest.$ac_ext <<_ACEOF
37855 /* confdefs.h.  */
37856 _ACEOF
37857 cat confdefs.h >>conftest.$ac_ext
37858 cat >>conftest.$ac_ext <<_ACEOF
37859 /* end confdefs.h.  */
37860 #include <math.h>
37861 int
37862 main ()
37863 {
37864  atan2f(0, 0);
37865   ;
37866   return 0;
37867 }
37868 _ACEOF
37869 rm -f conftest.$ac_objext
37870 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
37871   (eval $ac_compile) 2>conftest.er1
37872   ac_status=$?
37873   grep -v '^ *+' conftest.er1 >conftest.err
37874   rm -f conftest.er1
37875   cat conftest.err >&5
37876   echo "$as_me:$LINENO: \$? = $ac_status" >&5
37877   (exit $ac_status); } &&
37878          { ac_try='test -z "$ac_cxx_werror_flag"
37879                          || test ! -s conftest.err'
37880   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37881   (eval $ac_try) 2>&5
37882   ac_status=$?
37883   echo "$as_me:$LINENO: \$? = $ac_status" >&5
37884   (exit $ac_status); }; } &&
37885          { ac_try='test -s conftest.$ac_objext'
37886   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37887   (eval $ac_try) 2>&5
37888   ac_status=$?
37889   echo "$as_me:$LINENO: \$? = $ac_status" >&5
37890   (exit $ac_status); }; }; then
37891   glibcxx_cv_func_atan2f_use=yes
37892 else
37893   echo "$as_me: failed program was:" >&5
37894 sed 's/^/| /' conftest.$ac_ext >&5
37895
37896 glibcxx_cv_func_atan2f_use=no
37897 fi
37898 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
37899       ac_ext=c
37900 ac_cpp='$CPP $CPPFLAGS'
37901 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37902 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37903 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37904
37905
37906 fi
37907
37908   fi
37909   echo "$as_me:$LINENO: result: $glibcxx_cv_func_atan2f_use" >&5
37910 echo "${ECHO_T}$glibcxx_cv_func_atan2f_use" >&6
37911
37912   if test x$glibcxx_cv_func_atan2f_use = x"yes"; then
37913
37914 for ac_func in atan2f
37915 do
37916 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
37917 echo "$as_me:$LINENO: checking for $ac_func" >&5
37918 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
37919 if eval "test \"\${$as_ac_var+set}\" = set"; then
37920   echo $ECHO_N "(cached) $ECHO_C" >&6
37921 else
37922   if test x$gcc_no_link = xyes; then
37923   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
37924 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
37925    { (exit 1); exit 1; }; }
37926 fi
37927 cat >conftest.$ac_ext <<_ACEOF
37928 /* confdefs.h.  */
37929 _ACEOF
37930 cat confdefs.h >>conftest.$ac_ext
37931 cat >>conftest.$ac_ext <<_ACEOF
37932 /* end confdefs.h.  */
37933 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
37934    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
37935 #define $ac_func innocuous_$ac_func
37936
37937 /* System header to define __stub macros and hopefully few prototypes,
37938     which can conflict with char $ac_func (); below.
37939     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
37940     <limits.h> exists even on freestanding compilers.  */
37941
37942 #ifdef __STDC__
37943 # include <limits.h>
37944 #else
37945 # include <assert.h>
37946 #endif
37947
37948 #undef $ac_func
37949
37950 /* Override any gcc2 internal prototype to avoid an error.  */
37951 #ifdef __cplusplus
37952 extern "C"
37953 {
37954 #endif
37955 /* We use char because int might match the return type of a gcc2
37956    builtin and then its argument prototype would still apply.  */
37957 char $ac_func ();
37958 /* The GNU C library defines this for functions which it implements
37959     to always fail with ENOSYS.  Some functions are actually named
37960     something starting with __ and the normal name is an alias.  */
37961 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
37962 choke me
37963 #else
37964 char (*f) () = $ac_func;
37965 #endif
37966 #ifdef __cplusplus
37967 }
37968 #endif
37969
37970 int
37971 main ()
37972 {
37973 return f != $ac_func;
37974   ;
37975   return 0;
37976 }
37977 _ACEOF
37978 rm -f conftest.$ac_objext conftest$ac_exeext
37979 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
37980   (eval $ac_link) 2>conftest.er1
37981   ac_status=$?
37982   grep -v '^ *+' conftest.er1 >conftest.err
37983   rm -f conftest.er1
37984   cat conftest.err >&5
37985   echo "$as_me:$LINENO: \$? = $ac_status" >&5
37986   (exit $ac_status); } &&
37987          { ac_try='test -z "$ac_c_werror_flag"
37988                          || test ! -s conftest.err'
37989   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37990   (eval $ac_try) 2>&5
37991   ac_status=$?
37992   echo "$as_me:$LINENO: \$? = $ac_status" >&5
37993   (exit $ac_status); }; } &&
37994          { ac_try='test -s conftest$ac_exeext'
37995   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37996   (eval $ac_try) 2>&5
37997   ac_status=$?
37998   echo "$as_me:$LINENO: \$? = $ac_status" >&5
37999   (exit $ac_status); }; }; then
38000   eval "$as_ac_var=yes"
38001 else
38002   echo "$as_me: failed program was:" >&5
38003 sed 's/^/| /' conftest.$ac_ext >&5
38004
38005 eval "$as_ac_var=no"
38006 fi
38007 rm -f conftest.err conftest.$ac_objext \
38008       conftest$ac_exeext conftest.$ac_ext
38009 fi
38010 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
38011 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
38012 if test `eval echo '${'$as_ac_var'}'` = yes; then
38013   cat >>confdefs.h <<_ACEOF
38014 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
38015 _ACEOF
38016
38017 fi
38018 done
38019
38020   else
38021
38022   echo "$as_me:$LINENO: checking for _atan2f declaration" >&5
38023 echo $ECHO_N "checking for _atan2f declaration... $ECHO_C" >&6
38024   if test x${glibcxx_cv_func__atan2f_use+set} != xset; then
38025     if test "${glibcxx_cv_func__atan2f_use+set}" = set; then
38026   echo $ECHO_N "(cached) $ECHO_C" >&6
38027 else
38028
38029
38030
38031       ac_ext=cc
38032 ac_cpp='$CXXCPP $CPPFLAGS'
38033 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38034 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38035 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38036
38037       cat >conftest.$ac_ext <<_ACEOF
38038 /* confdefs.h.  */
38039 _ACEOF
38040 cat confdefs.h >>conftest.$ac_ext
38041 cat >>conftest.$ac_ext <<_ACEOF
38042 /* end confdefs.h.  */
38043 #include <math.h>
38044 int
38045 main ()
38046 {
38047  _atan2f(0, 0);
38048   ;
38049   return 0;
38050 }
38051 _ACEOF
38052 rm -f conftest.$ac_objext
38053 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
38054   (eval $ac_compile) 2>conftest.er1
38055   ac_status=$?
38056   grep -v '^ *+' conftest.er1 >conftest.err
38057   rm -f conftest.er1
38058   cat conftest.err >&5
38059   echo "$as_me:$LINENO: \$? = $ac_status" >&5
38060   (exit $ac_status); } &&
38061          { ac_try='test -z "$ac_cxx_werror_flag"
38062                          || test ! -s conftest.err'
38063   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38064   (eval $ac_try) 2>&5
38065   ac_status=$?
38066   echo "$as_me:$LINENO: \$? = $ac_status" >&5
38067   (exit $ac_status); }; } &&
38068          { ac_try='test -s conftest.$ac_objext'
38069   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38070   (eval $ac_try) 2>&5
38071   ac_status=$?
38072   echo "$as_me:$LINENO: \$? = $ac_status" >&5
38073   (exit $ac_status); }; }; then
38074   glibcxx_cv_func__atan2f_use=yes
38075 else
38076   echo "$as_me: failed program was:" >&5
38077 sed 's/^/| /' conftest.$ac_ext >&5
38078
38079 glibcxx_cv_func__atan2f_use=no
38080 fi
38081 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
38082       ac_ext=c
38083 ac_cpp='$CPP $CPPFLAGS'
38084 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38085 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38086 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38087
38088
38089 fi
38090
38091   fi
38092   echo "$as_me:$LINENO: result: $glibcxx_cv_func__atan2f_use" >&5
38093 echo "${ECHO_T}$glibcxx_cv_func__atan2f_use" >&6
38094
38095     if test x$glibcxx_cv_func__atan2f_use = x"yes"; then
38096
38097 for ac_func in _atan2f
38098 do
38099 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
38100 echo "$as_me:$LINENO: checking for $ac_func" >&5
38101 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
38102 if eval "test \"\${$as_ac_var+set}\" = set"; then
38103   echo $ECHO_N "(cached) $ECHO_C" >&6
38104 else
38105   if test x$gcc_no_link = xyes; then
38106   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
38107 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
38108    { (exit 1); exit 1; }; }
38109 fi
38110 cat >conftest.$ac_ext <<_ACEOF
38111 /* confdefs.h.  */
38112 _ACEOF
38113 cat confdefs.h >>conftest.$ac_ext
38114 cat >>conftest.$ac_ext <<_ACEOF
38115 /* end confdefs.h.  */
38116 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
38117    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
38118 #define $ac_func innocuous_$ac_func
38119
38120 /* System header to define __stub macros and hopefully few prototypes,
38121     which can conflict with char $ac_func (); below.
38122     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
38123     <limits.h> exists even on freestanding compilers.  */
38124
38125 #ifdef __STDC__
38126 # include <limits.h>
38127 #else
38128 # include <assert.h>
38129 #endif
38130
38131 #undef $ac_func
38132
38133 /* Override any gcc2 internal prototype to avoid an error.  */
38134 #ifdef __cplusplus
38135 extern "C"
38136 {
38137 #endif
38138 /* We use char because int might match the return type of a gcc2
38139    builtin and then its argument prototype would still apply.  */
38140 char $ac_func ();
38141 /* The GNU C library defines this for functions which it implements
38142     to always fail with ENOSYS.  Some functions are actually named
38143     something starting with __ and the normal name is an alias.  */
38144 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
38145 choke me
38146 #else
38147 char (*f) () = $ac_func;
38148 #endif
38149 #ifdef __cplusplus
38150 }
38151 #endif
38152
38153 int
38154 main ()
38155 {
38156 return f != $ac_func;
38157   ;
38158   return 0;
38159 }
38160 _ACEOF
38161 rm -f conftest.$ac_objext conftest$ac_exeext
38162 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
38163   (eval $ac_link) 2>conftest.er1
38164   ac_status=$?
38165   grep -v '^ *+' conftest.er1 >conftest.err
38166   rm -f conftest.er1
38167   cat conftest.err >&5
38168   echo "$as_me:$LINENO: \$? = $ac_status" >&5
38169   (exit $ac_status); } &&
38170          { ac_try='test -z "$ac_c_werror_flag"
38171                          || test ! -s conftest.err'
38172   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38173   (eval $ac_try) 2>&5
38174   ac_status=$?
38175   echo "$as_me:$LINENO: \$? = $ac_status" >&5
38176   (exit $ac_status); }; } &&
38177          { ac_try='test -s conftest$ac_exeext'
38178   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38179   (eval $ac_try) 2>&5
38180   ac_status=$?
38181   echo "$as_me:$LINENO: \$? = $ac_status" >&5
38182   (exit $ac_status); }; }; then
38183   eval "$as_ac_var=yes"
38184 else
38185   echo "$as_me: failed program was:" >&5
38186 sed 's/^/| /' conftest.$ac_ext >&5
38187
38188 eval "$as_ac_var=no"
38189 fi
38190 rm -f conftest.err conftest.$ac_objext \
38191       conftest$ac_exeext conftest.$ac_ext
38192 fi
38193 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
38194 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
38195 if test `eval echo '${'$as_ac_var'}'` = yes; then
38196   cat >>confdefs.h <<_ACEOF
38197 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
38198 _ACEOF
38199
38200 fi
38201 done
38202
38203     fi
38204   fi
38205
38206
38207
38208
38209
38210
38211   echo "$as_me:$LINENO: checking for fabsf declaration" >&5
38212 echo $ECHO_N "checking for fabsf declaration... $ECHO_C" >&6
38213   if test x${glibcxx_cv_func_fabsf_use+set} != xset; then
38214     if test "${glibcxx_cv_func_fabsf_use+set}" = set; then
38215   echo $ECHO_N "(cached) $ECHO_C" >&6
38216 else
38217
38218
38219
38220       ac_ext=cc
38221 ac_cpp='$CXXCPP $CPPFLAGS'
38222 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38223 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38224 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38225
38226       cat >conftest.$ac_ext <<_ACEOF
38227 /* confdefs.h.  */
38228 _ACEOF
38229 cat confdefs.h >>conftest.$ac_ext
38230 cat >>conftest.$ac_ext <<_ACEOF
38231 /* end confdefs.h.  */
38232 #include <math.h>
38233                       #ifdef HAVE_IEEEFP_H
38234                       #include <ieeefp.h>
38235                       #endif
38236
38237 int
38238 main ()
38239 {
38240  fabsf(0);
38241   ;
38242   return 0;
38243 }
38244 _ACEOF
38245 rm -f conftest.$ac_objext
38246 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
38247   (eval $ac_compile) 2>conftest.er1
38248   ac_status=$?
38249   grep -v '^ *+' conftest.er1 >conftest.err
38250   rm -f conftest.er1
38251   cat conftest.err >&5
38252   echo "$as_me:$LINENO: \$? = $ac_status" >&5
38253   (exit $ac_status); } &&
38254          { ac_try='test -z "$ac_cxx_werror_flag"
38255                          || test ! -s conftest.err'
38256   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38257   (eval $ac_try) 2>&5
38258   ac_status=$?
38259   echo "$as_me:$LINENO: \$? = $ac_status" >&5
38260   (exit $ac_status); }; } &&
38261          { ac_try='test -s conftest.$ac_objext'
38262   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38263   (eval $ac_try) 2>&5
38264   ac_status=$?
38265   echo "$as_me:$LINENO: \$? = $ac_status" >&5
38266   (exit $ac_status); }; }; then
38267   glibcxx_cv_func_fabsf_use=yes
38268 else
38269   echo "$as_me: failed program was:" >&5
38270 sed 's/^/| /' conftest.$ac_ext >&5
38271
38272 glibcxx_cv_func_fabsf_use=no
38273 fi
38274 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
38275       ac_ext=c
38276 ac_cpp='$CPP $CPPFLAGS'
38277 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38278 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38279 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38280
38281
38282 fi
38283
38284   fi
38285   echo "$as_me:$LINENO: result: $glibcxx_cv_func_fabsf_use" >&5
38286 echo "${ECHO_T}$glibcxx_cv_func_fabsf_use" >&6
38287
38288   if test x$glibcxx_cv_func_fabsf_use = x"yes"; then
38289
38290 for ac_func in fabsf
38291 do
38292 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
38293 echo "$as_me:$LINENO: checking for $ac_func" >&5
38294 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
38295 if eval "test \"\${$as_ac_var+set}\" = set"; then
38296   echo $ECHO_N "(cached) $ECHO_C" >&6
38297 else
38298   if test x$gcc_no_link = xyes; then
38299   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
38300 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
38301    { (exit 1); exit 1; }; }
38302 fi
38303 cat >conftest.$ac_ext <<_ACEOF
38304 /* confdefs.h.  */
38305 _ACEOF
38306 cat confdefs.h >>conftest.$ac_ext
38307 cat >>conftest.$ac_ext <<_ACEOF
38308 /* end confdefs.h.  */
38309 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
38310    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
38311 #define $ac_func innocuous_$ac_func
38312
38313 /* System header to define __stub macros and hopefully few prototypes,
38314     which can conflict with char $ac_func (); below.
38315     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
38316     <limits.h> exists even on freestanding compilers.  */
38317
38318 #ifdef __STDC__
38319 # include <limits.h>
38320 #else
38321 # include <assert.h>
38322 #endif
38323
38324 #undef $ac_func
38325
38326 /* Override any gcc2 internal prototype to avoid an error.  */
38327 #ifdef __cplusplus
38328 extern "C"
38329 {
38330 #endif
38331 /* We use char because int might match the return type of a gcc2
38332    builtin and then its argument prototype would still apply.  */
38333 char $ac_func ();
38334 /* The GNU C library defines this for functions which it implements
38335     to always fail with ENOSYS.  Some functions are actually named
38336     something starting with __ and the normal name is an alias.  */
38337 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
38338 choke me
38339 #else
38340 char (*f) () = $ac_func;
38341 #endif
38342 #ifdef __cplusplus
38343 }
38344 #endif
38345
38346 int
38347 main ()
38348 {
38349 return f != $ac_func;
38350   ;
38351   return 0;
38352 }
38353 _ACEOF
38354 rm -f conftest.$ac_objext conftest$ac_exeext
38355 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
38356   (eval $ac_link) 2>conftest.er1
38357   ac_status=$?
38358   grep -v '^ *+' conftest.er1 >conftest.err
38359   rm -f conftest.er1
38360   cat conftest.err >&5
38361   echo "$as_me:$LINENO: \$? = $ac_status" >&5
38362   (exit $ac_status); } &&
38363          { ac_try='test -z "$ac_c_werror_flag"
38364                          || test ! -s conftest.err'
38365   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38366   (eval $ac_try) 2>&5
38367   ac_status=$?
38368   echo "$as_me:$LINENO: \$? = $ac_status" >&5
38369   (exit $ac_status); }; } &&
38370          { ac_try='test -s conftest$ac_exeext'
38371   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38372   (eval $ac_try) 2>&5
38373   ac_status=$?
38374   echo "$as_me:$LINENO: \$? = $ac_status" >&5
38375   (exit $ac_status); }; }; then
38376   eval "$as_ac_var=yes"
38377 else
38378   echo "$as_me: failed program was:" >&5
38379 sed 's/^/| /' conftest.$ac_ext >&5
38380
38381 eval "$as_ac_var=no"
38382 fi
38383 rm -f conftest.err conftest.$ac_objext \
38384       conftest$ac_exeext conftest.$ac_ext
38385 fi
38386 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
38387 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
38388 if test `eval echo '${'$as_ac_var'}'` = yes; then
38389   cat >>confdefs.h <<_ACEOF
38390 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
38391 _ACEOF
38392
38393 fi
38394 done
38395
38396   else
38397
38398   echo "$as_me:$LINENO: checking for _fabsf declaration" >&5
38399 echo $ECHO_N "checking for _fabsf declaration... $ECHO_C" >&6
38400   if test x${glibcxx_cv_func__fabsf_use+set} != xset; then
38401     if test "${glibcxx_cv_func__fabsf_use+set}" = set; then
38402   echo $ECHO_N "(cached) $ECHO_C" >&6
38403 else
38404
38405
38406
38407       ac_ext=cc
38408 ac_cpp='$CXXCPP $CPPFLAGS'
38409 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38410 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38411 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38412
38413       cat >conftest.$ac_ext <<_ACEOF
38414 /* confdefs.h.  */
38415 _ACEOF
38416 cat confdefs.h >>conftest.$ac_ext
38417 cat >>conftest.$ac_ext <<_ACEOF
38418 /* end confdefs.h.  */
38419 #include <math.h>
38420                       #ifdef HAVE_IEEEFP_H
38421                       #include <ieeefp.h>
38422                       #endif
38423
38424 int
38425 main ()
38426 {
38427  _fabsf(0);
38428   ;
38429   return 0;
38430 }
38431 _ACEOF
38432 rm -f conftest.$ac_objext
38433 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
38434   (eval $ac_compile) 2>conftest.er1
38435   ac_status=$?
38436   grep -v '^ *+' conftest.er1 >conftest.err
38437   rm -f conftest.er1
38438   cat conftest.err >&5
38439   echo "$as_me:$LINENO: \$? = $ac_status" >&5
38440   (exit $ac_status); } &&
38441          { ac_try='test -z "$ac_cxx_werror_flag"
38442                          || test ! -s conftest.err'
38443   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38444   (eval $ac_try) 2>&5
38445   ac_status=$?
38446   echo "$as_me:$LINENO: \$? = $ac_status" >&5
38447   (exit $ac_status); }; } &&
38448          { ac_try='test -s conftest.$ac_objext'
38449   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38450   (eval $ac_try) 2>&5
38451   ac_status=$?
38452   echo "$as_me:$LINENO: \$? = $ac_status" >&5
38453   (exit $ac_status); }; }; then
38454   glibcxx_cv_func__fabsf_use=yes
38455 else
38456   echo "$as_me: failed program was:" >&5
38457 sed 's/^/| /' conftest.$ac_ext >&5
38458
38459 glibcxx_cv_func__fabsf_use=no
38460 fi
38461 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
38462       ac_ext=c
38463 ac_cpp='$CPP $CPPFLAGS'
38464 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38465 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38466 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38467
38468
38469 fi
38470
38471   fi
38472   echo "$as_me:$LINENO: result: $glibcxx_cv_func__fabsf_use" >&5
38473 echo "${ECHO_T}$glibcxx_cv_func__fabsf_use" >&6
38474
38475     if test x$glibcxx_cv_func__fabsf_use = x"yes"; then
38476
38477 for ac_func in _fabsf
38478 do
38479 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
38480 echo "$as_me:$LINENO: checking for $ac_func" >&5
38481 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
38482 if eval "test \"\${$as_ac_var+set}\" = set"; then
38483   echo $ECHO_N "(cached) $ECHO_C" >&6
38484 else
38485   if test x$gcc_no_link = xyes; then
38486   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
38487 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
38488    { (exit 1); exit 1; }; }
38489 fi
38490 cat >conftest.$ac_ext <<_ACEOF
38491 /* confdefs.h.  */
38492 _ACEOF
38493 cat confdefs.h >>conftest.$ac_ext
38494 cat >>conftest.$ac_ext <<_ACEOF
38495 /* end confdefs.h.  */
38496 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
38497    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
38498 #define $ac_func innocuous_$ac_func
38499
38500 /* System header to define __stub macros and hopefully few prototypes,
38501     which can conflict with char $ac_func (); below.
38502     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
38503     <limits.h> exists even on freestanding compilers.  */
38504
38505 #ifdef __STDC__
38506 # include <limits.h>
38507 #else
38508 # include <assert.h>
38509 #endif
38510
38511 #undef $ac_func
38512
38513 /* Override any gcc2 internal prototype to avoid an error.  */
38514 #ifdef __cplusplus
38515 extern "C"
38516 {
38517 #endif
38518 /* We use char because int might match the return type of a gcc2
38519    builtin and then its argument prototype would still apply.  */
38520 char $ac_func ();
38521 /* The GNU C library defines this for functions which it implements
38522     to always fail with ENOSYS.  Some functions are actually named
38523     something starting with __ and the normal name is an alias.  */
38524 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
38525 choke me
38526 #else
38527 char (*f) () = $ac_func;
38528 #endif
38529 #ifdef __cplusplus
38530 }
38531 #endif
38532
38533 int
38534 main ()
38535 {
38536 return f != $ac_func;
38537   ;
38538   return 0;
38539 }
38540 _ACEOF
38541 rm -f conftest.$ac_objext conftest$ac_exeext
38542 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
38543   (eval $ac_link) 2>conftest.er1
38544   ac_status=$?
38545   grep -v '^ *+' conftest.er1 >conftest.err
38546   rm -f conftest.er1
38547   cat conftest.err >&5
38548   echo "$as_me:$LINENO: \$? = $ac_status" >&5
38549   (exit $ac_status); } &&
38550          { ac_try='test -z "$ac_c_werror_flag"
38551                          || test ! -s conftest.err'
38552   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38553   (eval $ac_try) 2>&5
38554   ac_status=$?
38555   echo "$as_me:$LINENO: \$? = $ac_status" >&5
38556   (exit $ac_status); }; } &&
38557          { ac_try='test -s conftest$ac_exeext'
38558   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38559   (eval $ac_try) 2>&5
38560   ac_status=$?
38561   echo "$as_me:$LINENO: \$? = $ac_status" >&5
38562   (exit $ac_status); }; }; then
38563   eval "$as_ac_var=yes"
38564 else
38565   echo "$as_me: failed program was:" >&5
38566 sed 's/^/| /' conftest.$ac_ext >&5
38567
38568 eval "$as_ac_var=no"
38569 fi
38570 rm -f conftest.err conftest.$ac_objext \
38571       conftest$ac_exeext conftest.$ac_ext
38572 fi
38573 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
38574 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
38575 if test `eval echo '${'$as_ac_var'}'` = yes; then
38576   cat >>confdefs.h <<_ACEOF
38577 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
38578 _ACEOF
38579
38580 fi
38581 done
38582
38583     fi
38584   fi
38585
38586
38587
38588
38589
38590
38591   echo "$as_me:$LINENO: checking for fmodf declaration" >&5
38592 echo $ECHO_N "checking for fmodf declaration... $ECHO_C" >&6
38593   if test x${glibcxx_cv_func_fmodf_use+set} != xset; then
38594     if test "${glibcxx_cv_func_fmodf_use+set}" = set; then
38595   echo $ECHO_N "(cached) $ECHO_C" >&6
38596 else
38597
38598
38599
38600       ac_ext=cc
38601 ac_cpp='$CXXCPP $CPPFLAGS'
38602 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38603 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38604 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38605
38606       cat >conftest.$ac_ext <<_ACEOF
38607 /* confdefs.h.  */
38608 _ACEOF
38609 cat confdefs.h >>conftest.$ac_ext
38610 cat >>conftest.$ac_ext <<_ACEOF
38611 /* end confdefs.h.  */
38612 #include <math.h>
38613 int
38614 main ()
38615 {
38616  fmodf(0, 0);
38617   ;
38618   return 0;
38619 }
38620 _ACEOF
38621 rm -f conftest.$ac_objext
38622 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
38623   (eval $ac_compile) 2>conftest.er1
38624   ac_status=$?
38625   grep -v '^ *+' conftest.er1 >conftest.err
38626   rm -f conftest.er1
38627   cat conftest.err >&5
38628   echo "$as_me:$LINENO: \$? = $ac_status" >&5
38629   (exit $ac_status); } &&
38630          { ac_try='test -z "$ac_cxx_werror_flag"
38631                          || test ! -s conftest.err'
38632   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38633   (eval $ac_try) 2>&5
38634   ac_status=$?
38635   echo "$as_me:$LINENO: \$? = $ac_status" >&5
38636   (exit $ac_status); }; } &&
38637          { ac_try='test -s conftest.$ac_objext'
38638   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38639   (eval $ac_try) 2>&5
38640   ac_status=$?
38641   echo "$as_me:$LINENO: \$? = $ac_status" >&5
38642   (exit $ac_status); }; }; then
38643   glibcxx_cv_func_fmodf_use=yes
38644 else
38645   echo "$as_me: failed program was:" >&5
38646 sed 's/^/| /' conftest.$ac_ext >&5
38647
38648 glibcxx_cv_func_fmodf_use=no
38649 fi
38650 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
38651       ac_ext=c
38652 ac_cpp='$CPP $CPPFLAGS'
38653 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38654 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38655 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38656
38657
38658 fi
38659
38660   fi
38661   echo "$as_me:$LINENO: result: $glibcxx_cv_func_fmodf_use" >&5
38662 echo "${ECHO_T}$glibcxx_cv_func_fmodf_use" >&6
38663
38664   if test x$glibcxx_cv_func_fmodf_use = x"yes"; then
38665
38666 for ac_func in fmodf
38667 do
38668 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
38669 echo "$as_me:$LINENO: checking for $ac_func" >&5
38670 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
38671 if eval "test \"\${$as_ac_var+set}\" = set"; then
38672   echo $ECHO_N "(cached) $ECHO_C" >&6
38673 else
38674   if test x$gcc_no_link = xyes; then
38675   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
38676 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
38677    { (exit 1); exit 1; }; }
38678 fi
38679 cat >conftest.$ac_ext <<_ACEOF
38680 /* confdefs.h.  */
38681 _ACEOF
38682 cat confdefs.h >>conftest.$ac_ext
38683 cat >>conftest.$ac_ext <<_ACEOF
38684 /* end confdefs.h.  */
38685 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
38686    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
38687 #define $ac_func innocuous_$ac_func
38688
38689 /* System header to define __stub macros and hopefully few prototypes,
38690     which can conflict with char $ac_func (); below.
38691     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
38692     <limits.h> exists even on freestanding compilers.  */
38693
38694 #ifdef __STDC__
38695 # include <limits.h>
38696 #else
38697 # include <assert.h>
38698 #endif
38699
38700 #undef $ac_func
38701
38702 /* Override any gcc2 internal prototype to avoid an error.  */
38703 #ifdef __cplusplus
38704 extern "C"
38705 {
38706 #endif
38707 /* We use char because int might match the return type of a gcc2
38708    builtin and then its argument prototype would still apply.  */
38709 char $ac_func ();
38710 /* The GNU C library defines this for functions which it implements
38711     to always fail with ENOSYS.  Some functions are actually named
38712     something starting with __ and the normal name is an alias.  */
38713 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
38714 choke me
38715 #else
38716 char (*f) () = $ac_func;
38717 #endif
38718 #ifdef __cplusplus
38719 }
38720 #endif
38721
38722 int
38723 main ()
38724 {
38725 return f != $ac_func;
38726   ;
38727   return 0;
38728 }
38729 _ACEOF
38730 rm -f conftest.$ac_objext conftest$ac_exeext
38731 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
38732   (eval $ac_link) 2>conftest.er1
38733   ac_status=$?
38734   grep -v '^ *+' conftest.er1 >conftest.err
38735   rm -f conftest.er1
38736   cat conftest.err >&5
38737   echo "$as_me:$LINENO: \$? = $ac_status" >&5
38738   (exit $ac_status); } &&
38739          { ac_try='test -z "$ac_c_werror_flag"
38740                          || test ! -s conftest.err'
38741   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38742   (eval $ac_try) 2>&5
38743   ac_status=$?
38744   echo "$as_me:$LINENO: \$? = $ac_status" >&5
38745   (exit $ac_status); }; } &&
38746          { ac_try='test -s conftest$ac_exeext'
38747   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38748   (eval $ac_try) 2>&5
38749   ac_status=$?
38750   echo "$as_me:$LINENO: \$? = $ac_status" >&5
38751   (exit $ac_status); }; }; then
38752   eval "$as_ac_var=yes"
38753 else
38754   echo "$as_me: failed program was:" >&5
38755 sed 's/^/| /' conftest.$ac_ext >&5
38756
38757 eval "$as_ac_var=no"
38758 fi
38759 rm -f conftest.err conftest.$ac_objext \
38760       conftest$ac_exeext conftest.$ac_ext
38761 fi
38762 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
38763 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
38764 if test `eval echo '${'$as_ac_var'}'` = yes; then
38765   cat >>confdefs.h <<_ACEOF
38766 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
38767 _ACEOF
38768
38769 fi
38770 done
38771
38772   else
38773
38774   echo "$as_me:$LINENO: checking for _fmodf declaration" >&5
38775 echo $ECHO_N "checking for _fmodf declaration... $ECHO_C" >&6
38776   if test x${glibcxx_cv_func__fmodf_use+set} != xset; then
38777     if test "${glibcxx_cv_func__fmodf_use+set}" = set; then
38778   echo $ECHO_N "(cached) $ECHO_C" >&6
38779 else
38780
38781
38782
38783       ac_ext=cc
38784 ac_cpp='$CXXCPP $CPPFLAGS'
38785 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38786 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38787 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38788
38789       cat >conftest.$ac_ext <<_ACEOF
38790 /* confdefs.h.  */
38791 _ACEOF
38792 cat confdefs.h >>conftest.$ac_ext
38793 cat >>conftest.$ac_ext <<_ACEOF
38794 /* end confdefs.h.  */
38795 #include <math.h>
38796 int
38797 main ()
38798 {
38799  _fmodf(0, 0);
38800   ;
38801   return 0;
38802 }
38803 _ACEOF
38804 rm -f conftest.$ac_objext
38805 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
38806   (eval $ac_compile) 2>conftest.er1
38807   ac_status=$?
38808   grep -v '^ *+' conftest.er1 >conftest.err
38809   rm -f conftest.er1
38810   cat conftest.err >&5
38811   echo "$as_me:$LINENO: \$? = $ac_status" >&5
38812   (exit $ac_status); } &&
38813          { ac_try='test -z "$ac_cxx_werror_flag"
38814                          || test ! -s conftest.err'
38815   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38816   (eval $ac_try) 2>&5
38817   ac_status=$?
38818   echo "$as_me:$LINENO: \$? = $ac_status" >&5
38819   (exit $ac_status); }; } &&
38820          { ac_try='test -s conftest.$ac_objext'
38821   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38822   (eval $ac_try) 2>&5
38823   ac_status=$?
38824   echo "$as_me:$LINENO: \$? = $ac_status" >&5
38825   (exit $ac_status); }; }; then
38826   glibcxx_cv_func__fmodf_use=yes
38827 else
38828   echo "$as_me: failed program was:" >&5
38829 sed 's/^/| /' conftest.$ac_ext >&5
38830
38831 glibcxx_cv_func__fmodf_use=no
38832 fi
38833 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
38834       ac_ext=c
38835 ac_cpp='$CPP $CPPFLAGS'
38836 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38837 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38838 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38839
38840
38841 fi
38842
38843   fi
38844   echo "$as_me:$LINENO: result: $glibcxx_cv_func__fmodf_use" >&5
38845 echo "${ECHO_T}$glibcxx_cv_func__fmodf_use" >&6
38846
38847     if test x$glibcxx_cv_func__fmodf_use = x"yes"; then
38848
38849 for ac_func in _fmodf
38850 do
38851 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
38852 echo "$as_me:$LINENO: checking for $ac_func" >&5
38853 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
38854 if eval "test \"\${$as_ac_var+set}\" = set"; then
38855   echo $ECHO_N "(cached) $ECHO_C" >&6
38856 else
38857   if test x$gcc_no_link = xyes; then
38858   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
38859 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
38860    { (exit 1); exit 1; }; }
38861 fi
38862 cat >conftest.$ac_ext <<_ACEOF
38863 /* confdefs.h.  */
38864 _ACEOF
38865 cat confdefs.h >>conftest.$ac_ext
38866 cat >>conftest.$ac_ext <<_ACEOF
38867 /* end confdefs.h.  */
38868 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
38869    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
38870 #define $ac_func innocuous_$ac_func
38871
38872 /* System header to define __stub macros and hopefully few prototypes,
38873     which can conflict with char $ac_func (); below.
38874     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
38875     <limits.h> exists even on freestanding compilers.  */
38876
38877 #ifdef __STDC__
38878 # include <limits.h>
38879 #else
38880 # include <assert.h>
38881 #endif
38882
38883 #undef $ac_func
38884
38885 /* Override any gcc2 internal prototype to avoid an error.  */
38886 #ifdef __cplusplus
38887 extern "C"
38888 {
38889 #endif
38890 /* We use char because int might match the return type of a gcc2
38891    builtin and then its argument prototype would still apply.  */
38892 char $ac_func ();
38893 /* The GNU C library defines this for functions which it implements
38894     to always fail with ENOSYS.  Some functions are actually named
38895     something starting with __ and the normal name is an alias.  */
38896 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
38897 choke me
38898 #else
38899 char (*f) () = $ac_func;
38900 #endif
38901 #ifdef __cplusplus
38902 }
38903 #endif
38904
38905 int
38906 main ()
38907 {
38908 return f != $ac_func;
38909   ;
38910   return 0;
38911 }
38912 _ACEOF
38913 rm -f conftest.$ac_objext conftest$ac_exeext
38914 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
38915   (eval $ac_link) 2>conftest.er1
38916   ac_status=$?
38917   grep -v '^ *+' conftest.er1 >conftest.err
38918   rm -f conftest.er1
38919   cat conftest.err >&5
38920   echo "$as_me:$LINENO: \$? = $ac_status" >&5
38921   (exit $ac_status); } &&
38922          { ac_try='test -z "$ac_c_werror_flag"
38923                          || test ! -s conftest.err'
38924   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38925   (eval $ac_try) 2>&5
38926   ac_status=$?
38927   echo "$as_me:$LINENO: \$? = $ac_status" >&5
38928   (exit $ac_status); }; } &&
38929          { ac_try='test -s conftest$ac_exeext'
38930   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38931   (eval $ac_try) 2>&5
38932   ac_status=$?
38933   echo "$as_me:$LINENO: \$? = $ac_status" >&5
38934   (exit $ac_status); }; }; then
38935   eval "$as_ac_var=yes"
38936 else
38937   echo "$as_me: failed program was:" >&5
38938 sed 's/^/| /' conftest.$ac_ext >&5
38939
38940 eval "$as_ac_var=no"
38941 fi
38942 rm -f conftest.err conftest.$ac_objext \
38943       conftest$ac_exeext conftest.$ac_ext
38944 fi
38945 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
38946 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
38947 if test `eval echo '${'$as_ac_var'}'` = yes; then
38948   cat >>confdefs.h <<_ACEOF
38949 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
38950 _ACEOF
38951
38952 fi
38953 done
38954
38955     fi
38956   fi
38957
38958
38959
38960
38961
38962
38963   echo "$as_me:$LINENO: checking for frexpf declaration" >&5
38964 echo $ECHO_N "checking for frexpf declaration... $ECHO_C" >&6
38965   if test x${glibcxx_cv_func_frexpf_use+set} != xset; then
38966     if test "${glibcxx_cv_func_frexpf_use+set}" = set; then
38967   echo $ECHO_N "(cached) $ECHO_C" >&6
38968 else
38969
38970
38971
38972       ac_ext=cc
38973 ac_cpp='$CXXCPP $CPPFLAGS'
38974 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38975 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38976 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38977
38978       cat >conftest.$ac_ext <<_ACEOF
38979 /* confdefs.h.  */
38980 _ACEOF
38981 cat confdefs.h >>conftest.$ac_ext
38982 cat >>conftest.$ac_ext <<_ACEOF
38983 /* end confdefs.h.  */
38984 #include <math.h>
38985 int
38986 main ()
38987 {
38988  frexpf(0, 0);
38989   ;
38990   return 0;
38991 }
38992 _ACEOF
38993 rm -f conftest.$ac_objext
38994 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
38995   (eval $ac_compile) 2>conftest.er1
38996   ac_status=$?
38997   grep -v '^ *+' conftest.er1 >conftest.err
38998   rm -f conftest.er1
38999   cat conftest.err >&5
39000   echo "$as_me:$LINENO: \$? = $ac_status" >&5
39001   (exit $ac_status); } &&
39002          { ac_try='test -z "$ac_cxx_werror_flag"
39003                          || test ! -s conftest.err'
39004   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39005   (eval $ac_try) 2>&5
39006   ac_status=$?
39007   echo "$as_me:$LINENO: \$? = $ac_status" >&5
39008   (exit $ac_status); }; } &&
39009          { ac_try='test -s conftest.$ac_objext'
39010   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39011   (eval $ac_try) 2>&5
39012   ac_status=$?
39013   echo "$as_me:$LINENO: \$? = $ac_status" >&5
39014   (exit $ac_status); }; }; then
39015   glibcxx_cv_func_frexpf_use=yes
39016 else
39017   echo "$as_me: failed program was:" >&5
39018 sed 's/^/| /' conftest.$ac_ext >&5
39019
39020 glibcxx_cv_func_frexpf_use=no
39021 fi
39022 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
39023       ac_ext=c
39024 ac_cpp='$CPP $CPPFLAGS'
39025 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39026 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39027 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39028
39029
39030 fi
39031
39032   fi
39033   echo "$as_me:$LINENO: result: $glibcxx_cv_func_frexpf_use" >&5
39034 echo "${ECHO_T}$glibcxx_cv_func_frexpf_use" >&6
39035
39036   if test x$glibcxx_cv_func_frexpf_use = x"yes"; then
39037
39038 for ac_func in frexpf
39039 do
39040 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
39041 echo "$as_me:$LINENO: checking for $ac_func" >&5
39042 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
39043 if eval "test \"\${$as_ac_var+set}\" = set"; then
39044   echo $ECHO_N "(cached) $ECHO_C" >&6
39045 else
39046   if test x$gcc_no_link = xyes; then
39047   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
39048 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
39049    { (exit 1); exit 1; }; }
39050 fi
39051 cat >conftest.$ac_ext <<_ACEOF
39052 /* confdefs.h.  */
39053 _ACEOF
39054 cat confdefs.h >>conftest.$ac_ext
39055 cat >>conftest.$ac_ext <<_ACEOF
39056 /* end confdefs.h.  */
39057 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
39058    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
39059 #define $ac_func innocuous_$ac_func
39060
39061 /* System header to define __stub macros and hopefully few prototypes,
39062     which can conflict with char $ac_func (); below.
39063     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
39064     <limits.h> exists even on freestanding compilers.  */
39065
39066 #ifdef __STDC__
39067 # include <limits.h>
39068 #else
39069 # include <assert.h>
39070 #endif
39071
39072 #undef $ac_func
39073
39074 /* Override any gcc2 internal prototype to avoid an error.  */
39075 #ifdef __cplusplus
39076 extern "C"
39077 {
39078 #endif
39079 /* We use char because int might match the return type of a gcc2
39080    builtin and then its argument prototype would still apply.  */
39081 char $ac_func ();
39082 /* The GNU C library defines this for functions which it implements
39083     to always fail with ENOSYS.  Some functions are actually named
39084     something starting with __ and the normal name is an alias.  */
39085 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
39086 choke me
39087 #else
39088 char (*f) () = $ac_func;
39089 #endif
39090 #ifdef __cplusplus
39091 }
39092 #endif
39093
39094 int
39095 main ()
39096 {
39097 return f != $ac_func;
39098   ;
39099   return 0;
39100 }
39101 _ACEOF
39102 rm -f conftest.$ac_objext conftest$ac_exeext
39103 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
39104   (eval $ac_link) 2>conftest.er1
39105   ac_status=$?
39106   grep -v '^ *+' conftest.er1 >conftest.err
39107   rm -f conftest.er1
39108   cat conftest.err >&5
39109   echo "$as_me:$LINENO: \$? = $ac_status" >&5
39110   (exit $ac_status); } &&
39111          { ac_try='test -z "$ac_c_werror_flag"
39112                          || test ! -s conftest.err'
39113   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39114   (eval $ac_try) 2>&5
39115   ac_status=$?
39116   echo "$as_me:$LINENO: \$? = $ac_status" >&5
39117   (exit $ac_status); }; } &&
39118          { ac_try='test -s conftest$ac_exeext'
39119   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39120   (eval $ac_try) 2>&5
39121   ac_status=$?
39122   echo "$as_me:$LINENO: \$? = $ac_status" >&5
39123   (exit $ac_status); }; }; then
39124   eval "$as_ac_var=yes"
39125 else
39126   echo "$as_me: failed program was:" >&5
39127 sed 's/^/| /' conftest.$ac_ext >&5
39128
39129 eval "$as_ac_var=no"
39130 fi
39131 rm -f conftest.err conftest.$ac_objext \
39132       conftest$ac_exeext conftest.$ac_ext
39133 fi
39134 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
39135 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
39136 if test `eval echo '${'$as_ac_var'}'` = yes; then
39137   cat >>confdefs.h <<_ACEOF
39138 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
39139 _ACEOF
39140
39141 fi
39142 done
39143
39144   else
39145
39146   echo "$as_me:$LINENO: checking for _frexpf declaration" >&5
39147 echo $ECHO_N "checking for _frexpf declaration... $ECHO_C" >&6
39148   if test x${glibcxx_cv_func__frexpf_use+set} != xset; then
39149     if test "${glibcxx_cv_func__frexpf_use+set}" = set; then
39150   echo $ECHO_N "(cached) $ECHO_C" >&6
39151 else
39152
39153
39154
39155       ac_ext=cc
39156 ac_cpp='$CXXCPP $CPPFLAGS'
39157 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39158 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39159 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39160
39161       cat >conftest.$ac_ext <<_ACEOF
39162 /* confdefs.h.  */
39163 _ACEOF
39164 cat confdefs.h >>conftest.$ac_ext
39165 cat >>conftest.$ac_ext <<_ACEOF
39166 /* end confdefs.h.  */
39167 #include <math.h>
39168 int
39169 main ()
39170 {
39171  _frexpf(0, 0);
39172   ;
39173   return 0;
39174 }
39175 _ACEOF
39176 rm -f conftest.$ac_objext
39177 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
39178   (eval $ac_compile) 2>conftest.er1
39179   ac_status=$?
39180   grep -v '^ *+' conftest.er1 >conftest.err
39181   rm -f conftest.er1
39182   cat conftest.err >&5
39183   echo "$as_me:$LINENO: \$? = $ac_status" >&5
39184   (exit $ac_status); } &&
39185          { ac_try='test -z "$ac_cxx_werror_flag"
39186                          || test ! -s conftest.err'
39187   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39188   (eval $ac_try) 2>&5
39189   ac_status=$?
39190   echo "$as_me:$LINENO: \$? = $ac_status" >&5
39191   (exit $ac_status); }; } &&
39192          { ac_try='test -s conftest.$ac_objext'
39193   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39194   (eval $ac_try) 2>&5
39195   ac_status=$?
39196   echo "$as_me:$LINENO: \$? = $ac_status" >&5
39197   (exit $ac_status); }; }; then
39198   glibcxx_cv_func__frexpf_use=yes
39199 else
39200   echo "$as_me: failed program was:" >&5
39201 sed 's/^/| /' conftest.$ac_ext >&5
39202
39203 glibcxx_cv_func__frexpf_use=no
39204 fi
39205 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
39206       ac_ext=c
39207 ac_cpp='$CPP $CPPFLAGS'
39208 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39209 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39210 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39211
39212
39213 fi
39214
39215   fi
39216   echo "$as_me:$LINENO: result: $glibcxx_cv_func__frexpf_use" >&5
39217 echo "${ECHO_T}$glibcxx_cv_func__frexpf_use" >&6
39218
39219     if test x$glibcxx_cv_func__frexpf_use = x"yes"; then
39220
39221 for ac_func in _frexpf
39222 do
39223 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
39224 echo "$as_me:$LINENO: checking for $ac_func" >&5
39225 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
39226 if eval "test \"\${$as_ac_var+set}\" = set"; then
39227   echo $ECHO_N "(cached) $ECHO_C" >&6
39228 else
39229   if test x$gcc_no_link = xyes; then
39230   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
39231 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
39232    { (exit 1); exit 1; }; }
39233 fi
39234 cat >conftest.$ac_ext <<_ACEOF
39235 /* confdefs.h.  */
39236 _ACEOF
39237 cat confdefs.h >>conftest.$ac_ext
39238 cat >>conftest.$ac_ext <<_ACEOF
39239 /* end confdefs.h.  */
39240 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
39241    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
39242 #define $ac_func innocuous_$ac_func
39243
39244 /* System header to define __stub macros and hopefully few prototypes,
39245     which can conflict with char $ac_func (); below.
39246     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
39247     <limits.h> exists even on freestanding compilers.  */
39248
39249 #ifdef __STDC__
39250 # include <limits.h>
39251 #else
39252 # include <assert.h>
39253 #endif
39254
39255 #undef $ac_func
39256
39257 /* Override any gcc2 internal prototype to avoid an error.  */
39258 #ifdef __cplusplus
39259 extern "C"
39260 {
39261 #endif
39262 /* We use char because int might match the return type of a gcc2
39263    builtin and then its argument prototype would still apply.  */
39264 char $ac_func ();
39265 /* The GNU C library defines this for functions which it implements
39266     to always fail with ENOSYS.  Some functions are actually named
39267     something starting with __ and the normal name is an alias.  */
39268 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
39269 choke me
39270 #else
39271 char (*f) () = $ac_func;
39272 #endif
39273 #ifdef __cplusplus
39274 }
39275 #endif
39276
39277 int
39278 main ()
39279 {
39280 return f != $ac_func;
39281   ;
39282   return 0;
39283 }
39284 _ACEOF
39285 rm -f conftest.$ac_objext conftest$ac_exeext
39286 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
39287   (eval $ac_link) 2>conftest.er1
39288   ac_status=$?
39289   grep -v '^ *+' conftest.er1 >conftest.err
39290   rm -f conftest.er1
39291   cat conftest.err >&5
39292   echo "$as_me:$LINENO: \$? = $ac_status" >&5
39293   (exit $ac_status); } &&
39294          { ac_try='test -z "$ac_c_werror_flag"
39295                          || test ! -s conftest.err'
39296   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39297   (eval $ac_try) 2>&5
39298   ac_status=$?
39299   echo "$as_me:$LINENO: \$? = $ac_status" >&5
39300   (exit $ac_status); }; } &&
39301          { ac_try='test -s conftest$ac_exeext'
39302   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39303   (eval $ac_try) 2>&5
39304   ac_status=$?
39305   echo "$as_me:$LINENO: \$? = $ac_status" >&5
39306   (exit $ac_status); }; }; then
39307   eval "$as_ac_var=yes"
39308 else
39309   echo "$as_me: failed program was:" >&5
39310 sed 's/^/| /' conftest.$ac_ext >&5
39311
39312 eval "$as_ac_var=no"
39313 fi
39314 rm -f conftest.err conftest.$ac_objext \
39315       conftest$ac_exeext conftest.$ac_ext
39316 fi
39317 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
39318 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
39319 if test `eval echo '${'$as_ac_var'}'` = yes; then
39320   cat >>confdefs.h <<_ACEOF
39321 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
39322 _ACEOF
39323
39324 fi
39325 done
39326
39327     fi
39328   fi
39329
39330
39331
39332
39333
39334
39335   echo "$as_me:$LINENO: checking for hypotf declaration" >&5
39336 echo $ECHO_N "checking for hypotf declaration... $ECHO_C" >&6
39337   if test x${glibcxx_cv_func_hypotf_use+set} != xset; then
39338     if test "${glibcxx_cv_func_hypotf_use+set}" = set; then
39339   echo $ECHO_N "(cached) $ECHO_C" >&6
39340 else
39341
39342
39343
39344       ac_ext=cc
39345 ac_cpp='$CXXCPP $CPPFLAGS'
39346 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39347 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39348 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39349
39350       cat >conftest.$ac_ext <<_ACEOF
39351 /* confdefs.h.  */
39352 _ACEOF
39353 cat confdefs.h >>conftest.$ac_ext
39354 cat >>conftest.$ac_ext <<_ACEOF
39355 /* end confdefs.h.  */
39356 #include <math.h>
39357 int
39358 main ()
39359 {
39360  hypotf(0, 0);
39361   ;
39362   return 0;
39363 }
39364 _ACEOF
39365 rm -f conftest.$ac_objext
39366 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
39367   (eval $ac_compile) 2>conftest.er1
39368   ac_status=$?
39369   grep -v '^ *+' conftest.er1 >conftest.err
39370   rm -f conftest.er1
39371   cat conftest.err >&5
39372   echo "$as_me:$LINENO: \$? = $ac_status" >&5
39373   (exit $ac_status); } &&
39374          { ac_try='test -z "$ac_cxx_werror_flag"
39375                          || test ! -s conftest.err'
39376   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39377   (eval $ac_try) 2>&5
39378   ac_status=$?
39379   echo "$as_me:$LINENO: \$? = $ac_status" >&5
39380   (exit $ac_status); }; } &&
39381          { ac_try='test -s conftest.$ac_objext'
39382   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39383   (eval $ac_try) 2>&5
39384   ac_status=$?
39385   echo "$as_me:$LINENO: \$? = $ac_status" >&5
39386   (exit $ac_status); }; }; then
39387   glibcxx_cv_func_hypotf_use=yes
39388 else
39389   echo "$as_me: failed program was:" >&5
39390 sed 's/^/| /' conftest.$ac_ext >&5
39391
39392 glibcxx_cv_func_hypotf_use=no
39393 fi
39394 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
39395       ac_ext=c
39396 ac_cpp='$CPP $CPPFLAGS'
39397 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39398 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39399 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39400
39401
39402 fi
39403
39404   fi
39405   echo "$as_me:$LINENO: result: $glibcxx_cv_func_hypotf_use" >&5
39406 echo "${ECHO_T}$glibcxx_cv_func_hypotf_use" >&6
39407
39408   if test x$glibcxx_cv_func_hypotf_use = x"yes"; then
39409
39410 for ac_func in hypotf
39411 do
39412 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
39413 echo "$as_me:$LINENO: checking for $ac_func" >&5
39414 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
39415 if eval "test \"\${$as_ac_var+set}\" = set"; then
39416   echo $ECHO_N "(cached) $ECHO_C" >&6
39417 else
39418   if test x$gcc_no_link = xyes; then
39419   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
39420 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
39421    { (exit 1); exit 1; }; }
39422 fi
39423 cat >conftest.$ac_ext <<_ACEOF
39424 /* confdefs.h.  */
39425 _ACEOF
39426 cat confdefs.h >>conftest.$ac_ext
39427 cat >>conftest.$ac_ext <<_ACEOF
39428 /* end confdefs.h.  */
39429 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
39430    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
39431 #define $ac_func innocuous_$ac_func
39432
39433 /* System header to define __stub macros and hopefully few prototypes,
39434     which can conflict with char $ac_func (); below.
39435     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
39436     <limits.h> exists even on freestanding compilers.  */
39437
39438 #ifdef __STDC__
39439 # include <limits.h>
39440 #else
39441 # include <assert.h>
39442 #endif
39443
39444 #undef $ac_func
39445
39446 /* Override any gcc2 internal prototype to avoid an error.  */
39447 #ifdef __cplusplus
39448 extern "C"
39449 {
39450 #endif
39451 /* We use char because int might match the return type of a gcc2
39452    builtin and then its argument prototype would still apply.  */
39453 char $ac_func ();
39454 /* The GNU C library defines this for functions which it implements
39455     to always fail with ENOSYS.  Some functions are actually named
39456     something starting with __ and the normal name is an alias.  */
39457 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
39458 choke me
39459 #else
39460 char (*f) () = $ac_func;
39461 #endif
39462 #ifdef __cplusplus
39463 }
39464 #endif
39465
39466 int
39467 main ()
39468 {
39469 return f != $ac_func;
39470   ;
39471   return 0;
39472 }
39473 _ACEOF
39474 rm -f conftest.$ac_objext conftest$ac_exeext
39475 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
39476   (eval $ac_link) 2>conftest.er1
39477   ac_status=$?
39478   grep -v '^ *+' conftest.er1 >conftest.err
39479   rm -f conftest.er1
39480   cat conftest.err >&5
39481   echo "$as_me:$LINENO: \$? = $ac_status" >&5
39482   (exit $ac_status); } &&
39483          { ac_try='test -z "$ac_c_werror_flag"
39484                          || test ! -s conftest.err'
39485   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39486   (eval $ac_try) 2>&5
39487   ac_status=$?
39488   echo "$as_me:$LINENO: \$? = $ac_status" >&5
39489   (exit $ac_status); }; } &&
39490          { ac_try='test -s conftest$ac_exeext'
39491   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39492   (eval $ac_try) 2>&5
39493   ac_status=$?
39494   echo "$as_me:$LINENO: \$? = $ac_status" >&5
39495   (exit $ac_status); }; }; then
39496   eval "$as_ac_var=yes"
39497 else
39498   echo "$as_me: failed program was:" >&5
39499 sed 's/^/| /' conftest.$ac_ext >&5
39500
39501 eval "$as_ac_var=no"
39502 fi
39503 rm -f conftest.err conftest.$ac_objext \
39504       conftest$ac_exeext conftest.$ac_ext
39505 fi
39506 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
39507 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
39508 if test `eval echo '${'$as_ac_var'}'` = yes; then
39509   cat >>confdefs.h <<_ACEOF
39510 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
39511 _ACEOF
39512
39513 fi
39514 done
39515
39516   else
39517
39518   echo "$as_me:$LINENO: checking for _hypotf declaration" >&5
39519 echo $ECHO_N "checking for _hypotf declaration... $ECHO_C" >&6
39520   if test x${glibcxx_cv_func__hypotf_use+set} != xset; then
39521     if test "${glibcxx_cv_func__hypotf_use+set}" = set; then
39522   echo $ECHO_N "(cached) $ECHO_C" >&6
39523 else
39524
39525
39526
39527       ac_ext=cc
39528 ac_cpp='$CXXCPP $CPPFLAGS'
39529 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39530 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39531 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39532
39533       cat >conftest.$ac_ext <<_ACEOF
39534 /* confdefs.h.  */
39535 _ACEOF
39536 cat confdefs.h >>conftest.$ac_ext
39537 cat >>conftest.$ac_ext <<_ACEOF
39538 /* end confdefs.h.  */
39539 #include <math.h>
39540 int
39541 main ()
39542 {
39543  _hypotf(0, 0);
39544   ;
39545   return 0;
39546 }
39547 _ACEOF
39548 rm -f conftest.$ac_objext
39549 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
39550   (eval $ac_compile) 2>conftest.er1
39551   ac_status=$?
39552   grep -v '^ *+' conftest.er1 >conftest.err
39553   rm -f conftest.er1
39554   cat conftest.err >&5
39555   echo "$as_me:$LINENO: \$? = $ac_status" >&5
39556   (exit $ac_status); } &&
39557          { ac_try='test -z "$ac_cxx_werror_flag"
39558                          || test ! -s conftest.err'
39559   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39560   (eval $ac_try) 2>&5
39561   ac_status=$?
39562   echo "$as_me:$LINENO: \$? = $ac_status" >&5
39563   (exit $ac_status); }; } &&
39564          { ac_try='test -s conftest.$ac_objext'
39565   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39566   (eval $ac_try) 2>&5
39567   ac_status=$?
39568   echo "$as_me:$LINENO: \$? = $ac_status" >&5
39569   (exit $ac_status); }; }; then
39570   glibcxx_cv_func__hypotf_use=yes
39571 else
39572   echo "$as_me: failed program was:" >&5
39573 sed 's/^/| /' conftest.$ac_ext >&5
39574
39575 glibcxx_cv_func__hypotf_use=no
39576 fi
39577 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
39578       ac_ext=c
39579 ac_cpp='$CPP $CPPFLAGS'
39580 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39581 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39582 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39583
39584
39585 fi
39586
39587   fi
39588   echo "$as_me:$LINENO: result: $glibcxx_cv_func__hypotf_use" >&5
39589 echo "${ECHO_T}$glibcxx_cv_func__hypotf_use" >&6
39590
39591     if test x$glibcxx_cv_func__hypotf_use = x"yes"; then
39592
39593 for ac_func in _hypotf
39594 do
39595 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
39596 echo "$as_me:$LINENO: checking for $ac_func" >&5
39597 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
39598 if eval "test \"\${$as_ac_var+set}\" = set"; then
39599   echo $ECHO_N "(cached) $ECHO_C" >&6
39600 else
39601   if test x$gcc_no_link = xyes; then
39602   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
39603 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
39604    { (exit 1); exit 1; }; }
39605 fi
39606 cat >conftest.$ac_ext <<_ACEOF
39607 /* confdefs.h.  */
39608 _ACEOF
39609 cat confdefs.h >>conftest.$ac_ext
39610 cat >>conftest.$ac_ext <<_ACEOF
39611 /* end confdefs.h.  */
39612 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
39613    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
39614 #define $ac_func innocuous_$ac_func
39615
39616 /* System header to define __stub macros and hopefully few prototypes,
39617     which can conflict with char $ac_func (); below.
39618     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
39619     <limits.h> exists even on freestanding compilers.  */
39620
39621 #ifdef __STDC__
39622 # include <limits.h>
39623 #else
39624 # include <assert.h>
39625 #endif
39626
39627 #undef $ac_func
39628
39629 /* Override any gcc2 internal prototype to avoid an error.  */
39630 #ifdef __cplusplus
39631 extern "C"
39632 {
39633 #endif
39634 /* We use char because int might match the return type of a gcc2
39635    builtin and then its argument prototype would still apply.  */
39636 char $ac_func ();
39637 /* The GNU C library defines this for functions which it implements
39638     to always fail with ENOSYS.  Some functions are actually named
39639     something starting with __ and the normal name is an alias.  */
39640 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
39641 choke me
39642 #else
39643 char (*f) () = $ac_func;
39644 #endif
39645 #ifdef __cplusplus
39646 }
39647 #endif
39648
39649 int
39650 main ()
39651 {
39652 return f != $ac_func;
39653   ;
39654   return 0;
39655 }
39656 _ACEOF
39657 rm -f conftest.$ac_objext conftest$ac_exeext
39658 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
39659   (eval $ac_link) 2>conftest.er1
39660   ac_status=$?
39661   grep -v '^ *+' conftest.er1 >conftest.err
39662   rm -f conftest.er1
39663   cat conftest.err >&5
39664   echo "$as_me:$LINENO: \$? = $ac_status" >&5
39665   (exit $ac_status); } &&
39666          { ac_try='test -z "$ac_c_werror_flag"
39667                          || test ! -s conftest.err'
39668   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39669   (eval $ac_try) 2>&5
39670   ac_status=$?
39671   echo "$as_me:$LINENO: \$? = $ac_status" >&5
39672   (exit $ac_status); }; } &&
39673          { ac_try='test -s conftest$ac_exeext'
39674   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39675   (eval $ac_try) 2>&5
39676   ac_status=$?
39677   echo "$as_me:$LINENO: \$? = $ac_status" >&5
39678   (exit $ac_status); }; }; then
39679   eval "$as_ac_var=yes"
39680 else
39681   echo "$as_me: failed program was:" >&5
39682 sed 's/^/| /' conftest.$ac_ext >&5
39683
39684 eval "$as_ac_var=no"
39685 fi
39686 rm -f conftest.err conftest.$ac_objext \
39687       conftest$ac_exeext conftest.$ac_ext
39688 fi
39689 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
39690 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
39691 if test `eval echo '${'$as_ac_var'}'` = yes; then
39692   cat >>confdefs.h <<_ACEOF
39693 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
39694 _ACEOF
39695
39696 fi
39697 done
39698
39699     fi
39700   fi
39701
39702
39703
39704
39705
39706
39707   echo "$as_me:$LINENO: checking for ldexpf declaration" >&5
39708 echo $ECHO_N "checking for ldexpf declaration... $ECHO_C" >&6
39709   if test x${glibcxx_cv_func_ldexpf_use+set} != xset; then
39710     if test "${glibcxx_cv_func_ldexpf_use+set}" = set; then
39711   echo $ECHO_N "(cached) $ECHO_C" >&6
39712 else
39713
39714
39715
39716       ac_ext=cc
39717 ac_cpp='$CXXCPP $CPPFLAGS'
39718 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39719 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39720 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39721
39722       cat >conftest.$ac_ext <<_ACEOF
39723 /* confdefs.h.  */
39724 _ACEOF
39725 cat confdefs.h >>conftest.$ac_ext
39726 cat >>conftest.$ac_ext <<_ACEOF
39727 /* end confdefs.h.  */
39728 #include <math.h>
39729 int
39730 main ()
39731 {
39732  ldexpf(0, 0);
39733   ;
39734   return 0;
39735 }
39736 _ACEOF
39737 rm -f conftest.$ac_objext
39738 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
39739   (eval $ac_compile) 2>conftest.er1
39740   ac_status=$?
39741   grep -v '^ *+' conftest.er1 >conftest.err
39742   rm -f conftest.er1
39743   cat conftest.err >&5
39744   echo "$as_me:$LINENO: \$? = $ac_status" >&5
39745   (exit $ac_status); } &&
39746          { ac_try='test -z "$ac_cxx_werror_flag"
39747                          || test ! -s conftest.err'
39748   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39749   (eval $ac_try) 2>&5
39750   ac_status=$?
39751   echo "$as_me:$LINENO: \$? = $ac_status" >&5
39752   (exit $ac_status); }; } &&
39753          { ac_try='test -s conftest.$ac_objext'
39754   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39755   (eval $ac_try) 2>&5
39756   ac_status=$?
39757   echo "$as_me:$LINENO: \$? = $ac_status" >&5
39758   (exit $ac_status); }; }; then
39759   glibcxx_cv_func_ldexpf_use=yes
39760 else
39761   echo "$as_me: failed program was:" >&5
39762 sed 's/^/| /' conftest.$ac_ext >&5
39763
39764 glibcxx_cv_func_ldexpf_use=no
39765 fi
39766 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
39767       ac_ext=c
39768 ac_cpp='$CPP $CPPFLAGS'
39769 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39770 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39771 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39772
39773
39774 fi
39775
39776   fi
39777   echo "$as_me:$LINENO: result: $glibcxx_cv_func_ldexpf_use" >&5
39778 echo "${ECHO_T}$glibcxx_cv_func_ldexpf_use" >&6
39779
39780   if test x$glibcxx_cv_func_ldexpf_use = x"yes"; then
39781
39782 for ac_func in ldexpf
39783 do
39784 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
39785 echo "$as_me:$LINENO: checking for $ac_func" >&5
39786 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
39787 if eval "test \"\${$as_ac_var+set}\" = set"; then
39788   echo $ECHO_N "(cached) $ECHO_C" >&6
39789 else
39790   if test x$gcc_no_link = xyes; then
39791   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
39792 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
39793    { (exit 1); exit 1; }; }
39794 fi
39795 cat >conftest.$ac_ext <<_ACEOF
39796 /* confdefs.h.  */
39797 _ACEOF
39798 cat confdefs.h >>conftest.$ac_ext
39799 cat >>conftest.$ac_ext <<_ACEOF
39800 /* end confdefs.h.  */
39801 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
39802    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
39803 #define $ac_func innocuous_$ac_func
39804
39805 /* System header to define __stub macros and hopefully few prototypes,
39806     which can conflict with char $ac_func (); below.
39807     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
39808     <limits.h> exists even on freestanding compilers.  */
39809
39810 #ifdef __STDC__
39811 # include <limits.h>
39812 #else
39813 # include <assert.h>
39814 #endif
39815
39816 #undef $ac_func
39817
39818 /* Override any gcc2 internal prototype to avoid an error.  */
39819 #ifdef __cplusplus
39820 extern "C"
39821 {
39822 #endif
39823 /* We use char because int might match the return type of a gcc2
39824    builtin and then its argument prototype would still apply.  */
39825 char $ac_func ();
39826 /* The GNU C library defines this for functions which it implements
39827     to always fail with ENOSYS.  Some functions are actually named
39828     something starting with __ and the normal name is an alias.  */
39829 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
39830 choke me
39831 #else
39832 char (*f) () = $ac_func;
39833 #endif
39834 #ifdef __cplusplus
39835 }
39836 #endif
39837
39838 int
39839 main ()
39840 {
39841 return f != $ac_func;
39842   ;
39843   return 0;
39844 }
39845 _ACEOF
39846 rm -f conftest.$ac_objext conftest$ac_exeext
39847 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
39848   (eval $ac_link) 2>conftest.er1
39849   ac_status=$?
39850   grep -v '^ *+' conftest.er1 >conftest.err
39851   rm -f conftest.er1
39852   cat conftest.err >&5
39853   echo "$as_me:$LINENO: \$? = $ac_status" >&5
39854   (exit $ac_status); } &&
39855          { ac_try='test -z "$ac_c_werror_flag"
39856                          || test ! -s conftest.err'
39857   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39858   (eval $ac_try) 2>&5
39859   ac_status=$?
39860   echo "$as_me:$LINENO: \$? = $ac_status" >&5
39861   (exit $ac_status); }; } &&
39862          { ac_try='test -s conftest$ac_exeext'
39863   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39864   (eval $ac_try) 2>&5
39865   ac_status=$?
39866   echo "$as_me:$LINENO: \$? = $ac_status" >&5
39867   (exit $ac_status); }; }; then
39868   eval "$as_ac_var=yes"
39869 else
39870   echo "$as_me: failed program was:" >&5
39871 sed 's/^/| /' conftest.$ac_ext >&5
39872
39873 eval "$as_ac_var=no"
39874 fi
39875 rm -f conftest.err conftest.$ac_objext \
39876       conftest$ac_exeext conftest.$ac_ext
39877 fi
39878 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
39879 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
39880 if test `eval echo '${'$as_ac_var'}'` = yes; then
39881   cat >>confdefs.h <<_ACEOF
39882 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
39883 _ACEOF
39884
39885 fi
39886 done
39887
39888   else
39889
39890   echo "$as_me:$LINENO: checking for _ldexpf declaration" >&5
39891 echo $ECHO_N "checking for _ldexpf declaration... $ECHO_C" >&6
39892   if test x${glibcxx_cv_func__ldexpf_use+set} != xset; then
39893     if test "${glibcxx_cv_func__ldexpf_use+set}" = set; then
39894   echo $ECHO_N "(cached) $ECHO_C" >&6
39895 else
39896
39897
39898
39899       ac_ext=cc
39900 ac_cpp='$CXXCPP $CPPFLAGS'
39901 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39902 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39903 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39904
39905       cat >conftest.$ac_ext <<_ACEOF
39906 /* confdefs.h.  */
39907 _ACEOF
39908 cat confdefs.h >>conftest.$ac_ext
39909 cat >>conftest.$ac_ext <<_ACEOF
39910 /* end confdefs.h.  */
39911 #include <math.h>
39912 int
39913 main ()
39914 {
39915  _ldexpf(0, 0);
39916   ;
39917   return 0;
39918 }
39919 _ACEOF
39920 rm -f conftest.$ac_objext
39921 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
39922   (eval $ac_compile) 2>conftest.er1
39923   ac_status=$?
39924   grep -v '^ *+' conftest.er1 >conftest.err
39925   rm -f conftest.er1
39926   cat conftest.err >&5
39927   echo "$as_me:$LINENO: \$? = $ac_status" >&5
39928   (exit $ac_status); } &&
39929          { ac_try='test -z "$ac_cxx_werror_flag"
39930                          || test ! -s conftest.err'
39931   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39932   (eval $ac_try) 2>&5
39933   ac_status=$?
39934   echo "$as_me:$LINENO: \$? = $ac_status" >&5
39935   (exit $ac_status); }; } &&
39936          { ac_try='test -s conftest.$ac_objext'
39937   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39938   (eval $ac_try) 2>&5
39939   ac_status=$?
39940   echo "$as_me:$LINENO: \$? = $ac_status" >&5
39941   (exit $ac_status); }; }; then
39942   glibcxx_cv_func__ldexpf_use=yes
39943 else
39944   echo "$as_me: failed program was:" >&5
39945 sed 's/^/| /' conftest.$ac_ext >&5
39946
39947 glibcxx_cv_func__ldexpf_use=no
39948 fi
39949 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
39950       ac_ext=c
39951 ac_cpp='$CPP $CPPFLAGS'
39952 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39953 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39954 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39955
39956
39957 fi
39958
39959   fi
39960   echo "$as_me:$LINENO: result: $glibcxx_cv_func__ldexpf_use" >&5
39961 echo "${ECHO_T}$glibcxx_cv_func__ldexpf_use" >&6
39962
39963     if test x$glibcxx_cv_func__ldexpf_use = x"yes"; then
39964
39965 for ac_func in _ldexpf
39966 do
39967 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
39968 echo "$as_me:$LINENO: checking for $ac_func" >&5
39969 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
39970 if eval "test \"\${$as_ac_var+set}\" = set"; then
39971   echo $ECHO_N "(cached) $ECHO_C" >&6
39972 else
39973   if test x$gcc_no_link = xyes; then
39974   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
39975 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
39976    { (exit 1); exit 1; }; }
39977 fi
39978 cat >conftest.$ac_ext <<_ACEOF
39979 /* confdefs.h.  */
39980 _ACEOF
39981 cat confdefs.h >>conftest.$ac_ext
39982 cat >>conftest.$ac_ext <<_ACEOF
39983 /* end confdefs.h.  */
39984 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
39985    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
39986 #define $ac_func innocuous_$ac_func
39987
39988 /* System header to define __stub macros and hopefully few prototypes,
39989     which can conflict with char $ac_func (); below.
39990     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
39991     <limits.h> exists even on freestanding compilers.  */
39992
39993 #ifdef __STDC__
39994 # include <limits.h>
39995 #else
39996 # include <assert.h>
39997 #endif
39998
39999 #undef $ac_func
40000
40001 /* Override any gcc2 internal prototype to avoid an error.  */
40002 #ifdef __cplusplus
40003 extern "C"
40004 {
40005 #endif
40006 /* We use char because int might match the return type of a gcc2
40007    builtin and then its argument prototype would still apply.  */
40008 char $ac_func ();
40009 /* The GNU C library defines this for functions which it implements
40010     to always fail with ENOSYS.  Some functions are actually named
40011     something starting with __ and the normal name is an alias.  */
40012 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
40013 choke me
40014 #else
40015 char (*f) () = $ac_func;
40016 #endif
40017 #ifdef __cplusplus
40018 }
40019 #endif
40020
40021 int
40022 main ()
40023 {
40024 return f != $ac_func;
40025   ;
40026   return 0;
40027 }
40028 _ACEOF
40029 rm -f conftest.$ac_objext conftest$ac_exeext
40030 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
40031   (eval $ac_link) 2>conftest.er1
40032   ac_status=$?
40033   grep -v '^ *+' conftest.er1 >conftest.err
40034   rm -f conftest.er1
40035   cat conftest.err >&5
40036   echo "$as_me:$LINENO: \$? = $ac_status" >&5
40037   (exit $ac_status); } &&
40038          { ac_try='test -z "$ac_c_werror_flag"
40039                          || test ! -s conftest.err'
40040   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40041   (eval $ac_try) 2>&5
40042   ac_status=$?
40043   echo "$as_me:$LINENO: \$? = $ac_status" >&5
40044   (exit $ac_status); }; } &&
40045          { ac_try='test -s conftest$ac_exeext'
40046   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40047   (eval $ac_try) 2>&5
40048   ac_status=$?
40049   echo "$as_me:$LINENO: \$? = $ac_status" >&5
40050   (exit $ac_status); }; }; then
40051   eval "$as_ac_var=yes"
40052 else
40053   echo "$as_me: failed program was:" >&5
40054 sed 's/^/| /' conftest.$ac_ext >&5
40055
40056 eval "$as_ac_var=no"
40057 fi
40058 rm -f conftest.err conftest.$ac_objext \
40059       conftest$ac_exeext conftest.$ac_ext
40060 fi
40061 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
40062 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
40063 if test `eval echo '${'$as_ac_var'}'` = yes; then
40064   cat >>confdefs.h <<_ACEOF
40065 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
40066 _ACEOF
40067
40068 fi
40069 done
40070
40071     fi
40072   fi
40073
40074
40075
40076
40077
40078
40079   echo "$as_me:$LINENO: checking for logf declaration" >&5
40080 echo $ECHO_N "checking for logf declaration... $ECHO_C" >&6
40081   if test x${glibcxx_cv_func_logf_use+set} != xset; then
40082     if test "${glibcxx_cv_func_logf_use+set}" = set; then
40083   echo $ECHO_N "(cached) $ECHO_C" >&6
40084 else
40085
40086
40087
40088       ac_ext=cc
40089 ac_cpp='$CXXCPP $CPPFLAGS'
40090 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40091 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40092 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40093
40094       cat >conftest.$ac_ext <<_ACEOF
40095 /* confdefs.h.  */
40096 _ACEOF
40097 cat confdefs.h >>conftest.$ac_ext
40098 cat >>conftest.$ac_ext <<_ACEOF
40099 /* end confdefs.h.  */
40100 #include <math.h>
40101                       #ifdef HAVE_IEEEFP_H
40102                       #include <ieeefp.h>
40103                       #endif
40104
40105 int
40106 main ()
40107 {
40108  logf(0);
40109   ;
40110   return 0;
40111 }
40112 _ACEOF
40113 rm -f conftest.$ac_objext
40114 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
40115   (eval $ac_compile) 2>conftest.er1
40116   ac_status=$?
40117   grep -v '^ *+' conftest.er1 >conftest.err
40118   rm -f conftest.er1
40119   cat conftest.err >&5
40120   echo "$as_me:$LINENO: \$? = $ac_status" >&5
40121   (exit $ac_status); } &&
40122          { ac_try='test -z "$ac_cxx_werror_flag"
40123                          || test ! -s conftest.err'
40124   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40125   (eval $ac_try) 2>&5
40126   ac_status=$?
40127   echo "$as_me:$LINENO: \$? = $ac_status" >&5
40128   (exit $ac_status); }; } &&
40129          { ac_try='test -s conftest.$ac_objext'
40130   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40131   (eval $ac_try) 2>&5
40132   ac_status=$?
40133   echo "$as_me:$LINENO: \$? = $ac_status" >&5
40134   (exit $ac_status); }; }; then
40135   glibcxx_cv_func_logf_use=yes
40136 else
40137   echo "$as_me: failed program was:" >&5
40138 sed 's/^/| /' conftest.$ac_ext >&5
40139
40140 glibcxx_cv_func_logf_use=no
40141 fi
40142 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
40143       ac_ext=c
40144 ac_cpp='$CPP $CPPFLAGS'
40145 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40146 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40147 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40148
40149
40150 fi
40151
40152   fi
40153   echo "$as_me:$LINENO: result: $glibcxx_cv_func_logf_use" >&5
40154 echo "${ECHO_T}$glibcxx_cv_func_logf_use" >&6
40155
40156   if test x$glibcxx_cv_func_logf_use = x"yes"; then
40157
40158 for ac_func in logf
40159 do
40160 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
40161 echo "$as_me:$LINENO: checking for $ac_func" >&5
40162 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
40163 if eval "test \"\${$as_ac_var+set}\" = set"; then
40164   echo $ECHO_N "(cached) $ECHO_C" >&6
40165 else
40166   if test x$gcc_no_link = xyes; then
40167   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
40168 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
40169    { (exit 1); exit 1; }; }
40170 fi
40171 cat >conftest.$ac_ext <<_ACEOF
40172 /* confdefs.h.  */
40173 _ACEOF
40174 cat confdefs.h >>conftest.$ac_ext
40175 cat >>conftest.$ac_ext <<_ACEOF
40176 /* end confdefs.h.  */
40177 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
40178    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
40179 #define $ac_func innocuous_$ac_func
40180
40181 /* System header to define __stub macros and hopefully few prototypes,
40182     which can conflict with char $ac_func (); below.
40183     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
40184     <limits.h> exists even on freestanding compilers.  */
40185
40186 #ifdef __STDC__
40187 # include <limits.h>
40188 #else
40189 # include <assert.h>
40190 #endif
40191
40192 #undef $ac_func
40193
40194 /* Override any gcc2 internal prototype to avoid an error.  */
40195 #ifdef __cplusplus
40196 extern "C"
40197 {
40198 #endif
40199 /* We use char because int might match the return type of a gcc2
40200    builtin and then its argument prototype would still apply.  */
40201 char $ac_func ();
40202 /* The GNU C library defines this for functions which it implements
40203     to always fail with ENOSYS.  Some functions are actually named
40204     something starting with __ and the normal name is an alias.  */
40205 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
40206 choke me
40207 #else
40208 char (*f) () = $ac_func;
40209 #endif
40210 #ifdef __cplusplus
40211 }
40212 #endif
40213
40214 int
40215 main ()
40216 {
40217 return f != $ac_func;
40218   ;
40219   return 0;
40220 }
40221 _ACEOF
40222 rm -f conftest.$ac_objext conftest$ac_exeext
40223 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
40224   (eval $ac_link) 2>conftest.er1
40225   ac_status=$?
40226   grep -v '^ *+' conftest.er1 >conftest.err
40227   rm -f conftest.er1
40228   cat conftest.err >&5
40229   echo "$as_me:$LINENO: \$? = $ac_status" >&5
40230   (exit $ac_status); } &&
40231          { ac_try='test -z "$ac_c_werror_flag"
40232                          || test ! -s conftest.err'
40233   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40234   (eval $ac_try) 2>&5
40235   ac_status=$?
40236   echo "$as_me:$LINENO: \$? = $ac_status" >&5
40237   (exit $ac_status); }; } &&
40238          { ac_try='test -s conftest$ac_exeext'
40239   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40240   (eval $ac_try) 2>&5
40241   ac_status=$?
40242   echo "$as_me:$LINENO: \$? = $ac_status" >&5
40243   (exit $ac_status); }; }; then
40244   eval "$as_ac_var=yes"
40245 else
40246   echo "$as_me: failed program was:" >&5
40247 sed 's/^/| /' conftest.$ac_ext >&5
40248
40249 eval "$as_ac_var=no"
40250 fi
40251 rm -f conftest.err conftest.$ac_objext \
40252       conftest$ac_exeext conftest.$ac_ext
40253 fi
40254 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
40255 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
40256 if test `eval echo '${'$as_ac_var'}'` = yes; then
40257   cat >>confdefs.h <<_ACEOF
40258 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
40259 _ACEOF
40260
40261 fi
40262 done
40263
40264   else
40265
40266   echo "$as_me:$LINENO: checking for _logf declaration" >&5
40267 echo $ECHO_N "checking for _logf declaration... $ECHO_C" >&6
40268   if test x${glibcxx_cv_func__logf_use+set} != xset; then
40269     if test "${glibcxx_cv_func__logf_use+set}" = set; then
40270   echo $ECHO_N "(cached) $ECHO_C" >&6
40271 else
40272
40273
40274
40275       ac_ext=cc
40276 ac_cpp='$CXXCPP $CPPFLAGS'
40277 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40278 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40279 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40280
40281       cat >conftest.$ac_ext <<_ACEOF
40282 /* confdefs.h.  */
40283 _ACEOF
40284 cat confdefs.h >>conftest.$ac_ext
40285 cat >>conftest.$ac_ext <<_ACEOF
40286 /* end confdefs.h.  */
40287 #include <math.h>
40288                       #ifdef HAVE_IEEEFP_H
40289                       #include <ieeefp.h>
40290                       #endif
40291
40292 int
40293 main ()
40294 {
40295  _logf(0);
40296   ;
40297   return 0;
40298 }
40299 _ACEOF
40300 rm -f conftest.$ac_objext
40301 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
40302   (eval $ac_compile) 2>conftest.er1
40303   ac_status=$?
40304   grep -v '^ *+' conftest.er1 >conftest.err
40305   rm -f conftest.er1
40306   cat conftest.err >&5
40307   echo "$as_me:$LINENO: \$? = $ac_status" >&5
40308   (exit $ac_status); } &&
40309          { ac_try='test -z "$ac_cxx_werror_flag"
40310                          || test ! -s conftest.err'
40311   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40312   (eval $ac_try) 2>&5
40313   ac_status=$?
40314   echo "$as_me:$LINENO: \$? = $ac_status" >&5
40315   (exit $ac_status); }; } &&
40316          { ac_try='test -s conftest.$ac_objext'
40317   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40318   (eval $ac_try) 2>&5
40319   ac_status=$?
40320   echo "$as_me:$LINENO: \$? = $ac_status" >&5
40321   (exit $ac_status); }; }; then
40322   glibcxx_cv_func__logf_use=yes
40323 else
40324   echo "$as_me: failed program was:" >&5
40325 sed 's/^/| /' conftest.$ac_ext >&5
40326
40327 glibcxx_cv_func__logf_use=no
40328 fi
40329 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
40330       ac_ext=c
40331 ac_cpp='$CPP $CPPFLAGS'
40332 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40333 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40334 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40335
40336
40337 fi
40338
40339   fi
40340   echo "$as_me:$LINENO: result: $glibcxx_cv_func__logf_use" >&5
40341 echo "${ECHO_T}$glibcxx_cv_func__logf_use" >&6
40342
40343     if test x$glibcxx_cv_func__logf_use = x"yes"; then
40344
40345 for ac_func in _logf
40346 do
40347 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
40348 echo "$as_me:$LINENO: checking for $ac_func" >&5
40349 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
40350 if eval "test \"\${$as_ac_var+set}\" = set"; then
40351   echo $ECHO_N "(cached) $ECHO_C" >&6
40352 else
40353   if test x$gcc_no_link = xyes; then
40354   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
40355 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
40356    { (exit 1); exit 1; }; }
40357 fi
40358 cat >conftest.$ac_ext <<_ACEOF
40359 /* confdefs.h.  */
40360 _ACEOF
40361 cat confdefs.h >>conftest.$ac_ext
40362 cat >>conftest.$ac_ext <<_ACEOF
40363 /* end confdefs.h.  */
40364 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
40365    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
40366 #define $ac_func innocuous_$ac_func
40367
40368 /* System header to define __stub macros and hopefully few prototypes,
40369     which can conflict with char $ac_func (); below.
40370     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
40371     <limits.h> exists even on freestanding compilers.  */
40372
40373 #ifdef __STDC__
40374 # include <limits.h>
40375 #else
40376 # include <assert.h>
40377 #endif
40378
40379 #undef $ac_func
40380
40381 /* Override any gcc2 internal prototype to avoid an error.  */
40382 #ifdef __cplusplus
40383 extern "C"
40384 {
40385 #endif
40386 /* We use char because int might match the return type of a gcc2
40387    builtin and then its argument prototype would still apply.  */
40388 char $ac_func ();
40389 /* The GNU C library defines this for functions which it implements
40390     to always fail with ENOSYS.  Some functions are actually named
40391     something starting with __ and the normal name is an alias.  */
40392 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
40393 choke me
40394 #else
40395 char (*f) () = $ac_func;
40396 #endif
40397 #ifdef __cplusplus
40398 }
40399 #endif
40400
40401 int
40402 main ()
40403 {
40404 return f != $ac_func;
40405   ;
40406   return 0;
40407 }
40408 _ACEOF
40409 rm -f conftest.$ac_objext conftest$ac_exeext
40410 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
40411   (eval $ac_link) 2>conftest.er1
40412   ac_status=$?
40413   grep -v '^ *+' conftest.er1 >conftest.err
40414   rm -f conftest.er1
40415   cat conftest.err >&5
40416   echo "$as_me:$LINENO: \$? = $ac_status" >&5
40417   (exit $ac_status); } &&
40418          { ac_try='test -z "$ac_c_werror_flag"
40419                          || test ! -s conftest.err'
40420   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40421   (eval $ac_try) 2>&5
40422   ac_status=$?
40423   echo "$as_me:$LINENO: \$? = $ac_status" >&5
40424   (exit $ac_status); }; } &&
40425          { ac_try='test -s conftest$ac_exeext'
40426   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40427   (eval $ac_try) 2>&5
40428   ac_status=$?
40429   echo "$as_me:$LINENO: \$? = $ac_status" >&5
40430   (exit $ac_status); }; }; then
40431   eval "$as_ac_var=yes"
40432 else
40433   echo "$as_me: failed program was:" >&5
40434 sed 's/^/| /' conftest.$ac_ext >&5
40435
40436 eval "$as_ac_var=no"
40437 fi
40438 rm -f conftest.err conftest.$ac_objext \
40439       conftest$ac_exeext conftest.$ac_ext
40440 fi
40441 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
40442 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
40443 if test `eval echo '${'$as_ac_var'}'` = yes; then
40444   cat >>confdefs.h <<_ACEOF
40445 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
40446 _ACEOF
40447
40448 fi
40449 done
40450
40451     fi
40452   fi
40453
40454
40455
40456
40457
40458
40459   echo "$as_me:$LINENO: checking for log10f declaration" >&5
40460 echo $ECHO_N "checking for log10f declaration... $ECHO_C" >&6
40461   if test x${glibcxx_cv_func_log10f_use+set} != xset; then
40462     if test "${glibcxx_cv_func_log10f_use+set}" = set; then
40463   echo $ECHO_N "(cached) $ECHO_C" >&6
40464 else
40465
40466
40467
40468       ac_ext=cc
40469 ac_cpp='$CXXCPP $CPPFLAGS'
40470 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40471 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40472 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40473
40474       cat >conftest.$ac_ext <<_ACEOF
40475 /* confdefs.h.  */
40476 _ACEOF
40477 cat confdefs.h >>conftest.$ac_ext
40478 cat >>conftest.$ac_ext <<_ACEOF
40479 /* end confdefs.h.  */
40480 #include <math.h>
40481                       #ifdef HAVE_IEEEFP_H
40482                       #include <ieeefp.h>
40483                       #endif
40484
40485 int
40486 main ()
40487 {
40488  log10f(0);
40489   ;
40490   return 0;
40491 }
40492 _ACEOF
40493 rm -f conftest.$ac_objext
40494 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
40495   (eval $ac_compile) 2>conftest.er1
40496   ac_status=$?
40497   grep -v '^ *+' conftest.er1 >conftest.err
40498   rm -f conftest.er1
40499   cat conftest.err >&5
40500   echo "$as_me:$LINENO: \$? = $ac_status" >&5
40501   (exit $ac_status); } &&
40502          { ac_try='test -z "$ac_cxx_werror_flag"
40503                          || test ! -s conftest.err'
40504   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40505   (eval $ac_try) 2>&5
40506   ac_status=$?
40507   echo "$as_me:$LINENO: \$? = $ac_status" >&5
40508   (exit $ac_status); }; } &&
40509          { ac_try='test -s conftest.$ac_objext'
40510   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40511   (eval $ac_try) 2>&5
40512   ac_status=$?
40513   echo "$as_me:$LINENO: \$? = $ac_status" >&5
40514   (exit $ac_status); }; }; then
40515   glibcxx_cv_func_log10f_use=yes
40516 else
40517   echo "$as_me: failed program was:" >&5
40518 sed 's/^/| /' conftest.$ac_ext >&5
40519
40520 glibcxx_cv_func_log10f_use=no
40521 fi
40522 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
40523       ac_ext=c
40524 ac_cpp='$CPP $CPPFLAGS'
40525 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40526 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40527 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40528
40529
40530 fi
40531
40532   fi
40533   echo "$as_me:$LINENO: result: $glibcxx_cv_func_log10f_use" >&5
40534 echo "${ECHO_T}$glibcxx_cv_func_log10f_use" >&6
40535
40536   if test x$glibcxx_cv_func_log10f_use = x"yes"; then
40537
40538 for ac_func in log10f
40539 do
40540 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
40541 echo "$as_me:$LINENO: checking for $ac_func" >&5
40542 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
40543 if eval "test \"\${$as_ac_var+set}\" = set"; then
40544   echo $ECHO_N "(cached) $ECHO_C" >&6
40545 else
40546   if test x$gcc_no_link = xyes; then
40547   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
40548 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
40549    { (exit 1); exit 1; }; }
40550 fi
40551 cat >conftest.$ac_ext <<_ACEOF
40552 /* confdefs.h.  */
40553 _ACEOF
40554 cat confdefs.h >>conftest.$ac_ext
40555 cat >>conftest.$ac_ext <<_ACEOF
40556 /* end confdefs.h.  */
40557 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
40558    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
40559 #define $ac_func innocuous_$ac_func
40560
40561 /* System header to define __stub macros and hopefully few prototypes,
40562     which can conflict with char $ac_func (); below.
40563     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
40564     <limits.h> exists even on freestanding compilers.  */
40565
40566 #ifdef __STDC__
40567 # include <limits.h>
40568 #else
40569 # include <assert.h>
40570 #endif
40571
40572 #undef $ac_func
40573
40574 /* Override any gcc2 internal prototype to avoid an error.  */
40575 #ifdef __cplusplus
40576 extern "C"
40577 {
40578 #endif
40579 /* We use char because int might match the return type of a gcc2
40580    builtin and then its argument prototype would still apply.  */
40581 char $ac_func ();
40582 /* The GNU C library defines this for functions which it implements
40583     to always fail with ENOSYS.  Some functions are actually named
40584     something starting with __ and the normal name is an alias.  */
40585 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
40586 choke me
40587 #else
40588 char (*f) () = $ac_func;
40589 #endif
40590 #ifdef __cplusplus
40591 }
40592 #endif
40593
40594 int
40595 main ()
40596 {
40597 return f != $ac_func;
40598   ;
40599   return 0;
40600 }
40601 _ACEOF
40602 rm -f conftest.$ac_objext conftest$ac_exeext
40603 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
40604   (eval $ac_link) 2>conftest.er1
40605   ac_status=$?
40606   grep -v '^ *+' conftest.er1 >conftest.err
40607   rm -f conftest.er1
40608   cat conftest.err >&5
40609   echo "$as_me:$LINENO: \$? = $ac_status" >&5
40610   (exit $ac_status); } &&
40611          { ac_try='test -z "$ac_c_werror_flag"
40612                          || test ! -s conftest.err'
40613   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40614   (eval $ac_try) 2>&5
40615   ac_status=$?
40616   echo "$as_me:$LINENO: \$? = $ac_status" >&5
40617   (exit $ac_status); }; } &&
40618          { ac_try='test -s conftest$ac_exeext'
40619   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40620   (eval $ac_try) 2>&5
40621   ac_status=$?
40622   echo "$as_me:$LINENO: \$? = $ac_status" >&5
40623   (exit $ac_status); }; }; then
40624   eval "$as_ac_var=yes"
40625 else
40626   echo "$as_me: failed program was:" >&5
40627 sed 's/^/| /' conftest.$ac_ext >&5
40628
40629 eval "$as_ac_var=no"
40630 fi
40631 rm -f conftest.err conftest.$ac_objext \
40632       conftest$ac_exeext conftest.$ac_ext
40633 fi
40634 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
40635 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
40636 if test `eval echo '${'$as_ac_var'}'` = yes; then
40637   cat >>confdefs.h <<_ACEOF
40638 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
40639 _ACEOF
40640
40641 fi
40642 done
40643
40644   else
40645
40646   echo "$as_me:$LINENO: checking for _log10f declaration" >&5
40647 echo $ECHO_N "checking for _log10f declaration... $ECHO_C" >&6
40648   if test x${glibcxx_cv_func__log10f_use+set} != xset; then
40649     if test "${glibcxx_cv_func__log10f_use+set}" = set; then
40650   echo $ECHO_N "(cached) $ECHO_C" >&6
40651 else
40652
40653
40654
40655       ac_ext=cc
40656 ac_cpp='$CXXCPP $CPPFLAGS'
40657 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40658 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40659 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40660
40661       cat >conftest.$ac_ext <<_ACEOF
40662 /* confdefs.h.  */
40663 _ACEOF
40664 cat confdefs.h >>conftest.$ac_ext
40665 cat >>conftest.$ac_ext <<_ACEOF
40666 /* end confdefs.h.  */
40667 #include <math.h>
40668                       #ifdef HAVE_IEEEFP_H
40669                       #include <ieeefp.h>
40670                       #endif
40671
40672 int
40673 main ()
40674 {
40675  _log10f(0);
40676   ;
40677   return 0;
40678 }
40679 _ACEOF
40680 rm -f conftest.$ac_objext
40681 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
40682   (eval $ac_compile) 2>conftest.er1
40683   ac_status=$?
40684   grep -v '^ *+' conftest.er1 >conftest.err
40685   rm -f conftest.er1
40686   cat conftest.err >&5
40687   echo "$as_me:$LINENO: \$? = $ac_status" >&5
40688   (exit $ac_status); } &&
40689          { ac_try='test -z "$ac_cxx_werror_flag"
40690                          || test ! -s conftest.err'
40691   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40692   (eval $ac_try) 2>&5
40693   ac_status=$?
40694   echo "$as_me:$LINENO: \$? = $ac_status" >&5
40695   (exit $ac_status); }; } &&
40696          { ac_try='test -s conftest.$ac_objext'
40697   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40698   (eval $ac_try) 2>&5
40699   ac_status=$?
40700   echo "$as_me:$LINENO: \$? = $ac_status" >&5
40701   (exit $ac_status); }; }; then
40702   glibcxx_cv_func__log10f_use=yes
40703 else
40704   echo "$as_me: failed program was:" >&5
40705 sed 's/^/| /' conftest.$ac_ext >&5
40706
40707 glibcxx_cv_func__log10f_use=no
40708 fi
40709 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
40710       ac_ext=c
40711 ac_cpp='$CPP $CPPFLAGS'
40712 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40713 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40714 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40715
40716
40717 fi
40718
40719   fi
40720   echo "$as_me:$LINENO: result: $glibcxx_cv_func__log10f_use" >&5
40721 echo "${ECHO_T}$glibcxx_cv_func__log10f_use" >&6
40722
40723     if test x$glibcxx_cv_func__log10f_use = x"yes"; then
40724
40725 for ac_func in _log10f
40726 do
40727 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
40728 echo "$as_me:$LINENO: checking for $ac_func" >&5
40729 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
40730 if eval "test \"\${$as_ac_var+set}\" = set"; then
40731   echo $ECHO_N "(cached) $ECHO_C" >&6
40732 else
40733   if test x$gcc_no_link = xyes; then
40734   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
40735 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
40736    { (exit 1); exit 1; }; }
40737 fi
40738 cat >conftest.$ac_ext <<_ACEOF
40739 /* confdefs.h.  */
40740 _ACEOF
40741 cat confdefs.h >>conftest.$ac_ext
40742 cat >>conftest.$ac_ext <<_ACEOF
40743 /* end confdefs.h.  */
40744 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
40745    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
40746 #define $ac_func innocuous_$ac_func
40747
40748 /* System header to define __stub macros and hopefully few prototypes,
40749     which can conflict with char $ac_func (); below.
40750     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
40751     <limits.h> exists even on freestanding compilers.  */
40752
40753 #ifdef __STDC__
40754 # include <limits.h>
40755 #else
40756 # include <assert.h>
40757 #endif
40758
40759 #undef $ac_func
40760
40761 /* Override any gcc2 internal prototype to avoid an error.  */
40762 #ifdef __cplusplus
40763 extern "C"
40764 {
40765 #endif
40766 /* We use char because int might match the return type of a gcc2
40767    builtin and then its argument prototype would still apply.  */
40768 char $ac_func ();
40769 /* The GNU C library defines this for functions which it implements
40770     to always fail with ENOSYS.  Some functions are actually named
40771     something starting with __ and the normal name is an alias.  */
40772 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
40773 choke me
40774 #else
40775 char (*f) () = $ac_func;
40776 #endif
40777 #ifdef __cplusplus
40778 }
40779 #endif
40780
40781 int
40782 main ()
40783 {
40784 return f != $ac_func;
40785   ;
40786   return 0;
40787 }
40788 _ACEOF
40789 rm -f conftest.$ac_objext conftest$ac_exeext
40790 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
40791   (eval $ac_link) 2>conftest.er1
40792   ac_status=$?
40793   grep -v '^ *+' conftest.er1 >conftest.err
40794   rm -f conftest.er1
40795   cat conftest.err >&5
40796   echo "$as_me:$LINENO: \$? = $ac_status" >&5
40797   (exit $ac_status); } &&
40798          { ac_try='test -z "$ac_c_werror_flag"
40799                          || test ! -s conftest.err'
40800   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40801   (eval $ac_try) 2>&5
40802   ac_status=$?
40803   echo "$as_me:$LINENO: \$? = $ac_status" >&5
40804   (exit $ac_status); }; } &&
40805          { ac_try='test -s conftest$ac_exeext'
40806   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40807   (eval $ac_try) 2>&5
40808   ac_status=$?
40809   echo "$as_me:$LINENO: \$? = $ac_status" >&5
40810   (exit $ac_status); }; }; then
40811   eval "$as_ac_var=yes"
40812 else
40813   echo "$as_me: failed program was:" >&5
40814 sed 's/^/| /' conftest.$ac_ext >&5
40815
40816 eval "$as_ac_var=no"
40817 fi
40818 rm -f conftest.err conftest.$ac_objext \
40819       conftest$ac_exeext conftest.$ac_ext
40820 fi
40821 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
40822 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
40823 if test `eval echo '${'$as_ac_var'}'` = yes; then
40824   cat >>confdefs.h <<_ACEOF
40825 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
40826 _ACEOF
40827
40828 fi
40829 done
40830
40831     fi
40832   fi
40833
40834
40835
40836
40837
40838
40839   echo "$as_me:$LINENO: checking for modff declaration" >&5
40840 echo $ECHO_N "checking for modff declaration... $ECHO_C" >&6
40841   if test x${glibcxx_cv_func_modff_use+set} != xset; then
40842     if test "${glibcxx_cv_func_modff_use+set}" = set; then
40843   echo $ECHO_N "(cached) $ECHO_C" >&6
40844 else
40845
40846
40847
40848       ac_ext=cc
40849 ac_cpp='$CXXCPP $CPPFLAGS'
40850 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40851 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40852 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40853
40854       cat >conftest.$ac_ext <<_ACEOF
40855 /* confdefs.h.  */
40856 _ACEOF
40857 cat confdefs.h >>conftest.$ac_ext
40858 cat >>conftest.$ac_ext <<_ACEOF
40859 /* end confdefs.h.  */
40860 #include <math.h>
40861 int
40862 main ()
40863 {
40864  modff(0, 0);
40865   ;
40866   return 0;
40867 }
40868 _ACEOF
40869 rm -f conftest.$ac_objext
40870 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
40871   (eval $ac_compile) 2>conftest.er1
40872   ac_status=$?
40873   grep -v '^ *+' conftest.er1 >conftest.err
40874   rm -f conftest.er1
40875   cat conftest.err >&5
40876   echo "$as_me:$LINENO: \$? = $ac_status" >&5
40877   (exit $ac_status); } &&
40878          { ac_try='test -z "$ac_cxx_werror_flag"
40879                          || test ! -s conftest.err'
40880   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40881   (eval $ac_try) 2>&5
40882   ac_status=$?
40883   echo "$as_me:$LINENO: \$? = $ac_status" >&5
40884   (exit $ac_status); }; } &&
40885          { ac_try='test -s conftest.$ac_objext'
40886   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40887   (eval $ac_try) 2>&5
40888   ac_status=$?
40889   echo "$as_me:$LINENO: \$? = $ac_status" >&5
40890   (exit $ac_status); }; }; then
40891   glibcxx_cv_func_modff_use=yes
40892 else
40893   echo "$as_me: failed program was:" >&5
40894 sed 's/^/| /' conftest.$ac_ext >&5
40895
40896 glibcxx_cv_func_modff_use=no
40897 fi
40898 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
40899       ac_ext=c
40900 ac_cpp='$CPP $CPPFLAGS'
40901 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40902 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40903 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40904
40905
40906 fi
40907
40908   fi
40909   echo "$as_me:$LINENO: result: $glibcxx_cv_func_modff_use" >&5
40910 echo "${ECHO_T}$glibcxx_cv_func_modff_use" >&6
40911
40912   if test x$glibcxx_cv_func_modff_use = x"yes"; then
40913
40914 for ac_func in modff
40915 do
40916 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
40917 echo "$as_me:$LINENO: checking for $ac_func" >&5
40918 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
40919 if eval "test \"\${$as_ac_var+set}\" = set"; then
40920   echo $ECHO_N "(cached) $ECHO_C" >&6
40921 else
40922   if test x$gcc_no_link = xyes; then
40923   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
40924 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
40925    { (exit 1); exit 1; }; }
40926 fi
40927 cat >conftest.$ac_ext <<_ACEOF
40928 /* confdefs.h.  */
40929 _ACEOF
40930 cat confdefs.h >>conftest.$ac_ext
40931 cat >>conftest.$ac_ext <<_ACEOF
40932 /* end confdefs.h.  */
40933 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
40934    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
40935 #define $ac_func innocuous_$ac_func
40936
40937 /* System header to define __stub macros and hopefully few prototypes,
40938     which can conflict with char $ac_func (); below.
40939     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
40940     <limits.h> exists even on freestanding compilers.  */
40941
40942 #ifdef __STDC__
40943 # include <limits.h>
40944 #else
40945 # include <assert.h>
40946 #endif
40947
40948 #undef $ac_func
40949
40950 /* Override any gcc2 internal prototype to avoid an error.  */
40951 #ifdef __cplusplus
40952 extern "C"
40953 {
40954 #endif
40955 /* We use char because int might match the return type of a gcc2
40956    builtin and then its argument prototype would still apply.  */
40957 char $ac_func ();
40958 /* The GNU C library defines this for functions which it implements
40959     to always fail with ENOSYS.  Some functions are actually named
40960     something starting with __ and the normal name is an alias.  */
40961 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
40962 choke me
40963 #else
40964 char (*f) () = $ac_func;
40965 #endif
40966 #ifdef __cplusplus
40967 }
40968 #endif
40969
40970 int
40971 main ()
40972 {
40973 return f != $ac_func;
40974   ;
40975   return 0;
40976 }
40977 _ACEOF
40978 rm -f conftest.$ac_objext conftest$ac_exeext
40979 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
40980   (eval $ac_link) 2>conftest.er1
40981   ac_status=$?
40982   grep -v '^ *+' conftest.er1 >conftest.err
40983   rm -f conftest.er1
40984   cat conftest.err >&5
40985   echo "$as_me:$LINENO: \$? = $ac_status" >&5
40986   (exit $ac_status); } &&
40987          { ac_try='test -z "$ac_c_werror_flag"
40988                          || test ! -s conftest.err'
40989   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40990   (eval $ac_try) 2>&5
40991   ac_status=$?
40992   echo "$as_me:$LINENO: \$? = $ac_status" >&5
40993   (exit $ac_status); }; } &&
40994          { ac_try='test -s conftest$ac_exeext'
40995   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40996   (eval $ac_try) 2>&5
40997   ac_status=$?
40998   echo "$as_me:$LINENO: \$? = $ac_status" >&5
40999   (exit $ac_status); }; }; then
41000   eval "$as_ac_var=yes"
41001 else
41002   echo "$as_me: failed program was:" >&5
41003 sed 's/^/| /' conftest.$ac_ext >&5
41004
41005 eval "$as_ac_var=no"
41006 fi
41007 rm -f conftest.err conftest.$ac_objext \
41008       conftest$ac_exeext conftest.$ac_ext
41009 fi
41010 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
41011 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
41012 if test `eval echo '${'$as_ac_var'}'` = yes; then
41013   cat >>confdefs.h <<_ACEOF
41014 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
41015 _ACEOF
41016
41017 fi
41018 done
41019
41020   else
41021
41022   echo "$as_me:$LINENO: checking for _modff declaration" >&5
41023 echo $ECHO_N "checking for _modff declaration... $ECHO_C" >&6
41024   if test x${glibcxx_cv_func__modff_use+set} != xset; then
41025     if test "${glibcxx_cv_func__modff_use+set}" = set; then
41026   echo $ECHO_N "(cached) $ECHO_C" >&6
41027 else
41028
41029
41030
41031       ac_ext=cc
41032 ac_cpp='$CXXCPP $CPPFLAGS'
41033 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41034 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41035 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41036
41037       cat >conftest.$ac_ext <<_ACEOF
41038 /* confdefs.h.  */
41039 _ACEOF
41040 cat confdefs.h >>conftest.$ac_ext
41041 cat >>conftest.$ac_ext <<_ACEOF
41042 /* end confdefs.h.  */
41043 #include <math.h>
41044 int
41045 main ()
41046 {
41047  _modff(0, 0);
41048   ;
41049   return 0;
41050 }
41051 _ACEOF
41052 rm -f conftest.$ac_objext
41053 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
41054   (eval $ac_compile) 2>conftest.er1
41055   ac_status=$?
41056   grep -v '^ *+' conftest.er1 >conftest.err
41057   rm -f conftest.er1
41058   cat conftest.err >&5
41059   echo "$as_me:$LINENO: \$? = $ac_status" >&5
41060   (exit $ac_status); } &&
41061          { ac_try='test -z "$ac_cxx_werror_flag"
41062                          || test ! -s conftest.err'
41063   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41064   (eval $ac_try) 2>&5
41065   ac_status=$?
41066   echo "$as_me:$LINENO: \$? = $ac_status" >&5
41067   (exit $ac_status); }; } &&
41068          { ac_try='test -s conftest.$ac_objext'
41069   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41070   (eval $ac_try) 2>&5
41071   ac_status=$?
41072   echo "$as_me:$LINENO: \$? = $ac_status" >&5
41073   (exit $ac_status); }; }; then
41074   glibcxx_cv_func__modff_use=yes
41075 else
41076   echo "$as_me: failed program was:" >&5
41077 sed 's/^/| /' conftest.$ac_ext >&5
41078
41079 glibcxx_cv_func__modff_use=no
41080 fi
41081 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
41082       ac_ext=c
41083 ac_cpp='$CPP $CPPFLAGS'
41084 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41085 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41086 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41087
41088
41089 fi
41090
41091   fi
41092   echo "$as_me:$LINENO: result: $glibcxx_cv_func__modff_use" >&5
41093 echo "${ECHO_T}$glibcxx_cv_func__modff_use" >&6
41094
41095     if test x$glibcxx_cv_func__modff_use = x"yes"; then
41096
41097 for ac_func in _modff
41098 do
41099 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
41100 echo "$as_me:$LINENO: checking for $ac_func" >&5
41101 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
41102 if eval "test \"\${$as_ac_var+set}\" = set"; then
41103   echo $ECHO_N "(cached) $ECHO_C" >&6
41104 else
41105   if test x$gcc_no_link = xyes; then
41106   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
41107 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
41108    { (exit 1); exit 1; }; }
41109 fi
41110 cat >conftest.$ac_ext <<_ACEOF
41111 /* confdefs.h.  */
41112 _ACEOF
41113 cat confdefs.h >>conftest.$ac_ext
41114 cat >>conftest.$ac_ext <<_ACEOF
41115 /* end confdefs.h.  */
41116 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
41117    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
41118 #define $ac_func innocuous_$ac_func
41119
41120 /* System header to define __stub macros and hopefully few prototypes,
41121     which can conflict with char $ac_func (); below.
41122     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
41123     <limits.h> exists even on freestanding compilers.  */
41124
41125 #ifdef __STDC__
41126 # include <limits.h>
41127 #else
41128 # include <assert.h>
41129 #endif
41130
41131 #undef $ac_func
41132
41133 /* Override any gcc2 internal prototype to avoid an error.  */
41134 #ifdef __cplusplus
41135 extern "C"
41136 {
41137 #endif
41138 /* We use char because int might match the return type of a gcc2
41139    builtin and then its argument prototype would still apply.  */
41140 char $ac_func ();
41141 /* The GNU C library defines this for functions which it implements
41142     to always fail with ENOSYS.  Some functions are actually named
41143     something starting with __ and the normal name is an alias.  */
41144 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
41145 choke me
41146 #else
41147 char (*f) () = $ac_func;
41148 #endif
41149 #ifdef __cplusplus
41150 }
41151 #endif
41152
41153 int
41154 main ()
41155 {
41156 return f != $ac_func;
41157   ;
41158   return 0;
41159 }
41160 _ACEOF
41161 rm -f conftest.$ac_objext conftest$ac_exeext
41162 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
41163   (eval $ac_link) 2>conftest.er1
41164   ac_status=$?
41165   grep -v '^ *+' conftest.er1 >conftest.err
41166   rm -f conftest.er1
41167   cat conftest.err >&5
41168   echo "$as_me:$LINENO: \$? = $ac_status" >&5
41169   (exit $ac_status); } &&
41170          { ac_try='test -z "$ac_c_werror_flag"
41171                          || test ! -s conftest.err'
41172   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41173   (eval $ac_try) 2>&5
41174   ac_status=$?
41175   echo "$as_me:$LINENO: \$? = $ac_status" >&5
41176   (exit $ac_status); }; } &&
41177          { ac_try='test -s conftest$ac_exeext'
41178   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41179   (eval $ac_try) 2>&5
41180   ac_status=$?
41181   echo "$as_me:$LINENO: \$? = $ac_status" >&5
41182   (exit $ac_status); }; }; then
41183   eval "$as_ac_var=yes"
41184 else
41185   echo "$as_me: failed program was:" >&5
41186 sed 's/^/| /' conftest.$ac_ext >&5
41187
41188 eval "$as_ac_var=no"
41189 fi
41190 rm -f conftest.err conftest.$ac_objext \
41191       conftest$ac_exeext conftest.$ac_ext
41192 fi
41193 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
41194 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
41195 if test `eval echo '${'$as_ac_var'}'` = yes; then
41196   cat >>confdefs.h <<_ACEOF
41197 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
41198 _ACEOF
41199
41200 fi
41201 done
41202
41203     fi
41204   fi
41205
41206
41207
41208
41209
41210
41211   echo "$as_me:$LINENO: checking for modf declaration" >&5
41212 echo $ECHO_N "checking for modf declaration... $ECHO_C" >&6
41213   if test x${glibcxx_cv_func_modf_use+set} != xset; then
41214     if test "${glibcxx_cv_func_modf_use+set}" = set; then
41215   echo $ECHO_N "(cached) $ECHO_C" >&6
41216 else
41217
41218
41219
41220       ac_ext=cc
41221 ac_cpp='$CXXCPP $CPPFLAGS'
41222 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41223 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41224 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41225
41226       cat >conftest.$ac_ext <<_ACEOF
41227 /* confdefs.h.  */
41228 _ACEOF
41229 cat confdefs.h >>conftest.$ac_ext
41230 cat >>conftest.$ac_ext <<_ACEOF
41231 /* end confdefs.h.  */
41232 #include <math.h>
41233 int
41234 main ()
41235 {
41236  modf(0, 0);
41237   ;
41238   return 0;
41239 }
41240 _ACEOF
41241 rm -f conftest.$ac_objext
41242 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
41243   (eval $ac_compile) 2>conftest.er1
41244   ac_status=$?
41245   grep -v '^ *+' conftest.er1 >conftest.err
41246   rm -f conftest.er1
41247   cat conftest.err >&5
41248   echo "$as_me:$LINENO: \$? = $ac_status" >&5
41249   (exit $ac_status); } &&
41250          { ac_try='test -z "$ac_cxx_werror_flag"
41251                          || test ! -s conftest.err'
41252   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41253   (eval $ac_try) 2>&5
41254   ac_status=$?
41255   echo "$as_me:$LINENO: \$? = $ac_status" >&5
41256   (exit $ac_status); }; } &&
41257          { ac_try='test -s conftest.$ac_objext'
41258   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41259   (eval $ac_try) 2>&5
41260   ac_status=$?
41261   echo "$as_me:$LINENO: \$? = $ac_status" >&5
41262   (exit $ac_status); }; }; then
41263   glibcxx_cv_func_modf_use=yes
41264 else
41265   echo "$as_me: failed program was:" >&5
41266 sed 's/^/| /' conftest.$ac_ext >&5
41267
41268 glibcxx_cv_func_modf_use=no
41269 fi
41270 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
41271       ac_ext=c
41272 ac_cpp='$CPP $CPPFLAGS'
41273 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41274 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41275 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41276
41277
41278 fi
41279
41280   fi
41281   echo "$as_me:$LINENO: result: $glibcxx_cv_func_modf_use" >&5
41282 echo "${ECHO_T}$glibcxx_cv_func_modf_use" >&6
41283
41284   if test x$glibcxx_cv_func_modf_use = x"yes"; then
41285
41286 for ac_func in modf
41287 do
41288 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
41289 echo "$as_me:$LINENO: checking for $ac_func" >&5
41290 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
41291 if eval "test \"\${$as_ac_var+set}\" = set"; then
41292   echo $ECHO_N "(cached) $ECHO_C" >&6
41293 else
41294   if test x$gcc_no_link = xyes; then
41295   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
41296 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
41297    { (exit 1); exit 1; }; }
41298 fi
41299 cat >conftest.$ac_ext <<_ACEOF
41300 /* confdefs.h.  */
41301 _ACEOF
41302 cat confdefs.h >>conftest.$ac_ext
41303 cat >>conftest.$ac_ext <<_ACEOF
41304 /* end confdefs.h.  */
41305 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
41306    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
41307 #define $ac_func innocuous_$ac_func
41308
41309 /* System header to define __stub macros and hopefully few prototypes,
41310     which can conflict with char $ac_func (); below.
41311     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
41312     <limits.h> exists even on freestanding compilers.  */
41313
41314 #ifdef __STDC__
41315 # include <limits.h>
41316 #else
41317 # include <assert.h>
41318 #endif
41319
41320 #undef $ac_func
41321
41322 /* Override any gcc2 internal prototype to avoid an error.  */
41323 #ifdef __cplusplus
41324 extern "C"
41325 {
41326 #endif
41327 /* We use char because int might match the return type of a gcc2
41328    builtin and then its argument prototype would still apply.  */
41329 char $ac_func ();
41330 /* The GNU C library defines this for functions which it implements
41331     to always fail with ENOSYS.  Some functions are actually named
41332     something starting with __ and the normal name is an alias.  */
41333 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
41334 choke me
41335 #else
41336 char (*f) () = $ac_func;
41337 #endif
41338 #ifdef __cplusplus
41339 }
41340 #endif
41341
41342 int
41343 main ()
41344 {
41345 return f != $ac_func;
41346   ;
41347   return 0;
41348 }
41349 _ACEOF
41350 rm -f conftest.$ac_objext conftest$ac_exeext
41351 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
41352   (eval $ac_link) 2>conftest.er1
41353   ac_status=$?
41354   grep -v '^ *+' conftest.er1 >conftest.err
41355   rm -f conftest.er1
41356   cat conftest.err >&5
41357   echo "$as_me:$LINENO: \$? = $ac_status" >&5
41358   (exit $ac_status); } &&
41359          { ac_try='test -z "$ac_c_werror_flag"
41360                          || test ! -s conftest.err'
41361   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41362   (eval $ac_try) 2>&5
41363   ac_status=$?
41364   echo "$as_me:$LINENO: \$? = $ac_status" >&5
41365   (exit $ac_status); }; } &&
41366          { ac_try='test -s conftest$ac_exeext'
41367   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41368   (eval $ac_try) 2>&5
41369   ac_status=$?
41370   echo "$as_me:$LINENO: \$? = $ac_status" >&5
41371   (exit $ac_status); }; }; then
41372   eval "$as_ac_var=yes"
41373 else
41374   echo "$as_me: failed program was:" >&5
41375 sed 's/^/| /' conftest.$ac_ext >&5
41376
41377 eval "$as_ac_var=no"
41378 fi
41379 rm -f conftest.err conftest.$ac_objext \
41380       conftest$ac_exeext conftest.$ac_ext
41381 fi
41382 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
41383 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
41384 if test `eval echo '${'$as_ac_var'}'` = yes; then
41385   cat >>confdefs.h <<_ACEOF
41386 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
41387 _ACEOF
41388
41389 fi
41390 done
41391
41392   else
41393
41394   echo "$as_me:$LINENO: checking for _modf declaration" >&5
41395 echo $ECHO_N "checking for _modf declaration... $ECHO_C" >&6
41396   if test x${glibcxx_cv_func__modf_use+set} != xset; then
41397     if test "${glibcxx_cv_func__modf_use+set}" = set; then
41398   echo $ECHO_N "(cached) $ECHO_C" >&6
41399 else
41400
41401
41402
41403       ac_ext=cc
41404 ac_cpp='$CXXCPP $CPPFLAGS'
41405 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41406 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41407 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41408
41409       cat >conftest.$ac_ext <<_ACEOF
41410 /* confdefs.h.  */
41411 _ACEOF
41412 cat confdefs.h >>conftest.$ac_ext
41413 cat >>conftest.$ac_ext <<_ACEOF
41414 /* end confdefs.h.  */
41415 #include <math.h>
41416 int
41417 main ()
41418 {
41419  _modf(0, 0);
41420   ;
41421   return 0;
41422 }
41423 _ACEOF
41424 rm -f conftest.$ac_objext
41425 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
41426   (eval $ac_compile) 2>conftest.er1
41427   ac_status=$?
41428   grep -v '^ *+' conftest.er1 >conftest.err
41429   rm -f conftest.er1
41430   cat conftest.err >&5
41431   echo "$as_me:$LINENO: \$? = $ac_status" >&5
41432   (exit $ac_status); } &&
41433          { ac_try='test -z "$ac_cxx_werror_flag"
41434                          || test ! -s conftest.err'
41435   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41436   (eval $ac_try) 2>&5
41437   ac_status=$?
41438   echo "$as_me:$LINENO: \$? = $ac_status" >&5
41439   (exit $ac_status); }; } &&
41440          { ac_try='test -s conftest.$ac_objext'
41441   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41442   (eval $ac_try) 2>&5
41443   ac_status=$?
41444   echo "$as_me:$LINENO: \$? = $ac_status" >&5
41445   (exit $ac_status); }; }; then
41446   glibcxx_cv_func__modf_use=yes
41447 else
41448   echo "$as_me: failed program was:" >&5
41449 sed 's/^/| /' conftest.$ac_ext >&5
41450
41451 glibcxx_cv_func__modf_use=no
41452 fi
41453 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
41454       ac_ext=c
41455 ac_cpp='$CPP $CPPFLAGS'
41456 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41457 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41458 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41459
41460
41461 fi
41462
41463   fi
41464   echo "$as_me:$LINENO: result: $glibcxx_cv_func__modf_use" >&5
41465 echo "${ECHO_T}$glibcxx_cv_func__modf_use" >&6
41466
41467     if test x$glibcxx_cv_func__modf_use = x"yes"; then
41468
41469 for ac_func in _modf
41470 do
41471 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
41472 echo "$as_me:$LINENO: checking for $ac_func" >&5
41473 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
41474 if eval "test \"\${$as_ac_var+set}\" = set"; then
41475   echo $ECHO_N "(cached) $ECHO_C" >&6
41476 else
41477   if test x$gcc_no_link = xyes; then
41478   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
41479 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
41480    { (exit 1); exit 1; }; }
41481 fi
41482 cat >conftest.$ac_ext <<_ACEOF
41483 /* confdefs.h.  */
41484 _ACEOF
41485 cat confdefs.h >>conftest.$ac_ext
41486 cat >>conftest.$ac_ext <<_ACEOF
41487 /* end confdefs.h.  */
41488 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
41489    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
41490 #define $ac_func innocuous_$ac_func
41491
41492 /* System header to define __stub macros and hopefully few prototypes,
41493     which can conflict with char $ac_func (); below.
41494     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
41495     <limits.h> exists even on freestanding compilers.  */
41496
41497 #ifdef __STDC__
41498 # include <limits.h>
41499 #else
41500 # include <assert.h>
41501 #endif
41502
41503 #undef $ac_func
41504
41505 /* Override any gcc2 internal prototype to avoid an error.  */
41506 #ifdef __cplusplus
41507 extern "C"
41508 {
41509 #endif
41510 /* We use char because int might match the return type of a gcc2
41511    builtin and then its argument prototype would still apply.  */
41512 char $ac_func ();
41513 /* The GNU C library defines this for functions which it implements
41514     to always fail with ENOSYS.  Some functions are actually named
41515     something starting with __ and the normal name is an alias.  */
41516 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
41517 choke me
41518 #else
41519 char (*f) () = $ac_func;
41520 #endif
41521 #ifdef __cplusplus
41522 }
41523 #endif
41524
41525 int
41526 main ()
41527 {
41528 return f != $ac_func;
41529   ;
41530   return 0;
41531 }
41532 _ACEOF
41533 rm -f conftest.$ac_objext conftest$ac_exeext
41534 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
41535   (eval $ac_link) 2>conftest.er1
41536   ac_status=$?
41537   grep -v '^ *+' conftest.er1 >conftest.err
41538   rm -f conftest.er1
41539   cat conftest.err >&5
41540   echo "$as_me:$LINENO: \$? = $ac_status" >&5
41541   (exit $ac_status); } &&
41542          { ac_try='test -z "$ac_c_werror_flag"
41543                          || test ! -s conftest.err'
41544   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41545   (eval $ac_try) 2>&5
41546   ac_status=$?
41547   echo "$as_me:$LINENO: \$? = $ac_status" >&5
41548   (exit $ac_status); }; } &&
41549          { ac_try='test -s conftest$ac_exeext'
41550   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41551   (eval $ac_try) 2>&5
41552   ac_status=$?
41553   echo "$as_me:$LINENO: \$? = $ac_status" >&5
41554   (exit $ac_status); }; }; then
41555   eval "$as_ac_var=yes"
41556 else
41557   echo "$as_me: failed program was:" >&5
41558 sed 's/^/| /' conftest.$ac_ext >&5
41559
41560 eval "$as_ac_var=no"
41561 fi
41562 rm -f conftest.err conftest.$ac_objext \
41563       conftest$ac_exeext conftest.$ac_ext
41564 fi
41565 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
41566 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
41567 if test `eval echo '${'$as_ac_var'}'` = yes; then
41568   cat >>confdefs.h <<_ACEOF
41569 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
41570 _ACEOF
41571
41572 fi
41573 done
41574
41575     fi
41576   fi
41577
41578
41579
41580
41581
41582
41583   echo "$as_me:$LINENO: checking for powf declaration" >&5
41584 echo $ECHO_N "checking for powf declaration... $ECHO_C" >&6
41585   if test x${glibcxx_cv_func_powf_use+set} != xset; then
41586     if test "${glibcxx_cv_func_powf_use+set}" = set; then
41587   echo $ECHO_N "(cached) $ECHO_C" >&6
41588 else
41589
41590
41591
41592       ac_ext=cc
41593 ac_cpp='$CXXCPP $CPPFLAGS'
41594 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41595 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41596 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41597
41598       cat >conftest.$ac_ext <<_ACEOF
41599 /* confdefs.h.  */
41600 _ACEOF
41601 cat confdefs.h >>conftest.$ac_ext
41602 cat >>conftest.$ac_ext <<_ACEOF
41603 /* end confdefs.h.  */
41604 #include <math.h>
41605 int
41606 main ()
41607 {
41608  powf(0, 0);
41609   ;
41610   return 0;
41611 }
41612 _ACEOF
41613 rm -f conftest.$ac_objext
41614 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
41615   (eval $ac_compile) 2>conftest.er1
41616   ac_status=$?
41617   grep -v '^ *+' conftest.er1 >conftest.err
41618   rm -f conftest.er1
41619   cat conftest.err >&5
41620   echo "$as_me:$LINENO: \$? = $ac_status" >&5
41621   (exit $ac_status); } &&
41622          { ac_try='test -z "$ac_cxx_werror_flag"
41623                          || test ! -s conftest.err'
41624   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41625   (eval $ac_try) 2>&5
41626   ac_status=$?
41627   echo "$as_me:$LINENO: \$? = $ac_status" >&5
41628   (exit $ac_status); }; } &&
41629          { ac_try='test -s conftest.$ac_objext'
41630   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41631   (eval $ac_try) 2>&5
41632   ac_status=$?
41633   echo "$as_me:$LINENO: \$? = $ac_status" >&5
41634   (exit $ac_status); }; }; then
41635   glibcxx_cv_func_powf_use=yes
41636 else
41637   echo "$as_me: failed program was:" >&5
41638 sed 's/^/| /' conftest.$ac_ext >&5
41639
41640 glibcxx_cv_func_powf_use=no
41641 fi
41642 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
41643       ac_ext=c
41644 ac_cpp='$CPP $CPPFLAGS'
41645 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41646 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41647 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41648
41649
41650 fi
41651
41652   fi
41653   echo "$as_me:$LINENO: result: $glibcxx_cv_func_powf_use" >&5
41654 echo "${ECHO_T}$glibcxx_cv_func_powf_use" >&6
41655
41656   if test x$glibcxx_cv_func_powf_use = x"yes"; then
41657
41658 for ac_func in powf
41659 do
41660 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
41661 echo "$as_me:$LINENO: checking for $ac_func" >&5
41662 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
41663 if eval "test \"\${$as_ac_var+set}\" = set"; then
41664   echo $ECHO_N "(cached) $ECHO_C" >&6
41665 else
41666   if test x$gcc_no_link = xyes; then
41667   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
41668 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
41669    { (exit 1); exit 1; }; }
41670 fi
41671 cat >conftest.$ac_ext <<_ACEOF
41672 /* confdefs.h.  */
41673 _ACEOF
41674 cat confdefs.h >>conftest.$ac_ext
41675 cat >>conftest.$ac_ext <<_ACEOF
41676 /* end confdefs.h.  */
41677 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
41678    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
41679 #define $ac_func innocuous_$ac_func
41680
41681 /* System header to define __stub macros and hopefully few prototypes,
41682     which can conflict with char $ac_func (); below.
41683     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
41684     <limits.h> exists even on freestanding compilers.  */
41685
41686 #ifdef __STDC__
41687 # include <limits.h>
41688 #else
41689 # include <assert.h>
41690 #endif
41691
41692 #undef $ac_func
41693
41694 /* Override any gcc2 internal prototype to avoid an error.  */
41695 #ifdef __cplusplus
41696 extern "C"
41697 {
41698 #endif
41699 /* We use char because int might match the return type of a gcc2
41700    builtin and then its argument prototype would still apply.  */
41701 char $ac_func ();
41702 /* The GNU C library defines this for functions which it implements
41703     to always fail with ENOSYS.  Some functions are actually named
41704     something starting with __ and the normal name is an alias.  */
41705 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
41706 choke me
41707 #else
41708 char (*f) () = $ac_func;
41709 #endif
41710 #ifdef __cplusplus
41711 }
41712 #endif
41713
41714 int
41715 main ()
41716 {
41717 return f != $ac_func;
41718   ;
41719   return 0;
41720 }
41721 _ACEOF
41722 rm -f conftest.$ac_objext conftest$ac_exeext
41723 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
41724   (eval $ac_link) 2>conftest.er1
41725   ac_status=$?
41726   grep -v '^ *+' conftest.er1 >conftest.err
41727   rm -f conftest.er1
41728   cat conftest.err >&5
41729   echo "$as_me:$LINENO: \$? = $ac_status" >&5
41730   (exit $ac_status); } &&
41731          { ac_try='test -z "$ac_c_werror_flag"
41732                          || test ! -s conftest.err'
41733   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41734   (eval $ac_try) 2>&5
41735   ac_status=$?
41736   echo "$as_me:$LINENO: \$? = $ac_status" >&5
41737   (exit $ac_status); }; } &&
41738          { ac_try='test -s conftest$ac_exeext'
41739   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41740   (eval $ac_try) 2>&5
41741   ac_status=$?
41742   echo "$as_me:$LINENO: \$? = $ac_status" >&5
41743   (exit $ac_status); }; }; then
41744   eval "$as_ac_var=yes"
41745 else
41746   echo "$as_me: failed program was:" >&5
41747 sed 's/^/| /' conftest.$ac_ext >&5
41748
41749 eval "$as_ac_var=no"
41750 fi
41751 rm -f conftest.err conftest.$ac_objext \
41752       conftest$ac_exeext conftest.$ac_ext
41753 fi
41754 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
41755 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
41756 if test `eval echo '${'$as_ac_var'}'` = yes; then
41757   cat >>confdefs.h <<_ACEOF
41758 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
41759 _ACEOF
41760
41761 fi
41762 done
41763
41764   else
41765
41766   echo "$as_me:$LINENO: checking for _powf declaration" >&5
41767 echo $ECHO_N "checking for _powf declaration... $ECHO_C" >&6
41768   if test x${glibcxx_cv_func__powf_use+set} != xset; then
41769     if test "${glibcxx_cv_func__powf_use+set}" = set; then
41770   echo $ECHO_N "(cached) $ECHO_C" >&6
41771 else
41772
41773
41774
41775       ac_ext=cc
41776 ac_cpp='$CXXCPP $CPPFLAGS'
41777 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41778 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41779 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41780
41781       cat >conftest.$ac_ext <<_ACEOF
41782 /* confdefs.h.  */
41783 _ACEOF
41784 cat confdefs.h >>conftest.$ac_ext
41785 cat >>conftest.$ac_ext <<_ACEOF
41786 /* end confdefs.h.  */
41787 #include <math.h>
41788 int
41789 main ()
41790 {
41791  _powf(0, 0);
41792   ;
41793   return 0;
41794 }
41795 _ACEOF
41796 rm -f conftest.$ac_objext
41797 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
41798   (eval $ac_compile) 2>conftest.er1
41799   ac_status=$?
41800   grep -v '^ *+' conftest.er1 >conftest.err
41801   rm -f conftest.er1
41802   cat conftest.err >&5
41803   echo "$as_me:$LINENO: \$? = $ac_status" >&5
41804   (exit $ac_status); } &&
41805          { ac_try='test -z "$ac_cxx_werror_flag"
41806                          || test ! -s conftest.err'
41807   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41808   (eval $ac_try) 2>&5
41809   ac_status=$?
41810   echo "$as_me:$LINENO: \$? = $ac_status" >&5
41811   (exit $ac_status); }; } &&
41812          { ac_try='test -s conftest.$ac_objext'
41813   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41814   (eval $ac_try) 2>&5
41815   ac_status=$?
41816   echo "$as_me:$LINENO: \$? = $ac_status" >&5
41817   (exit $ac_status); }; }; then
41818   glibcxx_cv_func__powf_use=yes
41819 else
41820   echo "$as_me: failed program was:" >&5
41821 sed 's/^/| /' conftest.$ac_ext >&5
41822
41823 glibcxx_cv_func__powf_use=no
41824 fi
41825 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
41826       ac_ext=c
41827 ac_cpp='$CPP $CPPFLAGS'
41828 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41829 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41830 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41831
41832
41833 fi
41834
41835   fi
41836   echo "$as_me:$LINENO: result: $glibcxx_cv_func__powf_use" >&5
41837 echo "${ECHO_T}$glibcxx_cv_func__powf_use" >&6
41838
41839     if test x$glibcxx_cv_func__powf_use = x"yes"; then
41840
41841 for ac_func in _powf
41842 do
41843 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
41844 echo "$as_me:$LINENO: checking for $ac_func" >&5
41845 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
41846 if eval "test \"\${$as_ac_var+set}\" = set"; then
41847   echo $ECHO_N "(cached) $ECHO_C" >&6
41848 else
41849   if test x$gcc_no_link = xyes; then
41850   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
41851 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
41852    { (exit 1); exit 1; }; }
41853 fi
41854 cat >conftest.$ac_ext <<_ACEOF
41855 /* confdefs.h.  */
41856 _ACEOF
41857 cat confdefs.h >>conftest.$ac_ext
41858 cat >>conftest.$ac_ext <<_ACEOF
41859 /* end confdefs.h.  */
41860 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
41861    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
41862 #define $ac_func innocuous_$ac_func
41863
41864 /* System header to define __stub macros and hopefully few prototypes,
41865     which can conflict with char $ac_func (); below.
41866     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
41867     <limits.h> exists even on freestanding compilers.  */
41868
41869 #ifdef __STDC__
41870 # include <limits.h>
41871 #else
41872 # include <assert.h>
41873 #endif
41874
41875 #undef $ac_func
41876
41877 /* Override any gcc2 internal prototype to avoid an error.  */
41878 #ifdef __cplusplus
41879 extern "C"
41880 {
41881 #endif
41882 /* We use char because int might match the return type of a gcc2
41883    builtin and then its argument prototype would still apply.  */
41884 char $ac_func ();
41885 /* The GNU C library defines this for functions which it implements
41886     to always fail with ENOSYS.  Some functions are actually named
41887     something starting with __ and the normal name is an alias.  */
41888 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
41889 choke me
41890 #else
41891 char (*f) () = $ac_func;
41892 #endif
41893 #ifdef __cplusplus
41894 }
41895 #endif
41896
41897 int
41898 main ()
41899 {
41900 return f != $ac_func;
41901   ;
41902   return 0;
41903 }
41904 _ACEOF
41905 rm -f conftest.$ac_objext conftest$ac_exeext
41906 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
41907   (eval $ac_link) 2>conftest.er1
41908   ac_status=$?
41909   grep -v '^ *+' conftest.er1 >conftest.err
41910   rm -f conftest.er1
41911   cat conftest.err >&5
41912   echo "$as_me:$LINENO: \$? = $ac_status" >&5
41913   (exit $ac_status); } &&
41914          { ac_try='test -z "$ac_c_werror_flag"
41915                          || test ! -s conftest.err'
41916   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41917   (eval $ac_try) 2>&5
41918   ac_status=$?
41919   echo "$as_me:$LINENO: \$? = $ac_status" >&5
41920   (exit $ac_status); }; } &&
41921          { ac_try='test -s conftest$ac_exeext'
41922   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41923   (eval $ac_try) 2>&5
41924   ac_status=$?
41925   echo "$as_me:$LINENO: \$? = $ac_status" >&5
41926   (exit $ac_status); }; }; then
41927   eval "$as_ac_var=yes"
41928 else
41929   echo "$as_me: failed program was:" >&5
41930 sed 's/^/| /' conftest.$ac_ext >&5
41931
41932 eval "$as_ac_var=no"
41933 fi
41934 rm -f conftest.err conftest.$ac_objext \
41935       conftest$ac_exeext conftest.$ac_ext
41936 fi
41937 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
41938 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
41939 if test `eval echo '${'$as_ac_var'}'` = yes; then
41940   cat >>confdefs.h <<_ACEOF
41941 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
41942 _ACEOF
41943
41944 fi
41945 done
41946
41947     fi
41948   fi
41949
41950
41951
41952
41953
41954
41955   echo "$as_me:$LINENO: checking for sqrtf declaration" >&5
41956 echo $ECHO_N "checking for sqrtf declaration... $ECHO_C" >&6
41957   if test x${glibcxx_cv_func_sqrtf_use+set} != xset; then
41958     if test "${glibcxx_cv_func_sqrtf_use+set}" = set; then
41959   echo $ECHO_N "(cached) $ECHO_C" >&6
41960 else
41961
41962
41963
41964       ac_ext=cc
41965 ac_cpp='$CXXCPP $CPPFLAGS'
41966 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41967 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41968 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41969
41970       cat >conftest.$ac_ext <<_ACEOF
41971 /* confdefs.h.  */
41972 _ACEOF
41973 cat confdefs.h >>conftest.$ac_ext
41974 cat >>conftest.$ac_ext <<_ACEOF
41975 /* end confdefs.h.  */
41976 #include <math.h>
41977                       #ifdef HAVE_IEEEFP_H
41978                       #include <ieeefp.h>
41979                       #endif
41980
41981 int
41982 main ()
41983 {
41984  sqrtf(0);
41985   ;
41986   return 0;
41987 }
41988 _ACEOF
41989 rm -f conftest.$ac_objext
41990 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
41991   (eval $ac_compile) 2>conftest.er1
41992   ac_status=$?
41993   grep -v '^ *+' conftest.er1 >conftest.err
41994   rm -f conftest.er1
41995   cat conftest.err >&5
41996   echo "$as_me:$LINENO: \$? = $ac_status" >&5
41997   (exit $ac_status); } &&
41998          { ac_try='test -z "$ac_cxx_werror_flag"
41999                          || test ! -s conftest.err'
42000   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42001   (eval $ac_try) 2>&5
42002   ac_status=$?
42003   echo "$as_me:$LINENO: \$? = $ac_status" >&5
42004   (exit $ac_status); }; } &&
42005          { ac_try='test -s conftest.$ac_objext'
42006   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42007   (eval $ac_try) 2>&5
42008   ac_status=$?
42009   echo "$as_me:$LINENO: \$? = $ac_status" >&5
42010   (exit $ac_status); }; }; then
42011   glibcxx_cv_func_sqrtf_use=yes
42012 else
42013   echo "$as_me: failed program was:" >&5
42014 sed 's/^/| /' conftest.$ac_ext >&5
42015
42016 glibcxx_cv_func_sqrtf_use=no
42017 fi
42018 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
42019       ac_ext=c
42020 ac_cpp='$CPP $CPPFLAGS'
42021 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42022 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42023 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42024
42025
42026 fi
42027
42028   fi
42029   echo "$as_me:$LINENO: result: $glibcxx_cv_func_sqrtf_use" >&5
42030 echo "${ECHO_T}$glibcxx_cv_func_sqrtf_use" >&6
42031
42032   if test x$glibcxx_cv_func_sqrtf_use = x"yes"; then
42033
42034 for ac_func in sqrtf
42035 do
42036 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
42037 echo "$as_me:$LINENO: checking for $ac_func" >&5
42038 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
42039 if eval "test \"\${$as_ac_var+set}\" = set"; then
42040   echo $ECHO_N "(cached) $ECHO_C" >&6
42041 else
42042   if test x$gcc_no_link = xyes; then
42043   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
42044 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
42045    { (exit 1); exit 1; }; }
42046 fi
42047 cat >conftest.$ac_ext <<_ACEOF
42048 /* confdefs.h.  */
42049 _ACEOF
42050 cat confdefs.h >>conftest.$ac_ext
42051 cat >>conftest.$ac_ext <<_ACEOF
42052 /* end confdefs.h.  */
42053 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
42054    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
42055 #define $ac_func innocuous_$ac_func
42056
42057 /* System header to define __stub macros and hopefully few prototypes,
42058     which can conflict with char $ac_func (); below.
42059     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
42060     <limits.h> exists even on freestanding compilers.  */
42061
42062 #ifdef __STDC__
42063 # include <limits.h>
42064 #else
42065 # include <assert.h>
42066 #endif
42067
42068 #undef $ac_func
42069
42070 /* Override any gcc2 internal prototype to avoid an error.  */
42071 #ifdef __cplusplus
42072 extern "C"
42073 {
42074 #endif
42075 /* We use char because int might match the return type of a gcc2
42076    builtin and then its argument prototype would still apply.  */
42077 char $ac_func ();
42078 /* The GNU C library defines this for functions which it implements
42079     to always fail with ENOSYS.  Some functions are actually named
42080     something starting with __ and the normal name is an alias.  */
42081 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
42082 choke me
42083 #else
42084 char (*f) () = $ac_func;
42085 #endif
42086 #ifdef __cplusplus
42087 }
42088 #endif
42089
42090 int
42091 main ()
42092 {
42093 return f != $ac_func;
42094   ;
42095   return 0;
42096 }
42097 _ACEOF
42098 rm -f conftest.$ac_objext conftest$ac_exeext
42099 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
42100   (eval $ac_link) 2>conftest.er1
42101   ac_status=$?
42102   grep -v '^ *+' conftest.er1 >conftest.err
42103   rm -f conftest.er1
42104   cat conftest.err >&5
42105   echo "$as_me:$LINENO: \$? = $ac_status" >&5
42106   (exit $ac_status); } &&
42107          { ac_try='test -z "$ac_c_werror_flag"
42108                          || test ! -s conftest.err'
42109   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42110   (eval $ac_try) 2>&5
42111   ac_status=$?
42112   echo "$as_me:$LINENO: \$? = $ac_status" >&5
42113   (exit $ac_status); }; } &&
42114          { ac_try='test -s conftest$ac_exeext'
42115   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42116   (eval $ac_try) 2>&5
42117   ac_status=$?
42118   echo "$as_me:$LINENO: \$? = $ac_status" >&5
42119   (exit $ac_status); }; }; then
42120   eval "$as_ac_var=yes"
42121 else
42122   echo "$as_me: failed program was:" >&5
42123 sed 's/^/| /' conftest.$ac_ext >&5
42124
42125 eval "$as_ac_var=no"
42126 fi
42127 rm -f conftest.err conftest.$ac_objext \
42128       conftest$ac_exeext conftest.$ac_ext
42129 fi
42130 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
42131 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
42132 if test `eval echo '${'$as_ac_var'}'` = yes; then
42133   cat >>confdefs.h <<_ACEOF
42134 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
42135 _ACEOF
42136
42137 fi
42138 done
42139
42140   else
42141
42142   echo "$as_me:$LINENO: checking for _sqrtf declaration" >&5
42143 echo $ECHO_N "checking for _sqrtf declaration... $ECHO_C" >&6
42144   if test x${glibcxx_cv_func__sqrtf_use+set} != xset; then
42145     if test "${glibcxx_cv_func__sqrtf_use+set}" = set; then
42146   echo $ECHO_N "(cached) $ECHO_C" >&6
42147 else
42148
42149
42150
42151       ac_ext=cc
42152 ac_cpp='$CXXCPP $CPPFLAGS'
42153 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42154 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42155 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42156
42157       cat >conftest.$ac_ext <<_ACEOF
42158 /* confdefs.h.  */
42159 _ACEOF
42160 cat confdefs.h >>conftest.$ac_ext
42161 cat >>conftest.$ac_ext <<_ACEOF
42162 /* end confdefs.h.  */
42163 #include <math.h>
42164                       #ifdef HAVE_IEEEFP_H
42165                       #include <ieeefp.h>
42166                       #endif
42167
42168 int
42169 main ()
42170 {
42171  _sqrtf(0);
42172   ;
42173   return 0;
42174 }
42175 _ACEOF
42176 rm -f conftest.$ac_objext
42177 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
42178   (eval $ac_compile) 2>conftest.er1
42179   ac_status=$?
42180   grep -v '^ *+' conftest.er1 >conftest.err
42181   rm -f conftest.er1
42182   cat conftest.err >&5
42183   echo "$as_me:$LINENO: \$? = $ac_status" >&5
42184   (exit $ac_status); } &&
42185          { ac_try='test -z "$ac_cxx_werror_flag"
42186                          || test ! -s conftest.err'
42187   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42188   (eval $ac_try) 2>&5
42189   ac_status=$?
42190   echo "$as_me:$LINENO: \$? = $ac_status" >&5
42191   (exit $ac_status); }; } &&
42192          { ac_try='test -s conftest.$ac_objext'
42193   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42194   (eval $ac_try) 2>&5
42195   ac_status=$?
42196   echo "$as_me:$LINENO: \$? = $ac_status" >&5
42197   (exit $ac_status); }; }; then
42198   glibcxx_cv_func__sqrtf_use=yes
42199 else
42200   echo "$as_me: failed program was:" >&5
42201 sed 's/^/| /' conftest.$ac_ext >&5
42202
42203 glibcxx_cv_func__sqrtf_use=no
42204 fi
42205 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
42206       ac_ext=c
42207 ac_cpp='$CPP $CPPFLAGS'
42208 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42209 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42210 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42211
42212
42213 fi
42214
42215   fi
42216   echo "$as_me:$LINENO: result: $glibcxx_cv_func__sqrtf_use" >&5
42217 echo "${ECHO_T}$glibcxx_cv_func__sqrtf_use" >&6
42218
42219     if test x$glibcxx_cv_func__sqrtf_use = x"yes"; then
42220
42221 for ac_func in _sqrtf
42222 do
42223 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
42224 echo "$as_me:$LINENO: checking for $ac_func" >&5
42225 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
42226 if eval "test \"\${$as_ac_var+set}\" = set"; then
42227   echo $ECHO_N "(cached) $ECHO_C" >&6
42228 else
42229   if test x$gcc_no_link = xyes; then
42230   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
42231 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
42232    { (exit 1); exit 1; }; }
42233 fi
42234 cat >conftest.$ac_ext <<_ACEOF
42235 /* confdefs.h.  */
42236 _ACEOF
42237 cat confdefs.h >>conftest.$ac_ext
42238 cat >>conftest.$ac_ext <<_ACEOF
42239 /* end confdefs.h.  */
42240 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
42241    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
42242 #define $ac_func innocuous_$ac_func
42243
42244 /* System header to define __stub macros and hopefully few prototypes,
42245     which can conflict with char $ac_func (); below.
42246     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
42247     <limits.h> exists even on freestanding compilers.  */
42248
42249 #ifdef __STDC__
42250 # include <limits.h>
42251 #else
42252 # include <assert.h>
42253 #endif
42254
42255 #undef $ac_func
42256
42257 /* Override any gcc2 internal prototype to avoid an error.  */
42258 #ifdef __cplusplus
42259 extern "C"
42260 {
42261 #endif
42262 /* We use char because int might match the return type of a gcc2
42263    builtin and then its argument prototype would still apply.  */
42264 char $ac_func ();
42265 /* The GNU C library defines this for functions which it implements
42266     to always fail with ENOSYS.  Some functions are actually named
42267     something starting with __ and the normal name is an alias.  */
42268 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
42269 choke me
42270 #else
42271 char (*f) () = $ac_func;
42272 #endif
42273 #ifdef __cplusplus
42274 }
42275 #endif
42276
42277 int
42278 main ()
42279 {
42280 return f != $ac_func;
42281   ;
42282   return 0;
42283 }
42284 _ACEOF
42285 rm -f conftest.$ac_objext conftest$ac_exeext
42286 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
42287   (eval $ac_link) 2>conftest.er1
42288   ac_status=$?
42289   grep -v '^ *+' conftest.er1 >conftest.err
42290   rm -f conftest.er1
42291   cat conftest.err >&5
42292   echo "$as_me:$LINENO: \$? = $ac_status" >&5
42293   (exit $ac_status); } &&
42294          { ac_try='test -z "$ac_c_werror_flag"
42295                          || test ! -s conftest.err'
42296   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42297   (eval $ac_try) 2>&5
42298   ac_status=$?
42299   echo "$as_me:$LINENO: \$? = $ac_status" >&5
42300   (exit $ac_status); }; } &&
42301          { ac_try='test -s conftest$ac_exeext'
42302   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42303   (eval $ac_try) 2>&5
42304   ac_status=$?
42305   echo "$as_me:$LINENO: \$? = $ac_status" >&5
42306   (exit $ac_status); }; }; then
42307   eval "$as_ac_var=yes"
42308 else
42309   echo "$as_me: failed program was:" >&5
42310 sed 's/^/| /' conftest.$ac_ext >&5
42311
42312 eval "$as_ac_var=no"
42313 fi
42314 rm -f conftest.err conftest.$ac_objext \
42315       conftest$ac_exeext conftest.$ac_ext
42316 fi
42317 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
42318 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
42319 if test `eval echo '${'$as_ac_var'}'` = yes; then
42320   cat >>confdefs.h <<_ACEOF
42321 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
42322 _ACEOF
42323
42324 fi
42325 done
42326
42327     fi
42328   fi
42329
42330
42331
42332
42333
42334
42335   echo "$as_me:$LINENO: checking for sincosf declaration" >&5
42336 echo $ECHO_N "checking for sincosf declaration... $ECHO_C" >&6
42337   if test x${glibcxx_cv_func_sincosf_use+set} != xset; then
42338     if test "${glibcxx_cv_func_sincosf_use+set}" = set; then
42339   echo $ECHO_N "(cached) $ECHO_C" >&6
42340 else
42341
42342
42343
42344       ac_ext=cc
42345 ac_cpp='$CXXCPP $CPPFLAGS'
42346 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42347 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42348 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42349
42350       cat >conftest.$ac_ext <<_ACEOF
42351 /* confdefs.h.  */
42352 _ACEOF
42353 cat confdefs.h >>conftest.$ac_ext
42354 cat >>conftest.$ac_ext <<_ACEOF
42355 /* end confdefs.h.  */
42356 #include <math.h>
42357 int
42358 main ()
42359 {
42360  sincosf(0, 0, 0);
42361   ;
42362   return 0;
42363 }
42364 _ACEOF
42365 rm -f conftest.$ac_objext
42366 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
42367   (eval $ac_compile) 2>conftest.er1
42368   ac_status=$?
42369   grep -v '^ *+' conftest.er1 >conftest.err
42370   rm -f conftest.er1
42371   cat conftest.err >&5
42372   echo "$as_me:$LINENO: \$? = $ac_status" >&5
42373   (exit $ac_status); } &&
42374          { ac_try='test -z "$ac_cxx_werror_flag"
42375                          || test ! -s conftest.err'
42376   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42377   (eval $ac_try) 2>&5
42378   ac_status=$?
42379   echo "$as_me:$LINENO: \$? = $ac_status" >&5
42380   (exit $ac_status); }; } &&
42381          { ac_try='test -s conftest.$ac_objext'
42382   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42383   (eval $ac_try) 2>&5
42384   ac_status=$?
42385   echo "$as_me:$LINENO: \$? = $ac_status" >&5
42386   (exit $ac_status); }; }; then
42387   glibcxx_cv_func_sincosf_use=yes
42388 else
42389   echo "$as_me: failed program was:" >&5
42390 sed 's/^/| /' conftest.$ac_ext >&5
42391
42392 glibcxx_cv_func_sincosf_use=no
42393 fi
42394 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
42395       ac_ext=c
42396 ac_cpp='$CPP $CPPFLAGS'
42397 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42398 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42399 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42400
42401
42402 fi
42403
42404   fi
42405   echo "$as_me:$LINENO: result: $glibcxx_cv_func_sincosf_use" >&5
42406 echo "${ECHO_T}$glibcxx_cv_func_sincosf_use" >&6
42407
42408   if test x$glibcxx_cv_func_sincosf_use = x"yes"; then
42409
42410 for ac_func in sincosf
42411 do
42412 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
42413 echo "$as_me:$LINENO: checking for $ac_func" >&5
42414 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
42415 if eval "test \"\${$as_ac_var+set}\" = set"; then
42416   echo $ECHO_N "(cached) $ECHO_C" >&6
42417 else
42418   if test x$gcc_no_link = xyes; then
42419   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
42420 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
42421    { (exit 1); exit 1; }; }
42422 fi
42423 cat >conftest.$ac_ext <<_ACEOF
42424 /* confdefs.h.  */
42425 _ACEOF
42426 cat confdefs.h >>conftest.$ac_ext
42427 cat >>conftest.$ac_ext <<_ACEOF
42428 /* end confdefs.h.  */
42429 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
42430    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
42431 #define $ac_func innocuous_$ac_func
42432
42433 /* System header to define __stub macros and hopefully few prototypes,
42434     which can conflict with char $ac_func (); below.
42435     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
42436     <limits.h> exists even on freestanding compilers.  */
42437
42438 #ifdef __STDC__
42439 # include <limits.h>
42440 #else
42441 # include <assert.h>
42442 #endif
42443
42444 #undef $ac_func
42445
42446 /* Override any gcc2 internal prototype to avoid an error.  */
42447 #ifdef __cplusplus
42448 extern "C"
42449 {
42450 #endif
42451 /* We use char because int might match the return type of a gcc2
42452    builtin and then its argument prototype would still apply.  */
42453 char $ac_func ();
42454 /* The GNU C library defines this for functions which it implements
42455     to always fail with ENOSYS.  Some functions are actually named
42456     something starting with __ and the normal name is an alias.  */
42457 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
42458 choke me
42459 #else
42460 char (*f) () = $ac_func;
42461 #endif
42462 #ifdef __cplusplus
42463 }
42464 #endif
42465
42466 int
42467 main ()
42468 {
42469 return f != $ac_func;
42470   ;
42471   return 0;
42472 }
42473 _ACEOF
42474 rm -f conftest.$ac_objext conftest$ac_exeext
42475 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
42476   (eval $ac_link) 2>conftest.er1
42477   ac_status=$?
42478   grep -v '^ *+' conftest.er1 >conftest.err
42479   rm -f conftest.er1
42480   cat conftest.err >&5
42481   echo "$as_me:$LINENO: \$? = $ac_status" >&5
42482   (exit $ac_status); } &&
42483          { ac_try='test -z "$ac_c_werror_flag"
42484                          || test ! -s conftest.err'
42485   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42486   (eval $ac_try) 2>&5
42487   ac_status=$?
42488   echo "$as_me:$LINENO: \$? = $ac_status" >&5
42489   (exit $ac_status); }; } &&
42490          { ac_try='test -s conftest$ac_exeext'
42491   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42492   (eval $ac_try) 2>&5
42493   ac_status=$?
42494   echo "$as_me:$LINENO: \$? = $ac_status" >&5
42495   (exit $ac_status); }; }; then
42496   eval "$as_ac_var=yes"
42497 else
42498   echo "$as_me: failed program was:" >&5
42499 sed 's/^/| /' conftest.$ac_ext >&5
42500
42501 eval "$as_ac_var=no"
42502 fi
42503 rm -f conftest.err conftest.$ac_objext \
42504       conftest$ac_exeext conftest.$ac_ext
42505 fi
42506 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
42507 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
42508 if test `eval echo '${'$as_ac_var'}'` = yes; then
42509   cat >>confdefs.h <<_ACEOF
42510 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
42511 _ACEOF
42512
42513 fi
42514 done
42515
42516   else
42517
42518   echo "$as_me:$LINENO: checking for _sincosf declaration" >&5
42519 echo $ECHO_N "checking for _sincosf declaration... $ECHO_C" >&6
42520   if test x${glibcxx_cv_func__sincosf_use+set} != xset; then
42521     if test "${glibcxx_cv_func__sincosf_use+set}" = set; then
42522   echo $ECHO_N "(cached) $ECHO_C" >&6
42523 else
42524
42525
42526
42527       ac_ext=cc
42528 ac_cpp='$CXXCPP $CPPFLAGS'
42529 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42530 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42531 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42532
42533       cat >conftest.$ac_ext <<_ACEOF
42534 /* confdefs.h.  */
42535 _ACEOF
42536 cat confdefs.h >>conftest.$ac_ext
42537 cat >>conftest.$ac_ext <<_ACEOF
42538 /* end confdefs.h.  */
42539 #include <math.h>
42540 int
42541 main ()
42542 {
42543  _sincosf(0, 0, 0);
42544   ;
42545   return 0;
42546 }
42547 _ACEOF
42548 rm -f conftest.$ac_objext
42549 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
42550   (eval $ac_compile) 2>conftest.er1
42551   ac_status=$?
42552   grep -v '^ *+' conftest.er1 >conftest.err
42553   rm -f conftest.er1
42554   cat conftest.err >&5
42555   echo "$as_me:$LINENO: \$? = $ac_status" >&5
42556   (exit $ac_status); } &&
42557          { ac_try='test -z "$ac_cxx_werror_flag"
42558                          || test ! -s conftest.err'
42559   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42560   (eval $ac_try) 2>&5
42561   ac_status=$?
42562   echo "$as_me:$LINENO: \$? = $ac_status" >&5
42563   (exit $ac_status); }; } &&
42564          { ac_try='test -s conftest.$ac_objext'
42565   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42566   (eval $ac_try) 2>&5
42567   ac_status=$?
42568   echo "$as_me:$LINENO: \$? = $ac_status" >&5
42569   (exit $ac_status); }; }; then
42570   glibcxx_cv_func__sincosf_use=yes
42571 else
42572   echo "$as_me: failed program was:" >&5
42573 sed 's/^/| /' conftest.$ac_ext >&5
42574
42575 glibcxx_cv_func__sincosf_use=no
42576 fi
42577 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
42578       ac_ext=c
42579 ac_cpp='$CPP $CPPFLAGS'
42580 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42581 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42582 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42583
42584
42585 fi
42586
42587   fi
42588   echo "$as_me:$LINENO: result: $glibcxx_cv_func__sincosf_use" >&5
42589 echo "${ECHO_T}$glibcxx_cv_func__sincosf_use" >&6
42590
42591     if test x$glibcxx_cv_func__sincosf_use = x"yes"; then
42592
42593 for ac_func in _sincosf
42594 do
42595 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
42596 echo "$as_me:$LINENO: checking for $ac_func" >&5
42597 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
42598 if eval "test \"\${$as_ac_var+set}\" = set"; then
42599   echo $ECHO_N "(cached) $ECHO_C" >&6
42600 else
42601   if test x$gcc_no_link = xyes; then
42602   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
42603 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
42604    { (exit 1); exit 1; }; }
42605 fi
42606 cat >conftest.$ac_ext <<_ACEOF
42607 /* confdefs.h.  */
42608 _ACEOF
42609 cat confdefs.h >>conftest.$ac_ext
42610 cat >>conftest.$ac_ext <<_ACEOF
42611 /* end confdefs.h.  */
42612 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
42613    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
42614 #define $ac_func innocuous_$ac_func
42615
42616 /* System header to define __stub macros and hopefully few prototypes,
42617     which can conflict with char $ac_func (); below.
42618     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
42619     <limits.h> exists even on freestanding compilers.  */
42620
42621 #ifdef __STDC__
42622 # include <limits.h>
42623 #else
42624 # include <assert.h>
42625 #endif
42626
42627 #undef $ac_func
42628
42629 /* Override any gcc2 internal prototype to avoid an error.  */
42630 #ifdef __cplusplus
42631 extern "C"
42632 {
42633 #endif
42634 /* We use char because int might match the return type of a gcc2
42635    builtin and then its argument prototype would still apply.  */
42636 char $ac_func ();
42637 /* The GNU C library defines this for functions which it implements
42638     to always fail with ENOSYS.  Some functions are actually named
42639     something starting with __ and the normal name is an alias.  */
42640 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
42641 choke me
42642 #else
42643 char (*f) () = $ac_func;
42644 #endif
42645 #ifdef __cplusplus
42646 }
42647 #endif
42648
42649 int
42650 main ()
42651 {
42652 return f != $ac_func;
42653   ;
42654   return 0;
42655 }
42656 _ACEOF
42657 rm -f conftest.$ac_objext conftest$ac_exeext
42658 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
42659   (eval $ac_link) 2>conftest.er1
42660   ac_status=$?
42661   grep -v '^ *+' conftest.er1 >conftest.err
42662   rm -f conftest.er1
42663   cat conftest.err >&5
42664   echo "$as_me:$LINENO: \$? = $ac_status" >&5
42665   (exit $ac_status); } &&
42666          { ac_try='test -z "$ac_c_werror_flag"
42667                          || test ! -s conftest.err'
42668   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42669   (eval $ac_try) 2>&5
42670   ac_status=$?
42671   echo "$as_me:$LINENO: \$? = $ac_status" >&5
42672   (exit $ac_status); }; } &&
42673          { ac_try='test -s conftest$ac_exeext'
42674   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42675   (eval $ac_try) 2>&5
42676   ac_status=$?
42677   echo "$as_me:$LINENO: \$? = $ac_status" >&5
42678   (exit $ac_status); }; }; then
42679   eval "$as_ac_var=yes"
42680 else
42681   echo "$as_me: failed program was:" >&5
42682 sed 's/^/| /' conftest.$ac_ext >&5
42683
42684 eval "$as_ac_var=no"
42685 fi
42686 rm -f conftest.err conftest.$ac_objext \
42687       conftest$ac_exeext conftest.$ac_ext
42688 fi
42689 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
42690 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
42691 if test `eval echo '${'$as_ac_var'}'` = yes; then
42692   cat >>confdefs.h <<_ACEOF
42693 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
42694 _ACEOF
42695
42696 fi
42697 done
42698
42699     fi
42700   fi
42701
42702
42703
42704
42705
42706
42707   echo "$as_me:$LINENO: checking for finitef declaration" >&5
42708 echo $ECHO_N "checking for finitef declaration... $ECHO_C" >&6
42709   if test x${glibcxx_cv_func_finitef_use+set} != xset; then
42710     if test "${glibcxx_cv_func_finitef_use+set}" = set; then
42711   echo $ECHO_N "(cached) $ECHO_C" >&6
42712 else
42713
42714
42715
42716       ac_ext=cc
42717 ac_cpp='$CXXCPP $CPPFLAGS'
42718 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42719 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42720 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42721
42722       cat >conftest.$ac_ext <<_ACEOF
42723 /* confdefs.h.  */
42724 _ACEOF
42725 cat confdefs.h >>conftest.$ac_ext
42726 cat >>conftest.$ac_ext <<_ACEOF
42727 /* end confdefs.h.  */
42728 #include <math.h>
42729                       #ifdef HAVE_IEEEFP_H
42730                       #include <ieeefp.h>
42731                       #endif
42732
42733 int
42734 main ()
42735 {
42736  finitef(0);
42737   ;
42738   return 0;
42739 }
42740 _ACEOF
42741 rm -f conftest.$ac_objext
42742 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
42743   (eval $ac_compile) 2>conftest.er1
42744   ac_status=$?
42745   grep -v '^ *+' conftest.er1 >conftest.err
42746   rm -f conftest.er1
42747   cat conftest.err >&5
42748   echo "$as_me:$LINENO: \$? = $ac_status" >&5
42749   (exit $ac_status); } &&
42750          { ac_try='test -z "$ac_cxx_werror_flag"
42751                          || test ! -s conftest.err'
42752   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42753   (eval $ac_try) 2>&5
42754   ac_status=$?
42755   echo "$as_me:$LINENO: \$? = $ac_status" >&5
42756   (exit $ac_status); }; } &&
42757          { ac_try='test -s conftest.$ac_objext'
42758   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42759   (eval $ac_try) 2>&5
42760   ac_status=$?
42761   echo "$as_me:$LINENO: \$? = $ac_status" >&5
42762   (exit $ac_status); }; }; then
42763   glibcxx_cv_func_finitef_use=yes
42764 else
42765   echo "$as_me: failed program was:" >&5
42766 sed 's/^/| /' conftest.$ac_ext >&5
42767
42768 glibcxx_cv_func_finitef_use=no
42769 fi
42770 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
42771       ac_ext=c
42772 ac_cpp='$CPP $CPPFLAGS'
42773 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42774 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42775 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42776
42777
42778 fi
42779
42780   fi
42781   echo "$as_me:$LINENO: result: $glibcxx_cv_func_finitef_use" >&5
42782 echo "${ECHO_T}$glibcxx_cv_func_finitef_use" >&6
42783
42784   if test x$glibcxx_cv_func_finitef_use = x"yes"; then
42785
42786 for ac_func in finitef
42787 do
42788 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
42789 echo "$as_me:$LINENO: checking for $ac_func" >&5
42790 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
42791 if eval "test \"\${$as_ac_var+set}\" = set"; then
42792   echo $ECHO_N "(cached) $ECHO_C" >&6
42793 else
42794   if test x$gcc_no_link = xyes; then
42795   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
42796 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
42797    { (exit 1); exit 1; }; }
42798 fi
42799 cat >conftest.$ac_ext <<_ACEOF
42800 /* confdefs.h.  */
42801 _ACEOF
42802 cat confdefs.h >>conftest.$ac_ext
42803 cat >>conftest.$ac_ext <<_ACEOF
42804 /* end confdefs.h.  */
42805 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
42806    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
42807 #define $ac_func innocuous_$ac_func
42808
42809 /* System header to define __stub macros and hopefully few prototypes,
42810     which can conflict with char $ac_func (); below.
42811     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
42812     <limits.h> exists even on freestanding compilers.  */
42813
42814 #ifdef __STDC__
42815 # include <limits.h>
42816 #else
42817 # include <assert.h>
42818 #endif
42819
42820 #undef $ac_func
42821
42822 /* Override any gcc2 internal prototype to avoid an error.  */
42823 #ifdef __cplusplus
42824 extern "C"
42825 {
42826 #endif
42827 /* We use char because int might match the return type of a gcc2
42828    builtin and then its argument prototype would still apply.  */
42829 char $ac_func ();
42830 /* The GNU C library defines this for functions which it implements
42831     to always fail with ENOSYS.  Some functions are actually named
42832     something starting with __ and the normal name is an alias.  */
42833 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
42834 choke me
42835 #else
42836 char (*f) () = $ac_func;
42837 #endif
42838 #ifdef __cplusplus
42839 }
42840 #endif
42841
42842 int
42843 main ()
42844 {
42845 return f != $ac_func;
42846   ;
42847   return 0;
42848 }
42849 _ACEOF
42850 rm -f conftest.$ac_objext conftest$ac_exeext
42851 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
42852   (eval $ac_link) 2>conftest.er1
42853   ac_status=$?
42854   grep -v '^ *+' conftest.er1 >conftest.err
42855   rm -f conftest.er1
42856   cat conftest.err >&5
42857   echo "$as_me:$LINENO: \$? = $ac_status" >&5
42858   (exit $ac_status); } &&
42859          { ac_try='test -z "$ac_c_werror_flag"
42860                          || test ! -s conftest.err'
42861   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42862   (eval $ac_try) 2>&5
42863   ac_status=$?
42864   echo "$as_me:$LINENO: \$? = $ac_status" >&5
42865   (exit $ac_status); }; } &&
42866          { ac_try='test -s conftest$ac_exeext'
42867   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42868   (eval $ac_try) 2>&5
42869   ac_status=$?
42870   echo "$as_me:$LINENO: \$? = $ac_status" >&5
42871   (exit $ac_status); }; }; then
42872   eval "$as_ac_var=yes"
42873 else
42874   echo "$as_me: failed program was:" >&5
42875 sed 's/^/| /' conftest.$ac_ext >&5
42876
42877 eval "$as_ac_var=no"
42878 fi
42879 rm -f conftest.err conftest.$ac_objext \
42880       conftest$ac_exeext conftest.$ac_ext
42881 fi
42882 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
42883 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
42884 if test `eval echo '${'$as_ac_var'}'` = yes; then
42885   cat >>confdefs.h <<_ACEOF
42886 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
42887 _ACEOF
42888
42889 fi
42890 done
42891
42892   else
42893
42894   echo "$as_me:$LINENO: checking for _finitef declaration" >&5
42895 echo $ECHO_N "checking for _finitef declaration... $ECHO_C" >&6
42896   if test x${glibcxx_cv_func__finitef_use+set} != xset; then
42897     if test "${glibcxx_cv_func__finitef_use+set}" = set; then
42898   echo $ECHO_N "(cached) $ECHO_C" >&6
42899 else
42900
42901
42902
42903       ac_ext=cc
42904 ac_cpp='$CXXCPP $CPPFLAGS'
42905 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42906 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42907 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42908
42909       cat >conftest.$ac_ext <<_ACEOF
42910 /* confdefs.h.  */
42911 _ACEOF
42912 cat confdefs.h >>conftest.$ac_ext
42913 cat >>conftest.$ac_ext <<_ACEOF
42914 /* end confdefs.h.  */
42915 #include <math.h>
42916                       #ifdef HAVE_IEEEFP_H
42917                       #include <ieeefp.h>
42918                       #endif
42919
42920 int
42921 main ()
42922 {
42923  _finitef(0);
42924   ;
42925   return 0;
42926 }
42927 _ACEOF
42928 rm -f conftest.$ac_objext
42929 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
42930   (eval $ac_compile) 2>conftest.er1
42931   ac_status=$?
42932   grep -v '^ *+' conftest.er1 >conftest.err
42933   rm -f conftest.er1
42934   cat conftest.err >&5
42935   echo "$as_me:$LINENO: \$? = $ac_status" >&5
42936   (exit $ac_status); } &&
42937          { ac_try='test -z "$ac_cxx_werror_flag"
42938                          || test ! -s conftest.err'
42939   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42940   (eval $ac_try) 2>&5
42941   ac_status=$?
42942   echo "$as_me:$LINENO: \$? = $ac_status" >&5
42943   (exit $ac_status); }; } &&
42944          { ac_try='test -s conftest.$ac_objext'
42945   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42946   (eval $ac_try) 2>&5
42947   ac_status=$?
42948   echo "$as_me:$LINENO: \$? = $ac_status" >&5
42949   (exit $ac_status); }; }; then
42950   glibcxx_cv_func__finitef_use=yes
42951 else
42952   echo "$as_me: failed program was:" >&5
42953 sed 's/^/| /' conftest.$ac_ext >&5
42954
42955 glibcxx_cv_func__finitef_use=no
42956 fi
42957 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
42958       ac_ext=c
42959 ac_cpp='$CPP $CPPFLAGS'
42960 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42961 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42962 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42963
42964
42965 fi
42966
42967   fi
42968   echo "$as_me:$LINENO: result: $glibcxx_cv_func__finitef_use" >&5
42969 echo "${ECHO_T}$glibcxx_cv_func__finitef_use" >&6
42970
42971     if test x$glibcxx_cv_func__finitef_use = x"yes"; then
42972
42973 for ac_func in _finitef
42974 do
42975 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
42976 echo "$as_me:$LINENO: checking for $ac_func" >&5
42977 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
42978 if eval "test \"\${$as_ac_var+set}\" = set"; then
42979   echo $ECHO_N "(cached) $ECHO_C" >&6
42980 else
42981   if test x$gcc_no_link = xyes; then
42982   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
42983 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
42984    { (exit 1); exit 1; }; }
42985 fi
42986 cat >conftest.$ac_ext <<_ACEOF
42987 /* confdefs.h.  */
42988 _ACEOF
42989 cat confdefs.h >>conftest.$ac_ext
42990 cat >>conftest.$ac_ext <<_ACEOF
42991 /* end confdefs.h.  */
42992 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
42993    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
42994 #define $ac_func innocuous_$ac_func
42995
42996 /* System header to define __stub macros and hopefully few prototypes,
42997     which can conflict with char $ac_func (); below.
42998     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
42999     <limits.h> exists even on freestanding compilers.  */
43000
43001 #ifdef __STDC__
43002 # include <limits.h>
43003 #else
43004 # include <assert.h>
43005 #endif
43006
43007 #undef $ac_func
43008
43009 /* Override any gcc2 internal prototype to avoid an error.  */
43010 #ifdef __cplusplus
43011 extern "C"
43012 {
43013 #endif
43014 /* We use char because int might match the return type of a gcc2
43015    builtin and then its argument prototype would still apply.  */
43016 char $ac_func ();
43017 /* The GNU C library defines this for functions which it implements
43018     to always fail with ENOSYS.  Some functions are actually named
43019     something starting with __ and the normal name is an alias.  */
43020 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
43021 choke me
43022 #else
43023 char (*f) () = $ac_func;
43024 #endif
43025 #ifdef __cplusplus
43026 }
43027 #endif
43028
43029 int
43030 main ()
43031 {
43032 return f != $ac_func;
43033   ;
43034   return 0;
43035 }
43036 _ACEOF
43037 rm -f conftest.$ac_objext conftest$ac_exeext
43038 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
43039   (eval $ac_link) 2>conftest.er1
43040   ac_status=$?
43041   grep -v '^ *+' conftest.er1 >conftest.err
43042   rm -f conftest.er1
43043   cat conftest.err >&5
43044   echo "$as_me:$LINENO: \$? = $ac_status" >&5
43045   (exit $ac_status); } &&
43046          { ac_try='test -z "$ac_c_werror_flag"
43047                          || test ! -s conftest.err'
43048   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43049   (eval $ac_try) 2>&5
43050   ac_status=$?
43051   echo "$as_me:$LINENO: \$? = $ac_status" >&5
43052   (exit $ac_status); }; } &&
43053          { ac_try='test -s conftest$ac_exeext'
43054   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43055   (eval $ac_try) 2>&5
43056   ac_status=$?
43057   echo "$as_me:$LINENO: \$? = $ac_status" >&5
43058   (exit $ac_status); }; }; then
43059   eval "$as_ac_var=yes"
43060 else
43061   echo "$as_me: failed program was:" >&5
43062 sed 's/^/| /' conftest.$ac_ext >&5
43063
43064 eval "$as_ac_var=no"
43065 fi
43066 rm -f conftest.err conftest.$ac_objext \
43067       conftest$ac_exeext conftest.$ac_ext
43068 fi
43069 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
43070 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
43071 if test `eval echo '${'$as_ac_var'}'` = yes; then
43072   cat >>confdefs.h <<_ACEOF
43073 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
43074 _ACEOF
43075
43076 fi
43077 done
43078
43079     fi
43080   fi
43081
43082
43083
43084
43085
43086
43087     echo "$as_me:$LINENO: checking for long double trig functions" >&5
43088 echo $ECHO_N "checking for long double trig functions... $ECHO_C" >&6
43089   if test "${glibcxx_cv_func_long_double_trig_use+set}" = set; then
43090   echo $ECHO_N "(cached) $ECHO_C" >&6
43091 else
43092
43093
43094
43095     ac_ext=cc
43096 ac_cpp='$CXXCPP $CPPFLAGS'
43097 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43098 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43099 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43100
43101     cat >conftest.$ac_ext <<_ACEOF
43102 /* confdefs.h.  */
43103 _ACEOF
43104 cat confdefs.h >>conftest.$ac_ext
43105 cat >>conftest.$ac_ext <<_ACEOF
43106 /* end confdefs.h.  */
43107 #include <math.h>
43108 int
43109 main ()
43110 {
43111 acosl (0); asinl (0); atanl (0); cosl (0); sinl (0); tanl (0); coshl (0); sinhl (0); tanhl (0);
43112   ;
43113   return 0;
43114 }
43115 _ACEOF
43116 rm -f conftest.$ac_objext
43117 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
43118   (eval $ac_compile) 2>conftest.er1
43119   ac_status=$?
43120   grep -v '^ *+' conftest.er1 >conftest.err
43121   rm -f conftest.er1
43122   cat conftest.err >&5
43123   echo "$as_me:$LINENO: \$? = $ac_status" >&5
43124   (exit $ac_status); } &&
43125          { ac_try='test -z "$ac_cxx_werror_flag"
43126                          || test ! -s conftest.err'
43127   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43128   (eval $ac_try) 2>&5
43129   ac_status=$?
43130   echo "$as_me:$LINENO: \$? = $ac_status" >&5
43131   (exit $ac_status); }; } &&
43132          { ac_try='test -s conftest.$ac_objext'
43133   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43134   (eval $ac_try) 2>&5
43135   ac_status=$?
43136   echo "$as_me:$LINENO: \$? = $ac_status" >&5
43137   (exit $ac_status); }; }; then
43138   glibcxx_cv_func_long_double_trig_use=yes
43139 else
43140   echo "$as_me: failed program was:" >&5
43141 sed 's/^/| /' conftest.$ac_ext >&5
43142
43143 glibcxx_cv_func_long_double_trig_use=no
43144 fi
43145 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
43146     ac_ext=c
43147 ac_cpp='$CPP $CPPFLAGS'
43148 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43149 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43150 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43151
43152 fi
43153
43154   echo "$as_me:$LINENO: result: $glibcxx_cv_func_long_double_trig_use" >&5
43155 echo "${ECHO_T}$glibcxx_cv_func_long_double_trig_use" >&6
43156   if test x$glibcxx_cv_func_long_double_trig_use = x"yes"; then
43157
43158
43159
43160
43161
43162
43163
43164
43165
43166 for ac_func in acosl asinl atanl cosl sinl tanl coshl sinhl tanhl
43167 do
43168 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
43169 echo "$as_me:$LINENO: checking for $ac_func" >&5
43170 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
43171 if eval "test \"\${$as_ac_var+set}\" = set"; then
43172   echo $ECHO_N "(cached) $ECHO_C" >&6
43173 else
43174   if test x$gcc_no_link = xyes; then
43175   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
43176 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
43177    { (exit 1); exit 1; }; }
43178 fi
43179 cat >conftest.$ac_ext <<_ACEOF
43180 /* confdefs.h.  */
43181 _ACEOF
43182 cat confdefs.h >>conftest.$ac_ext
43183 cat >>conftest.$ac_ext <<_ACEOF
43184 /* end confdefs.h.  */
43185 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
43186    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
43187 #define $ac_func innocuous_$ac_func
43188
43189 /* System header to define __stub macros and hopefully few prototypes,
43190     which can conflict with char $ac_func (); below.
43191     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
43192     <limits.h> exists even on freestanding compilers.  */
43193
43194 #ifdef __STDC__
43195 # include <limits.h>
43196 #else
43197 # include <assert.h>
43198 #endif
43199
43200 #undef $ac_func
43201
43202 /* Override any gcc2 internal prototype to avoid an error.  */
43203 #ifdef __cplusplus
43204 extern "C"
43205 {
43206 #endif
43207 /* We use char because int might match the return type of a gcc2
43208    builtin and then its argument prototype would still apply.  */
43209 char $ac_func ();
43210 /* The GNU C library defines this for functions which it implements
43211     to always fail with ENOSYS.  Some functions are actually named
43212     something starting with __ and the normal name is an alias.  */
43213 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
43214 choke me
43215 #else
43216 char (*f) () = $ac_func;
43217 #endif
43218 #ifdef __cplusplus
43219 }
43220 #endif
43221
43222 int
43223 main ()
43224 {
43225 return f != $ac_func;
43226   ;
43227   return 0;
43228 }
43229 _ACEOF
43230 rm -f conftest.$ac_objext conftest$ac_exeext
43231 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
43232   (eval $ac_link) 2>conftest.er1
43233   ac_status=$?
43234   grep -v '^ *+' conftest.er1 >conftest.err
43235   rm -f conftest.er1
43236   cat conftest.err >&5
43237   echo "$as_me:$LINENO: \$? = $ac_status" >&5
43238   (exit $ac_status); } &&
43239          { ac_try='test -z "$ac_c_werror_flag"
43240                          || test ! -s conftest.err'
43241   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43242   (eval $ac_try) 2>&5
43243   ac_status=$?
43244   echo "$as_me:$LINENO: \$? = $ac_status" >&5
43245   (exit $ac_status); }; } &&
43246          { ac_try='test -s conftest$ac_exeext'
43247   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43248   (eval $ac_try) 2>&5
43249   ac_status=$?
43250   echo "$as_me:$LINENO: \$? = $ac_status" >&5
43251   (exit $ac_status); }; }; then
43252   eval "$as_ac_var=yes"
43253 else
43254   echo "$as_me: failed program was:" >&5
43255 sed 's/^/| /' conftest.$ac_ext >&5
43256
43257 eval "$as_ac_var=no"
43258 fi
43259 rm -f conftest.err conftest.$ac_objext \
43260       conftest$ac_exeext conftest.$ac_ext
43261 fi
43262 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
43263 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
43264 if test `eval echo '${'$as_ac_var'}'` = yes; then
43265   cat >>confdefs.h <<_ACEOF
43266 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
43267 _ACEOF
43268
43269 fi
43270 done
43271
43272   else
43273     echo "$as_me:$LINENO: checking for _long double trig functions" >&5
43274 echo $ECHO_N "checking for _long double trig functions... $ECHO_C" >&6
43275     if test "${glibcxx_cv_func__long_double_trig_use+set}" = set; then
43276   echo $ECHO_N "(cached) $ECHO_C" >&6
43277 else
43278
43279
43280
43281       ac_ext=cc
43282 ac_cpp='$CXXCPP $CPPFLAGS'
43283 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43284 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43285 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43286
43287       cat >conftest.$ac_ext <<_ACEOF
43288 /* confdefs.h.  */
43289 _ACEOF
43290 cat confdefs.h >>conftest.$ac_ext
43291 cat >>conftest.$ac_ext <<_ACEOF
43292 /* end confdefs.h.  */
43293 #include <math.h>
43294 int
43295 main ()
43296 {
43297 _acosl (0); _asinl (0); _atanl (0); _cosl (0); _sinl (0); _tanl (0); _coshl (0); _sinhl (0); _tanhl (0);
43298   ;
43299   return 0;
43300 }
43301 _ACEOF
43302 rm -f conftest.$ac_objext
43303 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
43304   (eval $ac_compile) 2>conftest.er1
43305   ac_status=$?
43306   grep -v '^ *+' conftest.er1 >conftest.err
43307   rm -f conftest.er1
43308   cat conftest.err >&5
43309   echo "$as_me:$LINENO: \$? = $ac_status" >&5
43310   (exit $ac_status); } &&
43311          { ac_try='test -z "$ac_cxx_werror_flag"
43312                          || test ! -s conftest.err'
43313   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43314   (eval $ac_try) 2>&5
43315   ac_status=$?
43316   echo "$as_me:$LINENO: \$? = $ac_status" >&5
43317   (exit $ac_status); }; } &&
43318          { ac_try='test -s conftest.$ac_objext'
43319   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43320   (eval $ac_try) 2>&5
43321   ac_status=$?
43322   echo "$as_me:$LINENO: \$? = $ac_status" >&5
43323   (exit $ac_status); }; }; then
43324   glibcxx_cv_func__long_double_trig_use=yes
43325 else
43326   echo "$as_me: failed program was:" >&5
43327 sed 's/^/| /' conftest.$ac_ext >&5
43328
43329 glibcxx_cv_func__long_double_trig_use=no
43330 fi
43331 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
43332       ac_ext=c
43333 ac_cpp='$CPP $CPPFLAGS'
43334 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43335 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43336 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43337
43338 fi
43339
43340     echo "$as_me:$LINENO: result: $glibcxx_cv_func__long_double_trig_use" >&5
43341 echo "${ECHO_T}$glibcxx_cv_func__long_double_trig_use" >&6
43342     if test x$glibcxx_cv_func__long_double_trig_use = x"yes"; then
43343
43344
43345
43346
43347
43348
43349
43350
43351
43352 for ac_func in _acosl _asinl _atanl _cosl _sinl _tanl _coshl _sinhl _tanhl
43353 do
43354 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
43355 echo "$as_me:$LINENO: checking for $ac_func" >&5
43356 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
43357 if eval "test \"\${$as_ac_var+set}\" = set"; then
43358   echo $ECHO_N "(cached) $ECHO_C" >&6
43359 else
43360   if test x$gcc_no_link = xyes; then
43361   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
43362 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
43363    { (exit 1); exit 1; }; }
43364 fi
43365 cat >conftest.$ac_ext <<_ACEOF
43366 /* confdefs.h.  */
43367 _ACEOF
43368 cat confdefs.h >>conftest.$ac_ext
43369 cat >>conftest.$ac_ext <<_ACEOF
43370 /* end confdefs.h.  */
43371 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
43372    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
43373 #define $ac_func innocuous_$ac_func
43374
43375 /* System header to define __stub macros and hopefully few prototypes,
43376     which can conflict with char $ac_func (); below.
43377     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
43378     <limits.h> exists even on freestanding compilers.  */
43379
43380 #ifdef __STDC__
43381 # include <limits.h>
43382 #else
43383 # include <assert.h>
43384 #endif
43385
43386 #undef $ac_func
43387
43388 /* Override any gcc2 internal prototype to avoid an error.  */
43389 #ifdef __cplusplus
43390 extern "C"
43391 {
43392 #endif
43393 /* We use char because int might match the return type of a gcc2
43394    builtin and then its argument prototype would still apply.  */
43395 char $ac_func ();
43396 /* The GNU C library defines this for functions which it implements
43397     to always fail with ENOSYS.  Some functions are actually named
43398     something starting with __ and the normal name is an alias.  */
43399 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
43400 choke me
43401 #else
43402 char (*f) () = $ac_func;
43403 #endif
43404 #ifdef __cplusplus
43405 }
43406 #endif
43407
43408 int
43409 main ()
43410 {
43411 return f != $ac_func;
43412   ;
43413   return 0;
43414 }
43415 _ACEOF
43416 rm -f conftest.$ac_objext conftest$ac_exeext
43417 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
43418   (eval $ac_link) 2>conftest.er1
43419   ac_status=$?
43420   grep -v '^ *+' conftest.er1 >conftest.err
43421   rm -f conftest.er1
43422   cat conftest.err >&5
43423   echo "$as_me:$LINENO: \$? = $ac_status" >&5
43424   (exit $ac_status); } &&
43425          { ac_try='test -z "$ac_c_werror_flag"
43426                          || test ! -s conftest.err'
43427   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43428   (eval $ac_try) 2>&5
43429   ac_status=$?
43430   echo "$as_me:$LINENO: \$? = $ac_status" >&5
43431   (exit $ac_status); }; } &&
43432          { ac_try='test -s conftest$ac_exeext'
43433   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43434   (eval $ac_try) 2>&5
43435   ac_status=$?
43436   echo "$as_me:$LINENO: \$? = $ac_status" >&5
43437   (exit $ac_status); }; }; then
43438   eval "$as_ac_var=yes"
43439 else
43440   echo "$as_me: failed program was:" >&5
43441 sed 's/^/| /' conftest.$ac_ext >&5
43442
43443 eval "$as_ac_var=no"
43444 fi
43445 rm -f conftest.err conftest.$ac_objext \
43446       conftest$ac_exeext conftest.$ac_ext
43447 fi
43448 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
43449 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
43450 if test `eval echo '${'$as_ac_var'}'` = yes; then
43451   cat >>confdefs.h <<_ACEOF
43452 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
43453 _ACEOF
43454
43455 fi
43456 done
43457
43458     fi
43459   fi
43460
43461
43462
43463
43464
43465
43466
43467
43468
43469
43470
43471
43472
43473
43474     echo "$as_me:$LINENO: checking for long double round functions" >&5
43475 echo $ECHO_N "checking for long double round functions... $ECHO_C" >&6
43476   if test "${glibcxx_cv_func_long_double_round_use+set}" = set; then
43477   echo $ECHO_N "(cached) $ECHO_C" >&6
43478 else
43479
43480
43481
43482     ac_ext=cc
43483 ac_cpp='$CXXCPP $CPPFLAGS'
43484 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43485 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43486 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43487
43488     cat >conftest.$ac_ext <<_ACEOF
43489 /* confdefs.h.  */
43490 _ACEOF
43491 cat confdefs.h >>conftest.$ac_ext
43492 cat >>conftest.$ac_ext <<_ACEOF
43493 /* end confdefs.h.  */
43494 #include <math.h>
43495 int
43496 main ()
43497 {
43498 ceill (0); floorl (0);
43499   ;
43500   return 0;
43501 }
43502 _ACEOF
43503 rm -f conftest.$ac_objext
43504 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
43505   (eval $ac_compile) 2>conftest.er1
43506   ac_status=$?
43507   grep -v '^ *+' conftest.er1 >conftest.err
43508   rm -f conftest.er1
43509   cat conftest.err >&5
43510   echo "$as_me:$LINENO: \$? = $ac_status" >&5
43511   (exit $ac_status); } &&
43512          { ac_try='test -z "$ac_cxx_werror_flag"
43513                          || test ! -s conftest.err'
43514   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43515   (eval $ac_try) 2>&5
43516   ac_status=$?
43517   echo "$as_me:$LINENO: \$? = $ac_status" >&5
43518   (exit $ac_status); }; } &&
43519          { ac_try='test -s conftest.$ac_objext'
43520   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43521   (eval $ac_try) 2>&5
43522   ac_status=$?
43523   echo "$as_me:$LINENO: \$? = $ac_status" >&5
43524   (exit $ac_status); }; }; then
43525   glibcxx_cv_func_long_double_round_use=yes
43526 else
43527   echo "$as_me: failed program was:" >&5
43528 sed 's/^/| /' conftest.$ac_ext >&5
43529
43530 glibcxx_cv_func_long_double_round_use=no
43531 fi
43532 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
43533     ac_ext=c
43534 ac_cpp='$CPP $CPPFLAGS'
43535 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43536 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43537 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43538
43539 fi
43540
43541   echo "$as_me:$LINENO: result: $glibcxx_cv_func_long_double_round_use" >&5
43542 echo "${ECHO_T}$glibcxx_cv_func_long_double_round_use" >&6
43543   if test x$glibcxx_cv_func_long_double_round_use = x"yes"; then
43544
43545
43546 for ac_func in ceill floorl
43547 do
43548 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
43549 echo "$as_me:$LINENO: checking for $ac_func" >&5
43550 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
43551 if eval "test \"\${$as_ac_var+set}\" = set"; then
43552   echo $ECHO_N "(cached) $ECHO_C" >&6
43553 else
43554   if test x$gcc_no_link = xyes; then
43555   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
43556 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
43557    { (exit 1); exit 1; }; }
43558 fi
43559 cat >conftest.$ac_ext <<_ACEOF
43560 /* confdefs.h.  */
43561 _ACEOF
43562 cat confdefs.h >>conftest.$ac_ext
43563 cat >>conftest.$ac_ext <<_ACEOF
43564 /* end confdefs.h.  */
43565 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
43566    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
43567 #define $ac_func innocuous_$ac_func
43568
43569 /* System header to define __stub macros and hopefully few prototypes,
43570     which can conflict with char $ac_func (); below.
43571     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
43572     <limits.h> exists even on freestanding compilers.  */
43573
43574 #ifdef __STDC__
43575 # include <limits.h>
43576 #else
43577 # include <assert.h>
43578 #endif
43579
43580 #undef $ac_func
43581
43582 /* Override any gcc2 internal prototype to avoid an error.  */
43583 #ifdef __cplusplus
43584 extern "C"
43585 {
43586 #endif
43587 /* We use char because int might match the return type of a gcc2
43588    builtin and then its argument prototype would still apply.  */
43589 char $ac_func ();
43590 /* The GNU C library defines this for functions which it implements
43591     to always fail with ENOSYS.  Some functions are actually named
43592     something starting with __ and the normal name is an alias.  */
43593 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
43594 choke me
43595 #else
43596 char (*f) () = $ac_func;
43597 #endif
43598 #ifdef __cplusplus
43599 }
43600 #endif
43601
43602 int
43603 main ()
43604 {
43605 return f != $ac_func;
43606   ;
43607   return 0;
43608 }
43609 _ACEOF
43610 rm -f conftest.$ac_objext conftest$ac_exeext
43611 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
43612   (eval $ac_link) 2>conftest.er1
43613   ac_status=$?
43614   grep -v '^ *+' conftest.er1 >conftest.err
43615   rm -f conftest.er1
43616   cat conftest.err >&5
43617   echo "$as_me:$LINENO: \$? = $ac_status" >&5
43618   (exit $ac_status); } &&
43619          { ac_try='test -z "$ac_c_werror_flag"
43620                          || test ! -s conftest.err'
43621   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43622   (eval $ac_try) 2>&5
43623   ac_status=$?
43624   echo "$as_me:$LINENO: \$? = $ac_status" >&5
43625   (exit $ac_status); }; } &&
43626          { ac_try='test -s conftest$ac_exeext'
43627   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43628   (eval $ac_try) 2>&5
43629   ac_status=$?
43630   echo "$as_me:$LINENO: \$? = $ac_status" >&5
43631   (exit $ac_status); }; }; then
43632   eval "$as_ac_var=yes"
43633 else
43634   echo "$as_me: failed program was:" >&5
43635 sed 's/^/| /' conftest.$ac_ext >&5
43636
43637 eval "$as_ac_var=no"
43638 fi
43639 rm -f conftest.err conftest.$ac_objext \
43640       conftest$ac_exeext conftest.$ac_ext
43641 fi
43642 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
43643 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
43644 if test `eval echo '${'$as_ac_var'}'` = yes; then
43645   cat >>confdefs.h <<_ACEOF
43646 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
43647 _ACEOF
43648
43649 fi
43650 done
43651
43652   else
43653     echo "$as_me:$LINENO: checking for _long double round functions" >&5
43654 echo $ECHO_N "checking for _long double round functions... $ECHO_C" >&6
43655     if test "${glibcxx_cv_func__long_double_round_use+set}" = set; then
43656   echo $ECHO_N "(cached) $ECHO_C" >&6
43657 else
43658
43659
43660
43661       ac_ext=cc
43662 ac_cpp='$CXXCPP $CPPFLAGS'
43663 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43664 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43665 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43666
43667       cat >conftest.$ac_ext <<_ACEOF
43668 /* confdefs.h.  */
43669 _ACEOF
43670 cat confdefs.h >>conftest.$ac_ext
43671 cat >>conftest.$ac_ext <<_ACEOF
43672 /* end confdefs.h.  */
43673 #include <math.h>
43674 int
43675 main ()
43676 {
43677 _ceill (0); _floorl (0);
43678   ;
43679   return 0;
43680 }
43681 _ACEOF
43682 rm -f conftest.$ac_objext
43683 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
43684   (eval $ac_compile) 2>conftest.er1
43685   ac_status=$?
43686   grep -v '^ *+' conftest.er1 >conftest.err
43687   rm -f conftest.er1
43688   cat conftest.err >&5
43689   echo "$as_me:$LINENO: \$? = $ac_status" >&5
43690   (exit $ac_status); } &&
43691          { ac_try='test -z "$ac_cxx_werror_flag"
43692                          || test ! -s conftest.err'
43693   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43694   (eval $ac_try) 2>&5
43695   ac_status=$?
43696   echo "$as_me:$LINENO: \$? = $ac_status" >&5
43697   (exit $ac_status); }; } &&
43698          { ac_try='test -s conftest.$ac_objext'
43699   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43700   (eval $ac_try) 2>&5
43701   ac_status=$?
43702   echo "$as_me:$LINENO: \$? = $ac_status" >&5
43703   (exit $ac_status); }; }; then
43704   glibcxx_cv_func__long_double_round_use=yes
43705 else
43706   echo "$as_me: failed program was:" >&5
43707 sed 's/^/| /' conftest.$ac_ext >&5
43708
43709 glibcxx_cv_func__long_double_round_use=no
43710 fi
43711 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
43712       ac_ext=c
43713 ac_cpp='$CPP $CPPFLAGS'
43714 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43715 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43716 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43717
43718 fi
43719
43720     echo "$as_me:$LINENO: result: $glibcxx_cv_func__long_double_round_use" >&5
43721 echo "${ECHO_T}$glibcxx_cv_func__long_double_round_use" >&6
43722     if test x$glibcxx_cv_func__long_double_round_use = x"yes"; then
43723
43724
43725 for ac_func in _ceill _floorl
43726 do
43727 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
43728 echo "$as_me:$LINENO: checking for $ac_func" >&5
43729 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
43730 if eval "test \"\${$as_ac_var+set}\" = set"; then
43731   echo $ECHO_N "(cached) $ECHO_C" >&6
43732 else
43733   if test x$gcc_no_link = xyes; then
43734   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
43735 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
43736    { (exit 1); exit 1; }; }
43737 fi
43738 cat >conftest.$ac_ext <<_ACEOF
43739 /* confdefs.h.  */
43740 _ACEOF
43741 cat confdefs.h >>conftest.$ac_ext
43742 cat >>conftest.$ac_ext <<_ACEOF
43743 /* end confdefs.h.  */
43744 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
43745    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
43746 #define $ac_func innocuous_$ac_func
43747
43748 /* System header to define __stub macros and hopefully few prototypes,
43749     which can conflict with char $ac_func (); below.
43750     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
43751     <limits.h> exists even on freestanding compilers.  */
43752
43753 #ifdef __STDC__
43754 # include <limits.h>
43755 #else
43756 # include <assert.h>
43757 #endif
43758
43759 #undef $ac_func
43760
43761 /* Override any gcc2 internal prototype to avoid an error.  */
43762 #ifdef __cplusplus
43763 extern "C"
43764 {
43765 #endif
43766 /* We use char because int might match the return type of a gcc2
43767    builtin and then its argument prototype would still apply.  */
43768 char $ac_func ();
43769 /* The GNU C library defines this for functions which it implements
43770     to always fail with ENOSYS.  Some functions are actually named
43771     something starting with __ and the normal name is an alias.  */
43772 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
43773 choke me
43774 #else
43775 char (*f) () = $ac_func;
43776 #endif
43777 #ifdef __cplusplus
43778 }
43779 #endif
43780
43781 int
43782 main ()
43783 {
43784 return f != $ac_func;
43785   ;
43786   return 0;
43787 }
43788 _ACEOF
43789 rm -f conftest.$ac_objext conftest$ac_exeext
43790 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
43791   (eval $ac_link) 2>conftest.er1
43792   ac_status=$?
43793   grep -v '^ *+' conftest.er1 >conftest.err
43794   rm -f conftest.er1
43795   cat conftest.err >&5
43796   echo "$as_me:$LINENO: \$? = $ac_status" >&5
43797   (exit $ac_status); } &&
43798          { ac_try='test -z "$ac_c_werror_flag"
43799                          || test ! -s conftest.err'
43800   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43801   (eval $ac_try) 2>&5
43802   ac_status=$?
43803   echo "$as_me:$LINENO: \$? = $ac_status" >&5
43804   (exit $ac_status); }; } &&
43805          { ac_try='test -s conftest$ac_exeext'
43806   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43807   (eval $ac_try) 2>&5
43808   ac_status=$?
43809   echo "$as_me:$LINENO: \$? = $ac_status" >&5
43810   (exit $ac_status); }; }; then
43811   eval "$as_ac_var=yes"
43812 else
43813   echo "$as_me: failed program was:" >&5
43814 sed 's/^/| /' conftest.$ac_ext >&5
43815
43816 eval "$as_ac_var=no"
43817 fi
43818 rm -f conftest.err conftest.$ac_objext \
43819       conftest$ac_exeext conftest.$ac_ext
43820 fi
43821 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
43822 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
43823 if test `eval echo '${'$as_ac_var'}'` = yes; then
43824   cat >>confdefs.h <<_ACEOF
43825 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
43826 _ACEOF
43827
43828 fi
43829 done
43830
43831     fi
43832   fi
43833
43834
43835
43836
43837
43838
43839
43840
43841   echo "$as_me:$LINENO: checking for isnanl declaration" >&5
43842 echo $ECHO_N "checking for isnanl declaration... $ECHO_C" >&6
43843   if test x${glibcxx_cv_func_isnanl_use+set} != xset; then
43844     if test "${glibcxx_cv_func_isnanl_use+set}" = set; then
43845   echo $ECHO_N "(cached) $ECHO_C" >&6
43846 else
43847
43848
43849
43850       ac_ext=cc
43851 ac_cpp='$CXXCPP $CPPFLAGS'
43852 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43853 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43854 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43855
43856       cat >conftest.$ac_ext <<_ACEOF
43857 /* confdefs.h.  */
43858 _ACEOF
43859 cat confdefs.h >>conftest.$ac_ext
43860 cat >>conftest.$ac_ext <<_ACEOF
43861 /* end confdefs.h.  */
43862 #include <math.h>
43863                       #ifdef HAVE_IEEEFP_H
43864                       #include <ieeefp.h>
43865                       #endif
43866
43867 int
43868 main ()
43869 {
43870  isnanl(0);
43871   ;
43872   return 0;
43873 }
43874 _ACEOF
43875 rm -f conftest.$ac_objext
43876 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
43877   (eval $ac_compile) 2>conftest.er1
43878   ac_status=$?
43879   grep -v '^ *+' conftest.er1 >conftest.err
43880   rm -f conftest.er1
43881   cat conftest.err >&5
43882   echo "$as_me:$LINENO: \$? = $ac_status" >&5
43883   (exit $ac_status); } &&
43884          { ac_try='test -z "$ac_cxx_werror_flag"
43885                          || test ! -s conftest.err'
43886   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43887   (eval $ac_try) 2>&5
43888   ac_status=$?
43889   echo "$as_me:$LINENO: \$? = $ac_status" >&5
43890   (exit $ac_status); }; } &&
43891          { ac_try='test -s conftest.$ac_objext'
43892   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43893   (eval $ac_try) 2>&5
43894   ac_status=$?
43895   echo "$as_me:$LINENO: \$? = $ac_status" >&5
43896   (exit $ac_status); }; }; then
43897   glibcxx_cv_func_isnanl_use=yes
43898 else
43899   echo "$as_me: failed program was:" >&5
43900 sed 's/^/| /' conftest.$ac_ext >&5
43901
43902 glibcxx_cv_func_isnanl_use=no
43903 fi
43904 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
43905       ac_ext=c
43906 ac_cpp='$CPP $CPPFLAGS'
43907 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43908 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43909 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43910
43911
43912 fi
43913
43914   fi
43915   echo "$as_me:$LINENO: result: $glibcxx_cv_func_isnanl_use" >&5
43916 echo "${ECHO_T}$glibcxx_cv_func_isnanl_use" >&6
43917
43918   if test x$glibcxx_cv_func_isnanl_use = x"yes"; then
43919
43920 for ac_func in isnanl
43921 do
43922 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
43923 echo "$as_me:$LINENO: checking for $ac_func" >&5
43924 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
43925 if eval "test \"\${$as_ac_var+set}\" = set"; then
43926   echo $ECHO_N "(cached) $ECHO_C" >&6
43927 else
43928   if test x$gcc_no_link = xyes; then
43929   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
43930 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
43931    { (exit 1); exit 1; }; }
43932 fi
43933 cat >conftest.$ac_ext <<_ACEOF
43934 /* confdefs.h.  */
43935 _ACEOF
43936 cat confdefs.h >>conftest.$ac_ext
43937 cat >>conftest.$ac_ext <<_ACEOF
43938 /* end confdefs.h.  */
43939 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
43940    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
43941 #define $ac_func innocuous_$ac_func
43942
43943 /* System header to define __stub macros and hopefully few prototypes,
43944     which can conflict with char $ac_func (); below.
43945     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
43946     <limits.h> exists even on freestanding compilers.  */
43947
43948 #ifdef __STDC__
43949 # include <limits.h>
43950 #else
43951 # include <assert.h>
43952 #endif
43953
43954 #undef $ac_func
43955
43956 /* Override any gcc2 internal prototype to avoid an error.  */
43957 #ifdef __cplusplus
43958 extern "C"
43959 {
43960 #endif
43961 /* We use char because int might match the return type of a gcc2
43962    builtin and then its argument prototype would still apply.  */
43963 char $ac_func ();
43964 /* The GNU C library defines this for functions which it implements
43965     to always fail with ENOSYS.  Some functions are actually named
43966     something starting with __ and the normal name is an alias.  */
43967 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
43968 choke me
43969 #else
43970 char (*f) () = $ac_func;
43971 #endif
43972 #ifdef __cplusplus
43973 }
43974 #endif
43975
43976 int
43977 main ()
43978 {
43979 return f != $ac_func;
43980   ;
43981   return 0;
43982 }
43983 _ACEOF
43984 rm -f conftest.$ac_objext conftest$ac_exeext
43985 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
43986   (eval $ac_link) 2>conftest.er1
43987   ac_status=$?
43988   grep -v '^ *+' conftest.er1 >conftest.err
43989   rm -f conftest.er1
43990   cat conftest.err >&5
43991   echo "$as_me:$LINENO: \$? = $ac_status" >&5
43992   (exit $ac_status); } &&
43993          { ac_try='test -z "$ac_c_werror_flag"
43994                          || test ! -s conftest.err'
43995   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43996   (eval $ac_try) 2>&5
43997   ac_status=$?
43998   echo "$as_me:$LINENO: \$? = $ac_status" >&5
43999   (exit $ac_status); }; } &&
44000          { ac_try='test -s conftest$ac_exeext'
44001   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44002   (eval $ac_try) 2>&5
44003   ac_status=$?
44004   echo "$as_me:$LINENO: \$? = $ac_status" >&5
44005   (exit $ac_status); }; }; then
44006   eval "$as_ac_var=yes"
44007 else
44008   echo "$as_me: failed program was:" >&5
44009 sed 's/^/| /' conftest.$ac_ext >&5
44010
44011 eval "$as_ac_var=no"
44012 fi
44013 rm -f conftest.err conftest.$ac_objext \
44014       conftest$ac_exeext conftest.$ac_ext
44015 fi
44016 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
44017 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
44018 if test `eval echo '${'$as_ac_var'}'` = yes; then
44019   cat >>confdefs.h <<_ACEOF
44020 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
44021 _ACEOF
44022
44023 fi
44024 done
44025
44026   else
44027
44028   echo "$as_me:$LINENO: checking for _isnanl declaration" >&5
44029 echo $ECHO_N "checking for _isnanl declaration... $ECHO_C" >&6
44030   if test x${glibcxx_cv_func__isnanl_use+set} != xset; then
44031     if test "${glibcxx_cv_func__isnanl_use+set}" = set; then
44032   echo $ECHO_N "(cached) $ECHO_C" >&6
44033 else
44034
44035
44036
44037       ac_ext=cc
44038 ac_cpp='$CXXCPP $CPPFLAGS'
44039 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44040 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44041 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44042
44043       cat >conftest.$ac_ext <<_ACEOF
44044 /* confdefs.h.  */
44045 _ACEOF
44046 cat confdefs.h >>conftest.$ac_ext
44047 cat >>conftest.$ac_ext <<_ACEOF
44048 /* end confdefs.h.  */
44049 #include <math.h>
44050                       #ifdef HAVE_IEEEFP_H
44051                       #include <ieeefp.h>
44052                       #endif
44053
44054 int
44055 main ()
44056 {
44057  _isnanl(0);
44058   ;
44059   return 0;
44060 }
44061 _ACEOF
44062 rm -f conftest.$ac_objext
44063 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
44064   (eval $ac_compile) 2>conftest.er1
44065   ac_status=$?
44066   grep -v '^ *+' conftest.er1 >conftest.err
44067   rm -f conftest.er1
44068   cat conftest.err >&5
44069   echo "$as_me:$LINENO: \$? = $ac_status" >&5
44070   (exit $ac_status); } &&
44071          { ac_try='test -z "$ac_cxx_werror_flag"
44072                          || test ! -s conftest.err'
44073   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44074   (eval $ac_try) 2>&5
44075   ac_status=$?
44076   echo "$as_me:$LINENO: \$? = $ac_status" >&5
44077   (exit $ac_status); }; } &&
44078          { ac_try='test -s conftest.$ac_objext'
44079   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44080   (eval $ac_try) 2>&5
44081   ac_status=$?
44082   echo "$as_me:$LINENO: \$? = $ac_status" >&5
44083   (exit $ac_status); }; }; then
44084   glibcxx_cv_func__isnanl_use=yes
44085 else
44086   echo "$as_me: failed program was:" >&5
44087 sed 's/^/| /' conftest.$ac_ext >&5
44088
44089 glibcxx_cv_func__isnanl_use=no
44090 fi
44091 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
44092       ac_ext=c
44093 ac_cpp='$CPP $CPPFLAGS'
44094 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44095 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44096 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44097
44098
44099 fi
44100
44101   fi
44102   echo "$as_me:$LINENO: result: $glibcxx_cv_func__isnanl_use" >&5
44103 echo "${ECHO_T}$glibcxx_cv_func__isnanl_use" >&6
44104
44105     if test x$glibcxx_cv_func__isnanl_use = x"yes"; then
44106
44107 for ac_func in _isnanl
44108 do
44109 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
44110 echo "$as_me:$LINENO: checking for $ac_func" >&5
44111 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
44112 if eval "test \"\${$as_ac_var+set}\" = set"; then
44113   echo $ECHO_N "(cached) $ECHO_C" >&6
44114 else
44115   if test x$gcc_no_link = xyes; then
44116   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
44117 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
44118    { (exit 1); exit 1; }; }
44119 fi
44120 cat >conftest.$ac_ext <<_ACEOF
44121 /* confdefs.h.  */
44122 _ACEOF
44123 cat confdefs.h >>conftest.$ac_ext
44124 cat >>conftest.$ac_ext <<_ACEOF
44125 /* end confdefs.h.  */
44126 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
44127    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
44128 #define $ac_func innocuous_$ac_func
44129
44130 /* System header to define __stub macros and hopefully few prototypes,
44131     which can conflict with char $ac_func (); below.
44132     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
44133     <limits.h> exists even on freestanding compilers.  */
44134
44135 #ifdef __STDC__
44136 # include <limits.h>
44137 #else
44138 # include <assert.h>
44139 #endif
44140
44141 #undef $ac_func
44142
44143 /* Override any gcc2 internal prototype to avoid an error.  */
44144 #ifdef __cplusplus
44145 extern "C"
44146 {
44147 #endif
44148 /* We use char because int might match the return type of a gcc2
44149    builtin and then its argument prototype would still apply.  */
44150 char $ac_func ();
44151 /* The GNU C library defines this for functions which it implements
44152     to always fail with ENOSYS.  Some functions are actually named
44153     something starting with __ and the normal name is an alias.  */
44154 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
44155 choke me
44156 #else
44157 char (*f) () = $ac_func;
44158 #endif
44159 #ifdef __cplusplus
44160 }
44161 #endif
44162
44163 int
44164 main ()
44165 {
44166 return f != $ac_func;
44167   ;
44168   return 0;
44169 }
44170 _ACEOF
44171 rm -f conftest.$ac_objext conftest$ac_exeext
44172 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
44173   (eval $ac_link) 2>conftest.er1
44174   ac_status=$?
44175   grep -v '^ *+' conftest.er1 >conftest.err
44176   rm -f conftest.er1
44177   cat conftest.err >&5
44178   echo "$as_me:$LINENO: \$? = $ac_status" >&5
44179   (exit $ac_status); } &&
44180          { ac_try='test -z "$ac_c_werror_flag"
44181                          || test ! -s conftest.err'
44182   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44183   (eval $ac_try) 2>&5
44184   ac_status=$?
44185   echo "$as_me:$LINENO: \$? = $ac_status" >&5
44186   (exit $ac_status); }; } &&
44187          { ac_try='test -s conftest$ac_exeext'
44188   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44189   (eval $ac_try) 2>&5
44190   ac_status=$?
44191   echo "$as_me:$LINENO: \$? = $ac_status" >&5
44192   (exit $ac_status); }; }; then
44193   eval "$as_ac_var=yes"
44194 else
44195   echo "$as_me: failed program was:" >&5
44196 sed 's/^/| /' conftest.$ac_ext >&5
44197
44198 eval "$as_ac_var=no"
44199 fi
44200 rm -f conftest.err conftest.$ac_objext \
44201       conftest$ac_exeext conftest.$ac_ext
44202 fi
44203 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
44204 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
44205 if test `eval echo '${'$as_ac_var'}'` = yes; then
44206   cat >>confdefs.h <<_ACEOF
44207 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
44208 _ACEOF
44209
44210 fi
44211 done
44212
44213     fi
44214   fi
44215
44216
44217
44218
44219
44220
44221   echo "$as_me:$LINENO: checking for isinfl declaration" >&5
44222 echo $ECHO_N "checking for isinfl declaration... $ECHO_C" >&6
44223   if test x${glibcxx_cv_func_isinfl_use+set} != xset; then
44224     if test "${glibcxx_cv_func_isinfl_use+set}" = set; then
44225   echo $ECHO_N "(cached) $ECHO_C" >&6
44226 else
44227
44228
44229
44230       ac_ext=cc
44231 ac_cpp='$CXXCPP $CPPFLAGS'
44232 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44233 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44234 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44235
44236       cat >conftest.$ac_ext <<_ACEOF
44237 /* confdefs.h.  */
44238 _ACEOF
44239 cat confdefs.h >>conftest.$ac_ext
44240 cat >>conftest.$ac_ext <<_ACEOF
44241 /* end confdefs.h.  */
44242 #include <math.h>
44243                       #ifdef HAVE_IEEEFP_H
44244                       #include <ieeefp.h>
44245                       #endif
44246
44247 int
44248 main ()
44249 {
44250  isinfl(0);
44251   ;
44252   return 0;
44253 }
44254 _ACEOF
44255 rm -f conftest.$ac_objext
44256 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
44257   (eval $ac_compile) 2>conftest.er1
44258   ac_status=$?
44259   grep -v '^ *+' conftest.er1 >conftest.err
44260   rm -f conftest.er1
44261   cat conftest.err >&5
44262   echo "$as_me:$LINENO: \$? = $ac_status" >&5
44263   (exit $ac_status); } &&
44264          { ac_try='test -z "$ac_cxx_werror_flag"
44265                          || test ! -s conftest.err'
44266   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44267   (eval $ac_try) 2>&5
44268   ac_status=$?
44269   echo "$as_me:$LINENO: \$? = $ac_status" >&5
44270   (exit $ac_status); }; } &&
44271          { ac_try='test -s conftest.$ac_objext'
44272   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44273   (eval $ac_try) 2>&5
44274   ac_status=$?
44275   echo "$as_me:$LINENO: \$? = $ac_status" >&5
44276   (exit $ac_status); }; }; then
44277   glibcxx_cv_func_isinfl_use=yes
44278 else
44279   echo "$as_me: failed program was:" >&5
44280 sed 's/^/| /' conftest.$ac_ext >&5
44281
44282 glibcxx_cv_func_isinfl_use=no
44283 fi
44284 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
44285       ac_ext=c
44286 ac_cpp='$CPP $CPPFLAGS'
44287 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44288 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44289 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44290
44291
44292 fi
44293
44294   fi
44295   echo "$as_me:$LINENO: result: $glibcxx_cv_func_isinfl_use" >&5
44296 echo "${ECHO_T}$glibcxx_cv_func_isinfl_use" >&6
44297
44298   if test x$glibcxx_cv_func_isinfl_use = x"yes"; then
44299
44300 for ac_func in isinfl
44301 do
44302 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
44303 echo "$as_me:$LINENO: checking for $ac_func" >&5
44304 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
44305 if eval "test \"\${$as_ac_var+set}\" = set"; then
44306   echo $ECHO_N "(cached) $ECHO_C" >&6
44307 else
44308   if test x$gcc_no_link = xyes; then
44309   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
44310 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
44311    { (exit 1); exit 1; }; }
44312 fi
44313 cat >conftest.$ac_ext <<_ACEOF
44314 /* confdefs.h.  */
44315 _ACEOF
44316 cat confdefs.h >>conftest.$ac_ext
44317 cat >>conftest.$ac_ext <<_ACEOF
44318 /* end confdefs.h.  */
44319 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
44320    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
44321 #define $ac_func innocuous_$ac_func
44322
44323 /* System header to define __stub macros and hopefully few prototypes,
44324     which can conflict with char $ac_func (); below.
44325     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
44326     <limits.h> exists even on freestanding compilers.  */
44327
44328 #ifdef __STDC__
44329 # include <limits.h>
44330 #else
44331 # include <assert.h>
44332 #endif
44333
44334 #undef $ac_func
44335
44336 /* Override any gcc2 internal prototype to avoid an error.  */
44337 #ifdef __cplusplus
44338 extern "C"
44339 {
44340 #endif
44341 /* We use char because int might match the return type of a gcc2
44342    builtin and then its argument prototype would still apply.  */
44343 char $ac_func ();
44344 /* The GNU C library defines this for functions which it implements
44345     to always fail with ENOSYS.  Some functions are actually named
44346     something starting with __ and the normal name is an alias.  */
44347 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
44348 choke me
44349 #else
44350 char (*f) () = $ac_func;
44351 #endif
44352 #ifdef __cplusplus
44353 }
44354 #endif
44355
44356 int
44357 main ()
44358 {
44359 return f != $ac_func;
44360   ;
44361   return 0;
44362 }
44363 _ACEOF
44364 rm -f conftest.$ac_objext conftest$ac_exeext
44365 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
44366   (eval $ac_link) 2>conftest.er1
44367   ac_status=$?
44368   grep -v '^ *+' conftest.er1 >conftest.err
44369   rm -f conftest.er1
44370   cat conftest.err >&5
44371   echo "$as_me:$LINENO: \$? = $ac_status" >&5
44372   (exit $ac_status); } &&
44373          { ac_try='test -z "$ac_c_werror_flag"
44374                          || test ! -s conftest.err'
44375   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44376   (eval $ac_try) 2>&5
44377   ac_status=$?
44378   echo "$as_me:$LINENO: \$? = $ac_status" >&5
44379   (exit $ac_status); }; } &&
44380          { ac_try='test -s conftest$ac_exeext'
44381   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44382   (eval $ac_try) 2>&5
44383   ac_status=$?
44384   echo "$as_me:$LINENO: \$? = $ac_status" >&5
44385   (exit $ac_status); }; }; then
44386   eval "$as_ac_var=yes"
44387 else
44388   echo "$as_me: failed program was:" >&5
44389 sed 's/^/| /' conftest.$ac_ext >&5
44390
44391 eval "$as_ac_var=no"
44392 fi
44393 rm -f conftest.err conftest.$ac_objext \
44394       conftest$ac_exeext conftest.$ac_ext
44395 fi
44396 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
44397 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
44398 if test `eval echo '${'$as_ac_var'}'` = yes; then
44399   cat >>confdefs.h <<_ACEOF
44400 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
44401 _ACEOF
44402
44403 fi
44404 done
44405
44406   else
44407
44408   echo "$as_me:$LINENO: checking for _isinfl declaration" >&5
44409 echo $ECHO_N "checking for _isinfl declaration... $ECHO_C" >&6
44410   if test x${glibcxx_cv_func__isinfl_use+set} != xset; then
44411     if test "${glibcxx_cv_func__isinfl_use+set}" = set; then
44412   echo $ECHO_N "(cached) $ECHO_C" >&6
44413 else
44414
44415
44416
44417       ac_ext=cc
44418 ac_cpp='$CXXCPP $CPPFLAGS'
44419 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44420 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44421 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44422
44423       cat >conftest.$ac_ext <<_ACEOF
44424 /* confdefs.h.  */
44425 _ACEOF
44426 cat confdefs.h >>conftest.$ac_ext
44427 cat >>conftest.$ac_ext <<_ACEOF
44428 /* end confdefs.h.  */
44429 #include <math.h>
44430                       #ifdef HAVE_IEEEFP_H
44431                       #include <ieeefp.h>
44432                       #endif
44433
44434 int
44435 main ()
44436 {
44437  _isinfl(0);
44438   ;
44439   return 0;
44440 }
44441 _ACEOF
44442 rm -f conftest.$ac_objext
44443 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
44444   (eval $ac_compile) 2>conftest.er1
44445   ac_status=$?
44446   grep -v '^ *+' conftest.er1 >conftest.err
44447   rm -f conftest.er1
44448   cat conftest.err >&5
44449   echo "$as_me:$LINENO: \$? = $ac_status" >&5
44450   (exit $ac_status); } &&
44451          { ac_try='test -z "$ac_cxx_werror_flag"
44452                          || test ! -s conftest.err'
44453   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44454   (eval $ac_try) 2>&5
44455   ac_status=$?
44456   echo "$as_me:$LINENO: \$? = $ac_status" >&5
44457   (exit $ac_status); }; } &&
44458          { ac_try='test -s conftest.$ac_objext'
44459   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44460   (eval $ac_try) 2>&5
44461   ac_status=$?
44462   echo "$as_me:$LINENO: \$? = $ac_status" >&5
44463   (exit $ac_status); }; }; then
44464   glibcxx_cv_func__isinfl_use=yes
44465 else
44466   echo "$as_me: failed program was:" >&5
44467 sed 's/^/| /' conftest.$ac_ext >&5
44468
44469 glibcxx_cv_func__isinfl_use=no
44470 fi
44471 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
44472       ac_ext=c
44473 ac_cpp='$CPP $CPPFLAGS'
44474 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44475 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44476 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44477
44478
44479 fi
44480
44481   fi
44482   echo "$as_me:$LINENO: result: $glibcxx_cv_func__isinfl_use" >&5
44483 echo "${ECHO_T}$glibcxx_cv_func__isinfl_use" >&6
44484
44485     if test x$glibcxx_cv_func__isinfl_use = x"yes"; then
44486
44487 for ac_func in _isinfl
44488 do
44489 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
44490 echo "$as_me:$LINENO: checking for $ac_func" >&5
44491 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
44492 if eval "test \"\${$as_ac_var+set}\" = set"; then
44493   echo $ECHO_N "(cached) $ECHO_C" >&6
44494 else
44495   if test x$gcc_no_link = xyes; then
44496   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
44497 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
44498    { (exit 1); exit 1; }; }
44499 fi
44500 cat >conftest.$ac_ext <<_ACEOF
44501 /* confdefs.h.  */
44502 _ACEOF
44503 cat confdefs.h >>conftest.$ac_ext
44504 cat >>conftest.$ac_ext <<_ACEOF
44505 /* end confdefs.h.  */
44506 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
44507    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
44508 #define $ac_func innocuous_$ac_func
44509
44510 /* System header to define __stub macros and hopefully few prototypes,
44511     which can conflict with char $ac_func (); below.
44512     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
44513     <limits.h> exists even on freestanding compilers.  */
44514
44515 #ifdef __STDC__
44516 # include <limits.h>
44517 #else
44518 # include <assert.h>
44519 #endif
44520
44521 #undef $ac_func
44522
44523 /* Override any gcc2 internal prototype to avoid an error.  */
44524 #ifdef __cplusplus
44525 extern "C"
44526 {
44527 #endif
44528 /* We use char because int might match the return type of a gcc2
44529    builtin and then its argument prototype would still apply.  */
44530 char $ac_func ();
44531 /* The GNU C library defines this for functions which it implements
44532     to always fail with ENOSYS.  Some functions are actually named
44533     something starting with __ and the normal name is an alias.  */
44534 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
44535 choke me
44536 #else
44537 char (*f) () = $ac_func;
44538 #endif
44539 #ifdef __cplusplus
44540 }
44541 #endif
44542
44543 int
44544 main ()
44545 {
44546 return f != $ac_func;
44547   ;
44548   return 0;
44549 }
44550 _ACEOF
44551 rm -f conftest.$ac_objext conftest$ac_exeext
44552 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
44553   (eval $ac_link) 2>conftest.er1
44554   ac_status=$?
44555   grep -v '^ *+' conftest.er1 >conftest.err
44556   rm -f conftest.er1
44557   cat conftest.err >&5
44558   echo "$as_me:$LINENO: \$? = $ac_status" >&5
44559   (exit $ac_status); } &&
44560          { ac_try='test -z "$ac_c_werror_flag"
44561                          || test ! -s conftest.err'
44562   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44563   (eval $ac_try) 2>&5
44564   ac_status=$?
44565   echo "$as_me:$LINENO: \$? = $ac_status" >&5
44566   (exit $ac_status); }; } &&
44567          { ac_try='test -s conftest$ac_exeext'
44568   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44569   (eval $ac_try) 2>&5
44570   ac_status=$?
44571   echo "$as_me:$LINENO: \$? = $ac_status" >&5
44572   (exit $ac_status); }; }; then
44573   eval "$as_ac_var=yes"
44574 else
44575   echo "$as_me: failed program was:" >&5
44576 sed 's/^/| /' conftest.$ac_ext >&5
44577
44578 eval "$as_ac_var=no"
44579 fi
44580 rm -f conftest.err conftest.$ac_objext \
44581       conftest$ac_exeext conftest.$ac_ext
44582 fi
44583 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
44584 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
44585 if test `eval echo '${'$as_ac_var'}'` = yes; then
44586   cat >>confdefs.h <<_ACEOF
44587 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
44588 _ACEOF
44589
44590 fi
44591 done
44592
44593     fi
44594   fi
44595
44596
44597
44598
44599
44600
44601   echo "$as_me:$LINENO: checking for copysignl declaration" >&5
44602 echo $ECHO_N "checking for copysignl declaration... $ECHO_C" >&6
44603   if test x${glibcxx_cv_func_copysignl_use+set} != xset; then
44604     if test "${glibcxx_cv_func_copysignl_use+set}" = set; then
44605   echo $ECHO_N "(cached) $ECHO_C" >&6
44606 else
44607
44608
44609
44610       ac_ext=cc
44611 ac_cpp='$CXXCPP $CPPFLAGS'
44612 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44613 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44614 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44615
44616       cat >conftest.$ac_ext <<_ACEOF
44617 /* confdefs.h.  */
44618 _ACEOF
44619 cat confdefs.h >>conftest.$ac_ext
44620 cat >>conftest.$ac_ext <<_ACEOF
44621 /* end confdefs.h.  */
44622 #include <math.h>
44623 int
44624 main ()
44625 {
44626  copysignl(0, 0);
44627   ;
44628   return 0;
44629 }
44630 _ACEOF
44631 rm -f conftest.$ac_objext
44632 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
44633   (eval $ac_compile) 2>conftest.er1
44634   ac_status=$?
44635   grep -v '^ *+' conftest.er1 >conftest.err
44636   rm -f conftest.er1
44637   cat conftest.err >&5
44638   echo "$as_me:$LINENO: \$? = $ac_status" >&5
44639   (exit $ac_status); } &&
44640          { ac_try='test -z "$ac_cxx_werror_flag"
44641                          || test ! -s conftest.err'
44642   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44643   (eval $ac_try) 2>&5
44644   ac_status=$?
44645   echo "$as_me:$LINENO: \$? = $ac_status" >&5
44646   (exit $ac_status); }; } &&
44647          { ac_try='test -s conftest.$ac_objext'
44648   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44649   (eval $ac_try) 2>&5
44650   ac_status=$?
44651   echo "$as_me:$LINENO: \$? = $ac_status" >&5
44652   (exit $ac_status); }; }; then
44653   glibcxx_cv_func_copysignl_use=yes
44654 else
44655   echo "$as_me: failed program was:" >&5
44656 sed 's/^/| /' conftest.$ac_ext >&5
44657
44658 glibcxx_cv_func_copysignl_use=no
44659 fi
44660 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
44661       ac_ext=c
44662 ac_cpp='$CPP $CPPFLAGS'
44663 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44664 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44665 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44666
44667
44668 fi
44669
44670   fi
44671   echo "$as_me:$LINENO: result: $glibcxx_cv_func_copysignl_use" >&5
44672 echo "${ECHO_T}$glibcxx_cv_func_copysignl_use" >&6
44673
44674   if test x$glibcxx_cv_func_copysignl_use = x"yes"; then
44675
44676 for ac_func in copysignl
44677 do
44678 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
44679 echo "$as_me:$LINENO: checking for $ac_func" >&5
44680 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
44681 if eval "test \"\${$as_ac_var+set}\" = set"; then
44682   echo $ECHO_N "(cached) $ECHO_C" >&6
44683 else
44684   if test x$gcc_no_link = xyes; then
44685   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
44686 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
44687    { (exit 1); exit 1; }; }
44688 fi
44689 cat >conftest.$ac_ext <<_ACEOF
44690 /* confdefs.h.  */
44691 _ACEOF
44692 cat confdefs.h >>conftest.$ac_ext
44693 cat >>conftest.$ac_ext <<_ACEOF
44694 /* end confdefs.h.  */
44695 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
44696    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
44697 #define $ac_func innocuous_$ac_func
44698
44699 /* System header to define __stub macros and hopefully few prototypes,
44700     which can conflict with char $ac_func (); below.
44701     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
44702     <limits.h> exists even on freestanding compilers.  */
44703
44704 #ifdef __STDC__
44705 # include <limits.h>
44706 #else
44707 # include <assert.h>
44708 #endif
44709
44710 #undef $ac_func
44711
44712 /* Override any gcc2 internal prototype to avoid an error.  */
44713 #ifdef __cplusplus
44714 extern "C"
44715 {
44716 #endif
44717 /* We use char because int might match the return type of a gcc2
44718    builtin and then its argument prototype would still apply.  */
44719 char $ac_func ();
44720 /* The GNU C library defines this for functions which it implements
44721     to always fail with ENOSYS.  Some functions are actually named
44722     something starting with __ and the normal name is an alias.  */
44723 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
44724 choke me
44725 #else
44726 char (*f) () = $ac_func;
44727 #endif
44728 #ifdef __cplusplus
44729 }
44730 #endif
44731
44732 int
44733 main ()
44734 {
44735 return f != $ac_func;
44736   ;
44737   return 0;
44738 }
44739 _ACEOF
44740 rm -f conftest.$ac_objext conftest$ac_exeext
44741 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
44742   (eval $ac_link) 2>conftest.er1
44743   ac_status=$?
44744   grep -v '^ *+' conftest.er1 >conftest.err
44745   rm -f conftest.er1
44746   cat conftest.err >&5
44747   echo "$as_me:$LINENO: \$? = $ac_status" >&5
44748   (exit $ac_status); } &&
44749          { ac_try='test -z "$ac_c_werror_flag"
44750                          || test ! -s conftest.err'
44751   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44752   (eval $ac_try) 2>&5
44753   ac_status=$?
44754   echo "$as_me:$LINENO: \$? = $ac_status" >&5
44755   (exit $ac_status); }; } &&
44756          { ac_try='test -s conftest$ac_exeext'
44757   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44758   (eval $ac_try) 2>&5
44759   ac_status=$?
44760   echo "$as_me:$LINENO: \$? = $ac_status" >&5
44761   (exit $ac_status); }; }; then
44762   eval "$as_ac_var=yes"
44763 else
44764   echo "$as_me: failed program was:" >&5
44765 sed 's/^/| /' conftest.$ac_ext >&5
44766
44767 eval "$as_ac_var=no"
44768 fi
44769 rm -f conftest.err conftest.$ac_objext \
44770       conftest$ac_exeext conftest.$ac_ext
44771 fi
44772 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
44773 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
44774 if test `eval echo '${'$as_ac_var'}'` = yes; then
44775   cat >>confdefs.h <<_ACEOF
44776 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
44777 _ACEOF
44778
44779 fi
44780 done
44781
44782   else
44783
44784   echo "$as_me:$LINENO: checking for _copysignl declaration" >&5
44785 echo $ECHO_N "checking for _copysignl declaration... $ECHO_C" >&6
44786   if test x${glibcxx_cv_func__copysignl_use+set} != xset; then
44787     if test "${glibcxx_cv_func__copysignl_use+set}" = set; then
44788   echo $ECHO_N "(cached) $ECHO_C" >&6
44789 else
44790
44791
44792
44793       ac_ext=cc
44794 ac_cpp='$CXXCPP $CPPFLAGS'
44795 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44796 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44797 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44798
44799       cat >conftest.$ac_ext <<_ACEOF
44800 /* confdefs.h.  */
44801 _ACEOF
44802 cat confdefs.h >>conftest.$ac_ext
44803 cat >>conftest.$ac_ext <<_ACEOF
44804 /* end confdefs.h.  */
44805 #include <math.h>
44806 int
44807 main ()
44808 {
44809  _copysignl(0, 0);
44810   ;
44811   return 0;
44812 }
44813 _ACEOF
44814 rm -f conftest.$ac_objext
44815 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
44816   (eval $ac_compile) 2>conftest.er1
44817   ac_status=$?
44818   grep -v '^ *+' conftest.er1 >conftest.err
44819   rm -f conftest.er1
44820   cat conftest.err >&5
44821   echo "$as_me:$LINENO: \$? = $ac_status" >&5
44822   (exit $ac_status); } &&
44823          { ac_try='test -z "$ac_cxx_werror_flag"
44824                          || test ! -s conftest.err'
44825   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44826   (eval $ac_try) 2>&5
44827   ac_status=$?
44828   echo "$as_me:$LINENO: \$? = $ac_status" >&5
44829   (exit $ac_status); }; } &&
44830          { ac_try='test -s conftest.$ac_objext'
44831   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44832   (eval $ac_try) 2>&5
44833   ac_status=$?
44834   echo "$as_me:$LINENO: \$? = $ac_status" >&5
44835   (exit $ac_status); }; }; then
44836   glibcxx_cv_func__copysignl_use=yes
44837 else
44838   echo "$as_me: failed program was:" >&5
44839 sed 's/^/| /' conftest.$ac_ext >&5
44840
44841 glibcxx_cv_func__copysignl_use=no
44842 fi
44843 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
44844       ac_ext=c
44845 ac_cpp='$CPP $CPPFLAGS'
44846 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44847 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44848 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44849
44850
44851 fi
44852
44853   fi
44854   echo "$as_me:$LINENO: result: $glibcxx_cv_func__copysignl_use" >&5
44855 echo "${ECHO_T}$glibcxx_cv_func__copysignl_use" >&6
44856
44857     if test x$glibcxx_cv_func__copysignl_use = x"yes"; then
44858
44859 for ac_func in _copysignl
44860 do
44861 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
44862 echo "$as_me:$LINENO: checking for $ac_func" >&5
44863 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
44864 if eval "test \"\${$as_ac_var+set}\" = set"; then
44865   echo $ECHO_N "(cached) $ECHO_C" >&6
44866 else
44867   if test x$gcc_no_link = xyes; then
44868   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
44869 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
44870    { (exit 1); exit 1; }; }
44871 fi
44872 cat >conftest.$ac_ext <<_ACEOF
44873 /* confdefs.h.  */
44874 _ACEOF
44875 cat confdefs.h >>conftest.$ac_ext
44876 cat >>conftest.$ac_ext <<_ACEOF
44877 /* end confdefs.h.  */
44878 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
44879    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
44880 #define $ac_func innocuous_$ac_func
44881
44882 /* System header to define __stub macros and hopefully few prototypes,
44883     which can conflict with char $ac_func (); below.
44884     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
44885     <limits.h> exists even on freestanding compilers.  */
44886
44887 #ifdef __STDC__
44888 # include <limits.h>
44889 #else
44890 # include <assert.h>
44891 #endif
44892
44893 #undef $ac_func
44894
44895 /* Override any gcc2 internal prototype to avoid an error.  */
44896 #ifdef __cplusplus
44897 extern "C"
44898 {
44899 #endif
44900 /* We use char because int might match the return type of a gcc2
44901    builtin and then its argument prototype would still apply.  */
44902 char $ac_func ();
44903 /* The GNU C library defines this for functions which it implements
44904     to always fail with ENOSYS.  Some functions are actually named
44905     something starting with __ and the normal name is an alias.  */
44906 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
44907 choke me
44908 #else
44909 char (*f) () = $ac_func;
44910 #endif
44911 #ifdef __cplusplus
44912 }
44913 #endif
44914
44915 int
44916 main ()
44917 {
44918 return f != $ac_func;
44919   ;
44920   return 0;
44921 }
44922 _ACEOF
44923 rm -f conftest.$ac_objext conftest$ac_exeext
44924 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
44925   (eval $ac_link) 2>conftest.er1
44926   ac_status=$?
44927   grep -v '^ *+' conftest.er1 >conftest.err
44928   rm -f conftest.er1
44929   cat conftest.err >&5
44930   echo "$as_me:$LINENO: \$? = $ac_status" >&5
44931   (exit $ac_status); } &&
44932          { ac_try='test -z "$ac_c_werror_flag"
44933                          || test ! -s conftest.err'
44934   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44935   (eval $ac_try) 2>&5
44936   ac_status=$?
44937   echo "$as_me:$LINENO: \$? = $ac_status" >&5
44938   (exit $ac_status); }; } &&
44939          { ac_try='test -s conftest$ac_exeext'
44940   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44941   (eval $ac_try) 2>&5
44942   ac_status=$?
44943   echo "$as_me:$LINENO: \$? = $ac_status" >&5
44944   (exit $ac_status); }; }; then
44945   eval "$as_ac_var=yes"
44946 else
44947   echo "$as_me: failed program was:" >&5
44948 sed 's/^/| /' conftest.$ac_ext >&5
44949
44950 eval "$as_ac_var=no"
44951 fi
44952 rm -f conftest.err conftest.$ac_objext \
44953       conftest$ac_exeext conftest.$ac_ext
44954 fi
44955 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
44956 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
44957 if test `eval echo '${'$as_ac_var'}'` = yes; then
44958   cat >>confdefs.h <<_ACEOF
44959 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
44960 _ACEOF
44961
44962 fi
44963 done
44964
44965     fi
44966   fi
44967
44968
44969
44970
44971
44972
44973   echo "$as_me:$LINENO: checking for atan2l declaration" >&5
44974 echo $ECHO_N "checking for atan2l declaration... $ECHO_C" >&6
44975   if test x${glibcxx_cv_func_atan2l_use+set} != xset; then
44976     if test "${glibcxx_cv_func_atan2l_use+set}" = set; then
44977   echo $ECHO_N "(cached) $ECHO_C" >&6
44978 else
44979
44980
44981
44982       ac_ext=cc
44983 ac_cpp='$CXXCPP $CPPFLAGS'
44984 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44985 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44986 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44987
44988       cat >conftest.$ac_ext <<_ACEOF
44989 /* confdefs.h.  */
44990 _ACEOF
44991 cat confdefs.h >>conftest.$ac_ext
44992 cat >>conftest.$ac_ext <<_ACEOF
44993 /* end confdefs.h.  */
44994 #include <math.h>
44995 int
44996 main ()
44997 {
44998  atan2l(0, 0);
44999   ;
45000   return 0;
45001 }
45002 _ACEOF
45003 rm -f conftest.$ac_objext
45004 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
45005   (eval $ac_compile) 2>conftest.er1
45006   ac_status=$?
45007   grep -v '^ *+' conftest.er1 >conftest.err
45008   rm -f conftest.er1
45009   cat conftest.err >&5
45010   echo "$as_me:$LINENO: \$? = $ac_status" >&5
45011   (exit $ac_status); } &&
45012          { ac_try='test -z "$ac_cxx_werror_flag"
45013                          || test ! -s conftest.err'
45014   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45015   (eval $ac_try) 2>&5
45016   ac_status=$?
45017   echo "$as_me:$LINENO: \$? = $ac_status" >&5
45018   (exit $ac_status); }; } &&
45019          { ac_try='test -s conftest.$ac_objext'
45020   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45021   (eval $ac_try) 2>&5
45022   ac_status=$?
45023   echo "$as_me:$LINENO: \$? = $ac_status" >&5
45024   (exit $ac_status); }; }; then
45025   glibcxx_cv_func_atan2l_use=yes
45026 else
45027   echo "$as_me: failed program was:" >&5
45028 sed 's/^/| /' conftest.$ac_ext >&5
45029
45030 glibcxx_cv_func_atan2l_use=no
45031 fi
45032 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
45033       ac_ext=c
45034 ac_cpp='$CPP $CPPFLAGS'
45035 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45036 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45037 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45038
45039
45040 fi
45041
45042   fi
45043   echo "$as_me:$LINENO: result: $glibcxx_cv_func_atan2l_use" >&5
45044 echo "${ECHO_T}$glibcxx_cv_func_atan2l_use" >&6
45045
45046   if test x$glibcxx_cv_func_atan2l_use = x"yes"; then
45047
45048 for ac_func in atan2l
45049 do
45050 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
45051 echo "$as_me:$LINENO: checking for $ac_func" >&5
45052 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
45053 if eval "test \"\${$as_ac_var+set}\" = set"; then
45054   echo $ECHO_N "(cached) $ECHO_C" >&6
45055 else
45056   if test x$gcc_no_link = xyes; then
45057   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
45058 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
45059    { (exit 1); exit 1; }; }
45060 fi
45061 cat >conftest.$ac_ext <<_ACEOF
45062 /* confdefs.h.  */
45063 _ACEOF
45064 cat confdefs.h >>conftest.$ac_ext
45065 cat >>conftest.$ac_ext <<_ACEOF
45066 /* end confdefs.h.  */
45067 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
45068    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
45069 #define $ac_func innocuous_$ac_func
45070
45071 /* System header to define __stub macros and hopefully few prototypes,
45072     which can conflict with char $ac_func (); below.
45073     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
45074     <limits.h> exists even on freestanding compilers.  */
45075
45076 #ifdef __STDC__
45077 # include <limits.h>
45078 #else
45079 # include <assert.h>
45080 #endif
45081
45082 #undef $ac_func
45083
45084 /* Override any gcc2 internal prototype to avoid an error.  */
45085 #ifdef __cplusplus
45086 extern "C"
45087 {
45088 #endif
45089 /* We use char because int might match the return type of a gcc2
45090    builtin and then its argument prototype would still apply.  */
45091 char $ac_func ();
45092 /* The GNU C library defines this for functions which it implements
45093     to always fail with ENOSYS.  Some functions are actually named
45094     something starting with __ and the normal name is an alias.  */
45095 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
45096 choke me
45097 #else
45098 char (*f) () = $ac_func;
45099 #endif
45100 #ifdef __cplusplus
45101 }
45102 #endif
45103
45104 int
45105 main ()
45106 {
45107 return f != $ac_func;
45108   ;
45109   return 0;
45110 }
45111 _ACEOF
45112 rm -f conftest.$ac_objext conftest$ac_exeext
45113 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
45114   (eval $ac_link) 2>conftest.er1
45115   ac_status=$?
45116   grep -v '^ *+' conftest.er1 >conftest.err
45117   rm -f conftest.er1
45118   cat conftest.err >&5
45119   echo "$as_me:$LINENO: \$? = $ac_status" >&5
45120   (exit $ac_status); } &&
45121          { ac_try='test -z "$ac_c_werror_flag"
45122                          || test ! -s conftest.err'
45123   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45124   (eval $ac_try) 2>&5
45125   ac_status=$?
45126   echo "$as_me:$LINENO: \$? = $ac_status" >&5
45127   (exit $ac_status); }; } &&
45128          { ac_try='test -s conftest$ac_exeext'
45129   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45130   (eval $ac_try) 2>&5
45131   ac_status=$?
45132   echo "$as_me:$LINENO: \$? = $ac_status" >&5
45133   (exit $ac_status); }; }; then
45134   eval "$as_ac_var=yes"
45135 else
45136   echo "$as_me: failed program was:" >&5
45137 sed 's/^/| /' conftest.$ac_ext >&5
45138
45139 eval "$as_ac_var=no"
45140 fi
45141 rm -f conftest.err conftest.$ac_objext \
45142       conftest$ac_exeext conftest.$ac_ext
45143 fi
45144 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
45145 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
45146 if test `eval echo '${'$as_ac_var'}'` = yes; then
45147   cat >>confdefs.h <<_ACEOF
45148 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
45149 _ACEOF
45150
45151 fi
45152 done
45153
45154   else
45155
45156   echo "$as_me:$LINENO: checking for _atan2l declaration" >&5
45157 echo $ECHO_N "checking for _atan2l declaration... $ECHO_C" >&6
45158   if test x${glibcxx_cv_func__atan2l_use+set} != xset; then
45159     if test "${glibcxx_cv_func__atan2l_use+set}" = set; then
45160   echo $ECHO_N "(cached) $ECHO_C" >&6
45161 else
45162
45163
45164
45165       ac_ext=cc
45166 ac_cpp='$CXXCPP $CPPFLAGS'
45167 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45168 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45169 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45170
45171       cat >conftest.$ac_ext <<_ACEOF
45172 /* confdefs.h.  */
45173 _ACEOF
45174 cat confdefs.h >>conftest.$ac_ext
45175 cat >>conftest.$ac_ext <<_ACEOF
45176 /* end confdefs.h.  */
45177 #include <math.h>
45178 int
45179 main ()
45180 {
45181  _atan2l(0, 0);
45182   ;
45183   return 0;
45184 }
45185 _ACEOF
45186 rm -f conftest.$ac_objext
45187 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
45188   (eval $ac_compile) 2>conftest.er1
45189   ac_status=$?
45190   grep -v '^ *+' conftest.er1 >conftest.err
45191   rm -f conftest.er1
45192   cat conftest.err >&5
45193   echo "$as_me:$LINENO: \$? = $ac_status" >&5
45194   (exit $ac_status); } &&
45195          { ac_try='test -z "$ac_cxx_werror_flag"
45196                          || test ! -s conftest.err'
45197   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45198   (eval $ac_try) 2>&5
45199   ac_status=$?
45200   echo "$as_me:$LINENO: \$? = $ac_status" >&5
45201   (exit $ac_status); }; } &&
45202          { ac_try='test -s conftest.$ac_objext'
45203   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45204   (eval $ac_try) 2>&5
45205   ac_status=$?
45206   echo "$as_me:$LINENO: \$? = $ac_status" >&5
45207   (exit $ac_status); }; }; then
45208   glibcxx_cv_func__atan2l_use=yes
45209 else
45210   echo "$as_me: failed program was:" >&5
45211 sed 's/^/| /' conftest.$ac_ext >&5
45212
45213 glibcxx_cv_func__atan2l_use=no
45214 fi
45215 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
45216       ac_ext=c
45217 ac_cpp='$CPP $CPPFLAGS'
45218 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45219 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45220 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45221
45222
45223 fi
45224
45225   fi
45226   echo "$as_me:$LINENO: result: $glibcxx_cv_func__atan2l_use" >&5
45227 echo "${ECHO_T}$glibcxx_cv_func__atan2l_use" >&6
45228
45229     if test x$glibcxx_cv_func__atan2l_use = x"yes"; then
45230
45231 for ac_func in _atan2l
45232 do
45233 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
45234 echo "$as_me:$LINENO: checking for $ac_func" >&5
45235 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
45236 if eval "test \"\${$as_ac_var+set}\" = set"; then
45237   echo $ECHO_N "(cached) $ECHO_C" >&6
45238 else
45239   if test x$gcc_no_link = xyes; then
45240   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
45241 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
45242    { (exit 1); exit 1; }; }
45243 fi
45244 cat >conftest.$ac_ext <<_ACEOF
45245 /* confdefs.h.  */
45246 _ACEOF
45247 cat confdefs.h >>conftest.$ac_ext
45248 cat >>conftest.$ac_ext <<_ACEOF
45249 /* end confdefs.h.  */
45250 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
45251    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
45252 #define $ac_func innocuous_$ac_func
45253
45254 /* System header to define __stub macros and hopefully few prototypes,
45255     which can conflict with char $ac_func (); below.
45256     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
45257     <limits.h> exists even on freestanding compilers.  */
45258
45259 #ifdef __STDC__
45260 # include <limits.h>
45261 #else
45262 # include <assert.h>
45263 #endif
45264
45265 #undef $ac_func
45266
45267 /* Override any gcc2 internal prototype to avoid an error.  */
45268 #ifdef __cplusplus
45269 extern "C"
45270 {
45271 #endif
45272 /* We use char because int might match the return type of a gcc2
45273    builtin and then its argument prototype would still apply.  */
45274 char $ac_func ();
45275 /* The GNU C library defines this for functions which it implements
45276     to always fail with ENOSYS.  Some functions are actually named
45277     something starting with __ and the normal name is an alias.  */
45278 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
45279 choke me
45280 #else
45281 char (*f) () = $ac_func;
45282 #endif
45283 #ifdef __cplusplus
45284 }
45285 #endif
45286
45287 int
45288 main ()
45289 {
45290 return f != $ac_func;
45291   ;
45292   return 0;
45293 }
45294 _ACEOF
45295 rm -f conftest.$ac_objext conftest$ac_exeext
45296 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
45297   (eval $ac_link) 2>conftest.er1
45298   ac_status=$?
45299   grep -v '^ *+' conftest.er1 >conftest.err
45300   rm -f conftest.er1
45301   cat conftest.err >&5
45302   echo "$as_me:$LINENO: \$? = $ac_status" >&5
45303   (exit $ac_status); } &&
45304          { ac_try='test -z "$ac_c_werror_flag"
45305                          || test ! -s conftest.err'
45306   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45307   (eval $ac_try) 2>&5
45308   ac_status=$?
45309   echo "$as_me:$LINENO: \$? = $ac_status" >&5
45310   (exit $ac_status); }; } &&
45311          { ac_try='test -s conftest$ac_exeext'
45312   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45313   (eval $ac_try) 2>&5
45314   ac_status=$?
45315   echo "$as_me:$LINENO: \$? = $ac_status" >&5
45316   (exit $ac_status); }; }; then
45317   eval "$as_ac_var=yes"
45318 else
45319   echo "$as_me: failed program was:" >&5
45320 sed 's/^/| /' conftest.$ac_ext >&5
45321
45322 eval "$as_ac_var=no"
45323 fi
45324 rm -f conftest.err conftest.$ac_objext \
45325       conftest$ac_exeext conftest.$ac_ext
45326 fi
45327 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
45328 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
45329 if test `eval echo '${'$as_ac_var'}'` = yes; then
45330   cat >>confdefs.h <<_ACEOF
45331 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
45332 _ACEOF
45333
45334 fi
45335 done
45336
45337     fi
45338   fi
45339
45340
45341
45342
45343
45344
45345   echo "$as_me:$LINENO: checking for expl declaration" >&5
45346 echo $ECHO_N "checking for expl declaration... $ECHO_C" >&6
45347   if test x${glibcxx_cv_func_expl_use+set} != xset; then
45348     if test "${glibcxx_cv_func_expl_use+set}" = set; then
45349   echo $ECHO_N "(cached) $ECHO_C" >&6
45350 else
45351
45352
45353
45354       ac_ext=cc
45355 ac_cpp='$CXXCPP $CPPFLAGS'
45356 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45357 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45358 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45359
45360       cat >conftest.$ac_ext <<_ACEOF
45361 /* confdefs.h.  */
45362 _ACEOF
45363 cat confdefs.h >>conftest.$ac_ext
45364 cat >>conftest.$ac_ext <<_ACEOF
45365 /* end confdefs.h.  */
45366 #include <math.h>
45367                       #ifdef HAVE_IEEEFP_H
45368                       #include <ieeefp.h>
45369                       #endif
45370
45371 int
45372 main ()
45373 {
45374  expl(0);
45375   ;
45376   return 0;
45377 }
45378 _ACEOF
45379 rm -f conftest.$ac_objext
45380 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
45381   (eval $ac_compile) 2>conftest.er1
45382   ac_status=$?
45383   grep -v '^ *+' conftest.er1 >conftest.err
45384   rm -f conftest.er1
45385   cat conftest.err >&5
45386   echo "$as_me:$LINENO: \$? = $ac_status" >&5
45387   (exit $ac_status); } &&
45388          { ac_try='test -z "$ac_cxx_werror_flag"
45389                          || test ! -s conftest.err'
45390   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45391   (eval $ac_try) 2>&5
45392   ac_status=$?
45393   echo "$as_me:$LINENO: \$? = $ac_status" >&5
45394   (exit $ac_status); }; } &&
45395          { ac_try='test -s conftest.$ac_objext'
45396   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45397   (eval $ac_try) 2>&5
45398   ac_status=$?
45399   echo "$as_me:$LINENO: \$? = $ac_status" >&5
45400   (exit $ac_status); }; }; then
45401   glibcxx_cv_func_expl_use=yes
45402 else
45403   echo "$as_me: failed program was:" >&5
45404 sed 's/^/| /' conftest.$ac_ext >&5
45405
45406 glibcxx_cv_func_expl_use=no
45407 fi
45408 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
45409       ac_ext=c
45410 ac_cpp='$CPP $CPPFLAGS'
45411 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45412 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45413 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45414
45415
45416 fi
45417
45418   fi
45419   echo "$as_me:$LINENO: result: $glibcxx_cv_func_expl_use" >&5
45420 echo "${ECHO_T}$glibcxx_cv_func_expl_use" >&6
45421
45422   if test x$glibcxx_cv_func_expl_use = x"yes"; then
45423
45424 for ac_func in expl
45425 do
45426 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
45427 echo "$as_me:$LINENO: checking for $ac_func" >&5
45428 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
45429 if eval "test \"\${$as_ac_var+set}\" = set"; then
45430   echo $ECHO_N "(cached) $ECHO_C" >&6
45431 else
45432   if test x$gcc_no_link = xyes; then
45433   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
45434 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
45435    { (exit 1); exit 1; }; }
45436 fi
45437 cat >conftest.$ac_ext <<_ACEOF
45438 /* confdefs.h.  */
45439 _ACEOF
45440 cat confdefs.h >>conftest.$ac_ext
45441 cat >>conftest.$ac_ext <<_ACEOF
45442 /* end confdefs.h.  */
45443 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
45444    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
45445 #define $ac_func innocuous_$ac_func
45446
45447 /* System header to define __stub macros and hopefully few prototypes,
45448     which can conflict with char $ac_func (); below.
45449     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
45450     <limits.h> exists even on freestanding compilers.  */
45451
45452 #ifdef __STDC__
45453 # include <limits.h>
45454 #else
45455 # include <assert.h>
45456 #endif
45457
45458 #undef $ac_func
45459
45460 /* Override any gcc2 internal prototype to avoid an error.  */
45461 #ifdef __cplusplus
45462 extern "C"
45463 {
45464 #endif
45465 /* We use char because int might match the return type of a gcc2
45466    builtin and then its argument prototype would still apply.  */
45467 char $ac_func ();
45468 /* The GNU C library defines this for functions which it implements
45469     to always fail with ENOSYS.  Some functions are actually named
45470     something starting with __ and the normal name is an alias.  */
45471 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
45472 choke me
45473 #else
45474 char (*f) () = $ac_func;
45475 #endif
45476 #ifdef __cplusplus
45477 }
45478 #endif
45479
45480 int
45481 main ()
45482 {
45483 return f != $ac_func;
45484   ;
45485   return 0;
45486 }
45487 _ACEOF
45488 rm -f conftest.$ac_objext conftest$ac_exeext
45489 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
45490   (eval $ac_link) 2>conftest.er1
45491   ac_status=$?
45492   grep -v '^ *+' conftest.er1 >conftest.err
45493   rm -f conftest.er1
45494   cat conftest.err >&5
45495   echo "$as_me:$LINENO: \$? = $ac_status" >&5
45496   (exit $ac_status); } &&
45497          { ac_try='test -z "$ac_c_werror_flag"
45498                          || test ! -s conftest.err'
45499   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45500   (eval $ac_try) 2>&5
45501   ac_status=$?
45502   echo "$as_me:$LINENO: \$? = $ac_status" >&5
45503   (exit $ac_status); }; } &&
45504          { ac_try='test -s conftest$ac_exeext'
45505   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45506   (eval $ac_try) 2>&5
45507   ac_status=$?
45508   echo "$as_me:$LINENO: \$? = $ac_status" >&5
45509   (exit $ac_status); }; }; then
45510   eval "$as_ac_var=yes"
45511 else
45512   echo "$as_me: failed program was:" >&5
45513 sed 's/^/| /' conftest.$ac_ext >&5
45514
45515 eval "$as_ac_var=no"
45516 fi
45517 rm -f conftest.err conftest.$ac_objext \
45518       conftest$ac_exeext conftest.$ac_ext
45519 fi
45520 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
45521 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
45522 if test `eval echo '${'$as_ac_var'}'` = yes; then
45523   cat >>confdefs.h <<_ACEOF
45524 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
45525 _ACEOF
45526
45527 fi
45528 done
45529
45530   else
45531
45532   echo "$as_me:$LINENO: checking for _expl declaration" >&5
45533 echo $ECHO_N "checking for _expl declaration... $ECHO_C" >&6
45534   if test x${glibcxx_cv_func__expl_use+set} != xset; then
45535     if test "${glibcxx_cv_func__expl_use+set}" = set; then
45536   echo $ECHO_N "(cached) $ECHO_C" >&6
45537 else
45538
45539
45540
45541       ac_ext=cc
45542 ac_cpp='$CXXCPP $CPPFLAGS'
45543 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45544 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45545 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45546
45547       cat >conftest.$ac_ext <<_ACEOF
45548 /* confdefs.h.  */
45549 _ACEOF
45550 cat confdefs.h >>conftest.$ac_ext
45551 cat >>conftest.$ac_ext <<_ACEOF
45552 /* end confdefs.h.  */
45553 #include <math.h>
45554                       #ifdef HAVE_IEEEFP_H
45555                       #include <ieeefp.h>
45556                       #endif
45557
45558 int
45559 main ()
45560 {
45561  _expl(0);
45562   ;
45563   return 0;
45564 }
45565 _ACEOF
45566 rm -f conftest.$ac_objext
45567 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
45568   (eval $ac_compile) 2>conftest.er1
45569   ac_status=$?
45570   grep -v '^ *+' conftest.er1 >conftest.err
45571   rm -f conftest.er1
45572   cat conftest.err >&5
45573   echo "$as_me:$LINENO: \$? = $ac_status" >&5
45574   (exit $ac_status); } &&
45575          { ac_try='test -z "$ac_cxx_werror_flag"
45576                          || test ! -s conftest.err'
45577   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45578   (eval $ac_try) 2>&5
45579   ac_status=$?
45580   echo "$as_me:$LINENO: \$? = $ac_status" >&5
45581   (exit $ac_status); }; } &&
45582          { ac_try='test -s conftest.$ac_objext'
45583   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45584   (eval $ac_try) 2>&5
45585   ac_status=$?
45586   echo "$as_me:$LINENO: \$? = $ac_status" >&5
45587   (exit $ac_status); }; }; then
45588   glibcxx_cv_func__expl_use=yes
45589 else
45590   echo "$as_me: failed program was:" >&5
45591 sed 's/^/| /' conftest.$ac_ext >&5
45592
45593 glibcxx_cv_func__expl_use=no
45594 fi
45595 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
45596       ac_ext=c
45597 ac_cpp='$CPP $CPPFLAGS'
45598 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45599 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45600 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45601
45602
45603 fi
45604
45605   fi
45606   echo "$as_me:$LINENO: result: $glibcxx_cv_func__expl_use" >&5
45607 echo "${ECHO_T}$glibcxx_cv_func__expl_use" >&6
45608
45609     if test x$glibcxx_cv_func__expl_use = x"yes"; then
45610
45611 for ac_func in _expl
45612 do
45613 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
45614 echo "$as_me:$LINENO: checking for $ac_func" >&5
45615 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
45616 if eval "test \"\${$as_ac_var+set}\" = set"; then
45617   echo $ECHO_N "(cached) $ECHO_C" >&6
45618 else
45619   if test x$gcc_no_link = xyes; then
45620   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
45621 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
45622    { (exit 1); exit 1; }; }
45623 fi
45624 cat >conftest.$ac_ext <<_ACEOF
45625 /* confdefs.h.  */
45626 _ACEOF
45627 cat confdefs.h >>conftest.$ac_ext
45628 cat >>conftest.$ac_ext <<_ACEOF
45629 /* end confdefs.h.  */
45630 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
45631    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
45632 #define $ac_func innocuous_$ac_func
45633
45634 /* System header to define __stub macros and hopefully few prototypes,
45635     which can conflict with char $ac_func (); below.
45636     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
45637     <limits.h> exists even on freestanding compilers.  */
45638
45639 #ifdef __STDC__
45640 # include <limits.h>
45641 #else
45642 # include <assert.h>
45643 #endif
45644
45645 #undef $ac_func
45646
45647 /* Override any gcc2 internal prototype to avoid an error.  */
45648 #ifdef __cplusplus
45649 extern "C"
45650 {
45651 #endif
45652 /* We use char because int might match the return type of a gcc2
45653    builtin and then its argument prototype would still apply.  */
45654 char $ac_func ();
45655 /* The GNU C library defines this for functions which it implements
45656     to always fail with ENOSYS.  Some functions are actually named
45657     something starting with __ and the normal name is an alias.  */
45658 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
45659 choke me
45660 #else
45661 char (*f) () = $ac_func;
45662 #endif
45663 #ifdef __cplusplus
45664 }
45665 #endif
45666
45667 int
45668 main ()
45669 {
45670 return f != $ac_func;
45671   ;
45672   return 0;
45673 }
45674 _ACEOF
45675 rm -f conftest.$ac_objext conftest$ac_exeext
45676 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
45677   (eval $ac_link) 2>conftest.er1
45678   ac_status=$?
45679   grep -v '^ *+' conftest.er1 >conftest.err
45680   rm -f conftest.er1
45681   cat conftest.err >&5
45682   echo "$as_me:$LINENO: \$? = $ac_status" >&5
45683   (exit $ac_status); } &&
45684          { ac_try='test -z "$ac_c_werror_flag"
45685                          || test ! -s conftest.err'
45686   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45687   (eval $ac_try) 2>&5
45688   ac_status=$?
45689   echo "$as_me:$LINENO: \$? = $ac_status" >&5
45690   (exit $ac_status); }; } &&
45691          { ac_try='test -s conftest$ac_exeext'
45692   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45693   (eval $ac_try) 2>&5
45694   ac_status=$?
45695   echo "$as_me:$LINENO: \$? = $ac_status" >&5
45696   (exit $ac_status); }; }; then
45697   eval "$as_ac_var=yes"
45698 else
45699   echo "$as_me: failed program was:" >&5
45700 sed 's/^/| /' conftest.$ac_ext >&5
45701
45702 eval "$as_ac_var=no"
45703 fi
45704 rm -f conftest.err conftest.$ac_objext \
45705       conftest$ac_exeext conftest.$ac_ext
45706 fi
45707 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
45708 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
45709 if test `eval echo '${'$as_ac_var'}'` = yes; then
45710   cat >>confdefs.h <<_ACEOF
45711 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
45712 _ACEOF
45713
45714 fi
45715 done
45716
45717     fi
45718   fi
45719
45720
45721
45722
45723
45724
45725   echo "$as_me:$LINENO: checking for fabsl declaration" >&5
45726 echo $ECHO_N "checking for fabsl declaration... $ECHO_C" >&6
45727   if test x${glibcxx_cv_func_fabsl_use+set} != xset; then
45728     if test "${glibcxx_cv_func_fabsl_use+set}" = set; then
45729   echo $ECHO_N "(cached) $ECHO_C" >&6
45730 else
45731
45732
45733
45734       ac_ext=cc
45735 ac_cpp='$CXXCPP $CPPFLAGS'
45736 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45737 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45738 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45739
45740       cat >conftest.$ac_ext <<_ACEOF
45741 /* confdefs.h.  */
45742 _ACEOF
45743 cat confdefs.h >>conftest.$ac_ext
45744 cat >>conftest.$ac_ext <<_ACEOF
45745 /* end confdefs.h.  */
45746 #include <math.h>
45747                       #ifdef HAVE_IEEEFP_H
45748                       #include <ieeefp.h>
45749                       #endif
45750
45751 int
45752 main ()
45753 {
45754  fabsl(0);
45755   ;
45756   return 0;
45757 }
45758 _ACEOF
45759 rm -f conftest.$ac_objext
45760 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
45761   (eval $ac_compile) 2>conftest.er1
45762   ac_status=$?
45763   grep -v '^ *+' conftest.er1 >conftest.err
45764   rm -f conftest.er1
45765   cat conftest.err >&5
45766   echo "$as_me:$LINENO: \$? = $ac_status" >&5
45767   (exit $ac_status); } &&
45768          { ac_try='test -z "$ac_cxx_werror_flag"
45769                          || test ! -s conftest.err'
45770   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45771   (eval $ac_try) 2>&5
45772   ac_status=$?
45773   echo "$as_me:$LINENO: \$? = $ac_status" >&5
45774   (exit $ac_status); }; } &&
45775          { ac_try='test -s conftest.$ac_objext'
45776   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45777   (eval $ac_try) 2>&5
45778   ac_status=$?
45779   echo "$as_me:$LINENO: \$? = $ac_status" >&5
45780   (exit $ac_status); }; }; then
45781   glibcxx_cv_func_fabsl_use=yes
45782 else
45783   echo "$as_me: failed program was:" >&5
45784 sed 's/^/| /' conftest.$ac_ext >&5
45785
45786 glibcxx_cv_func_fabsl_use=no
45787 fi
45788 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
45789       ac_ext=c
45790 ac_cpp='$CPP $CPPFLAGS'
45791 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45792 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45793 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45794
45795
45796 fi
45797
45798   fi
45799   echo "$as_me:$LINENO: result: $glibcxx_cv_func_fabsl_use" >&5
45800 echo "${ECHO_T}$glibcxx_cv_func_fabsl_use" >&6
45801
45802   if test x$glibcxx_cv_func_fabsl_use = x"yes"; then
45803
45804 for ac_func in fabsl
45805 do
45806 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
45807 echo "$as_me:$LINENO: checking for $ac_func" >&5
45808 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
45809 if eval "test \"\${$as_ac_var+set}\" = set"; then
45810   echo $ECHO_N "(cached) $ECHO_C" >&6
45811 else
45812   if test x$gcc_no_link = xyes; then
45813   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
45814 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
45815    { (exit 1); exit 1; }; }
45816 fi
45817 cat >conftest.$ac_ext <<_ACEOF
45818 /* confdefs.h.  */
45819 _ACEOF
45820 cat confdefs.h >>conftest.$ac_ext
45821 cat >>conftest.$ac_ext <<_ACEOF
45822 /* end confdefs.h.  */
45823 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
45824    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
45825 #define $ac_func innocuous_$ac_func
45826
45827 /* System header to define __stub macros and hopefully few prototypes,
45828     which can conflict with char $ac_func (); below.
45829     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
45830     <limits.h> exists even on freestanding compilers.  */
45831
45832 #ifdef __STDC__
45833 # include <limits.h>
45834 #else
45835 # include <assert.h>
45836 #endif
45837
45838 #undef $ac_func
45839
45840 /* Override any gcc2 internal prototype to avoid an error.  */
45841 #ifdef __cplusplus
45842 extern "C"
45843 {
45844 #endif
45845 /* We use char because int might match the return type of a gcc2
45846    builtin and then its argument prototype would still apply.  */
45847 char $ac_func ();
45848 /* The GNU C library defines this for functions which it implements
45849     to always fail with ENOSYS.  Some functions are actually named
45850     something starting with __ and the normal name is an alias.  */
45851 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
45852 choke me
45853 #else
45854 char (*f) () = $ac_func;
45855 #endif
45856 #ifdef __cplusplus
45857 }
45858 #endif
45859
45860 int
45861 main ()
45862 {
45863 return f != $ac_func;
45864   ;
45865   return 0;
45866 }
45867 _ACEOF
45868 rm -f conftest.$ac_objext conftest$ac_exeext
45869 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
45870   (eval $ac_link) 2>conftest.er1
45871   ac_status=$?
45872   grep -v '^ *+' conftest.er1 >conftest.err
45873   rm -f conftest.er1
45874   cat conftest.err >&5
45875   echo "$as_me:$LINENO: \$? = $ac_status" >&5
45876   (exit $ac_status); } &&
45877          { ac_try='test -z "$ac_c_werror_flag"
45878                          || test ! -s conftest.err'
45879   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45880   (eval $ac_try) 2>&5
45881   ac_status=$?
45882   echo "$as_me:$LINENO: \$? = $ac_status" >&5
45883   (exit $ac_status); }; } &&
45884          { ac_try='test -s conftest$ac_exeext'
45885   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45886   (eval $ac_try) 2>&5
45887   ac_status=$?
45888   echo "$as_me:$LINENO: \$? = $ac_status" >&5
45889   (exit $ac_status); }; }; then
45890   eval "$as_ac_var=yes"
45891 else
45892   echo "$as_me: failed program was:" >&5
45893 sed 's/^/| /' conftest.$ac_ext >&5
45894
45895 eval "$as_ac_var=no"
45896 fi
45897 rm -f conftest.err conftest.$ac_objext \
45898       conftest$ac_exeext conftest.$ac_ext
45899 fi
45900 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
45901 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
45902 if test `eval echo '${'$as_ac_var'}'` = yes; then
45903   cat >>confdefs.h <<_ACEOF
45904 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
45905 _ACEOF
45906
45907 fi
45908 done
45909
45910   else
45911
45912   echo "$as_me:$LINENO: checking for _fabsl declaration" >&5
45913 echo $ECHO_N "checking for _fabsl declaration... $ECHO_C" >&6
45914   if test x${glibcxx_cv_func__fabsl_use+set} != xset; then
45915     if test "${glibcxx_cv_func__fabsl_use+set}" = set; then
45916   echo $ECHO_N "(cached) $ECHO_C" >&6
45917 else
45918
45919
45920
45921       ac_ext=cc
45922 ac_cpp='$CXXCPP $CPPFLAGS'
45923 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45924 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45925 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45926
45927       cat >conftest.$ac_ext <<_ACEOF
45928 /* confdefs.h.  */
45929 _ACEOF
45930 cat confdefs.h >>conftest.$ac_ext
45931 cat >>conftest.$ac_ext <<_ACEOF
45932 /* end confdefs.h.  */
45933 #include <math.h>
45934                       #ifdef HAVE_IEEEFP_H
45935                       #include <ieeefp.h>
45936                       #endif
45937
45938 int
45939 main ()
45940 {
45941  _fabsl(0);
45942   ;
45943   return 0;
45944 }
45945 _ACEOF
45946 rm -f conftest.$ac_objext
45947 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
45948   (eval $ac_compile) 2>conftest.er1
45949   ac_status=$?
45950   grep -v '^ *+' conftest.er1 >conftest.err
45951   rm -f conftest.er1
45952   cat conftest.err >&5
45953   echo "$as_me:$LINENO: \$? = $ac_status" >&5
45954   (exit $ac_status); } &&
45955          { ac_try='test -z "$ac_cxx_werror_flag"
45956                          || test ! -s conftest.err'
45957   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45958   (eval $ac_try) 2>&5
45959   ac_status=$?
45960   echo "$as_me:$LINENO: \$? = $ac_status" >&5
45961   (exit $ac_status); }; } &&
45962          { ac_try='test -s conftest.$ac_objext'
45963   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45964   (eval $ac_try) 2>&5
45965   ac_status=$?
45966   echo "$as_me:$LINENO: \$? = $ac_status" >&5
45967   (exit $ac_status); }; }; then
45968   glibcxx_cv_func__fabsl_use=yes
45969 else
45970   echo "$as_me: failed program was:" >&5
45971 sed 's/^/| /' conftest.$ac_ext >&5
45972
45973 glibcxx_cv_func__fabsl_use=no
45974 fi
45975 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
45976       ac_ext=c
45977 ac_cpp='$CPP $CPPFLAGS'
45978 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45979 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45980 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45981
45982
45983 fi
45984
45985   fi
45986   echo "$as_me:$LINENO: result: $glibcxx_cv_func__fabsl_use" >&5
45987 echo "${ECHO_T}$glibcxx_cv_func__fabsl_use" >&6
45988
45989     if test x$glibcxx_cv_func__fabsl_use = x"yes"; then
45990
45991 for ac_func in _fabsl
45992 do
45993 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
45994 echo "$as_me:$LINENO: checking for $ac_func" >&5
45995 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
45996 if eval "test \"\${$as_ac_var+set}\" = set"; then
45997   echo $ECHO_N "(cached) $ECHO_C" >&6
45998 else
45999   if test x$gcc_no_link = xyes; then
46000   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
46001 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
46002    { (exit 1); exit 1; }; }
46003 fi
46004 cat >conftest.$ac_ext <<_ACEOF
46005 /* confdefs.h.  */
46006 _ACEOF
46007 cat confdefs.h >>conftest.$ac_ext
46008 cat >>conftest.$ac_ext <<_ACEOF
46009 /* end confdefs.h.  */
46010 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
46011    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
46012 #define $ac_func innocuous_$ac_func
46013
46014 /* System header to define __stub macros and hopefully few prototypes,
46015     which can conflict with char $ac_func (); below.
46016     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
46017     <limits.h> exists even on freestanding compilers.  */
46018
46019 #ifdef __STDC__
46020 # include <limits.h>
46021 #else
46022 # include <assert.h>
46023 #endif
46024
46025 #undef $ac_func
46026
46027 /* Override any gcc2 internal prototype to avoid an error.  */
46028 #ifdef __cplusplus
46029 extern "C"
46030 {
46031 #endif
46032 /* We use char because int might match the return type of a gcc2
46033    builtin and then its argument prototype would still apply.  */
46034 char $ac_func ();
46035 /* The GNU C library defines this for functions which it implements
46036     to always fail with ENOSYS.  Some functions are actually named
46037     something starting with __ and the normal name is an alias.  */
46038 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
46039 choke me
46040 #else
46041 char (*f) () = $ac_func;
46042 #endif
46043 #ifdef __cplusplus
46044 }
46045 #endif
46046
46047 int
46048 main ()
46049 {
46050 return f != $ac_func;
46051   ;
46052   return 0;
46053 }
46054 _ACEOF
46055 rm -f conftest.$ac_objext conftest$ac_exeext
46056 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
46057   (eval $ac_link) 2>conftest.er1
46058   ac_status=$?
46059   grep -v '^ *+' conftest.er1 >conftest.err
46060   rm -f conftest.er1
46061   cat conftest.err >&5
46062   echo "$as_me:$LINENO: \$? = $ac_status" >&5
46063   (exit $ac_status); } &&
46064          { ac_try='test -z "$ac_c_werror_flag"
46065                          || test ! -s conftest.err'
46066   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
46067   (eval $ac_try) 2>&5
46068   ac_status=$?
46069   echo "$as_me:$LINENO: \$? = $ac_status" >&5
46070   (exit $ac_status); }; } &&
46071          { ac_try='test -s conftest$ac_exeext'
46072   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
46073   (eval $ac_try) 2>&5
46074   ac_status=$?
46075   echo "$as_me:$LINENO: \$? = $ac_status" >&5
46076   (exit $ac_status); }; }; then
46077   eval "$as_ac_var=yes"
46078 else
46079   echo "$as_me: failed program was:" >&5
46080 sed 's/^/| /' conftest.$ac_ext >&5
46081
46082 eval "$as_ac_var=no"
46083 fi
46084 rm -f conftest.err conftest.$ac_objext \
46085       conftest$ac_exeext conftest.$ac_ext
46086 fi
46087 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
46088 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
46089 if test `eval echo '${'$as_ac_var'}'` = yes; then
46090   cat >>confdefs.h <<_ACEOF
46091 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
46092 _ACEOF
46093
46094 fi
46095 done
46096
46097     fi
46098   fi
46099
46100
46101
46102
46103
46104
46105   echo "$as_me:$LINENO: checking for fmodl declaration" >&5
46106 echo $ECHO_N "checking for fmodl declaration... $ECHO_C" >&6
46107   if test x${glibcxx_cv_func_fmodl_use+set} != xset; then
46108     if test "${glibcxx_cv_func_fmodl_use+set}" = set; then
46109   echo $ECHO_N "(cached) $ECHO_C" >&6
46110 else
46111
46112
46113
46114       ac_ext=cc
46115 ac_cpp='$CXXCPP $CPPFLAGS'
46116 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46117 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46118 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46119
46120       cat >conftest.$ac_ext <<_ACEOF
46121 /* confdefs.h.  */
46122 _ACEOF
46123 cat confdefs.h >>conftest.$ac_ext
46124 cat >>conftest.$ac_ext <<_ACEOF
46125 /* end confdefs.h.  */
46126 #include <math.h>
46127 int
46128 main ()
46129 {
46130  fmodl(0, 0);
46131   ;
46132   return 0;
46133 }
46134 _ACEOF
46135 rm -f conftest.$ac_objext
46136 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
46137   (eval $ac_compile) 2>conftest.er1
46138   ac_status=$?
46139   grep -v '^ *+' conftest.er1 >conftest.err
46140   rm -f conftest.er1
46141   cat conftest.err >&5
46142   echo "$as_me:$LINENO: \$? = $ac_status" >&5
46143   (exit $ac_status); } &&
46144          { ac_try='test -z "$ac_cxx_werror_flag"
46145                          || test ! -s conftest.err'
46146   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
46147   (eval $ac_try) 2>&5
46148   ac_status=$?
46149   echo "$as_me:$LINENO: \$? = $ac_status" >&5
46150   (exit $ac_status); }; } &&
46151          { ac_try='test -s conftest.$ac_objext'
46152   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
46153   (eval $ac_try) 2>&5
46154   ac_status=$?
46155   echo "$as_me:$LINENO: \$? = $ac_status" >&5
46156   (exit $ac_status); }; }; then
46157   glibcxx_cv_func_fmodl_use=yes
46158 else
46159   echo "$as_me: failed program was:" >&5
46160 sed 's/^/| /' conftest.$ac_ext >&5
46161
46162 glibcxx_cv_func_fmodl_use=no
46163 fi
46164 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
46165       ac_ext=c
46166 ac_cpp='$CPP $CPPFLAGS'
46167 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46168 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46169 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46170
46171
46172 fi
46173
46174   fi
46175   echo "$as_me:$LINENO: result: $glibcxx_cv_func_fmodl_use" >&5
46176 echo "${ECHO_T}$glibcxx_cv_func_fmodl_use" >&6
46177
46178   if test x$glibcxx_cv_func_fmodl_use = x"yes"; then
46179
46180 for ac_func in fmodl
46181 do
46182 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
46183 echo "$as_me:$LINENO: checking for $ac_func" >&5
46184 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
46185 if eval "test \"\${$as_ac_var+set}\" = set"; then
46186   echo $ECHO_N "(cached) $ECHO_C" >&6
46187 else
46188   if test x$gcc_no_link = xyes; then
46189   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
46190 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
46191    { (exit 1); exit 1; }; }
46192 fi
46193 cat >conftest.$ac_ext <<_ACEOF
46194 /* confdefs.h.  */
46195 _ACEOF
46196 cat confdefs.h >>conftest.$ac_ext
46197 cat >>conftest.$ac_ext <<_ACEOF
46198 /* end confdefs.h.  */
46199 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
46200    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
46201 #define $ac_func innocuous_$ac_func
46202
46203 /* System header to define __stub macros and hopefully few prototypes,
46204     which can conflict with char $ac_func (); below.
46205     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
46206     <limits.h> exists even on freestanding compilers.  */
46207
46208 #ifdef __STDC__
46209 # include <limits.h>
46210 #else
46211 # include <assert.h>
46212 #endif
46213
46214 #undef $ac_func
46215
46216 /* Override any gcc2 internal prototype to avoid an error.  */
46217 #ifdef __cplusplus
46218 extern "C"
46219 {
46220 #endif
46221 /* We use char because int might match the return type of a gcc2
46222    builtin and then its argument prototype would still apply.  */
46223 char $ac_func ();
46224 /* The GNU C library defines this for functions which it implements
46225     to always fail with ENOSYS.  Some functions are actually named
46226     something starting with __ and the normal name is an alias.  */
46227 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
46228 choke me
46229 #else
46230 char (*f) () = $ac_func;
46231 #endif
46232 #ifdef __cplusplus
46233 }
46234 #endif
46235
46236 int
46237 main ()
46238 {
46239 return f != $ac_func;
46240   ;
46241   return 0;
46242 }
46243 _ACEOF
46244 rm -f conftest.$ac_objext conftest$ac_exeext
46245 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
46246   (eval $ac_link) 2>conftest.er1
46247   ac_status=$?
46248   grep -v '^ *+' conftest.er1 >conftest.err
46249   rm -f conftest.er1
46250   cat conftest.err >&5
46251   echo "$as_me:$LINENO: \$? = $ac_status" >&5
46252   (exit $ac_status); } &&
46253          { ac_try='test -z "$ac_c_werror_flag"
46254                          || test ! -s conftest.err'
46255   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
46256   (eval $ac_try) 2>&5
46257   ac_status=$?
46258   echo "$as_me:$LINENO: \$? = $ac_status" >&5
46259   (exit $ac_status); }; } &&
46260          { ac_try='test -s conftest$ac_exeext'
46261   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
46262   (eval $ac_try) 2>&5
46263   ac_status=$?
46264   echo "$as_me:$LINENO: \$? = $ac_status" >&5
46265   (exit $ac_status); }; }; then
46266   eval "$as_ac_var=yes"
46267 else
46268   echo "$as_me: failed program was:" >&5
46269 sed 's/^/| /' conftest.$ac_ext >&5
46270
46271 eval "$as_ac_var=no"
46272 fi
46273 rm -f conftest.err conftest.$ac_objext \
46274       conftest$ac_exeext conftest.$ac_ext
46275 fi
46276 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
46277 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
46278 if test `eval echo '${'$as_ac_var'}'` = yes; then
46279   cat >>confdefs.h <<_ACEOF
46280 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
46281 _ACEOF
46282
46283 fi
46284 done
46285
46286   else
46287
46288   echo "$as_me:$LINENO: checking for _fmodl declaration" >&5
46289 echo $ECHO_N "checking for _fmodl declaration... $ECHO_C" >&6
46290   if test x${glibcxx_cv_func__fmodl_use+set} != xset; then
46291     if test "${glibcxx_cv_func__fmodl_use+set}" = set; then
46292   echo $ECHO_N "(cached) $ECHO_C" >&6
46293 else
46294
46295
46296
46297       ac_ext=cc
46298 ac_cpp='$CXXCPP $CPPFLAGS'
46299 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46300 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46301 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46302
46303       cat >conftest.$ac_ext <<_ACEOF
46304 /* confdefs.h.  */
46305 _ACEOF
46306 cat confdefs.h >>conftest.$ac_ext
46307 cat >>conftest.$ac_ext <<_ACEOF
46308 /* end confdefs.h.  */
46309 #include <math.h>
46310 int
46311 main ()
46312 {
46313  _fmodl(0, 0);
46314   ;
46315   return 0;
46316 }
46317 _ACEOF
46318 rm -f conftest.$ac_objext
46319 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
46320   (eval $ac_compile) 2>conftest.er1
46321   ac_status=$?
46322   grep -v '^ *+' conftest.er1 >conftest.err
46323   rm -f conftest.er1
46324   cat conftest.err >&5
46325   echo "$as_me:$LINENO: \$? = $ac_status" >&5
46326   (exit $ac_status); } &&
46327          { ac_try='test -z "$ac_cxx_werror_flag"
46328                          || test ! -s conftest.err'
46329   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
46330   (eval $ac_try) 2>&5
46331   ac_status=$?
46332   echo "$as_me:$LINENO: \$? = $ac_status" >&5
46333   (exit $ac_status); }; } &&
46334          { ac_try='test -s conftest.$ac_objext'
46335   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
46336   (eval $ac_try) 2>&5
46337   ac_status=$?
46338   echo "$as_me:$LINENO: \$? = $ac_status" >&5
46339   (exit $ac_status); }; }; then
46340   glibcxx_cv_func__fmodl_use=yes
46341 else
46342   echo "$as_me: failed program was:" >&5
46343 sed 's/^/| /' conftest.$ac_ext >&5
46344
46345 glibcxx_cv_func__fmodl_use=no
46346 fi
46347 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
46348       ac_ext=c
46349 ac_cpp='$CPP $CPPFLAGS'
46350 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46351 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46352 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46353
46354
46355 fi
46356
46357   fi
46358   echo "$as_me:$LINENO: result: $glibcxx_cv_func__fmodl_use" >&5
46359 echo "${ECHO_T}$glibcxx_cv_func__fmodl_use" >&6
46360
46361     if test x$glibcxx_cv_func__fmodl_use = x"yes"; then
46362
46363 for ac_func in _fmodl
46364 do
46365 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
46366 echo "$as_me:$LINENO: checking for $ac_func" >&5
46367 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
46368 if eval "test \"\${$as_ac_var+set}\" = set"; then
46369   echo $ECHO_N "(cached) $ECHO_C" >&6
46370 else
46371   if test x$gcc_no_link = xyes; then
46372   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
46373 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
46374    { (exit 1); exit 1; }; }
46375 fi
46376 cat >conftest.$ac_ext <<_ACEOF
46377 /* confdefs.h.  */
46378 _ACEOF
46379 cat confdefs.h >>conftest.$ac_ext
46380 cat >>conftest.$ac_ext <<_ACEOF
46381 /* end confdefs.h.  */
46382 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
46383    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
46384 #define $ac_func innocuous_$ac_func
46385
46386 /* System header to define __stub macros and hopefully few prototypes,
46387     which can conflict with char $ac_func (); below.
46388     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
46389     <limits.h> exists even on freestanding compilers.  */
46390
46391 #ifdef __STDC__
46392 # include <limits.h>
46393 #else
46394 # include <assert.h>
46395 #endif
46396
46397 #undef $ac_func
46398
46399 /* Override any gcc2 internal prototype to avoid an error.  */
46400 #ifdef __cplusplus
46401 extern "C"
46402 {
46403 #endif
46404 /* We use char because int might match the return type of a gcc2
46405    builtin and then its argument prototype would still apply.  */
46406 char $ac_func ();
46407 /* The GNU C library defines this for functions which it implements
46408     to always fail with ENOSYS.  Some functions are actually named
46409     something starting with __ and the normal name is an alias.  */
46410 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
46411 choke me
46412 #else
46413 char (*f) () = $ac_func;
46414 #endif
46415 #ifdef __cplusplus
46416 }
46417 #endif
46418
46419 int
46420 main ()
46421 {
46422 return f != $ac_func;
46423   ;
46424   return 0;
46425 }
46426 _ACEOF
46427 rm -f conftest.$ac_objext conftest$ac_exeext
46428 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
46429   (eval $ac_link) 2>conftest.er1
46430   ac_status=$?
46431   grep -v '^ *+' conftest.er1 >conftest.err
46432   rm -f conftest.er1
46433   cat conftest.err >&5
46434   echo "$as_me:$LINENO: \$? = $ac_status" >&5
46435   (exit $ac_status); } &&
46436          { ac_try='test -z "$ac_c_werror_flag"
46437                          || test ! -s conftest.err'
46438   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
46439   (eval $ac_try) 2>&5
46440   ac_status=$?
46441   echo "$as_me:$LINENO: \$? = $ac_status" >&5
46442   (exit $ac_status); }; } &&
46443          { ac_try='test -s conftest$ac_exeext'
46444   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
46445   (eval $ac_try) 2>&5
46446   ac_status=$?
46447   echo "$as_me:$LINENO: \$? = $ac_status" >&5
46448   (exit $ac_status); }; }; then
46449   eval "$as_ac_var=yes"
46450 else
46451   echo "$as_me: failed program was:" >&5
46452 sed 's/^/| /' conftest.$ac_ext >&5
46453
46454 eval "$as_ac_var=no"
46455 fi
46456 rm -f conftest.err conftest.$ac_objext \
46457       conftest$ac_exeext conftest.$ac_ext
46458 fi
46459 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
46460 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
46461 if test `eval echo '${'$as_ac_var'}'` = yes; then
46462   cat >>confdefs.h <<_ACEOF
46463 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
46464 _ACEOF
46465
46466 fi
46467 done
46468
46469     fi
46470   fi
46471
46472
46473
46474
46475
46476
46477   echo "$as_me:$LINENO: checking for frexpl declaration" >&5
46478 echo $ECHO_N "checking for frexpl declaration... $ECHO_C" >&6
46479   if test x${glibcxx_cv_func_frexpl_use+set} != xset; then
46480     if test "${glibcxx_cv_func_frexpl_use+set}" = set; then
46481   echo $ECHO_N "(cached) $ECHO_C" >&6
46482 else
46483
46484
46485
46486       ac_ext=cc
46487 ac_cpp='$CXXCPP $CPPFLAGS'
46488 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46489 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46490 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46491
46492       cat >conftest.$ac_ext <<_ACEOF
46493 /* confdefs.h.  */
46494 _ACEOF
46495 cat confdefs.h >>conftest.$ac_ext
46496 cat >>conftest.$ac_ext <<_ACEOF
46497 /* end confdefs.h.  */
46498 #include <math.h>
46499 int
46500 main ()
46501 {
46502  frexpl(0, 0);
46503   ;
46504   return 0;
46505 }
46506 _ACEOF
46507 rm -f conftest.$ac_objext
46508 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
46509   (eval $ac_compile) 2>conftest.er1
46510   ac_status=$?
46511   grep -v '^ *+' conftest.er1 >conftest.err
46512   rm -f conftest.er1
46513   cat conftest.err >&5
46514   echo "$as_me:$LINENO: \$? = $ac_status" >&5
46515   (exit $ac_status); } &&
46516          { ac_try='test -z "$ac_cxx_werror_flag"
46517                          || test ! -s conftest.err'
46518   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
46519   (eval $ac_try) 2>&5
46520   ac_status=$?
46521   echo "$as_me:$LINENO: \$? = $ac_status" >&5
46522   (exit $ac_status); }; } &&
46523          { ac_try='test -s conftest.$ac_objext'
46524   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
46525   (eval $ac_try) 2>&5
46526   ac_status=$?
46527   echo "$as_me:$LINENO: \$? = $ac_status" >&5
46528   (exit $ac_status); }; }; then
46529   glibcxx_cv_func_frexpl_use=yes
46530 else
46531   echo "$as_me: failed program was:" >&5
46532 sed 's/^/| /' conftest.$ac_ext >&5
46533
46534 glibcxx_cv_func_frexpl_use=no
46535 fi
46536 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
46537       ac_ext=c
46538 ac_cpp='$CPP $CPPFLAGS'
46539 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46540 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46541 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46542
46543
46544 fi
46545
46546   fi
46547   echo "$as_me:$LINENO: result: $glibcxx_cv_func_frexpl_use" >&5
46548 echo "${ECHO_T}$glibcxx_cv_func_frexpl_use" >&6
46549
46550   if test x$glibcxx_cv_func_frexpl_use = x"yes"; then
46551
46552 for ac_func in frexpl
46553 do
46554 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
46555 echo "$as_me:$LINENO: checking for $ac_func" >&5
46556 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
46557 if eval "test \"\${$as_ac_var+set}\" = set"; then
46558   echo $ECHO_N "(cached) $ECHO_C" >&6
46559 else
46560   if test x$gcc_no_link = xyes; then
46561   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
46562 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
46563    { (exit 1); exit 1; }; }
46564 fi
46565 cat >conftest.$ac_ext <<_ACEOF
46566 /* confdefs.h.  */
46567 _ACEOF
46568 cat confdefs.h >>conftest.$ac_ext
46569 cat >>conftest.$ac_ext <<_ACEOF
46570 /* end confdefs.h.  */
46571 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
46572    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
46573 #define $ac_func innocuous_$ac_func
46574
46575 /* System header to define __stub macros and hopefully few prototypes,
46576     which can conflict with char $ac_func (); below.
46577     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
46578     <limits.h> exists even on freestanding compilers.  */
46579
46580 #ifdef __STDC__
46581 # include <limits.h>
46582 #else
46583 # include <assert.h>
46584 #endif
46585
46586 #undef $ac_func
46587
46588 /* Override any gcc2 internal prototype to avoid an error.  */
46589 #ifdef __cplusplus
46590 extern "C"
46591 {
46592 #endif
46593 /* We use char because int might match the return type of a gcc2
46594    builtin and then its argument prototype would still apply.  */
46595 char $ac_func ();
46596 /* The GNU C library defines this for functions which it implements
46597     to always fail with ENOSYS.  Some functions are actually named
46598     something starting with __ and the normal name is an alias.  */
46599 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
46600 choke me
46601 #else
46602 char (*f) () = $ac_func;
46603 #endif
46604 #ifdef __cplusplus
46605 }
46606 #endif
46607
46608 int
46609 main ()
46610 {
46611 return f != $ac_func;
46612   ;
46613   return 0;
46614 }
46615 _ACEOF
46616 rm -f conftest.$ac_objext conftest$ac_exeext
46617 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
46618   (eval $ac_link) 2>conftest.er1
46619   ac_status=$?
46620   grep -v '^ *+' conftest.er1 >conftest.err
46621   rm -f conftest.er1
46622   cat conftest.err >&5
46623   echo "$as_me:$LINENO: \$? = $ac_status" >&5
46624   (exit $ac_status); } &&
46625          { ac_try='test -z "$ac_c_werror_flag"
46626                          || test ! -s conftest.err'
46627   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
46628   (eval $ac_try) 2>&5
46629   ac_status=$?
46630   echo "$as_me:$LINENO: \$? = $ac_status" >&5
46631   (exit $ac_status); }; } &&
46632          { ac_try='test -s conftest$ac_exeext'
46633   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
46634   (eval $ac_try) 2>&5
46635   ac_status=$?
46636   echo "$as_me:$LINENO: \$? = $ac_status" >&5
46637   (exit $ac_status); }; }; then
46638   eval "$as_ac_var=yes"
46639 else
46640   echo "$as_me: failed program was:" >&5
46641 sed 's/^/| /' conftest.$ac_ext >&5
46642
46643 eval "$as_ac_var=no"
46644 fi
46645 rm -f conftest.err conftest.$ac_objext \
46646       conftest$ac_exeext conftest.$ac_ext
46647 fi
46648 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
46649 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
46650 if test `eval echo '${'$as_ac_var'}'` = yes; then
46651   cat >>confdefs.h <<_ACEOF
46652 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
46653 _ACEOF
46654
46655 fi
46656 done
46657
46658   else
46659
46660   echo "$as_me:$LINENO: checking for _frexpl declaration" >&5
46661 echo $ECHO_N "checking for _frexpl declaration... $ECHO_C" >&6
46662   if test x${glibcxx_cv_func__frexpl_use+set} != xset; then
46663     if test "${glibcxx_cv_func__frexpl_use+set}" = set; then
46664   echo $ECHO_N "(cached) $ECHO_C" >&6
46665 else
46666
46667
46668
46669       ac_ext=cc
46670 ac_cpp='$CXXCPP $CPPFLAGS'
46671 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46672 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46673 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46674
46675       cat >conftest.$ac_ext <<_ACEOF
46676 /* confdefs.h.  */
46677 _ACEOF
46678 cat confdefs.h >>conftest.$ac_ext
46679 cat >>conftest.$ac_ext <<_ACEOF
46680 /* end confdefs.h.  */
46681 #include <math.h>
46682 int
46683 main ()
46684 {
46685  _frexpl(0, 0);
46686   ;
46687   return 0;
46688 }
46689 _ACEOF
46690 rm -f conftest.$ac_objext
46691 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
46692   (eval $ac_compile) 2>conftest.er1
46693   ac_status=$?
46694   grep -v '^ *+' conftest.er1 >conftest.err
46695   rm -f conftest.er1
46696   cat conftest.err >&5
46697   echo "$as_me:$LINENO: \$? = $ac_status" >&5
46698   (exit $ac_status); } &&
46699          { ac_try='test -z "$ac_cxx_werror_flag"
46700                          || test ! -s conftest.err'
46701   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
46702   (eval $ac_try) 2>&5
46703   ac_status=$?
46704   echo "$as_me:$LINENO: \$? = $ac_status" >&5
46705   (exit $ac_status); }; } &&
46706          { ac_try='test -s conftest.$ac_objext'
46707   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
46708   (eval $ac_try) 2>&5
46709   ac_status=$?
46710   echo "$as_me:$LINENO: \$? = $ac_status" >&5
46711   (exit $ac_status); }; }; then
46712   glibcxx_cv_func__frexpl_use=yes
46713 else
46714   echo "$as_me: failed program was:" >&5
46715 sed 's/^/| /' conftest.$ac_ext >&5
46716
46717 glibcxx_cv_func__frexpl_use=no
46718 fi
46719 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
46720       ac_ext=c
46721 ac_cpp='$CPP $CPPFLAGS'
46722 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46723 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46724 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46725
46726
46727 fi
46728
46729   fi
46730   echo "$as_me:$LINENO: result: $glibcxx_cv_func__frexpl_use" >&5
46731 echo "${ECHO_T}$glibcxx_cv_func__frexpl_use" >&6
46732
46733     if test x$glibcxx_cv_func__frexpl_use = x"yes"; then
46734
46735 for ac_func in _frexpl
46736 do
46737 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
46738 echo "$as_me:$LINENO: checking for $ac_func" >&5
46739 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
46740 if eval "test \"\${$as_ac_var+set}\" = set"; then
46741   echo $ECHO_N "(cached) $ECHO_C" >&6
46742 else
46743   if test x$gcc_no_link = xyes; then
46744   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
46745 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
46746    { (exit 1); exit 1; }; }
46747 fi
46748 cat >conftest.$ac_ext <<_ACEOF
46749 /* confdefs.h.  */
46750 _ACEOF
46751 cat confdefs.h >>conftest.$ac_ext
46752 cat >>conftest.$ac_ext <<_ACEOF
46753 /* end confdefs.h.  */
46754 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
46755    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
46756 #define $ac_func innocuous_$ac_func
46757
46758 /* System header to define __stub macros and hopefully few prototypes,
46759     which can conflict with char $ac_func (); below.
46760     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
46761     <limits.h> exists even on freestanding compilers.  */
46762
46763 #ifdef __STDC__
46764 # include <limits.h>
46765 #else
46766 # include <assert.h>
46767 #endif
46768
46769 #undef $ac_func
46770
46771 /* Override any gcc2 internal prototype to avoid an error.  */
46772 #ifdef __cplusplus
46773 extern "C"
46774 {
46775 #endif
46776 /* We use char because int might match the return type of a gcc2
46777    builtin and then its argument prototype would still apply.  */
46778 char $ac_func ();
46779 /* The GNU C library defines this for functions which it implements
46780     to always fail with ENOSYS.  Some functions are actually named
46781     something starting with __ and the normal name is an alias.  */
46782 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
46783 choke me
46784 #else
46785 char (*f) () = $ac_func;
46786 #endif
46787 #ifdef __cplusplus
46788 }
46789 #endif
46790
46791 int
46792 main ()
46793 {
46794 return f != $ac_func;
46795   ;
46796   return 0;
46797 }
46798 _ACEOF
46799 rm -f conftest.$ac_objext conftest$ac_exeext
46800 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
46801   (eval $ac_link) 2>conftest.er1
46802   ac_status=$?
46803   grep -v '^ *+' conftest.er1 >conftest.err
46804   rm -f conftest.er1
46805   cat conftest.err >&5
46806   echo "$as_me:$LINENO: \$? = $ac_status" >&5
46807   (exit $ac_status); } &&
46808          { ac_try='test -z "$ac_c_werror_flag"
46809                          || test ! -s conftest.err'
46810   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
46811   (eval $ac_try) 2>&5
46812   ac_status=$?
46813   echo "$as_me:$LINENO: \$? = $ac_status" >&5
46814   (exit $ac_status); }; } &&
46815          { ac_try='test -s conftest$ac_exeext'
46816   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
46817   (eval $ac_try) 2>&5
46818   ac_status=$?
46819   echo "$as_me:$LINENO: \$? = $ac_status" >&5
46820   (exit $ac_status); }; }; then
46821   eval "$as_ac_var=yes"
46822 else
46823   echo "$as_me: failed program was:" >&5
46824 sed 's/^/| /' conftest.$ac_ext >&5
46825
46826 eval "$as_ac_var=no"
46827 fi
46828 rm -f conftest.err conftest.$ac_objext \
46829       conftest$ac_exeext conftest.$ac_ext
46830 fi
46831 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
46832 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
46833 if test `eval echo '${'$as_ac_var'}'` = yes; then
46834   cat >>confdefs.h <<_ACEOF
46835 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
46836 _ACEOF
46837
46838 fi
46839 done
46840
46841     fi
46842   fi
46843
46844
46845
46846
46847
46848
46849   echo "$as_me:$LINENO: checking for hypotl declaration" >&5
46850 echo $ECHO_N "checking for hypotl declaration... $ECHO_C" >&6
46851   if test x${glibcxx_cv_func_hypotl_use+set} != xset; then
46852     if test "${glibcxx_cv_func_hypotl_use+set}" = set; then
46853   echo $ECHO_N "(cached) $ECHO_C" >&6
46854 else
46855
46856
46857
46858       ac_ext=cc
46859 ac_cpp='$CXXCPP $CPPFLAGS'
46860 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46861 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46862 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46863
46864       cat >conftest.$ac_ext <<_ACEOF
46865 /* confdefs.h.  */
46866 _ACEOF
46867 cat confdefs.h >>conftest.$ac_ext
46868 cat >>conftest.$ac_ext <<_ACEOF
46869 /* end confdefs.h.  */
46870 #include <math.h>
46871 int
46872 main ()
46873 {
46874  hypotl(0, 0);
46875   ;
46876   return 0;
46877 }
46878 _ACEOF
46879 rm -f conftest.$ac_objext
46880 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
46881   (eval $ac_compile) 2>conftest.er1
46882   ac_status=$?
46883   grep -v '^ *+' conftest.er1 >conftest.err
46884   rm -f conftest.er1
46885   cat conftest.err >&5
46886   echo "$as_me:$LINENO: \$? = $ac_status" >&5
46887   (exit $ac_status); } &&
46888          { ac_try='test -z "$ac_cxx_werror_flag"
46889                          || test ! -s conftest.err'
46890   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
46891   (eval $ac_try) 2>&5
46892   ac_status=$?
46893   echo "$as_me:$LINENO: \$? = $ac_status" >&5
46894   (exit $ac_status); }; } &&
46895          { ac_try='test -s conftest.$ac_objext'
46896   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
46897   (eval $ac_try) 2>&5
46898   ac_status=$?
46899   echo "$as_me:$LINENO: \$? = $ac_status" >&5
46900   (exit $ac_status); }; }; then
46901   glibcxx_cv_func_hypotl_use=yes
46902 else
46903   echo "$as_me: failed program was:" >&5
46904 sed 's/^/| /' conftest.$ac_ext >&5
46905
46906 glibcxx_cv_func_hypotl_use=no
46907 fi
46908 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
46909       ac_ext=c
46910 ac_cpp='$CPP $CPPFLAGS'
46911 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46912 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46913 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46914
46915
46916 fi
46917
46918   fi
46919   echo "$as_me:$LINENO: result: $glibcxx_cv_func_hypotl_use" >&5
46920 echo "${ECHO_T}$glibcxx_cv_func_hypotl_use" >&6
46921
46922   if test x$glibcxx_cv_func_hypotl_use = x"yes"; then
46923
46924 for ac_func in hypotl
46925 do
46926 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
46927 echo "$as_me:$LINENO: checking for $ac_func" >&5
46928 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
46929 if eval "test \"\${$as_ac_var+set}\" = set"; then
46930   echo $ECHO_N "(cached) $ECHO_C" >&6
46931 else
46932   if test x$gcc_no_link = xyes; then
46933   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
46934 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
46935    { (exit 1); exit 1; }; }
46936 fi
46937 cat >conftest.$ac_ext <<_ACEOF
46938 /* confdefs.h.  */
46939 _ACEOF
46940 cat confdefs.h >>conftest.$ac_ext
46941 cat >>conftest.$ac_ext <<_ACEOF
46942 /* end confdefs.h.  */
46943 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
46944    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
46945 #define $ac_func innocuous_$ac_func
46946
46947 /* System header to define __stub macros and hopefully few prototypes,
46948     which can conflict with char $ac_func (); below.
46949     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
46950     <limits.h> exists even on freestanding compilers.  */
46951
46952 #ifdef __STDC__
46953 # include <limits.h>
46954 #else
46955 # include <assert.h>
46956 #endif
46957
46958 #undef $ac_func
46959
46960 /* Override any gcc2 internal prototype to avoid an error.  */
46961 #ifdef __cplusplus
46962 extern "C"
46963 {
46964 #endif
46965 /* We use char because int might match the return type of a gcc2
46966    builtin and then its argument prototype would still apply.  */
46967 char $ac_func ();
46968 /* The GNU C library defines this for functions which it implements
46969     to always fail with ENOSYS.  Some functions are actually named
46970     something starting with __ and the normal name is an alias.  */
46971 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
46972 choke me
46973 #else
46974 char (*f) () = $ac_func;
46975 #endif
46976 #ifdef __cplusplus
46977 }
46978 #endif
46979
46980 int
46981 main ()
46982 {
46983 return f != $ac_func;
46984   ;
46985   return 0;
46986 }
46987 _ACEOF
46988 rm -f conftest.$ac_objext conftest$ac_exeext
46989 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
46990   (eval $ac_link) 2>conftest.er1
46991   ac_status=$?
46992   grep -v '^ *+' conftest.er1 >conftest.err
46993   rm -f conftest.er1
46994   cat conftest.err >&5
46995   echo "$as_me:$LINENO: \$? = $ac_status" >&5
46996   (exit $ac_status); } &&
46997          { ac_try='test -z "$ac_c_werror_flag"
46998                          || test ! -s conftest.err'
46999   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
47000   (eval $ac_try) 2>&5
47001   ac_status=$?
47002   echo "$as_me:$LINENO: \$? = $ac_status" >&5
47003   (exit $ac_status); }; } &&
47004          { ac_try='test -s conftest$ac_exeext'
47005   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
47006   (eval $ac_try) 2>&5
47007   ac_status=$?
47008   echo "$as_me:$LINENO: \$? = $ac_status" >&5
47009   (exit $ac_status); }; }; then
47010   eval "$as_ac_var=yes"
47011 else
47012   echo "$as_me: failed program was:" >&5
47013 sed 's/^/| /' conftest.$ac_ext >&5
47014
47015 eval "$as_ac_var=no"
47016 fi
47017 rm -f conftest.err conftest.$ac_objext \
47018       conftest$ac_exeext conftest.$ac_ext
47019 fi
47020 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
47021 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
47022 if test `eval echo '${'$as_ac_var'}'` = yes; then
47023   cat >>confdefs.h <<_ACEOF
47024 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
47025 _ACEOF
47026
47027 fi
47028 done
47029
47030   else
47031
47032   echo "$as_me:$LINENO: checking for _hypotl declaration" >&5
47033 echo $ECHO_N "checking for _hypotl declaration... $ECHO_C" >&6
47034   if test x${glibcxx_cv_func__hypotl_use+set} != xset; then
47035     if test "${glibcxx_cv_func__hypotl_use+set}" = set; then
47036   echo $ECHO_N "(cached) $ECHO_C" >&6
47037 else
47038
47039
47040
47041       ac_ext=cc
47042 ac_cpp='$CXXCPP $CPPFLAGS'
47043 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47044 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47045 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47046
47047       cat >conftest.$ac_ext <<_ACEOF
47048 /* confdefs.h.  */
47049 _ACEOF
47050 cat confdefs.h >>conftest.$ac_ext
47051 cat >>conftest.$ac_ext <<_ACEOF
47052 /* end confdefs.h.  */
47053 #include <math.h>
47054 int
47055 main ()
47056 {
47057  _hypotl(0, 0);
47058   ;
47059   return 0;
47060 }
47061 _ACEOF
47062 rm -f conftest.$ac_objext
47063 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
47064   (eval $ac_compile) 2>conftest.er1
47065   ac_status=$?
47066   grep -v '^ *+' conftest.er1 >conftest.err
47067   rm -f conftest.er1
47068   cat conftest.err >&5
47069   echo "$as_me:$LINENO: \$? = $ac_status" >&5
47070   (exit $ac_status); } &&
47071          { ac_try='test -z "$ac_cxx_werror_flag"
47072                          || test ! -s conftest.err'
47073   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
47074   (eval $ac_try) 2>&5
47075   ac_status=$?
47076   echo "$as_me:$LINENO: \$? = $ac_status" >&5
47077   (exit $ac_status); }; } &&
47078          { ac_try='test -s conftest.$ac_objext'
47079   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
47080   (eval $ac_try) 2>&5
47081   ac_status=$?
47082   echo "$as_me:$LINENO: \$? = $ac_status" >&5
47083   (exit $ac_status); }; }; then
47084   glibcxx_cv_func__hypotl_use=yes
47085 else
47086   echo "$as_me: failed program was:" >&5
47087 sed 's/^/| /' conftest.$ac_ext >&5
47088
47089 glibcxx_cv_func__hypotl_use=no
47090 fi
47091 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
47092       ac_ext=c
47093 ac_cpp='$CPP $CPPFLAGS'
47094 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47095 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47096 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47097
47098
47099 fi
47100
47101   fi
47102   echo "$as_me:$LINENO: result: $glibcxx_cv_func__hypotl_use" >&5
47103 echo "${ECHO_T}$glibcxx_cv_func__hypotl_use" >&6
47104
47105     if test x$glibcxx_cv_func__hypotl_use = x"yes"; then
47106
47107 for ac_func in _hypotl
47108 do
47109 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
47110 echo "$as_me:$LINENO: checking for $ac_func" >&5
47111 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
47112 if eval "test \"\${$as_ac_var+set}\" = set"; then
47113   echo $ECHO_N "(cached) $ECHO_C" >&6
47114 else
47115   if test x$gcc_no_link = xyes; then
47116   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
47117 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
47118    { (exit 1); exit 1; }; }
47119 fi
47120 cat >conftest.$ac_ext <<_ACEOF
47121 /* confdefs.h.  */
47122 _ACEOF
47123 cat confdefs.h >>conftest.$ac_ext
47124 cat >>conftest.$ac_ext <<_ACEOF
47125 /* end confdefs.h.  */
47126 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
47127    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
47128 #define $ac_func innocuous_$ac_func
47129
47130 /* System header to define __stub macros and hopefully few prototypes,
47131     which can conflict with char $ac_func (); below.
47132     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
47133     <limits.h> exists even on freestanding compilers.  */
47134
47135 #ifdef __STDC__
47136 # include <limits.h>
47137 #else
47138 # include <assert.h>
47139 #endif
47140
47141 #undef $ac_func
47142
47143 /* Override any gcc2 internal prototype to avoid an error.  */
47144 #ifdef __cplusplus
47145 extern "C"
47146 {
47147 #endif
47148 /* We use char because int might match the return type of a gcc2
47149    builtin and then its argument prototype would still apply.  */
47150 char $ac_func ();
47151 /* The GNU C library defines this for functions which it implements
47152     to always fail with ENOSYS.  Some functions are actually named
47153     something starting with __ and the normal name is an alias.  */
47154 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
47155 choke me
47156 #else
47157 char (*f) () = $ac_func;
47158 #endif
47159 #ifdef __cplusplus
47160 }
47161 #endif
47162
47163 int
47164 main ()
47165 {
47166 return f != $ac_func;
47167   ;
47168   return 0;
47169 }
47170 _ACEOF
47171 rm -f conftest.$ac_objext conftest$ac_exeext
47172 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
47173   (eval $ac_link) 2>conftest.er1
47174   ac_status=$?
47175   grep -v '^ *+' conftest.er1 >conftest.err
47176   rm -f conftest.er1
47177   cat conftest.err >&5
47178   echo "$as_me:$LINENO: \$? = $ac_status" >&5
47179   (exit $ac_status); } &&
47180          { ac_try='test -z "$ac_c_werror_flag"
47181                          || test ! -s conftest.err'
47182   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
47183   (eval $ac_try) 2>&5
47184   ac_status=$?
47185   echo "$as_me:$LINENO: \$? = $ac_status" >&5
47186   (exit $ac_status); }; } &&
47187          { ac_try='test -s conftest$ac_exeext'
47188   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
47189   (eval $ac_try) 2>&5
47190   ac_status=$?
47191   echo "$as_me:$LINENO: \$? = $ac_status" >&5
47192   (exit $ac_status); }; }; then
47193   eval "$as_ac_var=yes"
47194 else
47195   echo "$as_me: failed program was:" >&5
47196 sed 's/^/| /' conftest.$ac_ext >&5
47197
47198 eval "$as_ac_var=no"
47199 fi
47200 rm -f conftest.err conftest.$ac_objext \
47201       conftest$ac_exeext conftest.$ac_ext
47202 fi
47203 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
47204 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
47205 if test `eval echo '${'$as_ac_var'}'` = yes; then
47206   cat >>confdefs.h <<_ACEOF
47207 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
47208 _ACEOF
47209
47210 fi
47211 done
47212
47213     fi
47214   fi
47215
47216
47217
47218
47219
47220
47221   echo "$as_me:$LINENO: checking for ldexpl declaration" >&5
47222 echo $ECHO_N "checking for ldexpl declaration... $ECHO_C" >&6
47223   if test x${glibcxx_cv_func_ldexpl_use+set} != xset; then
47224     if test "${glibcxx_cv_func_ldexpl_use+set}" = set; then
47225   echo $ECHO_N "(cached) $ECHO_C" >&6
47226 else
47227
47228
47229
47230       ac_ext=cc
47231 ac_cpp='$CXXCPP $CPPFLAGS'
47232 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47233 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47234 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47235
47236       cat >conftest.$ac_ext <<_ACEOF
47237 /* confdefs.h.  */
47238 _ACEOF
47239 cat confdefs.h >>conftest.$ac_ext
47240 cat >>conftest.$ac_ext <<_ACEOF
47241 /* end confdefs.h.  */
47242 #include <math.h>
47243 int
47244 main ()
47245 {
47246  ldexpl(0, 0);
47247   ;
47248   return 0;
47249 }
47250 _ACEOF
47251 rm -f conftest.$ac_objext
47252 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
47253   (eval $ac_compile) 2>conftest.er1
47254   ac_status=$?
47255   grep -v '^ *+' conftest.er1 >conftest.err
47256   rm -f conftest.er1
47257   cat conftest.err >&5
47258   echo "$as_me:$LINENO: \$? = $ac_status" >&5
47259   (exit $ac_status); } &&
47260          { ac_try='test -z "$ac_cxx_werror_flag"
47261                          || test ! -s conftest.err'
47262   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
47263   (eval $ac_try) 2>&5
47264   ac_status=$?
47265   echo "$as_me:$LINENO: \$? = $ac_status" >&5
47266   (exit $ac_status); }; } &&
47267          { ac_try='test -s conftest.$ac_objext'
47268   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
47269   (eval $ac_try) 2>&5
47270   ac_status=$?
47271   echo "$as_me:$LINENO: \$? = $ac_status" >&5
47272   (exit $ac_status); }; }; then
47273   glibcxx_cv_func_ldexpl_use=yes
47274 else
47275   echo "$as_me: failed program was:" >&5
47276 sed 's/^/| /' conftest.$ac_ext >&5
47277
47278 glibcxx_cv_func_ldexpl_use=no
47279 fi
47280 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
47281       ac_ext=c
47282 ac_cpp='$CPP $CPPFLAGS'
47283 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47284 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47285 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47286
47287
47288 fi
47289
47290   fi
47291   echo "$as_me:$LINENO: result: $glibcxx_cv_func_ldexpl_use" >&5
47292 echo "${ECHO_T}$glibcxx_cv_func_ldexpl_use" >&6
47293
47294   if test x$glibcxx_cv_func_ldexpl_use = x"yes"; then
47295
47296 for ac_func in ldexpl
47297 do
47298 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
47299 echo "$as_me:$LINENO: checking for $ac_func" >&5
47300 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
47301 if eval "test \"\${$as_ac_var+set}\" = set"; then
47302   echo $ECHO_N "(cached) $ECHO_C" >&6
47303 else
47304   if test x$gcc_no_link = xyes; then
47305   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
47306 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
47307    { (exit 1); exit 1; }; }
47308 fi
47309 cat >conftest.$ac_ext <<_ACEOF
47310 /* confdefs.h.  */
47311 _ACEOF
47312 cat confdefs.h >>conftest.$ac_ext
47313 cat >>conftest.$ac_ext <<_ACEOF
47314 /* end confdefs.h.  */
47315 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
47316    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
47317 #define $ac_func innocuous_$ac_func
47318
47319 /* System header to define __stub macros and hopefully few prototypes,
47320     which can conflict with char $ac_func (); below.
47321     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
47322     <limits.h> exists even on freestanding compilers.  */
47323
47324 #ifdef __STDC__
47325 # include <limits.h>
47326 #else
47327 # include <assert.h>
47328 #endif
47329
47330 #undef $ac_func
47331
47332 /* Override any gcc2 internal prototype to avoid an error.  */
47333 #ifdef __cplusplus
47334 extern "C"
47335 {
47336 #endif
47337 /* We use char because int might match the return type of a gcc2
47338    builtin and then its argument prototype would still apply.  */
47339 char $ac_func ();
47340 /* The GNU C library defines this for functions which it implements
47341     to always fail with ENOSYS.  Some functions are actually named
47342     something starting with __ and the normal name is an alias.  */
47343 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
47344 choke me
47345 #else
47346 char (*f) () = $ac_func;
47347 #endif
47348 #ifdef __cplusplus
47349 }
47350 #endif
47351
47352 int
47353 main ()
47354 {
47355 return f != $ac_func;
47356   ;
47357   return 0;
47358 }
47359 _ACEOF
47360 rm -f conftest.$ac_objext conftest$ac_exeext
47361 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
47362   (eval $ac_link) 2>conftest.er1
47363   ac_status=$?
47364   grep -v '^ *+' conftest.er1 >conftest.err
47365   rm -f conftest.er1
47366   cat conftest.err >&5
47367   echo "$as_me:$LINENO: \$? = $ac_status" >&5
47368   (exit $ac_status); } &&
47369          { ac_try='test -z "$ac_c_werror_flag"
47370                          || test ! -s conftest.err'
47371   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
47372   (eval $ac_try) 2>&5
47373   ac_status=$?
47374   echo "$as_me:$LINENO: \$? = $ac_status" >&5
47375   (exit $ac_status); }; } &&
47376          { ac_try='test -s conftest$ac_exeext'
47377   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
47378   (eval $ac_try) 2>&5
47379   ac_status=$?
47380   echo "$as_me:$LINENO: \$? = $ac_status" >&5
47381   (exit $ac_status); }; }; then
47382   eval "$as_ac_var=yes"
47383 else
47384   echo "$as_me: failed program was:" >&5
47385 sed 's/^/| /' conftest.$ac_ext >&5
47386
47387 eval "$as_ac_var=no"
47388 fi
47389 rm -f conftest.err conftest.$ac_objext \
47390       conftest$ac_exeext conftest.$ac_ext
47391 fi
47392 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
47393 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
47394 if test `eval echo '${'$as_ac_var'}'` = yes; then
47395   cat >>confdefs.h <<_ACEOF
47396 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
47397 _ACEOF
47398
47399 fi
47400 done
47401
47402   else
47403
47404   echo "$as_me:$LINENO: checking for _ldexpl declaration" >&5
47405 echo $ECHO_N "checking for _ldexpl declaration... $ECHO_C" >&6
47406   if test x${glibcxx_cv_func__ldexpl_use+set} != xset; then
47407     if test "${glibcxx_cv_func__ldexpl_use+set}" = set; then
47408   echo $ECHO_N "(cached) $ECHO_C" >&6
47409 else
47410
47411
47412
47413       ac_ext=cc
47414 ac_cpp='$CXXCPP $CPPFLAGS'
47415 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47416 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47417 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47418
47419       cat >conftest.$ac_ext <<_ACEOF
47420 /* confdefs.h.  */
47421 _ACEOF
47422 cat confdefs.h >>conftest.$ac_ext
47423 cat >>conftest.$ac_ext <<_ACEOF
47424 /* end confdefs.h.  */
47425 #include <math.h>
47426 int
47427 main ()
47428 {
47429  _ldexpl(0, 0);
47430   ;
47431   return 0;
47432 }
47433 _ACEOF
47434 rm -f conftest.$ac_objext
47435 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
47436   (eval $ac_compile) 2>conftest.er1
47437   ac_status=$?
47438   grep -v '^ *+' conftest.er1 >conftest.err
47439   rm -f conftest.er1
47440   cat conftest.err >&5
47441   echo "$as_me:$LINENO: \$? = $ac_status" >&5
47442   (exit $ac_status); } &&
47443          { ac_try='test -z "$ac_cxx_werror_flag"
47444                          || test ! -s conftest.err'
47445   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
47446   (eval $ac_try) 2>&5
47447   ac_status=$?
47448   echo "$as_me:$LINENO: \$? = $ac_status" >&5
47449   (exit $ac_status); }; } &&
47450          { ac_try='test -s conftest.$ac_objext'
47451   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
47452   (eval $ac_try) 2>&5
47453   ac_status=$?
47454   echo "$as_me:$LINENO: \$? = $ac_status" >&5
47455   (exit $ac_status); }; }; then
47456   glibcxx_cv_func__ldexpl_use=yes
47457 else
47458   echo "$as_me: failed program was:" >&5
47459 sed 's/^/| /' conftest.$ac_ext >&5
47460
47461 glibcxx_cv_func__ldexpl_use=no
47462 fi
47463 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
47464       ac_ext=c
47465 ac_cpp='$CPP $CPPFLAGS'
47466 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47467 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47468 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47469
47470
47471 fi
47472
47473   fi
47474   echo "$as_me:$LINENO: result: $glibcxx_cv_func__ldexpl_use" >&5
47475 echo "${ECHO_T}$glibcxx_cv_func__ldexpl_use" >&6
47476
47477     if test x$glibcxx_cv_func__ldexpl_use = x"yes"; then
47478
47479 for ac_func in _ldexpl
47480 do
47481 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
47482 echo "$as_me:$LINENO: checking for $ac_func" >&5
47483 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
47484 if eval "test \"\${$as_ac_var+set}\" = set"; then
47485   echo $ECHO_N "(cached) $ECHO_C" >&6
47486 else
47487   if test x$gcc_no_link = xyes; then
47488   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
47489 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
47490    { (exit 1); exit 1; }; }
47491 fi
47492 cat >conftest.$ac_ext <<_ACEOF
47493 /* confdefs.h.  */
47494 _ACEOF
47495 cat confdefs.h >>conftest.$ac_ext
47496 cat >>conftest.$ac_ext <<_ACEOF
47497 /* end confdefs.h.  */
47498 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
47499    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
47500 #define $ac_func innocuous_$ac_func
47501
47502 /* System header to define __stub macros and hopefully few prototypes,
47503     which can conflict with char $ac_func (); below.
47504     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
47505     <limits.h> exists even on freestanding compilers.  */
47506
47507 #ifdef __STDC__
47508 # include <limits.h>
47509 #else
47510 # include <assert.h>
47511 #endif
47512
47513 #undef $ac_func
47514
47515 /* Override any gcc2 internal prototype to avoid an error.  */
47516 #ifdef __cplusplus
47517 extern "C"
47518 {
47519 #endif
47520 /* We use char because int might match the return type of a gcc2
47521    builtin and then its argument prototype would still apply.  */
47522 char $ac_func ();
47523 /* The GNU C library defines this for functions which it implements
47524     to always fail with ENOSYS.  Some functions are actually named
47525     something starting with __ and the normal name is an alias.  */
47526 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
47527 choke me
47528 #else
47529 char (*f) () = $ac_func;
47530 #endif
47531 #ifdef __cplusplus
47532 }
47533 #endif
47534
47535 int
47536 main ()
47537 {
47538 return f != $ac_func;
47539   ;
47540   return 0;
47541 }
47542 _ACEOF
47543 rm -f conftest.$ac_objext conftest$ac_exeext
47544 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
47545   (eval $ac_link) 2>conftest.er1
47546   ac_status=$?
47547   grep -v '^ *+' conftest.er1 >conftest.err
47548   rm -f conftest.er1
47549   cat conftest.err >&5
47550   echo "$as_me:$LINENO: \$? = $ac_status" >&5
47551   (exit $ac_status); } &&
47552          { ac_try='test -z "$ac_c_werror_flag"
47553                          || test ! -s conftest.err'
47554   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
47555   (eval $ac_try) 2>&5
47556   ac_status=$?
47557   echo "$as_me:$LINENO: \$? = $ac_status" >&5
47558   (exit $ac_status); }; } &&
47559          { ac_try='test -s conftest$ac_exeext'
47560   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
47561   (eval $ac_try) 2>&5
47562   ac_status=$?
47563   echo "$as_me:$LINENO: \$? = $ac_status" >&5
47564   (exit $ac_status); }; }; then
47565   eval "$as_ac_var=yes"
47566 else
47567   echo "$as_me: failed program was:" >&5
47568 sed 's/^/| /' conftest.$ac_ext >&5
47569
47570 eval "$as_ac_var=no"
47571 fi
47572 rm -f conftest.err conftest.$ac_objext \
47573       conftest$ac_exeext conftest.$ac_ext
47574 fi
47575 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
47576 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
47577 if test `eval echo '${'$as_ac_var'}'` = yes; then
47578   cat >>confdefs.h <<_ACEOF
47579 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
47580 _ACEOF
47581
47582 fi
47583 done
47584
47585     fi
47586   fi
47587
47588
47589
47590
47591
47592
47593   echo "$as_me:$LINENO: checking for logl declaration" >&5
47594 echo $ECHO_N "checking for logl declaration... $ECHO_C" >&6
47595   if test x${glibcxx_cv_func_logl_use+set} != xset; then
47596     if test "${glibcxx_cv_func_logl_use+set}" = set; then
47597   echo $ECHO_N "(cached) $ECHO_C" >&6
47598 else
47599
47600
47601
47602       ac_ext=cc
47603 ac_cpp='$CXXCPP $CPPFLAGS'
47604 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47605 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47606 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47607
47608       cat >conftest.$ac_ext <<_ACEOF
47609 /* confdefs.h.  */
47610 _ACEOF
47611 cat confdefs.h >>conftest.$ac_ext
47612 cat >>conftest.$ac_ext <<_ACEOF
47613 /* end confdefs.h.  */
47614 #include <math.h>
47615                       #ifdef HAVE_IEEEFP_H
47616                       #include <ieeefp.h>
47617                       #endif
47618
47619 int
47620 main ()
47621 {
47622  logl(0);
47623   ;
47624   return 0;
47625 }
47626 _ACEOF
47627 rm -f conftest.$ac_objext
47628 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
47629   (eval $ac_compile) 2>conftest.er1
47630   ac_status=$?
47631   grep -v '^ *+' conftest.er1 >conftest.err
47632   rm -f conftest.er1
47633   cat conftest.err >&5
47634   echo "$as_me:$LINENO: \$? = $ac_status" >&5
47635   (exit $ac_status); } &&
47636          { ac_try='test -z "$ac_cxx_werror_flag"
47637                          || test ! -s conftest.err'
47638   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
47639   (eval $ac_try) 2>&5
47640   ac_status=$?
47641   echo "$as_me:$LINENO: \$? = $ac_status" >&5
47642   (exit $ac_status); }; } &&
47643          { ac_try='test -s conftest.$ac_objext'
47644   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
47645   (eval $ac_try) 2>&5
47646   ac_status=$?
47647   echo "$as_me:$LINENO: \$? = $ac_status" >&5
47648   (exit $ac_status); }; }; then
47649   glibcxx_cv_func_logl_use=yes
47650 else
47651   echo "$as_me: failed program was:" >&5
47652 sed 's/^/| /' conftest.$ac_ext >&5
47653
47654 glibcxx_cv_func_logl_use=no
47655 fi
47656 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
47657       ac_ext=c
47658 ac_cpp='$CPP $CPPFLAGS'
47659 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47660 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47661 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47662
47663
47664 fi
47665
47666   fi
47667   echo "$as_me:$LINENO: result: $glibcxx_cv_func_logl_use" >&5
47668 echo "${ECHO_T}$glibcxx_cv_func_logl_use" >&6
47669
47670   if test x$glibcxx_cv_func_logl_use = x"yes"; then
47671
47672 for ac_func in logl
47673 do
47674 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
47675 echo "$as_me:$LINENO: checking for $ac_func" >&5
47676 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
47677 if eval "test \"\${$as_ac_var+set}\" = set"; then
47678   echo $ECHO_N "(cached) $ECHO_C" >&6
47679 else
47680   if test x$gcc_no_link = xyes; then
47681   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
47682 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
47683    { (exit 1); exit 1; }; }
47684 fi
47685 cat >conftest.$ac_ext <<_ACEOF
47686 /* confdefs.h.  */
47687 _ACEOF
47688 cat confdefs.h >>conftest.$ac_ext
47689 cat >>conftest.$ac_ext <<_ACEOF
47690 /* end confdefs.h.  */
47691 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
47692    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
47693 #define $ac_func innocuous_$ac_func
47694
47695 /* System header to define __stub macros and hopefully few prototypes,
47696     which can conflict with char $ac_func (); below.
47697     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
47698     <limits.h> exists even on freestanding compilers.  */
47699
47700 #ifdef __STDC__
47701 # include <limits.h>
47702 #else
47703 # include <assert.h>
47704 #endif
47705
47706 #undef $ac_func
47707
47708 /* Override any gcc2 internal prototype to avoid an error.  */
47709 #ifdef __cplusplus
47710 extern "C"
47711 {
47712 #endif
47713 /* We use char because int might match the return type of a gcc2
47714    builtin and then its argument prototype would still apply.  */
47715 char $ac_func ();
47716 /* The GNU C library defines this for functions which it implements
47717     to always fail with ENOSYS.  Some functions are actually named
47718     something starting with __ and the normal name is an alias.  */
47719 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
47720 choke me
47721 #else
47722 char (*f) () = $ac_func;
47723 #endif
47724 #ifdef __cplusplus
47725 }
47726 #endif
47727
47728 int
47729 main ()
47730 {
47731 return f != $ac_func;
47732   ;
47733   return 0;
47734 }
47735 _ACEOF
47736 rm -f conftest.$ac_objext conftest$ac_exeext
47737 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
47738   (eval $ac_link) 2>conftest.er1
47739   ac_status=$?
47740   grep -v '^ *+' conftest.er1 >conftest.err
47741   rm -f conftest.er1
47742   cat conftest.err >&5
47743   echo "$as_me:$LINENO: \$? = $ac_status" >&5
47744   (exit $ac_status); } &&
47745          { ac_try='test -z "$ac_c_werror_flag"
47746                          || test ! -s conftest.err'
47747   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
47748   (eval $ac_try) 2>&5
47749   ac_status=$?
47750   echo "$as_me:$LINENO: \$? = $ac_status" >&5
47751   (exit $ac_status); }; } &&
47752          { ac_try='test -s conftest$ac_exeext'
47753   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
47754   (eval $ac_try) 2>&5
47755   ac_status=$?
47756   echo "$as_me:$LINENO: \$? = $ac_status" >&5
47757   (exit $ac_status); }; }; then
47758   eval "$as_ac_var=yes"
47759 else
47760   echo "$as_me: failed program was:" >&5
47761 sed 's/^/| /' conftest.$ac_ext >&5
47762
47763 eval "$as_ac_var=no"
47764 fi
47765 rm -f conftest.err conftest.$ac_objext \
47766       conftest$ac_exeext conftest.$ac_ext
47767 fi
47768 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
47769 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
47770 if test `eval echo '${'$as_ac_var'}'` = yes; then
47771   cat >>confdefs.h <<_ACEOF
47772 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
47773 _ACEOF
47774
47775 fi
47776 done
47777
47778   else
47779
47780   echo "$as_me:$LINENO: checking for _logl declaration" >&5
47781 echo $ECHO_N "checking for _logl declaration... $ECHO_C" >&6
47782   if test x${glibcxx_cv_func__logl_use+set} != xset; then
47783     if test "${glibcxx_cv_func__logl_use+set}" = set; then
47784   echo $ECHO_N "(cached) $ECHO_C" >&6
47785 else
47786
47787
47788
47789       ac_ext=cc
47790 ac_cpp='$CXXCPP $CPPFLAGS'
47791 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47792 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47793 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47794
47795       cat >conftest.$ac_ext <<_ACEOF
47796 /* confdefs.h.  */
47797 _ACEOF
47798 cat confdefs.h >>conftest.$ac_ext
47799 cat >>conftest.$ac_ext <<_ACEOF
47800 /* end confdefs.h.  */
47801 #include <math.h>
47802                       #ifdef HAVE_IEEEFP_H
47803                       #include <ieeefp.h>
47804                       #endif
47805
47806 int
47807 main ()
47808 {
47809  _logl(0);
47810   ;
47811   return 0;
47812 }
47813 _ACEOF
47814 rm -f conftest.$ac_objext
47815 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
47816   (eval $ac_compile) 2>conftest.er1
47817   ac_status=$?
47818   grep -v '^ *+' conftest.er1 >conftest.err
47819   rm -f conftest.er1
47820   cat conftest.err >&5
47821   echo "$as_me:$LINENO: \$? = $ac_status" >&5
47822   (exit $ac_status); } &&
47823          { ac_try='test -z "$ac_cxx_werror_flag"
47824                          || test ! -s conftest.err'
47825   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
47826   (eval $ac_try) 2>&5
47827   ac_status=$?
47828   echo "$as_me:$LINENO: \$? = $ac_status" >&5
47829   (exit $ac_status); }; } &&
47830          { ac_try='test -s conftest.$ac_objext'
47831   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
47832   (eval $ac_try) 2>&5
47833   ac_status=$?
47834   echo "$as_me:$LINENO: \$? = $ac_status" >&5
47835   (exit $ac_status); }; }; then
47836   glibcxx_cv_func__logl_use=yes
47837 else
47838   echo "$as_me: failed program was:" >&5
47839 sed 's/^/| /' conftest.$ac_ext >&5
47840
47841 glibcxx_cv_func__logl_use=no
47842 fi
47843 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
47844       ac_ext=c
47845 ac_cpp='$CPP $CPPFLAGS'
47846 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47847 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47848 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47849
47850
47851 fi
47852
47853   fi
47854   echo "$as_me:$LINENO: result: $glibcxx_cv_func__logl_use" >&5
47855 echo "${ECHO_T}$glibcxx_cv_func__logl_use" >&6
47856
47857     if test x$glibcxx_cv_func__logl_use = x"yes"; then
47858
47859 for ac_func in _logl
47860 do
47861 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
47862 echo "$as_me:$LINENO: checking for $ac_func" >&5
47863 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
47864 if eval "test \"\${$as_ac_var+set}\" = set"; then
47865   echo $ECHO_N "(cached) $ECHO_C" >&6
47866 else
47867   if test x$gcc_no_link = xyes; then
47868   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
47869 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
47870    { (exit 1); exit 1; }; }
47871 fi
47872 cat >conftest.$ac_ext <<_ACEOF
47873 /* confdefs.h.  */
47874 _ACEOF
47875 cat confdefs.h >>conftest.$ac_ext
47876 cat >>conftest.$ac_ext <<_ACEOF
47877 /* end confdefs.h.  */
47878 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
47879    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
47880 #define $ac_func innocuous_$ac_func
47881
47882 /* System header to define __stub macros and hopefully few prototypes,
47883     which can conflict with char $ac_func (); below.
47884     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
47885     <limits.h> exists even on freestanding compilers.  */
47886
47887 #ifdef __STDC__
47888 # include <limits.h>
47889 #else
47890 # include <assert.h>
47891 #endif
47892
47893 #undef $ac_func
47894
47895 /* Override any gcc2 internal prototype to avoid an error.  */
47896 #ifdef __cplusplus
47897 extern "C"
47898 {
47899 #endif
47900 /* We use char because int might match the return type of a gcc2
47901    builtin and then its argument prototype would still apply.  */
47902 char $ac_func ();
47903 /* The GNU C library defines this for functions which it implements
47904     to always fail with ENOSYS.  Some functions are actually named
47905     something starting with __ and the normal name is an alias.  */
47906 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
47907 choke me
47908 #else
47909 char (*f) () = $ac_func;
47910 #endif
47911 #ifdef __cplusplus
47912 }
47913 #endif
47914
47915 int
47916 main ()
47917 {
47918 return f != $ac_func;
47919   ;
47920   return 0;
47921 }
47922 _ACEOF
47923 rm -f conftest.$ac_objext conftest$ac_exeext
47924 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
47925   (eval $ac_link) 2>conftest.er1
47926   ac_status=$?
47927   grep -v '^ *+' conftest.er1 >conftest.err
47928   rm -f conftest.er1
47929   cat conftest.err >&5
47930   echo "$as_me:$LINENO: \$? = $ac_status" >&5
47931   (exit $ac_status); } &&
47932          { ac_try='test -z "$ac_c_werror_flag"
47933                          || test ! -s conftest.err'
47934   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
47935   (eval $ac_try) 2>&5
47936   ac_status=$?
47937   echo "$as_me:$LINENO: \$? = $ac_status" >&5
47938   (exit $ac_status); }; } &&
47939          { ac_try='test -s conftest$ac_exeext'
47940   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
47941   (eval $ac_try) 2>&5
47942   ac_status=$?
47943   echo "$as_me:$LINENO: \$? = $ac_status" >&5
47944   (exit $ac_status); }; }; then
47945   eval "$as_ac_var=yes"
47946 else
47947   echo "$as_me: failed program was:" >&5
47948 sed 's/^/| /' conftest.$ac_ext >&5
47949
47950 eval "$as_ac_var=no"
47951 fi
47952 rm -f conftest.err conftest.$ac_objext \
47953       conftest$ac_exeext conftest.$ac_ext
47954 fi
47955 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
47956 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
47957 if test `eval echo '${'$as_ac_var'}'` = yes; then
47958   cat >>confdefs.h <<_ACEOF
47959 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
47960 _ACEOF
47961
47962 fi
47963 done
47964
47965     fi
47966   fi
47967
47968
47969
47970
47971
47972
47973   echo "$as_me:$LINENO: checking for log10l declaration" >&5
47974 echo $ECHO_N "checking for log10l declaration... $ECHO_C" >&6
47975   if test x${glibcxx_cv_func_log10l_use+set} != xset; then
47976     if test "${glibcxx_cv_func_log10l_use+set}" = set; then
47977   echo $ECHO_N "(cached) $ECHO_C" >&6
47978 else
47979
47980
47981
47982       ac_ext=cc
47983 ac_cpp='$CXXCPP $CPPFLAGS'
47984 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47985 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47986 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47987
47988       cat >conftest.$ac_ext <<_ACEOF
47989 /* confdefs.h.  */
47990 _ACEOF
47991 cat confdefs.h >>conftest.$ac_ext
47992 cat >>conftest.$ac_ext <<_ACEOF
47993 /* end confdefs.h.  */
47994 #include <math.h>
47995                       #ifdef HAVE_IEEEFP_H
47996                       #include <ieeefp.h>
47997                       #endif
47998
47999 int
48000 main ()
48001 {
48002  log10l(0);
48003   ;
48004   return 0;
48005 }
48006 _ACEOF
48007 rm -f conftest.$ac_objext
48008 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
48009   (eval $ac_compile) 2>conftest.er1
48010   ac_status=$?
48011   grep -v '^ *+' conftest.er1 >conftest.err
48012   rm -f conftest.er1
48013   cat conftest.err >&5
48014   echo "$as_me:$LINENO: \$? = $ac_status" >&5
48015   (exit $ac_status); } &&
48016          { ac_try='test -z "$ac_cxx_werror_flag"
48017                          || test ! -s conftest.err'
48018   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
48019   (eval $ac_try) 2>&5
48020   ac_status=$?
48021   echo "$as_me:$LINENO: \$? = $ac_status" >&5
48022   (exit $ac_status); }; } &&
48023          { ac_try='test -s conftest.$ac_objext'
48024   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
48025   (eval $ac_try) 2>&5
48026   ac_status=$?
48027   echo "$as_me:$LINENO: \$? = $ac_status" >&5
48028   (exit $ac_status); }; }; then
48029   glibcxx_cv_func_log10l_use=yes
48030 else
48031   echo "$as_me: failed program was:" >&5
48032 sed 's/^/| /' conftest.$ac_ext >&5
48033
48034 glibcxx_cv_func_log10l_use=no
48035 fi
48036 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
48037       ac_ext=c
48038 ac_cpp='$CPP $CPPFLAGS'
48039 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48040 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48041 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48042
48043
48044 fi
48045
48046   fi
48047   echo "$as_me:$LINENO: result: $glibcxx_cv_func_log10l_use" >&5
48048 echo "${ECHO_T}$glibcxx_cv_func_log10l_use" >&6
48049
48050   if test x$glibcxx_cv_func_log10l_use = x"yes"; then
48051
48052 for ac_func in log10l
48053 do
48054 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
48055 echo "$as_me:$LINENO: checking for $ac_func" >&5
48056 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
48057 if eval "test \"\${$as_ac_var+set}\" = set"; then
48058   echo $ECHO_N "(cached) $ECHO_C" >&6
48059 else
48060   if test x$gcc_no_link = xyes; then
48061   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
48062 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
48063    { (exit 1); exit 1; }; }
48064 fi
48065 cat >conftest.$ac_ext <<_ACEOF
48066 /* confdefs.h.  */
48067 _ACEOF
48068 cat confdefs.h >>conftest.$ac_ext
48069 cat >>conftest.$ac_ext <<_ACEOF
48070 /* end confdefs.h.  */
48071 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
48072    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
48073 #define $ac_func innocuous_$ac_func
48074
48075 /* System header to define __stub macros and hopefully few prototypes,
48076     which can conflict with char $ac_func (); below.
48077     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
48078     <limits.h> exists even on freestanding compilers.  */
48079
48080 #ifdef __STDC__
48081 # include <limits.h>
48082 #else
48083 # include <assert.h>
48084 #endif
48085
48086 #undef $ac_func
48087
48088 /* Override any gcc2 internal prototype to avoid an error.  */
48089 #ifdef __cplusplus
48090 extern "C"
48091 {
48092 #endif
48093 /* We use char because int might match the return type of a gcc2
48094    builtin and then its argument prototype would still apply.  */
48095 char $ac_func ();
48096 /* The GNU C library defines this for functions which it implements
48097     to always fail with ENOSYS.  Some functions are actually named
48098     something starting with __ and the normal name is an alias.  */
48099 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
48100 choke me
48101 #else
48102 char (*f) () = $ac_func;
48103 #endif
48104 #ifdef __cplusplus
48105 }
48106 #endif
48107
48108 int
48109 main ()
48110 {
48111 return f != $ac_func;
48112   ;
48113   return 0;
48114 }
48115 _ACEOF
48116 rm -f conftest.$ac_objext conftest$ac_exeext
48117 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
48118   (eval $ac_link) 2>conftest.er1
48119   ac_status=$?
48120   grep -v '^ *+' conftest.er1 >conftest.err
48121   rm -f conftest.er1
48122   cat conftest.err >&5
48123   echo "$as_me:$LINENO: \$? = $ac_status" >&5
48124   (exit $ac_status); } &&
48125          { ac_try='test -z "$ac_c_werror_flag"
48126                          || test ! -s conftest.err'
48127   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
48128   (eval $ac_try) 2>&5
48129   ac_status=$?
48130   echo "$as_me:$LINENO: \$? = $ac_status" >&5
48131   (exit $ac_status); }; } &&
48132          { ac_try='test -s conftest$ac_exeext'
48133   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
48134   (eval $ac_try) 2>&5
48135   ac_status=$?
48136   echo "$as_me:$LINENO: \$? = $ac_status" >&5
48137   (exit $ac_status); }; }; then
48138   eval "$as_ac_var=yes"
48139 else
48140   echo "$as_me: failed program was:" >&5
48141 sed 's/^/| /' conftest.$ac_ext >&5
48142
48143 eval "$as_ac_var=no"
48144 fi
48145 rm -f conftest.err conftest.$ac_objext \
48146       conftest$ac_exeext conftest.$ac_ext
48147 fi
48148 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
48149 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
48150 if test `eval echo '${'$as_ac_var'}'` = yes; then
48151   cat >>confdefs.h <<_ACEOF
48152 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
48153 _ACEOF
48154
48155 fi
48156 done
48157
48158   else
48159
48160   echo "$as_me:$LINENO: checking for _log10l declaration" >&5
48161 echo $ECHO_N "checking for _log10l declaration... $ECHO_C" >&6
48162   if test x${glibcxx_cv_func__log10l_use+set} != xset; then
48163     if test "${glibcxx_cv_func__log10l_use+set}" = set; then
48164   echo $ECHO_N "(cached) $ECHO_C" >&6
48165 else
48166
48167
48168
48169       ac_ext=cc
48170 ac_cpp='$CXXCPP $CPPFLAGS'
48171 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48172 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48173 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48174
48175       cat >conftest.$ac_ext <<_ACEOF
48176 /* confdefs.h.  */
48177 _ACEOF
48178 cat confdefs.h >>conftest.$ac_ext
48179 cat >>conftest.$ac_ext <<_ACEOF
48180 /* end confdefs.h.  */
48181 #include <math.h>
48182                       #ifdef HAVE_IEEEFP_H
48183                       #include <ieeefp.h>
48184                       #endif
48185
48186 int
48187 main ()
48188 {
48189  _log10l(0);
48190   ;
48191   return 0;
48192 }
48193 _ACEOF
48194 rm -f conftest.$ac_objext
48195 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
48196   (eval $ac_compile) 2>conftest.er1
48197   ac_status=$?
48198   grep -v '^ *+' conftest.er1 >conftest.err
48199   rm -f conftest.er1
48200   cat conftest.err >&5
48201   echo "$as_me:$LINENO: \$? = $ac_status" >&5
48202   (exit $ac_status); } &&
48203          { ac_try='test -z "$ac_cxx_werror_flag"
48204                          || test ! -s conftest.err'
48205   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
48206   (eval $ac_try) 2>&5
48207   ac_status=$?
48208   echo "$as_me:$LINENO: \$? = $ac_status" >&5
48209   (exit $ac_status); }; } &&
48210          { ac_try='test -s conftest.$ac_objext'
48211   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
48212   (eval $ac_try) 2>&5
48213   ac_status=$?
48214   echo "$as_me:$LINENO: \$? = $ac_status" >&5
48215   (exit $ac_status); }; }; then
48216   glibcxx_cv_func__log10l_use=yes
48217 else
48218   echo "$as_me: failed program was:" >&5
48219 sed 's/^/| /' conftest.$ac_ext >&5
48220
48221 glibcxx_cv_func__log10l_use=no
48222 fi
48223 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
48224       ac_ext=c
48225 ac_cpp='$CPP $CPPFLAGS'
48226 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48227 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48228 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48229
48230
48231 fi
48232
48233   fi
48234   echo "$as_me:$LINENO: result: $glibcxx_cv_func__log10l_use" >&5
48235 echo "${ECHO_T}$glibcxx_cv_func__log10l_use" >&6
48236
48237     if test x$glibcxx_cv_func__log10l_use = x"yes"; then
48238
48239 for ac_func in _log10l
48240 do
48241 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
48242 echo "$as_me:$LINENO: checking for $ac_func" >&5
48243 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
48244 if eval "test \"\${$as_ac_var+set}\" = set"; then
48245   echo $ECHO_N "(cached) $ECHO_C" >&6
48246 else
48247   if test x$gcc_no_link = xyes; then
48248   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
48249 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
48250    { (exit 1); exit 1; }; }
48251 fi
48252 cat >conftest.$ac_ext <<_ACEOF
48253 /* confdefs.h.  */
48254 _ACEOF
48255 cat confdefs.h >>conftest.$ac_ext
48256 cat >>conftest.$ac_ext <<_ACEOF
48257 /* end confdefs.h.  */
48258 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
48259    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
48260 #define $ac_func innocuous_$ac_func
48261
48262 /* System header to define __stub macros and hopefully few prototypes,
48263     which can conflict with char $ac_func (); below.
48264     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
48265     <limits.h> exists even on freestanding compilers.  */
48266
48267 #ifdef __STDC__
48268 # include <limits.h>
48269 #else
48270 # include <assert.h>
48271 #endif
48272
48273 #undef $ac_func
48274
48275 /* Override any gcc2 internal prototype to avoid an error.  */
48276 #ifdef __cplusplus
48277 extern "C"
48278 {
48279 #endif
48280 /* We use char because int might match the return type of a gcc2
48281    builtin and then its argument prototype would still apply.  */
48282 char $ac_func ();
48283 /* The GNU C library defines this for functions which it implements
48284     to always fail with ENOSYS.  Some functions are actually named
48285     something starting with __ and the normal name is an alias.  */
48286 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
48287 choke me
48288 #else
48289 char (*f) () = $ac_func;
48290 #endif
48291 #ifdef __cplusplus
48292 }
48293 #endif
48294
48295 int
48296 main ()
48297 {
48298 return f != $ac_func;
48299   ;
48300   return 0;
48301 }
48302 _ACEOF
48303 rm -f conftest.$ac_objext conftest$ac_exeext
48304 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
48305   (eval $ac_link) 2>conftest.er1
48306   ac_status=$?
48307   grep -v '^ *+' conftest.er1 >conftest.err
48308   rm -f conftest.er1
48309   cat conftest.err >&5
48310   echo "$as_me:$LINENO: \$? = $ac_status" >&5
48311   (exit $ac_status); } &&
48312          { ac_try='test -z "$ac_c_werror_flag"
48313                          || test ! -s conftest.err'
48314   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
48315   (eval $ac_try) 2>&5
48316   ac_status=$?
48317   echo "$as_me:$LINENO: \$? = $ac_status" >&5
48318   (exit $ac_status); }; } &&
48319          { ac_try='test -s conftest$ac_exeext'
48320   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
48321   (eval $ac_try) 2>&5
48322   ac_status=$?
48323   echo "$as_me:$LINENO: \$? = $ac_status" >&5
48324   (exit $ac_status); }; }; then
48325   eval "$as_ac_var=yes"
48326 else
48327   echo "$as_me: failed program was:" >&5
48328 sed 's/^/| /' conftest.$ac_ext >&5
48329
48330 eval "$as_ac_var=no"
48331 fi
48332 rm -f conftest.err conftest.$ac_objext \
48333       conftest$ac_exeext conftest.$ac_ext
48334 fi
48335 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
48336 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
48337 if test `eval echo '${'$as_ac_var'}'` = yes; then
48338   cat >>confdefs.h <<_ACEOF
48339 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
48340 _ACEOF
48341
48342 fi
48343 done
48344
48345     fi
48346   fi
48347
48348
48349
48350
48351
48352
48353   echo "$as_me:$LINENO: checking for modfl declaration" >&5
48354 echo $ECHO_N "checking for modfl declaration... $ECHO_C" >&6
48355   if test x${glibcxx_cv_func_modfl_use+set} != xset; then
48356     if test "${glibcxx_cv_func_modfl_use+set}" = set; then
48357   echo $ECHO_N "(cached) $ECHO_C" >&6
48358 else
48359
48360
48361
48362       ac_ext=cc
48363 ac_cpp='$CXXCPP $CPPFLAGS'
48364 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48365 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48366 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48367
48368       cat >conftest.$ac_ext <<_ACEOF
48369 /* confdefs.h.  */
48370 _ACEOF
48371 cat confdefs.h >>conftest.$ac_ext
48372 cat >>conftest.$ac_ext <<_ACEOF
48373 /* end confdefs.h.  */
48374 #include <math.h>
48375 int
48376 main ()
48377 {
48378  modfl(0, 0);
48379   ;
48380   return 0;
48381 }
48382 _ACEOF
48383 rm -f conftest.$ac_objext
48384 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
48385   (eval $ac_compile) 2>conftest.er1
48386   ac_status=$?
48387   grep -v '^ *+' conftest.er1 >conftest.err
48388   rm -f conftest.er1
48389   cat conftest.err >&5
48390   echo "$as_me:$LINENO: \$? = $ac_status" >&5
48391   (exit $ac_status); } &&
48392          { ac_try='test -z "$ac_cxx_werror_flag"
48393                          || test ! -s conftest.err'
48394   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
48395   (eval $ac_try) 2>&5
48396   ac_status=$?
48397   echo "$as_me:$LINENO: \$? = $ac_status" >&5
48398   (exit $ac_status); }; } &&
48399          { ac_try='test -s conftest.$ac_objext'
48400   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
48401   (eval $ac_try) 2>&5
48402   ac_status=$?
48403   echo "$as_me:$LINENO: \$? = $ac_status" >&5
48404   (exit $ac_status); }; }; then
48405   glibcxx_cv_func_modfl_use=yes
48406 else
48407   echo "$as_me: failed program was:" >&5
48408 sed 's/^/| /' conftest.$ac_ext >&5
48409
48410 glibcxx_cv_func_modfl_use=no
48411 fi
48412 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
48413       ac_ext=c
48414 ac_cpp='$CPP $CPPFLAGS'
48415 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48416 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48417 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48418
48419
48420 fi
48421
48422   fi
48423   echo "$as_me:$LINENO: result: $glibcxx_cv_func_modfl_use" >&5
48424 echo "${ECHO_T}$glibcxx_cv_func_modfl_use" >&6
48425
48426   if test x$glibcxx_cv_func_modfl_use = x"yes"; then
48427
48428 for ac_func in modfl
48429 do
48430 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
48431 echo "$as_me:$LINENO: checking for $ac_func" >&5
48432 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
48433 if eval "test \"\${$as_ac_var+set}\" = set"; then
48434   echo $ECHO_N "(cached) $ECHO_C" >&6
48435 else
48436   if test x$gcc_no_link = xyes; then
48437   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
48438 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
48439    { (exit 1); exit 1; }; }
48440 fi
48441 cat >conftest.$ac_ext <<_ACEOF
48442 /* confdefs.h.  */
48443 _ACEOF
48444 cat confdefs.h >>conftest.$ac_ext
48445 cat >>conftest.$ac_ext <<_ACEOF
48446 /* end confdefs.h.  */
48447 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
48448    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
48449 #define $ac_func innocuous_$ac_func
48450
48451 /* System header to define __stub macros and hopefully few prototypes,
48452     which can conflict with char $ac_func (); below.
48453     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
48454     <limits.h> exists even on freestanding compilers.  */
48455
48456 #ifdef __STDC__
48457 # include <limits.h>
48458 #else
48459 # include <assert.h>
48460 #endif
48461
48462 #undef $ac_func
48463
48464 /* Override any gcc2 internal prototype to avoid an error.  */
48465 #ifdef __cplusplus
48466 extern "C"
48467 {
48468 #endif
48469 /* We use char because int might match the return type of a gcc2
48470    builtin and then its argument prototype would still apply.  */
48471 char $ac_func ();
48472 /* The GNU C library defines this for functions which it implements
48473     to always fail with ENOSYS.  Some functions are actually named
48474     something starting with __ and the normal name is an alias.  */
48475 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
48476 choke me
48477 #else
48478 char (*f) () = $ac_func;
48479 #endif
48480 #ifdef __cplusplus
48481 }
48482 #endif
48483
48484 int
48485 main ()
48486 {
48487 return f != $ac_func;
48488   ;
48489   return 0;
48490 }
48491 _ACEOF
48492 rm -f conftest.$ac_objext conftest$ac_exeext
48493 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
48494   (eval $ac_link) 2>conftest.er1
48495   ac_status=$?
48496   grep -v '^ *+' conftest.er1 >conftest.err
48497   rm -f conftest.er1
48498   cat conftest.err >&5
48499   echo "$as_me:$LINENO: \$? = $ac_status" >&5
48500   (exit $ac_status); } &&
48501          { ac_try='test -z "$ac_c_werror_flag"
48502                          || test ! -s conftest.err'
48503   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
48504   (eval $ac_try) 2>&5
48505   ac_status=$?
48506   echo "$as_me:$LINENO: \$? = $ac_status" >&5
48507   (exit $ac_status); }; } &&
48508          { ac_try='test -s conftest$ac_exeext'
48509   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
48510   (eval $ac_try) 2>&5
48511   ac_status=$?
48512   echo "$as_me:$LINENO: \$? = $ac_status" >&5
48513   (exit $ac_status); }; }; then
48514   eval "$as_ac_var=yes"
48515 else
48516   echo "$as_me: failed program was:" >&5
48517 sed 's/^/| /' conftest.$ac_ext >&5
48518
48519 eval "$as_ac_var=no"
48520 fi
48521 rm -f conftest.err conftest.$ac_objext \
48522       conftest$ac_exeext conftest.$ac_ext
48523 fi
48524 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
48525 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
48526 if test `eval echo '${'$as_ac_var'}'` = yes; then
48527   cat >>confdefs.h <<_ACEOF
48528 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
48529 _ACEOF
48530
48531 fi
48532 done
48533
48534   else
48535
48536   echo "$as_me:$LINENO: checking for _modfl declaration" >&5
48537 echo $ECHO_N "checking for _modfl declaration... $ECHO_C" >&6
48538   if test x${glibcxx_cv_func__modfl_use+set} != xset; then
48539     if test "${glibcxx_cv_func__modfl_use+set}" = set; then
48540   echo $ECHO_N "(cached) $ECHO_C" >&6
48541 else
48542
48543
48544
48545       ac_ext=cc
48546 ac_cpp='$CXXCPP $CPPFLAGS'
48547 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48548 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48549 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48550
48551       cat >conftest.$ac_ext <<_ACEOF
48552 /* confdefs.h.  */
48553 _ACEOF
48554 cat confdefs.h >>conftest.$ac_ext
48555 cat >>conftest.$ac_ext <<_ACEOF
48556 /* end confdefs.h.  */
48557 #include <math.h>
48558 int
48559 main ()
48560 {
48561  _modfl(0, 0);
48562   ;
48563   return 0;
48564 }
48565 _ACEOF
48566 rm -f conftest.$ac_objext
48567 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
48568   (eval $ac_compile) 2>conftest.er1
48569   ac_status=$?
48570   grep -v '^ *+' conftest.er1 >conftest.err
48571   rm -f conftest.er1
48572   cat conftest.err >&5
48573   echo "$as_me:$LINENO: \$? = $ac_status" >&5
48574   (exit $ac_status); } &&
48575          { ac_try='test -z "$ac_cxx_werror_flag"
48576                          || test ! -s conftest.err'
48577   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
48578   (eval $ac_try) 2>&5
48579   ac_status=$?
48580   echo "$as_me:$LINENO: \$? = $ac_status" >&5
48581   (exit $ac_status); }; } &&
48582          { ac_try='test -s conftest.$ac_objext'
48583   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
48584   (eval $ac_try) 2>&5
48585   ac_status=$?
48586   echo "$as_me:$LINENO: \$? = $ac_status" >&5
48587   (exit $ac_status); }; }; then
48588   glibcxx_cv_func__modfl_use=yes
48589 else
48590   echo "$as_me: failed program was:" >&5
48591 sed 's/^/| /' conftest.$ac_ext >&5
48592
48593 glibcxx_cv_func__modfl_use=no
48594 fi
48595 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
48596       ac_ext=c
48597 ac_cpp='$CPP $CPPFLAGS'
48598 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48599 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48600 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48601
48602
48603 fi
48604
48605   fi
48606   echo "$as_me:$LINENO: result: $glibcxx_cv_func__modfl_use" >&5
48607 echo "${ECHO_T}$glibcxx_cv_func__modfl_use" >&6
48608
48609     if test x$glibcxx_cv_func__modfl_use = x"yes"; then
48610
48611 for ac_func in _modfl
48612 do
48613 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
48614 echo "$as_me:$LINENO: checking for $ac_func" >&5
48615 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
48616 if eval "test \"\${$as_ac_var+set}\" = set"; then
48617   echo $ECHO_N "(cached) $ECHO_C" >&6
48618 else
48619   if test x$gcc_no_link = xyes; then
48620   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
48621 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
48622    { (exit 1); exit 1; }; }
48623 fi
48624 cat >conftest.$ac_ext <<_ACEOF
48625 /* confdefs.h.  */
48626 _ACEOF
48627 cat confdefs.h >>conftest.$ac_ext
48628 cat >>conftest.$ac_ext <<_ACEOF
48629 /* end confdefs.h.  */
48630 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
48631    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
48632 #define $ac_func innocuous_$ac_func
48633
48634 /* System header to define __stub macros and hopefully few prototypes,
48635     which can conflict with char $ac_func (); below.
48636     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
48637     <limits.h> exists even on freestanding compilers.  */
48638
48639 #ifdef __STDC__
48640 # include <limits.h>
48641 #else
48642 # include <assert.h>
48643 #endif
48644
48645 #undef $ac_func
48646
48647 /* Override any gcc2 internal prototype to avoid an error.  */
48648 #ifdef __cplusplus
48649 extern "C"
48650 {
48651 #endif
48652 /* We use char because int might match the return type of a gcc2
48653    builtin and then its argument prototype would still apply.  */
48654 char $ac_func ();
48655 /* The GNU C library defines this for functions which it implements
48656     to always fail with ENOSYS.  Some functions are actually named
48657     something starting with __ and the normal name is an alias.  */
48658 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
48659 choke me
48660 #else
48661 char (*f) () = $ac_func;
48662 #endif
48663 #ifdef __cplusplus
48664 }
48665 #endif
48666
48667 int
48668 main ()
48669 {
48670 return f != $ac_func;
48671   ;
48672   return 0;
48673 }
48674 _ACEOF
48675 rm -f conftest.$ac_objext conftest$ac_exeext
48676 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
48677   (eval $ac_link) 2>conftest.er1
48678   ac_status=$?
48679   grep -v '^ *+' conftest.er1 >conftest.err
48680   rm -f conftest.er1
48681   cat conftest.err >&5
48682   echo "$as_me:$LINENO: \$? = $ac_status" >&5
48683   (exit $ac_status); } &&
48684          { ac_try='test -z "$ac_c_werror_flag"
48685                          || test ! -s conftest.err'
48686   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
48687   (eval $ac_try) 2>&5
48688   ac_status=$?
48689   echo "$as_me:$LINENO: \$? = $ac_status" >&5
48690   (exit $ac_status); }; } &&
48691          { ac_try='test -s conftest$ac_exeext'
48692   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
48693   (eval $ac_try) 2>&5
48694   ac_status=$?
48695   echo "$as_me:$LINENO: \$? = $ac_status" >&5
48696   (exit $ac_status); }; }; then
48697   eval "$as_ac_var=yes"
48698 else
48699   echo "$as_me: failed program was:" >&5
48700 sed 's/^/| /' conftest.$ac_ext >&5
48701
48702 eval "$as_ac_var=no"
48703 fi
48704 rm -f conftest.err conftest.$ac_objext \
48705       conftest$ac_exeext conftest.$ac_ext
48706 fi
48707 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
48708 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
48709 if test `eval echo '${'$as_ac_var'}'` = yes; then
48710   cat >>confdefs.h <<_ACEOF
48711 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
48712 _ACEOF
48713
48714 fi
48715 done
48716
48717     fi
48718   fi
48719
48720
48721
48722
48723
48724
48725   echo "$as_me:$LINENO: checking for powl declaration" >&5
48726 echo $ECHO_N "checking for powl declaration... $ECHO_C" >&6
48727   if test x${glibcxx_cv_func_powl_use+set} != xset; then
48728     if test "${glibcxx_cv_func_powl_use+set}" = set; then
48729   echo $ECHO_N "(cached) $ECHO_C" >&6
48730 else
48731
48732
48733
48734       ac_ext=cc
48735 ac_cpp='$CXXCPP $CPPFLAGS'
48736 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48737 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48738 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48739
48740       cat >conftest.$ac_ext <<_ACEOF
48741 /* confdefs.h.  */
48742 _ACEOF
48743 cat confdefs.h >>conftest.$ac_ext
48744 cat >>conftest.$ac_ext <<_ACEOF
48745 /* end confdefs.h.  */
48746 #include <math.h>
48747 int
48748 main ()
48749 {
48750  powl(0, 0);
48751   ;
48752   return 0;
48753 }
48754 _ACEOF
48755 rm -f conftest.$ac_objext
48756 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
48757   (eval $ac_compile) 2>conftest.er1
48758   ac_status=$?
48759   grep -v '^ *+' conftest.er1 >conftest.err
48760   rm -f conftest.er1
48761   cat conftest.err >&5
48762   echo "$as_me:$LINENO: \$? = $ac_status" >&5
48763   (exit $ac_status); } &&
48764          { ac_try='test -z "$ac_cxx_werror_flag"
48765                          || test ! -s conftest.err'
48766   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
48767   (eval $ac_try) 2>&5
48768   ac_status=$?
48769   echo "$as_me:$LINENO: \$? = $ac_status" >&5
48770   (exit $ac_status); }; } &&
48771          { ac_try='test -s conftest.$ac_objext'
48772   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
48773   (eval $ac_try) 2>&5
48774   ac_status=$?
48775   echo "$as_me:$LINENO: \$? = $ac_status" >&5
48776   (exit $ac_status); }; }; then
48777   glibcxx_cv_func_powl_use=yes
48778 else
48779   echo "$as_me: failed program was:" >&5
48780 sed 's/^/| /' conftest.$ac_ext >&5
48781
48782 glibcxx_cv_func_powl_use=no
48783 fi
48784 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
48785       ac_ext=c
48786 ac_cpp='$CPP $CPPFLAGS'
48787 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48788 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48789 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48790
48791
48792 fi
48793
48794   fi
48795   echo "$as_me:$LINENO: result: $glibcxx_cv_func_powl_use" >&5
48796 echo "${ECHO_T}$glibcxx_cv_func_powl_use" >&6
48797
48798   if test x$glibcxx_cv_func_powl_use = x"yes"; then
48799
48800 for ac_func in powl
48801 do
48802 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
48803 echo "$as_me:$LINENO: checking for $ac_func" >&5
48804 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
48805 if eval "test \"\${$as_ac_var+set}\" = set"; then
48806   echo $ECHO_N "(cached) $ECHO_C" >&6
48807 else
48808   if test x$gcc_no_link = xyes; then
48809   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
48810 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
48811    { (exit 1); exit 1; }; }
48812 fi
48813 cat >conftest.$ac_ext <<_ACEOF
48814 /* confdefs.h.  */
48815 _ACEOF
48816 cat confdefs.h >>conftest.$ac_ext
48817 cat >>conftest.$ac_ext <<_ACEOF
48818 /* end confdefs.h.  */
48819 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
48820    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
48821 #define $ac_func innocuous_$ac_func
48822
48823 /* System header to define __stub macros and hopefully few prototypes,
48824     which can conflict with char $ac_func (); below.
48825     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
48826     <limits.h> exists even on freestanding compilers.  */
48827
48828 #ifdef __STDC__
48829 # include <limits.h>
48830 #else
48831 # include <assert.h>
48832 #endif
48833
48834 #undef $ac_func
48835
48836 /* Override any gcc2 internal prototype to avoid an error.  */
48837 #ifdef __cplusplus
48838 extern "C"
48839 {
48840 #endif
48841 /* We use char because int might match the return type of a gcc2
48842    builtin and then its argument prototype would still apply.  */
48843 char $ac_func ();
48844 /* The GNU C library defines this for functions which it implements
48845     to always fail with ENOSYS.  Some functions are actually named
48846     something starting with __ and the normal name is an alias.  */
48847 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
48848 choke me
48849 #else
48850 char (*f) () = $ac_func;
48851 #endif
48852 #ifdef __cplusplus
48853 }
48854 #endif
48855
48856 int
48857 main ()
48858 {
48859 return f != $ac_func;
48860   ;
48861   return 0;
48862 }
48863 _ACEOF
48864 rm -f conftest.$ac_objext conftest$ac_exeext
48865 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
48866   (eval $ac_link) 2>conftest.er1
48867   ac_status=$?
48868   grep -v '^ *+' conftest.er1 >conftest.err
48869   rm -f conftest.er1
48870   cat conftest.err >&5
48871   echo "$as_me:$LINENO: \$? = $ac_status" >&5
48872   (exit $ac_status); } &&
48873          { ac_try='test -z "$ac_c_werror_flag"
48874                          || test ! -s conftest.err'
48875   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
48876   (eval $ac_try) 2>&5
48877   ac_status=$?
48878   echo "$as_me:$LINENO: \$? = $ac_status" >&5
48879   (exit $ac_status); }; } &&
48880          { ac_try='test -s conftest$ac_exeext'
48881   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
48882   (eval $ac_try) 2>&5
48883   ac_status=$?
48884   echo "$as_me:$LINENO: \$? = $ac_status" >&5
48885   (exit $ac_status); }; }; then
48886   eval "$as_ac_var=yes"
48887 else
48888   echo "$as_me: failed program was:" >&5
48889 sed 's/^/| /' conftest.$ac_ext >&5
48890
48891 eval "$as_ac_var=no"
48892 fi
48893 rm -f conftest.err conftest.$ac_objext \
48894       conftest$ac_exeext conftest.$ac_ext
48895 fi
48896 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
48897 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
48898 if test `eval echo '${'$as_ac_var'}'` = yes; then
48899   cat >>confdefs.h <<_ACEOF
48900 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
48901 _ACEOF
48902
48903 fi
48904 done
48905
48906   else
48907
48908   echo "$as_me:$LINENO: checking for _powl declaration" >&5
48909 echo $ECHO_N "checking for _powl declaration... $ECHO_C" >&6
48910   if test x${glibcxx_cv_func__powl_use+set} != xset; then
48911     if test "${glibcxx_cv_func__powl_use+set}" = set; then
48912   echo $ECHO_N "(cached) $ECHO_C" >&6
48913 else
48914
48915
48916
48917       ac_ext=cc
48918 ac_cpp='$CXXCPP $CPPFLAGS'
48919 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48920 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48921 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48922
48923       cat >conftest.$ac_ext <<_ACEOF
48924 /* confdefs.h.  */
48925 _ACEOF
48926 cat confdefs.h >>conftest.$ac_ext
48927 cat >>conftest.$ac_ext <<_ACEOF
48928 /* end confdefs.h.  */
48929 #include <math.h>
48930 int
48931 main ()
48932 {
48933  _powl(0, 0);
48934   ;
48935   return 0;
48936 }
48937 _ACEOF
48938 rm -f conftest.$ac_objext
48939 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
48940   (eval $ac_compile) 2>conftest.er1
48941   ac_status=$?
48942   grep -v '^ *+' conftest.er1 >conftest.err
48943   rm -f conftest.er1
48944   cat conftest.err >&5
48945   echo "$as_me:$LINENO: \$? = $ac_status" >&5
48946   (exit $ac_status); } &&
48947          { ac_try='test -z "$ac_cxx_werror_flag"
48948                          || test ! -s conftest.err'
48949   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
48950   (eval $ac_try) 2>&5
48951   ac_status=$?
48952   echo "$as_me:$LINENO: \$? = $ac_status" >&5
48953   (exit $ac_status); }; } &&
48954          { ac_try='test -s conftest.$ac_objext'
48955   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
48956   (eval $ac_try) 2>&5
48957   ac_status=$?
48958   echo "$as_me:$LINENO: \$? = $ac_status" >&5
48959   (exit $ac_status); }; }; then
48960   glibcxx_cv_func__powl_use=yes
48961 else
48962   echo "$as_me: failed program was:" >&5
48963 sed 's/^/| /' conftest.$ac_ext >&5
48964
48965 glibcxx_cv_func__powl_use=no
48966 fi
48967 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
48968       ac_ext=c
48969 ac_cpp='$CPP $CPPFLAGS'
48970 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48971 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48972 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48973
48974
48975 fi
48976
48977   fi
48978   echo "$as_me:$LINENO: result: $glibcxx_cv_func__powl_use" >&5
48979 echo "${ECHO_T}$glibcxx_cv_func__powl_use" >&6
48980
48981     if test x$glibcxx_cv_func__powl_use = x"yes"; then
48982
48983 for ac_func in _powl
48984 do
48985 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
48986 echo "$as_me:$LINENO: checking for $ac_func" >&5
48987 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
48988 if eval "test \"\${$as_ac_var+set}\" = set"; then
48989   echo $ECHO_N "(cached) $ECHO_C" >&6
48990 else
48991   if test x$gcc_no_link = xyes; then
48992   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
48993 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
48994    { (exit 1); exit 1; }; }
48995 fi
48996 cat >conftest.$ac_ext <<_ACEOF
48997 /* confdefs.h.  */
48998 _ACEOF
48999 cat confdefs.h >>conftest.$ac_ext
49000 cat >>conftest.$ac_ext <<_ACEOF
49001 /* end confdefs.h.  */
49002 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
49003    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
49004 #define $ac_func innocuous_$ac_func
49005
49006 /* System header to define __stub macros and hopefully few prototypes,
49007     which can conflict with char $ac_func (); below.
49008     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
49009     <limits.h> exists even on freestanding compilers.  */
49010
49011 #ifdef __STDC__
49012 # include <limits.h>
49013 #else
49014 # include <assert.h>
49015 #endif
49016
49017 #undef $ac_func
49018
49019 /* Override any gcc2 internal prototype to avoid an error.  */
49020 #ifdef __cplusplus
49021 extern "C"
49022 {
49023 #endif
49024 /* We use char because int might match the return type of a gcc2
49025    builtin and then its argument prototype would still apply.  */
49026 char $ac_func ();
49027 /* The GNU C library defines this for functions which it implements
49028     to always fail with ENOSYS.  Some functions are actually named
49029     something starting with __ and the normal name is an alias.  */
49030 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
49031 choke me
49032 #else
49033 char (*f) () = $ac_func;
49034 #endif
49035 #ifdef __cplusplus
49036 }
49037 #endif
49038
49039 int
49040 main ()
49041 {
49042 return f != $ac_func;
49043   ;
49044   return 0;
49045 }
49046 _ACEOF
49047 rm -f conftest.$ac_objext conftest$ac_exeext
49048 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
49049   (eval $ac_link) 2>conftest.er1
49050   ac_status=$?
49051   grep -v '^ *+' conftest.er1 >conftest.err
49052   rm -f conftest.er1
49053   cat conftest.err >&5
49054   echo "$as_me:$LINENO: \$? = $ac_status" >&5
49055   (exit $ac_status); } &&
49056          { ac_try='test -z "$ac_c_werror_flag"
49057                          || test ! -s conftest.err'
49058   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
49059   (eval $ac_try) 2>&5
49060   ac_status=$?
49061   echo "$as_me:$LINENO: \$? = $ac_status" >&5
49062   (exit $ac_status); }; } &&
49063          { ac_try='test -s conftest$ac_exeext'
49064   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
49065   (eval $ac_try) 2>&5
49066   ac_status=$?
49067   echo "$as_me:$LINENO: \$? = $ac_status" >&5
49068   (exit $ac_status); }; }; then
49069   eval "$as_ac_var=yes"
49070 else
49071   echo "$as_me: failed program was:" >&5
49072 sed 's/^/| /' conftest.$ac_ext >&5
49073
49074 eval "$as_ac_var=no"
49075 fi
49076 rm -f conftest.err conftest.$ac_objext \
49077       conftest$ac_exeext conftest.$ac_ext
49078 fi
49079 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
49080 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
49081 if test `eval echo '${'$as_ac_var'}'` = yes; then
49082   cat >>confdefs.h <<_ACEOF
49083 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
49084 _ACEOF
49085
49086 fi
49087 done
49088
49089     fi
49090   fi
49091
49092
49093
49094
49095
49096
49097   echo "$as_me:$LINENO: checking for sqrtl declaration" >&5
49098 echo $ECHO_N "checking for sqrtl declaration... $ECHO_C" >&6
49099   if test x${glibcxx_cv_func_sqrtl_use+set} != xset; then
49100     if test "${glibcxx_cv_func_sqrtl_use+set}" = set; then
49101   echo $ECHO_N "(cached) $ECHO_C" >&6
49102 else
49103
49104
49105
49106       ac_ext=cc
49107 ac_cpp='$CXXCPP $CPPFLAGS'
49108 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49109 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49110 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49111
49112       cat >conftest.$ac_ext <<_ACEOF
49113 /* confdefs.h.  */
49114 _ACEOF
49115 cat confdefs.h >>conftest.$ac_ext
49116 cat >>conftest.$ac_ext <<_ACEOF
49117 /* end confdefs.h.  */
49118 #include <math.h>
49119                       #ifdef HAVE_IEEEFP_H
49120                       #include <ieeefp.h>
49121                       #endif
49122
49123 int
49124 main ()
49125 {
49126  sqrtl(0);
49127   ;
49128   return 0;
49129 }
49130 _ACEOF
49131 rm -f conftest.$ac_objext
49132 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
49133   (eval $ac_compile) 2>conftest.er1
49134   ac_status=$?
49135   grep -v '^ *+' conftest.er1 >conftest.err
49136   rm -f conftest.er1
49137   cat conftest.err >&5
49138   echo "$as_me:$LINENO: \$? = $ac_status" >&5
49139   (exit $ac_status); } &&
49140          { ac_try='test -z "$ac_cxx_werror_flag"
49141                          || test ! -s conftest.err'
49142   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
49143   (eval $ac_try) 2>&5
49144   ac_status=$?
49145   echo "$as_me:$LINENO: \$? = $ac_status" >&5
49146   (exit $ac_status); }; } &&
49147          { ac_try='test -s conftest.$ac_objext'
49148   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
49149   (eval $ac_try) 2>&5
49150   ac_status=$?
49151   echo "$as_me:$LINENO: \$? = $ac_status" >&5
49152   (exit $ac_status); }; }; then
49153   glibcxx_cv_func_sqrtl_use=yes
49154 else
49155   echo "$as_me: failed program was:" >&5
49156 sed 's/^/| /' conftest.$ac_ext >&5
49157
49158 glibcxx_cv_func_sqrtl_use=no
49159 fi
49160 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
49161       ac_ext=c
49162 ac_cpp='$CPP $CPPFLAGS'
49163 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49164 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49165 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49166
49167
49168 fi
49169
49170   fi
49171   echo "$as_me:$LINENO: result: $glibcxx_cv_func_sqrtl_use" >&5
49172 echo "${ECHO_T}$glibcxx_cv_func_sqrtl_use" >&6
49173
49174   if test x$glibcxx_cv_func_sqrtl_use = x"yes"; then
49175
49176 for ac_func in sqrtl
49177 do
49178 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
49179 echo "$as_me:$LINENO: checking for $ac_func" >&5
49180 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
49181 if eval "test \"\${$as_ac_var+set}\" = set"; then
49182   echo $ECHO_N "(cached) $ECHO_C" >&6
49183 else
49184   if test x$gcc_no_link = xyes; then
49185   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
49186 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
49187    { (exit 1); exit 1; }; }
49188 fi
49189 cat >conftest.$ac_ext <<_ACEOF
49190 /* confdefs.h.  */
49191 _ACEOF
49192 cat confdefs.h >>conftest.$ac_ext
49193 cat >>conftest.$ac_ext <<_ACEOF
49194 /* end confdefs.h.  */
49195 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
49196    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
49197 #define $ac_func innocuous_$ac_func
49198
49199 /* System header to define __stub macros and hopefully few prototypes,
49200     which can conflict with char $ac_func (); below.
49201     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
49202     <limits.h> exists even on freestanding compilers.  */
49203
49204 #ifdef __STDC__
49205 # include <limits.h>
49206 #else
49207 # include <assert.h>
49208 #endif
49209
49210 #undef $ac_func
49211
49212 /* Override any gcc2 internal prototype to avoid an error.  */
49213 #ifdef __cplusplus
49214 extern "C"
49215 {
49216 #endif
49217 /* We use char because int might match the return type of a gcc2
49218    builtin and then its argument prototype would still apply.  */
49219 char $ac_func ();
49220 /* The GNU C library defines this for functions which it implements
49221     to always fail with ENOSYS.  Some functions are actually named
49222     something starting with __ and the normal name is an alias.  */
49223 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
49224 choke me
49225 #else
49226 char (*f) () = $ac_func;
49227 #endif
49228 #ifdef __cplusplus
49229 }
49230 #endif
49231
49232 int
49233 main ()
49234 {
49235 return f != $ac_func;
49236   ;
49237   return 0;
49238 }
49239 _ACEOF
49240 rm -f conftest.$ac_objext conftest$ac_exeext
49241 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
49242   (eval $ac_link) 2>conftest.er1
49243   ac_status=$?
49244   grep -v '^ *+' conftest.er1 >conftest.err
49245   rm -f conftest.er1
49246   cat conftest.err >&5
49247   echo "$as_me:$LINENO: \$? = $ac_status" >&5
49248   (exit $ac_status); } &&
49249          { ac_try='test -z "$ac_c_werror_flag"
49250                          || test ! -s conftest.err'
49251   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
49252   (eval $ac_try) 2>&5
49253   ac_status=$?
49254   echo "$as_me:$LINENO: \$? = $ac_status" >&5
49255   (exit $ac_status); }; } &&
49256          { ac_try='test -s conftest$ac_exeext'
49257   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
49258   (eval $ac_try) 2>&5
49259   ac_status=$?
49260   echo "$as_me:$LINENO: \$? = $ac_status" >&5
49261   (exit $ac_status); }; }; then
49262   eval "$as_ac_var=yes"
49263 else
49264   echo "$as_me: failed program was:" >&5
49265 sed 's/^/| /' conftest.$ac_ext >&5
49266
49267 eval "$as_ac_var=no"
49268 fi
49269 rm -f conftest.err conftest.$ac_objext \
49270       conftest$ac_exeext conftest.$ac_ext
49271 fi
49272 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
49273 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
49274 if test `eval echo '${'$as_ac_var'}'` = yes; then
49275   cat >>confdefs.h <<_ACEOF
49276 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
49277 _ACEOF
49278
49279 fi
49280 done
49281
49282   else
49283
49284   echo "$as_me:$LINENO: checking for _sqrtl declaration" >&5
49285 echo $ECHO_N "checking for _sqrtl declaration... $ECHO_C" >&6
49286   if test x${glibcxx_cv_func__sqrtl_use+set} != xset; then
49287     if test "${glibcxx_cv_func__sqrtl_use+set}" = set; then
49288   echo $ECHO_N "(cached) $ECHO_C" >&6
49289 else
49290
49291
49292
49293       ac_ext=cc
49294 ac_cpp='$CXXCPP $CPPFLAGS'
49295 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49296 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49297 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49298
49299       cat >conftest.$ac_ext <<_ACEOF
49300 /* confdefs.h.  */
49301 _ACEOF
49302 cat confdefs.h >>conftest.$ac_ext
49303 cat >>conftest.$ac_ext <<_ACEOF
49304 /* end confdefs.h.  */
49305 #include <math.h>
49306                       #ifdef HAVE_IEEEFP_H
49307                       #include <ieeefp.h>
49308                       #endif
49309
49310 int
49311 main ()
49312 {
49313  _sqrtl(0);
49314   ;
49315   return 0;
49316 }
49317 _ACEOF
49318 rm -f conftest.$ac_objext
49319 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
49320   (eval $ac_compile) 2>conftest.er1
49321   ac_status=$?
49322   grep -v '^ *+' conftest.er1 >conftest.err
49323   rm -f conftest.er1
49324   cat conftest.err >&5
49325   echo "$as_me:$LINENO: \$? = $ac_status" >&5
49326   (exit $ac_status); } &&
49327          { ac_try='test -z "$ac_cxx_werror_flag"
49328                          || test ! -s conftest.err'
49329   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
49330   (eval $ac_try) 2>&5
49331   ac_status=$?
49332   echo "$as_me:$LINENO: \$? = $ac_status" >&5
49333   (exit $ac_status); }; } &&
49334          { ac_try='test -s conftest.$ac_objext'
49335   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
49336   (eval $ac_try) 2>&5
49337   ac_status=$?
49338   echo "$as_me:$LINENO: \$? = $ac_status" >&5
49339   (exit $ac_status); }; }; then
49340   glibcxx_cv_func__sqrtl_use=yes
49341 else
49342   echo "$as_me: failed program was:" >&5
49343 sed 's/^/| /' conftest.$ac_ext >&5
49344
49345 glibcxx_cv_func__sqrtl_use=no
49346 fi
49347 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
49348       ac_ext=c
49349 ac_cpp='$CPP $CPPFLAGS'
49350 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49351 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49352 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49353
49354
49355 fi
49356
49357   fi
49358   echo "$as_me:$LINENO: result: $glibcxx_cv_func__sqrtl_use" >&5
49359 echo "${ECHO_T}$glibcxx_cv_func__sqrtl_use" >&6
49360
49361     if test x$glibcxx_cv_func__sqrtl_use = x"yes"; then
49362
49363 for ac_func in _sqrtl
49364 do
49365 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
49366 echo "$as_me:$LINENO: checking for $ac_func" >&5
49367 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
49368 if eval "test \"\${$as_ac_var+set}\" = set"; then
49369   echo $ECHO_N "(cached) $ECHO_C" >&6
49370 else
49371   if test x$gcc_no_link = xyes; then
49372   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
49373 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
49374    { (exit 1); exit 1; }; }
49375 fi
49376 cat >conftest.$ac_ext <<_ACEOF
49377 /* confdefs.h.  */
49378 _ACEOF
49379 cat confdefs.h >>conftest.$ac_ext
49380 cat >>conftest.$ac_ext <<_ACEOF
49381 /* end confdefs.h.  */
49382 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
49383    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
49384 #define $ac_func innocuous_$ac_func
49385
49386 /* System header to define __stub macros and hopefully few prototypes,
49387     which can conflict with char $ac_func (); below.
49388     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
49389     <limits.h> exists even on freestanding compilers.  */
49390
49391 #ifdef __STDC__
49392 # include <limits.h>
49393 #else
49394 # include <assert.h>
49395 #endif
49396
49397 #undef $ac_func
49398
49399 /* Override any gcc2 internal prototype to avoid an error.  */
49400 #ifdef __cplusplus
49401 extern "C"
49402 {
49403 #endif
49404 /* We use char because int might match the return type of a gcc2
49405    builtin and then its argument prototype would still apply.  */
49406 char $ac_func ();
49407 /* The GNU C library defines this for functions which it implements
49408     to always fail with ENOSYS.  Some functions are actually named
49409     something starting with __ and the normal name is an alias.  */
49410 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
49411 choke me
49412 #else
49413 char (*f) () = $ac_func;
49414 #endif
49415 #ifdef __cplusplus
49416 }
49417 #endif
49418
49419 int
49420 main ()
49421 {
49422 return f != $ac_func;
49423   ;
49424   return 0;
49425 }
49426 _ACEOF
49427 rm -f conftest.$ac_objext conftest$ac_exeext
49428 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
49429   (eval $ac_link) 2>conftest.er1
49430   ac_status=$?
49431   grep -v '^ *+' conftest.er1 >conftest.err
49432   rm -f conftest.er1
49433   cat conftest.err >&5
49434   echo "$as_me:$LINENO: \$? = $ac_status" >&5
49435   (exit $ac_status); } &&
49436          { ac_try='test -z "$ac_c_werror_flag"
49437                          || test ! -s conftest.err'
49438   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
49439   (eval $ac_try) 2>&5
49440   ac_status=$?
49441   echo "$as_me:$LINENO: \$? = $ac_status" >&5
49442   (exit $ac_status); }; } &&
49443          { ac_try='test -s conftest$ac_exeext'
49444   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
49445   (eval $ac_try) 2>&5
49446   ac_status=$?
49447   echo "$as_me:$LINENO: \$? = $ac_status" >&5
49448   (exit $ac_status); }; }; then
49449   eval "$as_ac_var=yes"
49450 else
49451   echo "$as_me: failed program was:" >&5
49452 sed 's/^/| /' conftest.$ac_ext >&5
49453
49454 eval "$as_ac_var=no"
49455 fi
49456 rm -f conftest.err conftest.$ac_objext \
49457       conftest$ac_exeext conftest.$ac_ext
49458 fi
49459 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
49460 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
49461 if test `eval echo '${'$as_ac_var'}'` = yes; then
49462   cat >>confdefs.h <<_ACEOF
49463 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
49464 _ACEOF
49465
49466 fi
49467 done
49468
49469     fi
49470   fi
49471
49472
49473
49474
49475
49476
49477   echo "$as_me:$LINENO: checking for sincosl declaration" >&5
49478 echo $ECHO_N "checking for sincosl declaration... $ECHO_C" >&6
49479   if test x${glibcxx_cv_func_sincosl_use+set} != xset; then
49480     if test "${glibcxx_cv_func_sincosl_use+set}" = set; then
49481   echo $ECHO_N "(cached) $ECHO_C" >&6
49482 else
49483
49484
49485
49486       ac_ext=cc
49487 ac_cpp='$CXXCPP $CPPFLAGS'
49488 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49489 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49490 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49491
49492       cat >conftest.$ac_ext <<_ACEOF
49493 /* confdefs.h.  */
49494 _ACEOF
49495 cat confdefs.h >>conftest.$ac_ext
49496 cat >>conftest.$ac_ext <<_ACEOF
49497 /* end confdefs.h.  */
49498 #include <math.h>
49499 int
49500 main ()
49501 {
49502  sincosl(0, 0, 0);
49503   ;
49504   return 0;
49505 }
49506 _ACEOF
49507 rm -f conftest.$ac_objext
49508 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
49509   (eval $ac_compile) 2>conftest.er1
49510   ac_status=$?
49511   grep -v '^ *+' conftest.er1 >conftest.err
49512   rm -f conftest.er1
49513   cat conftest.err >&5
49514   echo "$as_me:$LINENO: \$? = $ac_status" >&5
49515   (exit $ac_status); } &&
49516          { ac_try='test -z "$ac_cxx_werror_flag"
49517                          || test ! -s conftest.err'
49518   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
49519   (eval $ac_try) 2>&5
49520   ac_status=$?
49521   echo "$as_me:$LINENO: \$? = $ac_status" >&5
49522   (exit $ac_status); }; } &&
49523          { ac_try='test -s conftest.$ac_objext'
49524   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
49525   (eval $ac_try) 2>&5
49526   ac_status=$?
49527   echo "$as_me:$LINENO: \$? = $ac_status" >&5
49528   (exit $ac_status); }; }; then
49529   glibcxx_cv_func_sincosl_use=yes
49530 else
49531   echo "$as_me: failed program was:" >&5
49532 sed 's/^/| /' conftest.$ac_ext >&5
49533
49534 glibcxx_cv_func_sincosl_use=no
49535 fi
49536 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
49537       ac_ext=c
49538 ac_cpp='$CPP $CPPFLAGS'
49539 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49540 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49541 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49542
49543
49544 fi
49545
49546   fi
49547   echo "$as_me:$LINENO: result: $glibcxx_cv_func_sincosl_use" >&5
49548 echo "${ECHO_T}$glibcxx_cv_func_sincosl_use" >&6
49549
49550   if test x$glibcxx_cv_func_sincosl_use = x"yes"; then
49551
49552 for ac_func in sincosl
49553 do
49554 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
49555 echo "$as_me:$LINENO: checking for $ac_func" >&5
49556 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
49557 if eval "test \"\${$as_ac_var+set}\" = set"; then
49558   echo $ECHO_N "(cached) $ECHO_C" >&6
49559 else
49560   if test x$gcc_no_link = xyes; then
49561   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
49562 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
49563    { (exit 1); exit 1; }; }
49564 fi
49565 cat >conftest.$ac_ext <<_ACEOF
49566 /* confdefs.h.  */
49567 _ACEOF
49568 cat confdefs.h >>conftest.$ac_ext
49569 cat >>conftest.$ac_ext <<_ACEOF
49570 /* end confdefs.h.  */
49571 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
49572    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
49573 #define $ac_func innocuous_$ac_func
49574
49575 /* System header to define __stub macros and hopefully few prototypes,
49576     which can conflict with char $ac_func (); below.
49577     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
49578     <limits.h> exists even on freestanding compilers.  */
49579
49580 #ifdef __STDC__
49581 # include <limits.h>
49582 #else
49583 # include <assert.h>
49584 #endif
49585
49586 #undef $ac_func
49587
49588 /* Override any gcc2 internal prototype to avoid an error.  */
49589 #ifdef __cplusplus
49590 extern "C"
49591 {
49592 #endif
49593 /* We use char because int might match the return type of a gcc2
49594    builtin and then its argument prototype would still apply.  */
49595 char $ac_func ();
49596 /* The GNU C library defines this for functions which it implements
49597     to always fail with ENOSYS.  Some functions are actually named
49598     something starting with __ and the normal name is an alias.  */
49599 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
49600 choke me
49601 #else
49602 char (*f) () = $ac_func;
49603 #endif
49604 #ifdef __cplusplus
49605 }
49606 #endif
49607
49608 int
49609 main ()
49610 {
49611 return f != $ac_func;
49612   ;
49613   return 0;
49614 }
49615 _ACEOF
49616 rm -f conftest.$ac_objext conftest$ac_exeext
49617 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
49618   (eval $ac_link) 2>conftest.er1
49619   ac_status=$?
49620   grep -v '^ *+' conftest.er1 >conftest.err
49621   rm -f conftest.er1
49622   cat conftest.err >&5
49623   echo "$as_me:$LINENO: \$? = $ac_status" >&5
49624   (exit $ac_status); } &&
49625          { ac_try='test -z "$ac_c_werror_flag"
49626                          || test ! -s conftest.err'
49627   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
49628   (eval $ac_try) 2>&5
49629   ac_status=$?
49630   echo "$as_me:$LINENO: \$? = $ac_status" >&5
49631   (exit $ac_status); }; } &&
49632          { ac_try='test -s conftest$ac_exeext'
49633   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
49634   (eval $ac_try) 2>&5
49635   ac_status=$?
49636   echo "$as_me:$LINENO: \$? = $ac_status" >&5
49637   (exit $ac_status); }; }; then
49638   eval "$as_ac_var=yes"
49639 else
49640   echo "$as_me: failed program was:" >&5
49641 sed 's/^/| /' conftest.$ac_ext >&5
49642
49643 eval "$as_ac_var=no"
49644 fi
49645 rm -f conftest.err conftest.$ac_objext \
49646       conftest$ac_exeext conftest.$ac_ext
49647 fi
49648 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
49649 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
49650 if test `eval echo '${'$as_ac_var'}'` = yes; then
49651   cat >>confdefs.h <<_ACEOF
49652 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
49653 _ACEOF
49654
49655 fi
49656 done
49657
49658   else
49659
49660   echo "$as_me:$LINENO: checking for _sincosl declaration" >&5
49661 echo $ECHO_N "checking for _sincosl declaration... $ECHO_C" >&6
49662   if test x${glibcxx_cv_func__sincosl_use+set} != xset; then
49663     if test "${glibcxx_cv_func__sincosl_use+set}" = set; then
49664   echo $ECHO_N "(cached) $ECHO_C" >&6
49665 else
49666
49667
49668
49669       ac_ext=cc
49670 ac_cpp='$CXXCPP $CPPFLAGS'
49671 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49672 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49673 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49674
49675       cat >conftest.$ac_ext <<_ACEOF
49676 /* confdefs.h.  */
49677 _ACEOF
49678 cat confdefs.h >>conftest.$ac_ext
49679 cat >>conftest.$ac_ext <<_ACEOF
49680 /* end confdefs.h.  */
49681 #include <math.h>
49682 int
49683 main ()
49684 {
49685  _sincosl(0, 0, 0);
49686   ;
49687   return 0;
49688 }
49689 _ACEOF
49690 rm -f conftest.$ac_objext
49691 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
49692   (eval $ac_compile) 2>conftest.er1
49693   ac_status=$?
49694   grep -v '^ *+' conftest.er1 >conftest.err
49695   rm -f conftest.er1
49696   cat conftest.err >&5
49697   echo "$as_me:$LINENO: \$? = $ac_status" >&5
49698   (exit $ac_status); } &&
49699          { ac_try='test -z "$ac_cxx_werror_flag"
49700                          || test ! -s conftest.err'
49701   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
49702   (eval $ac_try) 2>&5
49703   ac_status=$?
49704   echo "$as_me:$LINENO: \$? = $ac_status" >&5
49705   (exit $ac_status); }; } &&
49706          { ac_try='test -s conftest.$ac_objext'
49707   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
49708   (eval $ac_try) 2>&5
49709   ac_status=$?
49710   echo "$as_me:$LINENO: \$? = $ac_status" >&5
49711   (exit $ac_status); }; }; then
49712   glibcxx_cv_func__sincosl_use=yes
49713 else
49714   echo "$as_me: failed program was:" >&5
49715 sed 's/^/| /' conftest.$ac_ext >&5
49716
49717 glibcxx_cv_func__sincosl_use=no
49718 fi
49719 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
49720       ac_ext=c
49721 ac_cpp='$CPP $CPPFLAGS'
49722 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49723 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49724 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49725
49726
49727 fi
49728
49729   fi
49730   echo "$as_me:$LINENO: result: $glibcxx_cv_func__sincosl_use" >&5
49731 echo "${ECHO_T}$glibcxx_cv_func__sincosl_use" >&6
49732
49733     if test x$glibcxx_cv_func__sincosl_use = x"yes"; then
49734
49735 for ac_func in _sincosl
49736 do
49737 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
49738 echo "$as_me:$LINENO: checking for $ac_func" >&5
49739 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
49740 if eval "test \"\${$as_ac_var+set}\" = set"; then
49741   echo $ECHO_N "(cached) $ECHO_C" >&6
49742 else
49743   if test x$gcc_no_link = xyes; then
49744   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
49745 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
49746    { (exit 1); exit 1; }; }
49747 fi
49748 cat >conftest.$ac_ext <<_ACEOF
49749 /* confdefs.h.  */
49750 _ACEOF
49751 cat confdefs.h >>conftest.$ac_ext
49752 cat >>conftest.$ac_ext <<_ACEOF
49753 /* end confdefs.h.  */
49754 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
49755    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
49756 #define $ac_func innocuous_$ac_func
49757
49758 /* System header to define __stub macros and hopefully few prototypes,
49759     which can conflict with char $ac_func (); below.
49760     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
49761     <limits.h> exists even on freestanding compilers.  */
49762
49763 #ifdef __STDC__
49764 # include <limits.h>
49765 #else
49766 # include <assert.h>
49767 #endif
49768
49769 #undef $ac_func
49770
49771 /* Override any gcc2 internal prototype to avoid an error.  */
49772 #ifdef __cplusplus
49773 extern "C"
49774 {
49775 #endif
49776 /* We use char because int might match the return type of a gcc2
49777    builtin and then its argument prototype would still apply.  */
49778 char $ac_func ();
49779 /* The GNU C library defines this for functions which it implements
49780     to always fail with ENOSYS.  Some functions are actually named
49781     something starting with __ and the normal name is an alias.  */
49782 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
49783 choke me
49784 #else
49785 char (*f) () = $ac_func;
49786 #endif
49787 #ifdef __cplusplus
49788 }
49789 #endif
49790
49791 int
49792 main ()
49793 {
49794 return f != $ac_func;
49795   ;
49796   return 0;
49797 }
49798 _ACEOF
49799 rm -f conftest.$ac_objext conftest$ac_exeext
49800 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
49801   (eval $ac_link) 2>conftest.er1
49802   ac_status=$?
49803   grep -v '^ *+' conftest.er1 >conftest.err
49804   rm -f conftest.er1
49805   cat conftest.err >&5
49806   echo "$as_me:$LINENO: \$? = $ac_status" >&5
49807   (exit $ac_status); } &&
49808          { ac_try='test -z "$ac_c_werror_flag"
49809                          || test ! -s conftest.err'
49810   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
49811   (eval $ac_try) 2>&5
49812   ac_status=$?
49813   echo "$as_me:$LINENO: \$? = $ac_status" >&5
49814   (exit $ac_status); }; } &&
49815          { ac_try='test -s conftest$ac_exeext'
49816   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
49817   (eval $ac_try) 2>&5
49818   ac_status=$?
49819   echo "$as_me:$LINENO: \$? = $ac_status" >&5
49820   (exit $ac_status); }; }; then
49821   eval "$as_ac_var=yes"
49822 else
49823   echo "$as_me: failed program was:" >&5
49824 sed 's/^/| /' conftest.$ac_ext >&5
49825
49826 eval "$as_ac_var=no"
49827 fi
49828 rm -f conftest.err conftest.$ac_objext \
49829       conftest$ac_exeext conftest.$ac_ext
49830 fi
49831 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
49832 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
49833 if test `eval echo '${'$as_ac_var'}'` = yes; then
49834   cat >>confdefs.h <<_ACEOF
49835 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
49836 _ACEOF
49837
49838 fi
49839 done
49840
49841     fi
49842   fi
49843
49844
49845
49846
49847
49848
49849   echo "$as_me:$LINENO: checking for finitel declaration" >&5
49850 echo $ECHO_N "checking for finitel declaration... $ECHO_C" >&6
49851   if test x${glibcxx_cv_func_finitel_use+set} != xset; then
49852     if test "${glibcxx_cv_func_finitel_use+set}" = set; then
49853   echo $ECHO_N "(cached) $ECHO_C" >&6
49854 else
49855
49856
49857
49858       ac_ext=cc
49859 ac_cpp='$CXXCPP $CPPFLAGS'
49860 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49861 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49862 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49863
49864       cat >conftest.$ac_ext <<_ACEOF
49865 /* confdefs.h.  */
49866 _ACEOF
49867 cat confdefs.h >>conftest.$ac_ext
49868 cat >>conftest.$ac_ext <<_ACEOF
49869 /* end confdefs.h.  */
49870 #include <math.h>
49871                       #ifdef HAVE_IEEEFP_H
49872                       #include <ieeefp.h>
49873                       #endif
49874
49875 int
49876 main ()
49877 {
49878  finitel(0);
49879   ;
49880   return 0;
49881 }
49882 _ACEOF
49883 rm -f conftest.$ac_objext
49884 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
49885   (eval $ac_compile) 2>conftest.er1
49886   ac_status=$?
49887   grep -v '^ *+' conftest.er1 >conftest.err
49888   rm -f conftest.er1
49889   cat conftest.err >&5
49890   echo "$as_me:$LINENO: \$? = $ac_status" >&5
49891   (exit $ac_status); } &&
49892          { ac_try='test -z "$ac_cxx_werror_flag"
49893                          || test ! -s conftest.err'
49894   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
49895   (eval $ac_try) 2>&5
49896   ac_status=$?
49897   echo "$as_me:$LINENO: \$? = $ac_status" >&5
49898   (exit $ac_status); }; } &&
49899          { ac_try='test -s conftest.$ac_objext'
49900   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
49901   (eval $ac_try) 2>&5
49902   ac_status=$?
49903   echo "$as_me:$LINENO: \$? = $ac_status" >&5
49904   (exit $ac_status); }; }; then
49905   glibcxx_cv_func_finitel_use=yes
49906 else
49907   echo "$as_me: failed program was:" >&5
49908 sed 's/^/| /' conftest.$ac_ext >&5
49909
49910 glibcxx_cv_func_finitel_use=no
49911 fi
49912 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
49913       ac_ext=c
49914 ac_cpp='$CPP $CPPFLAGS'
49915 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49916 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49917 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49918
49919
49920 fi
49921
49922   fi
49923   echo "$as_me:$LINENO: result: $glibcxx_cv_func_finitel_use" >&5
49924 echo "${ECHO_T}$glibcxx_cv_func_finitel_use" >&6
49925
49926   if test x$glibcxx_cv_func_finitel_use = x"yes"; then
49927
49928 for ac_func in finitel
49929 do
49930 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
49931 echo "$as_me:$LINENO: checking for $ac_func" >&5
49932 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
49933 if eval "test \"\${$as_ac_var+set}\" = set"; then
49934   echo $ECHO_N "(cached) $ECHO_C" >&6
49935 else
49936   if test x$gcc_no_link = xyes; then
49937   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
49938 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
49939    { (exit 1); exit 1; }; }
49940 fi
49941 cat >conftest.$ac_ext <<_ACEOF
49942 /* confdefs.h.  */
49943 _ACEOF
49944 cat confdefs.h >>conftest.$ac_ext
49945 cat >>conftest.$ac_ext <<_ACEOF
49946 /* end confdefs.h.  */
49947 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
49948    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
49949 #define $ac_func innocuous_$ac_func
49950
49951 /* System header to define __stub macros and hopefully few prototypes,
49952     which can conflict with char $ac_func (); below.
49953     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
49954     <limits.h> exists even on freestanding compilers.  */
49955
49956 #ifdef __STDC__
49957 # include <limits.h>
49958 #else
49959 # include <assert.h>
49960 #endif
49961
49962 #undef $ac_func
49963
49964 /* Override any gcc2 internal prototype to avoid an error.  */
49965 #ifdef __cplusplus
49966 extern "C"
49967 {
49968 #endif
49969 /* We use char because int might match the return type of a gcc2
49970    builtin and then its argument prototype would still apply.  */
49971 char $ac_func ();
49972 /* The GNU C library defines this for functions which it implements
49973     to always fail with ENOSYS.  Some functions are actually named
49974     something starting with __ and the normal name is an alias.  */
49975 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
49976 choke me
49977 #else
49978 char (*f) () = $ac_func;
49979 #endif
49980 #ifdef __cplusplus
49981 }
49982 #endif
49983
49984 int
49985 main ()
49986 {
49987 return f != $ac_func;
49988   ;
49989   return 0;
49990 }
49991 _ACEOF
49992 rm -f conftest.$ac_objext conftest$ac_exeext
49993 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
49994   (eval $ac_link) 2>conftest.er1
49995   ac_status=$?
49996   grep -v '^ *+' conftest.er1 >conftest.err
49997   rm -f conftest.er1
49998   cat conftest.err >&5
49999   echo "$as_me:$LINENO: \$? = $ac_status" >&5
50000   (exit $ac_status); } &&
50001          { ac_try='test -z "$ac_c_werror_flag"
50002                          || test ! -s conftest.err'
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); }; } &&
50008          { ac_try='test -s conftest$ac_exeext'
50009   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
50010   (eval $ac_try) 2>&5
50011   ac_status=$?
50012   echo "$as_me:$LINENO: \$? = $ac_status" >&5
50013   (exit $ac_status); }; }; then
50014   eval "$as_ac_var=yes"
50015 else
50016   echo "$as_me: failed program was:" >&5
50017 sed 's/^/| /' conftest.$ac_ext >&5
50018
50019 eval "$as_ac_var=no"
50020 fi
50021 rm -f conftest.err conftest.$ac_objext \
50022       conftest$ac_exeext conftest.$ac_ext
50023 fi
50024 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
50025 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
50026 if test `eval echo '${'$as_ac_var'}'` = yes; then
50027   cat >>confdefs.h <<_ACEOF
50028 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
50029 _ACEOF
50030
50031 fi
50032 done
50033
50034   else
50035
50036   echo "$as_me:$LINENO: checking for _finitel declaration" >&5
50037 echo $ECHO_N "checking for _finitel declaration... $ECHO_C" >&6
50038   if test x${glibcxx_cv_func__finitel_use+set} != xset; then
50039     if test "${glibcxx_cv_func__finitel_use+set}" = set; then
50040   echo $ECHO_N "(cached) $ECHO_C" >&6
50041 else
50042
50043
50044
50045       ac_ext=cc
50046 ac_cpp='$CXXCPP $CPPFLAGS'
50047 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50048 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50049 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50050
50051       cat >conftest.$ac_ext <<_ACEOF
50052 /* confdefs.h.  */
50053 _ACEOF
50054 cat confdefs.h >>conftest.$ac_ext
50055 cat >>conftest.$ac_ext <<_ACEOF
50056 /* end confdefs.h.  */
50057 #include <math.h>
50058                       #ifdef HAVE_IEEEFP_H
50059                       #include <ieeefp.h>
50060                       #endif
50061
50062 int
50063 main ()
50064 {
50065  _finitel(0);
50066   ;
50067   return 0;
50068 }
50069 _ACEOF
50070 rm -f conftest.$ac_objext
50071 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
50072   (eval $ac_compile) 2>conftest.er1
50073   ac_status=$?
50074   grep -v '^ *+' conftest.er1 >conftest.err
50075   rm -f conftest.er1
50076   cat conftest.err >&5
50077   echo "$as_me:$LINENO: \$? = $ac_status" >&5
50078   (exit $ac_status); } &&
50079          { ac_try='test -z "$ac_cxx_werror_flag"
50080                          || test ! -s conftest.err'
50081   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
50082   (eval $ac_try) 2>&5
50083   ac_status=$?
50084   echo "$as_me:$LINENO: \$? = $ac_status" >&5
50085   (exit $ac_status); }; } &&
50086          { ac_try='test -s conftest.$ac_objext'
50087   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
50088   (eval $ac_try) 2>&5
50089   ac_status=$?
50090   echo "$as_me:$LINENO: \$? = $ac_status" >&5
50091   (exit $ac_status); }; }; then
50092   glibcxx_cv_func__finitel_use=yes
50093 else
50094   echo "$as_me: failed program was:" >&5
50095 sed 's/^/| /' conftest.$ac_ext >&5
50096
50097 glibcxx_cv_func__finitel_use=no
50098 fi
50099 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
50100       ac_ext=c
50101 ac_cpp='$CPP $CPPFLAGS'
50102 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50103 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50104 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50105
50106
50107 fi
50108
50109   fi
50110   echo "$as_me:$LINENO: result: $glibcxx_cv_func__finitel_use" >&5
50111 echo "${ECHO_T}$glibcxx_cv_func__finitel_use" >&6
50112
50113     if test x$glibcxx_cv_func__finitel_use = x"yes"; then
50114
50115 for ac_func in _finitel
50116 do
50117 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
50118 echo "$as_me:$LINENO: checking for $ac_func" >&5
50119 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
50120 if eval "test \"\${$as_ac_var+set}\" = set"; then
50121   echo $ECHO_N "(cached) $ECHO_C" >&6
50122 else
50123   if test x$gcc_no_link = xyes; then
50124   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
50125 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
50126    { (exit 1); exit 1; }; }
50127 fi
50128 cat >conftest.$ac_ext <<_ACEOF
50129 /* confdefs.h.  */
50130 _ACEOF
50131 cat confdefs.h >>conftest.$ac_ext
50132 cat >>conftest.$ac_ext <<_ACEOF
50133 /* end confdefs.h.  */
50134 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
50135    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
50136 #define $ac_func innocuous_$ac_func
50137
50138 /* System header to define __stub macros and hopefully few prototypes,
50139     which can conflict with char $ac_func (); below.
50140     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
50141     <limits.h> exists even on freestanding compilers.  */
50142
50143 #ifdef __STDC__
50144 # include <limits.h>
50145 #else
50146 # include <assert.h>
50147 #endif
50148
50149 #undef $ac_func
50150
50151 /* Override any gcc2 internal prototype to avoid an error.  */
50152 #ifdef __cplusplus
50153 extern "C"
50154 {
50155 #endif
50156 /* We use char because int might match the return type of a gcc2
50157    builtin and then its argument prototype would still apply.  */
50158 char $ac_func ();
50159 /* The GNU C library defines this for functions which it implements
50160     to always fail with ENOSYS.  Some functions are actually named
50161     something starting with __ and the normal name is an alias.  */
50162 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
50163 choke me
50164 #else
50165 char (*f) () = $ac_func;
50166 #endif
50167 #ifdef __cplusplus
50168 }
50169 #endif
50170
50171 int
50172 main ()
50173 {
50174 return f != $ac_func;
50175   ;
50176   return 0;
50177 }
50178 _ACEOF
50179 rm -f conftest.$ac_objext conftest$ac_exeext
50180 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
50181   (eval $ac_link) 2>conftest.er1
50182   ac_status=$?
50183   grep -v '^ *+' conftest.er1 >conftest.err
50184   rm -f conftest.er1
50185   cat conftest.err >&5
50186   echo "$as_me:$LINENO: \$? = $ac_status" >&5
50187   (exit $ac_status); } &&
50188          { ac_try='test -z "$ac_c_werror_flag"
50189                          || test ! -s conftest.err'
50190   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
50191   (eval $ac_try) 2>&5
50192   ac_status=$?
50193   echo "$as_me:$LINENO: \$? = $ac_status" >&5
50194   (exit $ac_status); }; } &&
50195          { ac_try='test -s conftest$ac_exeext'
50196   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
50197   (eval $ac_try) 2>&5
50198   ac_status=$?
50199   echo "$as_me:$LINENO: \$? = $ac_status" >&5
50200   (exit $ac_status); }; }; then
50201   eval "$as_ac_var=yes"
50202 else
50203   echo "$as_me: failed program was:" >&5
50204 sed 's/^/| /' conftest.$ac_ext >&5
50205
50206 eval "$as_ac_var=no"
50207 fi
50208 rm -f conftest.err conftest.$ac_objext \
50209       conftest$ac_exeext conftest.$ac_ext
50210 fi
50211 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
50212 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
50213 if test `eval echo '${'$as_ac_var'}'` = yes; then
50214   cat >>confdefs.h <<_ACEOF
50215 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
50216 _ACEOF
50217
50218 fi
50219 done
50220
50221     fi
50222   fi
50223
50224
50225
50226
50227
50228   LIBS="$ac_save_LIBS"
50229   CXXFLAGS="$ac_save_CXXFLAGS"
50230
50231
50232
50233   echo "$as_me:$LINENO: checking for __builtin_abs declaration" >&5
50234 echo $ECHO_N "checking for __builtin_abs declaration... $ECHO_C" >&6
50235   if test x${glibcxx_cv_func___builtin_abs_use+set} != xset; then
50236     if test "${glibcxx_cv_func___builtin_abs_use+set}" = set; then
50237   echo $ECHO_N "(cached) $ECHO_C" >&6
50238 else
50239
50240
50241
50242       ac_ext=cc
50243 ac_cpp='$CXXCPP $CPPFLAGS'
50244 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50245 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50246 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50247
50248       cat >conftest.$ac_ext <<_ACEOF
50249 /* confdefs.h.  */
50250 _ACEOF
50251 cat confdefs.h >>conftest.$ac_ext
50252 cat >>conftest.$ac_ext <<_ACEOF
50253 /* end confdefs.h.  */
50254 #include <math.h>
50255 int
50256 main ()
50257 {
50258  __builtin_abs(0);
50259   ;
50260   return 0;
50261 }
50262 _ACEOF
50263 rm -f conftest.$ac_objext
50264 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
50265   (eval $ac_compile) 2>conftest.er1
50266   ac_status=$?
50267   grep -v '^ *+' conftest.er1 >conftest.err
50268   rm -f conftest.er1
50269   cat conftest.err >&5
50270   echo "$as_me:$LINENO: \$? = $ac_status" >&5
50271   (exit $ac_status); } &&
50272          { ac_try='test -z "$ac_cxx_werror_flag"
50273                          || test ! -s conftest.err'
50274   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
50275   (eval $ac_try) 2>&5
50276   ac_status=$?
50277   echo "$as_me:$LINENO: \$? = $ac_status" >&5
50278   (exit $ac_status); }; } &&
50279          { ac_try='test -s conftest.$ac_objext'
50280   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
50281   (eval $ac_try) 2>&5
50282   ac_status=$?
50283   echo "$as_me:$LINENO: \$? = $ac_status" >&5
50284   (exit $ac_status); }; }; then
50285   glibcxx_cv_func___builtin_abs_use=yes
50286 else
50287   echo "$as_me: failed program was:" >&5
50288 sed 's/^/| /' conftest.$ac_ext >&5
50289
50290 glibcxx_cv_func___builtin_abs_use=no
50291 fi
50292 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
50293       ac_ext=c
50294 ac_cpp='$CPP $CPPFLAGS'
50295 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50296 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50297 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50298
50299
50300 fi
50301
50302   fi
50303   echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_abs_use" >&5
50304 echo "${ECHO_T}$glibcxx_cv_func___builtin_abs_use" >&6
50305   if test x$glibcxx_cv_func___builtin_abs_use = x"yes"; then
50306     echo "$as_me:$LINENO: checking for __builtin_abs linkage" >&5
50307 echo $ECHO_N "checking for __builtin_abs linkage... $ECHO_C" >&6
50308     if test x${glibcxx_cv_func___builtin_abs_link+set} != xset; then
50309       if test "${glibcxx_cv_func___builtin_abs_link+set}" = set; then
50310   echo $ECHO_N "(cached) $ECHO_C" >&6
50311 else
50312
50313         if test x$gcc_no_link = xyes; then
50314   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
50315 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
50316    { (exit 1); exit 1; }; }
50317 fi
50318 cat >conftest.$ac_ext <<_ACEOF
50319 /* confdefs.h.  */
50320 _ACEOF
50321 cat confdefs.h >>conftest.$ac_ext
50322 cat >>conftest.$ac_ext <<_ACEOF
50323 /* end confdefs.h.  */
50324 #include <math.h>
50325 int
50326 main ()
50327 {
50328  __builtin_abs(0);
50329   ;
50330   return 0;
50331 }
50332 _ACEOF
50333 rm -f conftest.$ac_objext conftest$ac_exeext
50334 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
50335   (eval $ac_link) 2>conftest.er1
50336   ac_status=$?
50337   grep -v '^ *+' conftest.er1 >conftest.err
50338   rm -f conftest.er1
50339   cat conftest.err >&5
50340   echo "$as_me:$LINENO: \$? = $ac_status" >&5
50341   (exit $ac_status); } &&
50342          { ac_try='test -z "$ac_c_werror_flag"
50343                          || test ! -s conftest.err'
50344   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
50345   (eval $ac_try) 2>&5
50346   ac_status=$?
50347   echo "$as_me:$LINENO: \$? = $ac_status" >&5
50348   (exit $ac_status); }; } &&
50349          { ac_try='test -s conftest$ac_exeext'
50350   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
50351   (eval $ac_try) 2>&5
50352   ac_status=$?
50353   echo "$as_me:$LINENO: \$? = $ac_status" >&5
50354   (exit $ac_status); }; }; then
50355   glibcxx_cv_func___builtin_abs_link=yes
50356 else
50357   echo "$as_me: failed program was:" >&5
50358 sed 's/^/| /' conftest.$ac_ext >&5
50359
50360 glibcxx_cv_func___builtin_abs_link=no
50361 fi
50362 rm -f conftest.err conftest.$ac_objext \
50363       conftest$ac_exeext conftest.$ac_ext
50364
50365 fi
50366
50367     fi
50368     echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_abs_link" >&5
50369 echo "${ECHO_T}$glibcxx_cv_func___builtin_abs_link" >&6
50370
50371     if test x$glibcxx_cv_func___builtin_abs_link = x"yes"; then
50372
50373 cat >>confdefs.h <<\_ACEOF
50374 #define HAVE___BUILTIN_ABS 1
50375 _ACEOF
50376
50377     fi
50378
50379   fi
50380
50381
50382   echo "$as_me:$LINENO: checking for __builtin_fabsf declaration" >&5
50383 echo $ECHO_N "checking for __builtin_fabsf declaration... $ECHO_C" >&6
50384   if test x${glibcxx_cv_func___builtin_fabsf_use+set} != xset; then
50385     if test "${glibcxx_cv_func___builtin_fabsf_use+set}" = set; then
50386   echo $ECHO_N "(cached) $ECHO_C" >&6
50387 else
50388
50389
50390
50391       ac_ext=cc
50392 ac_cpp='$CXXCPP $CPPFLAGS'
50393 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50394 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50395 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50396
50397       cat >conftest.$ac_ext <<_ACEOF
50398 /* confdefs.h.  */
50399 _ACEOF
50400 cat confdefs.h >>conftest.$ac_ext
50401 cat >>conftest.$ac_ext <<_ACEOF
50402 /* end confdefs.h.  */
50403 #include <math.h>
50404 int
50405 main ()
50406 {
50407  __builtin_fabsf(0);
50408   ;
50409   return 0;
50410 }
50411 _ACEOF
50412 rm -f conftest.$ac_objext
50413 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
50414   (eval $ac_compile) 2>conftest.er1
50415   ac_status=$?
50416   grep -v '^ *+' conftest.er1 >conftest.err
50417   rm -f conftest.er1
50418   cat conftest.err >&5
50419   echo "$as_me:$LINENO: \$? = $ac_status" >&5
50420   (exit $ac_status); } &&
50421          { ac_try='test -z "$ac_cxx_werror_flag"
50422                          || test ! -s conftest.err'
50423   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
50424   (eval $ac_try) 2>&5
50425   ac_status=$?
50426   echo "$as_me:$LINENO: \$? = $ac_status" >&5
50427   (exit $ac_status); }; } &&
50428          { ac_try='test -s conftest.$ac_objext'
50429   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
50430   (eval $ac_try) 2>&5
50431   ac_status=$?
50432   echo "$as_me:$LINENO: \$? = $ac_status" >&5
50433   (exit $ac_status); }; }; then
50434   glibcxx_cv_func___builtin_fabsf_use=yes
50435 else
50436   echo "$as_me: failed program was:" >&5
50437 sed 's/^/| /' conftest.$ac_ext >&5
50438
50439 glibcxx_cv_func___builtin_fabsf_use=no
50440 fi
50441 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
50442       ac_ext=c
50443 ac_cpp='$CPP $CPPFLAGS'
50444 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50445 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50446 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50447
50448
50449 fi
50450
50451   fi
50452   echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_fabsf_use" >&5
50453 echo "${ECHO_T}$glibcxx_cv_func___builtin_fabsf_use" >&6
50454   if test x$glibcxx_cv_func___builtin_fabsf_use = x"yes"; then
50455     echo "$as_me:$LINENO: checking for __builtin_fabsf linkage" >&5
50456 echo $ECHO_N "checking for __builtin_fabsf linkage... $ECHO_C" >&6
50457     if test x${glibcxx_cv_func___builtin_fabsf_link+set} != xset; then
50458       if test "${glibcxx_cv_func___builtin_fabsf_link+set}" = set; then
50459   echo $ECHO_N "(cached) $ECHO_C" >&6
50460 else
50461
50462         if test x$gcc_no_link = xyes; then
50463   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
50464 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
50465    { (exit 1); exit 1; }; }
50466 fi
50467 cat >conftest.$ac_ext <<_ACEOF
50468 /* confdefs.h.  */
50469 _ACEOF
50470 cat confdefs.h >>conftest.$ac_ext
50471 cat >>conftest.$ac_ext <<_ACEOF
50472 /* end confdefs.h.  */
50473 #include <math.h>
50474 int
50475 main ()
50476 {
50477  __builtin_fabsf(0);
50478   ;
50479   return 0;
50480 }
50481 _ACEOF
50482 rm -f conftest.$ac_objext conftest$ac_exeext
50483 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
50484   (eval $ac_link) 2>conftest.er1
50485   ac_status=$?
50486   grep -v '^ *+' conftest.er1 >conftest.err
50487   rm -f conftest.er1
50488   cat conftest.err >&5
50489   echo "$as_me:$LINENO: \$? = $ac_status" >&5
50490   (exit $ac_status); } &&
50491          { ac_try='test -z "$ac_c_werror_flag"
50492                          || test ! -s conftest.err'
50493   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
50494   (eval $ac_try) 2>&5
50495   ac_status=$?
50496   echo "$as_me:$LINENO: \$? = $ac_status" >&5
50497   (exit $ac_status); }; } &&
50498          { ac_try='test -s conftest$ac_exeext'
50499   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
50500   (eval $ac_try) 2>&5
50501   ac_status=$?
50502   echo "$as_me:$LINENO: \$? = $ac_status" >&5
50503   (exit $ac_status); }; }; then
50504   glibcxx_cv_func___builtin_fabsf_link=yes
50505 else
50506   echo "$as_me: failed program was:" >&5
50507 sed 's/^/| /' conftest.$ac_ext >&5
50508
50509 glibcxx_cv_func___builtin_fabsf_link=no
50510 fi
50511 rm -f conftest.err conftest.$ac_objext \
50512       conftest$ac_exeext conftest.$ac_ext
50513
50514 fi
50515
50516     fi
50517     echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_fabsf_link" >&5
50518 echo "${ECHO_T}$glibcxx_cv_func___builtin_fabsf_link" >&6
50519
50520     if test x$glibcxx_cv_func___builtin_fabsf_link = x"yes"; then
50521
50522 cat >>confdefs.h <<\_ACEOF
50523 #define HAVE___BUILTIN_FABSF 1
50524 _ACEOF
50525
50526     fi
50527
50528   fi
50529
50530
50531   echo "$as_me:$LINENO: checking for __builtin_fabs declaration" >&5
50532 echo $ECHO_N "checking for __builtin_fabs declaration... $ECHO_C" >&6
50533   if test x${glibcxx_cv_func___builtin_fabs_use+set} != xset; then
50534     if test "${glibcxx_cv_func___builtin_fabs_use+set}" = set; then
50535   echo $ECHO_N "(cached) $ECHO_C" >&6
50536 else
50537
50538
50539
50540       ac_ext=cc
50541 ac_cpp='$CXXCPP $CPPFLAGS'
50542 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50543 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50544 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50545
50546       cat >conftest.$ac_ext <<_ACEOF
50547 /* confdefs.h.  */
50548 _ACEOF
50549 cat confdefs.h >>conftest.$ac_ext
50550 cat >>conftest.$ac_ext <<_ACEOF
50551 /* end confdefs.h.  */
50552 #include <math.h>
50553 int
50554 main ()
50555 {
50556  __builtin_fabs(0);
50557   ;
50558   return 0;
50559 }
50560 _ACEOF
50561 rm -f conftest.$ac_objext
50562 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
50563   (eval $ac_compile) 2>conftest.er1
50564   ac_status=$?
50565   grep -v '^ *+' conftest.er1 >conftest.err
50566   rm -f conftest.er1
50567   cat conftest.err >&5
50568   echo "$as_me:$LINENO: \$? = $ac_status" >&5
50569   (exit $ac_status); } &&
50570          { ac_try='test -z "$ac_cxx_werror_flag"
50571                          || test ! -s conftest.err'
50572   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
50573   (eval $ac_try) 2>&5
50574   ac_status=$?
50575   echo "$as_me:$LINENO: \$? = $ac_status" >&5
50576   (exit $ac_status); }; } &&
50577          { ac_try='test -s conftest.$ac_objext'
50578   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
50579   (eval $ac_try) 2>&5
50580   ac_status=$?
50581   echo "$as_me:$LINENO: \$? = $ac_status" >&5
50582   (exit $ac_status); }; }; then
50583   glibcxx_cv_func___builtin_fabs_use=yes
50584 else
50585   echo "$as_me: failed program was:" >&5
50586 sed 's/^/| /' conftest.$ac_ext >&5
50587
50588 glibcxx_cv_func___builtin_fabs_use=no
50589 fi
50590 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
50591       ac_ext=c
50592 ac_cpp='$CPP $CPPFLAGS'
50593 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50594 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50595 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50596
50597
50598 fi
50599
50600   fi
50601   echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_fabs_use" >&5
50602 echo "${ECHO_T}$glibcxx_cv_func___builtin_fabs_use" >&6
50603   if test x$glibcxx_cv_func___builtin_fabs_use = x"yes"; then
50604     echo "$as_me:$LINENO: checking for __builtin_fabs linkage" >&5
50605 echo $ECHO_N "checking for __builtin_fabs linkage... $ECHO_C" >&6
50606     if test x${glibcxx_cv_func___builtin_fabs_link+set} != xset; then
50607       if test "${glibcxx_cv_func___builtin_fabs_link+set}" = set; then
50608   echo $ECHO_N "(cached) $ECHO_C" >&6
50609 else
50610
50611         if test x$gcc_no_link = xyes; then
50612   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
50613 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
50614    { (exit 1); exit 1; }; }
50615 fi
50616 cat >conftest.$ac_ext <<_ACEOF
50617 /* confdefs.h.  */
50618 _ACEOF
50619 cat confdefs.h >>conftest.$ac_ext
50620 cat >>conftest.$ac_ext <<_ACEOF
50621 /* end confdefs.h.  */
50622 #include <math.h>
50623 int
50624 main ()
50625 {
50626  __builtin_fabs(0);
50627   ;
50628   return 0;
50629 }
50630 _ACEOF
50631 rm -f conftest.$ac_objext conftest$ac_exeext
50632 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
50633   (eval $ac_link) 2>conftest.er1
50634   ac_status=$?
50635   grep -v '^ *+' conftest.er1 >conftest.err
50636   rm -f conftest.er1
50637   cat conftest.err >&5
50638   echo "$as_me:$LINENO: \$? = $ac_status" >&5
50639   (exit $ac_status); } &&
50640          { ac_try='test -z "$ac_c_werror_flag"
50641                          || test ! -s conftest.err'
50642   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
50643   (eval $ac_try) 2>&5
50644   ac_status=$?
50645   echo "$as_me:$LINENO: \$? = $ac_status" >&5
50646   (exit $ac_status); }; } &&
50647          { ac_try='test -s conftest$ac_exeext'
50648   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
50649   (eval $ac_try) 2>&5
50650   ac_status=$?
50651   echo "$as_me:$LINENO: \$? = $ac_status" >&5
50652   (exit $ac_status); }; }; then
50653   glibcxx_cv_func___builtin_fabs_link=yes
50654 else
50655   echo "$as_me: failed program was:" >&5
50656 sed 's/^/| /' conftest.$ac_ext >&5
50657
50658 glibcxx_cv_func___builtin_fabs_link=no
50659 fi
50660 rm -f conftest.err conftest.$ac_objext \
50661       conftest$ac_exeext conftest.$ac_ext
50662
50663 fi
50664
50665     fi
50666     echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_fabs_link" >&5
50667 echo "${ECHO_T}$glibcxx_cv_func___builtin_fabs_link" >&6
50668
50669     if test x$glibcxx_cv_func___builtin_fabs_link = x"yes"; then
50670
50671 cat >>confdefs.h <<\_ACEOF
50672 #define HAVE___BUILTIN_FABS 1
50673 _ACEOF
50674
50675     fi
50676
50677   fi
50678
50679
50680   echo "$as_me:$LINENO: checking for __builtin_fabsl declaration" >&5
50681 echo $ECHO_N "checking for __builtin_fabsl declaration... $ECHO_C" >&6
50682   if test x${glibcxx_cv_func___builtin_fabsl_use+set} != xset; then
50683     if test "${glibcxx_cv_func___builtin_fabsl_use+set}" = set; then
50684   echo $ECHO_N "(cached) $ECHO_C" >&6
50685 else
50686
50687
50688
50689       ac_ext=cc
50690 ac_cpp='$CXXCPP $CPPFLAGS'
50691 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50692 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50693 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50694
50695       cat >conftest.$ac_ext <<_ACEOF
50696 /* confdefs.h.  */
50697 _ACEOF
50698 cat confdefs.h >>conftest.$ac_ext
50699 cat >>conftest.$ac_ext <<_ACEOF
50700 /* end confdefs.h.  */
50701 #include <math.h>
50702 int
50703 main ()
50704 {
50705  __builtin_fabsl(0);
50706   ;
50707   return 0;
50708 }
50709 _ACEOF
50710 rm -f conftest.$ac_objext
50711 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
50712   (eval $ac_compile) 2>conftest.er1
50713   ac_status=$?
50714   grep -v '^ *+' conftest.er1 >conftest.err
50715   rm -f conftest.er1
50716   cat conftest.err >&5
50717   echo "$as_me:$LINENO: \$? = $ac_status" >&5
50718   (exit $ac_status); } &&
50719          { ac_try='test -z "$ac_cxx_werror_flag"
50720                          || test ! -s conftest.err'
50721   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
50722   (eval $ac_try) 2>&5
50723   ac_status=$?
50724   echo "$as_me:$LINENO: \$? = $ac_status" >&5
50725   (exit $ac_status); }; } &&
50726          { ac_try='test -s conftest.$ac_objext'
50727   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
50728   (eval $ac_try) 2>&5
50729   ac_status=$?
50730   echo "$as_me:$LINENO: \$? = $ac_status" >&5
50731   (exit $ac_status); }; }; then
50732   glibcxx_cv_func___builtin_fabsl_use=yes
50733 else
50734   echo "$as_me: failed program was:" >&5
50735 sed 's/^/| /' conftest.$ac_ext >&5
50736
50737 glibcxx_cv_func___builtin_fabsl_use=no
50738 fi
50739 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
50740       ac_ext=c
50741 ac_cpp='$CPP $CPPFLAGS'
50742 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50743 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50744 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50745
50746
50747 fi
50748
50749   fi
50750   echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_fabsl_use" >&5
50751 echo "${ECHO_T}$glibcxx_cv_func___builtin_fabsl_use" >&6
50752   if test x$glibcxx_cv_func___builtin_fabsl_use = x"yes"; then
50753     echo "$as_me:$LINENO: checking for __builtin_fabsl linkage" >&5
50754 echo $ECHO_N "checking for __builtin_fabsl linkage... $ECHO_C" >&6
50755     if test x${glibcxx_cv_func___builtin_fabsl_link+set} != xset; then
50756       if test "${glibcxx_cv_func___builtin_fabsl_link+set}" = set; then
50757   echo $ECHO_N "(cached) $ECHO_C" >&6
50758 else
50759
50760         if test x$gcc_no_link = xyes; then
50761   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
50762 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
50763    { (exit 1); exit 1; }; }
50764 fi
50765 cat >conftest.$ac_ext <<_ACEOF
50766 /* confdefs.h.  */
50767 _ACEOF
50768 cat confdefs.h >>conftest.$ac_ext
50769 cat >>conftest.$ac_ext <<_ACEOF
50770 /* end confdefs.h.  */
50771 #include <math.h>
50772 int
50773 main ()
50774 {
50775  __builtin_fabsl(0);
50776   ;
50777   return 0;
50778 }
50779 _ACEOF
50780 rm -f conftest.$ac_objext conftest$ac_exeext
50781 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
50782   (eval $ac_link) 2>conftest.er1
50783   ac_status=$?
50784   grep -v '^ *+' conftest.er1 >conftest.err
50785   rm -f conftest.er1
50786   cat conftest.err >&5
50787   echo "$as_me:$LINENO: \$? = $ac_status" >&5
50788   (exit $ac_status); } &&
50789          { ac_try='test -z "$ac_c_werror_flag"
50790                          || test ! -s conftest.err'
50791   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
50792   (eval $ac_try) 2>&5
50793   ac_status=$?
50794   echo "$as_me:$LINENO: \$? = $ac_status" >&5
50795   (exit $ac_status); }; } &&
50796          { ac_try='test -s conftest$ac_exeext'
50797   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
50798   (eval $ac_try) 2>&5
50799   ac_status=$?
50800   echo "$as_me:$LINENO: \$? = $ac_status" >&5
50801   (exit $ac_status); }; }; then
50802   glibcxx_cv_func___builtin_fabsl_link=yes
50803 else
50804   echo "$as_me: failed program was:" >&5
50805 sed 's/^/| /' conftest.$ac_ext >&5
50806
50807 glibcxx_cv_func___builtin_fabsl_link=no
50808 fi
50809 rm -f conftest.err conftest.$ac_objext \
50810       conftest$ac_exeext conftest.$ac_ext
50811
50812 fi
50813
50814     fi
50815     echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_fabsl_link" >&5
50816 echo "${ECHO_T}$glibcxx_cv_func___builtin_fabsl_link" >&6
50817
50818     if test x$glibcxx_cv_func___builtin_fabsl_link = x"yes"; then
50819
50820 cat >>confdefs.h <<\_ACEOF
50821 #define HAVE___BUILTIN_FABSL 1
50822 _ACEOF
50823
50824     fi
50825
50826   fi
50827
50828
50829   echo "$as_me:$LINENO: checking for __builtin_labs declaration" >&5
50830 echo $ECHO_N "checking for __builtin_labs declaration... $ECHO_C" >&6
50831   if test x${glibcxx_cv_func___builtin_labs_use+set} != xset; then
50832     if test "${glibcxx_cv_func___builtin_labs_use+set}" = set; then
50833   echo $ECHO_N "(cached) $ECHO_C" >&6
50834 else
50835
50836
50837
50838       ac_ext=cc
50839 ac_cpp='$CXXCPP $CPPFLAGS'
50840 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50841 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50842 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50843
50844       cat >conftest.$ac_ext <<_ACEOF
50845 /* confdefs.h.  */
50846 _ACEOF
50847 cat confdefs.h >>conftest.$ac_ext
50848 cat >>conftest.$ac_ext <<_ACEOF
50849 /* end confdefs.h.  */
50850 #include <math.h>
50851 int
50852 main ()
50853 {
50854  __builtin_labs(0);
50855   ;
50856   return 0;
50857 }
50858 _ACEOF
50859 rm -f conftest.$ac_objext
50860 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
50861   (eval $ac_compile) 2>conftest.er1
50862   ac_status=$?
50863   grep -v '^ *+' conftest.er1 >conftest.err
50864   rm -f conftest.er1
50865   cat conftest.err >&5
50866   echo "$as_me:$LINENO: \$? = $ac_status" >&5
50867   (exit $ac_status); } &&
50868          { ac_try='test -z "$ac_cxx_werror_flag"
50869                          || test ! -s conftest.err'
50870   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
50871   (eval $ac_try) 2>&5
50872   ac_status=$?
50873   echo "$as_me:$LINENO: \$? = $ac_status" >&5
50874   (exit $ac_status); }; } &&
50875          { ac_try='test -s conftest.$ac_objext'
50876   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
50877   (eval $ac_try) 2>&5
50878   ac_status=$?
50879   echo "$as_me:$LINENO: \$? = $ac_status" >&5
50880   (exit $ac_status); }; }; then
50881   glibcxx_cv_func___builtin_labs_use=yes
50882 else
50883   echo "$as_me: failed program was:" >&5
50884 sed 's/^/| /' conftest.$ac_ext >&5
50885
50886 glibcxx_cv_func___builtin_labs_use=no
50887 fi
50888 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
50889       ac_ext=c
50890 ac_cpp='$CPP $CPPFLAGS'
50891 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50892 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50893 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50894
50895
50896 fi
50897
50898   fi
50899   echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_labs_use" >&5
50900 echo "${ECHO_T}$glibcxx_cv_func___builtin_labs_use" >&6
50901   if test x$glibcxx_cv_func___builtin_labs_use = x"yes"; then
50902     echo "$as_me:$LINENO: checking for __builtin_labs linkage" >&5
50903 echo $ECHO_N "checking for __builtin_labs linkage... $ECHO_C" >&6
50904     if test x${glibcxx_cv_func___builtin_labs_link+set} != xset; then
50905       if test "${glibcxx_cv_func___builtin_labs_link+set}" = set; then
50906   echo $ECHO_N "(cached) $ECHO_C" >&6
50907 else
50908
50909         if test x$gcc_no_link = xyes; then
50910   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
50911 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
50912    { (exit 1); exit 1; }; }
50913 fi
50914 cat >conftest.$ac_ext <<_ACEOF
50915 /* confdefs.h.  */
50916 _ACEOF
50917 cat confdefs.h >>conftest.$ac_ext
50918 cat >>conftest.$ac_ext <<_ACEOF
50919 /* end confdefs.h.  */
50920 #include <math.h>
50921 int
50922 main ()
50923 {
50924  __builtin_labs(0);
50925   ;
50926   return 0;
50927 }
50928 _ACEOF
50929 rm -f conftest.$ac_objext conftest$ac_exeext
50930 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
50931   (eval $ac_link) 2>conftest.er1
50932   ac_status=$?
50933   grep -v '^ *+' conftest.er1 >conftest.err
50934   rm -f conftest.er1
50935   cat conftest.err >&5
50936   echo "$as_me:$LINENO: \$? = $ac_status" >&5
50937   (exit $ac_status); } &&
50938          { ac_try='test -z "$ac_c_werror_flag"
50939                          || test ! -s conftest.err'
50940   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
50941   (eval $ac_try) 2>&5
50942   ac_status=$?
50943   echo "$as_me:$LINENO: \$? = $ac_status" >&5
50944   (exit $ac_status); }; } &&
50945          { ac_try='test -s conftest$ac_exeext'
50946   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
50947   (eval $ac_try) 2>&5
50948   ac_status=$?
50949   echo "$as_me:$LINENO: \$? = $ac_status" >&5
50950   (exit $ac_status); }; }; then
50951   glibcxx_cv_func___builtin_labs_link=yes
50952 else
50953   echo "$as_me: failed program was:" >&5
50954 sed 's/^/| /' conftest.$ac_ext >&5
50955
50956 glibcxx_cv_func___builtin_labs_link=no
50957 fi
50958 rm -f conftest.err conftest.$ac_objext \
50959       conftest$ac_exeext conftest.$ac_ext
50960
50961 fi
50962
50963     fi
50964     echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_labs_link" >&5
50965 echo "${ECHO_T}$glibcxx_cv_func___builtin_labs_link" >&6
50966
50967     if test x$glibcxx_cv_func___builtin_labs_link = x"yes"; then
50968
50969 cat >>confdefs.h <<\_ACEOF
50970 #define HAVE___BUILTIN_LABS 1
50971 _ACEOF
50972
50973     fi
50974
50975   fi
50976
50977
50978
50979   echo "$as_me:$LINENO: checking for __builtin_sqrtf declaration" >&5
50980 echo $ECHO_N "checking for __builtin_sqrtf declaration... $ECHO_C" >&6
50981   if test x${glibcxx_cv_func___builtin_sqrtf_use+set} != xset; then
50982     if test "${glibcxx_cv_func___builtin_sqrtf_use+set}" = set; then
50983   echo $ECHO_N "(cached) $ECHO_C" >&6
50984 else
50985
50986
50987
50988       ac_ext=cc
50989 ac_cpp='$CXXCPP $CPPFLAGS'
50990 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50991 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50992 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50993
50994       cat >conftest.$ac_ext <<_ACEOF
50995 /* confdefs.h.  */
50996 _ACEOF
50997 cat confdefs.h >>conftest.$ac_ext
50998 cat >>conftest.$ac_ext <<_ACEOF
50999 /* end confdefs.h.  */
51000 #include <math.h>
51001 int
51002 main ()
51003 {
51004  __builtin_sqrtf(0);
51005   ;
51006   return 0;
51007 }
51008 _ACEOF
51009 rm -f conftest.$ac_objext
51010 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
51011   (eval $ac_compile) 2>conftest.er1
51012   ac_status=$?
51013   grep -v '^ *+' conftest.er1 >conftest.err
51014   rm -f conftest.er1
51015   cat conftest.err >&5
51016   echo "$as_me:$LINENO: \$? = $ac_status" >&5
51017   (exit $ac_status); } &&
51018          { ac_try='test -z "$ac_cxx_werror_flag"
51019                          || test ! -s conftest.err'
51020   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
51021   (eval $ac_try) 2>&5
51022   ac_status=$?
51023   echo "$as_me:$LINENO: \$? = $ac_status" >&5
51024   (exit $ac_status); }; } &&
51025          { ac_try='test -s conftest.$ac_objext'
51026   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
51027   (eval $ac_try) 2>&5
51028   ac_status=$?
51029   echo "$as_me:$LINENO: \$? = $ac_status" >&5
51030   (exit $ac_status); }; }; then
51031   glibcxx_cv_func___builtin_sqrtf_use=yes
51032 else
51033   echo "$as_me: failed program was:" >&5
51034 sed 's/^/| /' conftest.$ac_ext >&5
51035
51036 glibcxx_cv_func___builtin_sqrtf_use=no
51037 fi
51038 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
51039       ac_ext=c
51040 ac_cpp='$CPP $CPPFLAGS'
51041 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51042 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51043 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51044
51045
51046 fi
51047
51048   fi
51049   echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sqrtf_use" >&5
51050 echo "${ECHO_T}$glibcxx_cv_func___builtin_sqrtf_use" >&6
51051   if test x$glibcxx_cv_func___builtin_sqrtf_use = x"yes"; then
51052     echo "$as_me:$LINENO: checking for __builtin_sqrtf linkage" >&5
51053 echo $ECHO_N "checking for __builtin_sqrtf linkage... $ECHO_C" >&6
51054     if test x${glibcxx_cv_func___builtin_sqrtf_link+set} != xset; then
51055       if test "${glibcxx_cv_func___builtin_sqrtf_link+set}" = set; then
51056   echo $ECHO_N "(cached) $ECHO_C" >&6
51057 else
51058
51059         if test x$gcc_no_link = xyes; then
51060   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
51061 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
51062    { (exit 1); exit 1; }; }
51063 fi
51064 cat >conftest.$ac_ext <<_ACEOF
51065 /* confdefs.h.  */
51066 _ACEOF
51067 cat confdefs.h >>conftest.$ac_ext
51068 cat >>conftest.$ac_ext <<_ACEOF
51069 /* end confdefs.h.  */
51070 #include <math.h>
51071 int
51072 main ()
51073 {
51074  __builtin_sqrtf(0);
51075   ;
51076   return 0;
51077 }
51078 _ACEOF
51079 rm -f conftest.$ac_objext conftest$ac_exeext
51080 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
51081   (eval $ac_link) 2>conftest.er1
51082   ac_status=$?
51083   grep -v '^ *+' conftest.er1 >conftest.err
51084   rm -f conftest.er1
51085   cat conftest.err >&5
51086   echo "$as_me:$LINENO: \$? = $ac_status" >&5
51087   (exit $ac_status); } &&
51088          { ac_try='test -z "$ac_c_werror_flag"
51089                          || test ! -s conftest.err'
51090   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
51091   (eval $ac_try) 2>&5
51092   ac_status=$?
51093   echo "$as_me:$LINENO: \$? = $ac_status" >&5
51094   (exit $ac_status); }; } &&
51095          { ac_try='test -s conftest$ac_exeext'
51096   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
51097   (eval $ac_try) 2>&5
51098   ac_status=$?
51099   echo "$as_me:$LINENO: \$? = $ac_status" >&5
51100   (exit $ac_status); }; }; then
51101   glibcxx_cv_func___builtin_sqrtf_link=yes
51102 else
51103   echo "$as_me: failed program was:" >&5
51104 sed 's/^/| /' conftest.$ac_ext >&5
51105
51106 glibcxx_cv_func___builtin_sqrtf_link=no
51107 fi
51108 rm -f conftest.err conftest.$ac_objext \
51109       conftest$ac_exeext conftest.$ac_ext
51110
51111 fi
51112
51113     fi
51114     echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sqrtf_link" >&5
51115 echo "${ECHO_T}$glibcxx_cv_func___builtin_sqrtf_link" >&6
51116
51117     if test x$glibcxx_cv_func___builtin_sqrtf_link = x"yes"; then
51118
51119 cat >>confdefs.h <<\_ACEOF
51120 #define HAVE___BUILTIN_SQRTF 1
51121 _ACEOF
51122
51123     fi
51124
51125   fi
51126
51127
51128   echo "$as_me:$LINENO: checking for __builtin_sqrt declaration" >&5
51129 echo $ECHO_N "checking for __builtin_sqrt declaration... $ECHO_C" >&6
51130   if test x${glibcxx_cv_func___builtin_sqrt_use+set} != xset; then
51131     if test "${glibcxx_cv_func___builtin_sqrt_use+set}" = set; then
51132   echo $ECHO_N "(cached) $ECHO_C" >&6
51133 else
51134
51135
51136
51137       ac_ext=cc
51138 ac_cpp='$CXXCPP $CPPFLAGS'
51139 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51140 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51141 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51142
51143       cat >conftest.$ac_ext <<_ACEOF
51144 /* confdefs.h.  */
51145 _ACEOF
51146 cat confdefs.h >>conftest.$ac_ext
51147 cat >>conftest.$ac_ext <<_ACEOF
51148 /* end confdefs.h.  */
51149 #include <math.h>
51150 int
51151 main ()
51152 {
51153  __builtin_sqrt(0);
51154   ;
51155   return 0;
51156 }
51157 _ACEOF
51158 rm -f conftest.$ac_objext
51159 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
51160   (eval $ac_compile) 2>conftest.er1
51161   ac_status=$?
51162   grep -v '^ *+' conftest.er1 >conftest.err
51163   rm -f conftest.er1
51164   cat conftest.err >&5
51165   echo "$as_me:$LINENO: \$? = $ac_status" >&5
51166   (exit $ac_status); } &&
51167          { ac_try='test -z "$ac_cxx_werror_flag"
51168                          || test ! -s conftest.err'
51169   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
51170   (eval $ac_try) 2>&5
51171   ac_status=$?
51172   echo "$as_me:$LINENO: \$? = $ac_status" >&5
51173   (exit $ac_status); }; } &&
51174          { ac_try='test -s conftest.$ac_objext'
51175   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
51176   (eval $ac_try) 2>&5
51177   ac_status=$?
51178   echo "$as_me:$LINENO: \$? = $ac_status" >&5
51179   (exit $ac_status); }; }; then
51180   glibcxx_cv_func___builtin_sqrt_use=yes
51181 else
51182   echo "$as_me: failed program was:" >&5
51183 sed 's/^/| /' conftest.$ac_ext >&5
51184
51185 glibcxx_cv_func___builtin_sqrt_use=no
51186 fi
51187 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
51188       ac_ext=c
51189 ac_cpp='$CPP $CPPFLAGS'
51190 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51191 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51192 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51193
51194
51195 fi
51196
51197   fi
51198   echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sqrt_use" >&5
51199 echo "${ECHO_T}$glibcxx_cv_func___builtin_sqrt_use" >&6
51200   if test x$glibcxx_cv_func___builtin_sqrt_use = x"yes"; then
51201     echo "$as_me:$LINENO: checking for __builtin_sqrt linkage" >&5
51202 echo $ECHO_N "checking for __builtin_sqrt linkage... $ECHO_C" >&6
51203     if test x${glibcxx_cv_func___builtin_sqrt_link+set} != xset; then
51204       if test "${glibcxx_cv_func___builtin_sqrt_link+set}" = set; then
51205   echo $ECHO_N "(cached) $ECHO_C" >&6
51206 else
51207
51208         if test x$gcc_no_link = xyes; then
51209   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
51210 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
51211    { (exit 1); exit 1; }; }
51212 fi
51213 cat >conftest.$ac_ext <<_ACEOF
51214 /* confdefs.h.  */
51215 _ACEOF
51216 cat confdefs.h >>conftest.$ac_ext
51217 cat >>conftest.$ac_ext <<_ACEOF
51218 /* end confdefs.h.  */
51219 #include <math.h>
51220 int
51221 main ()
51222 {
51223  __builtin_sqrt(0);
51224   ;
51225   return 0;
51226 }
51227 _ACEOF
51228 rm -f conftest.$ac_objext conftest$ac_exeext
51229 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
51230   (eval $ac_link) 2>conftest.er1
51231   ac_status=$?
51232   grep -v '^ *+' conftest.er1 >conftest.err
51233   rm -f conftest.er1
51234   cat conftest.err >&5
51235   echo "$as_me:$LINENO: \$? = $ac_status" >&5
51236   (exit $ac_status); } &&
51237          { ac_try='test -z "$ac_c_werror_flag"
51238                          || test ! -s conftest.err'
51239   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
51240   (eval $ac_try) 2>&5
51241   ac_status=$?
51242   echo "$as_me:$LINENO: \$? = $ac_status" >&5
51243   (exit $ac_status); }; } &&
51244          { ac_try='test -s conftest$ac_exeext'
51245   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
51246   (eval $ac_try) 2>&5
51247   ac_status=$?
51248   echo "$as_me:$LINENO: \$? = $ac_status" >&5
51249   (exit $ac_status); }; }; then
51250   glibcxx_cv_func___builtin_sqrt_link=yes
51251 else
51252   echo "$as_me: failed program was:" >&5
51253 sed 's/^/| /' conftest.$ac_ext >&5
51254
51255 glibcxx_cv_func___builtin_sqrt_link=no
51256 fi
51257 rm -f conftest.err conftest.$ac_objext \
51258       conftest$ac_exeext conftest.$ac_ext
51259
51260 fi
51261
51262     fi
51263     echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sqrt_link" >&5
51264 echo "${ECHO_T}$glibcxx_cv_func___builtin_sqrt_link" >&6
51265
51266     if test x$glibcxx_cv_func___builtin_sqrt_link = x"yes"; then
51267
51268 cat >>confdefs.h <<\_ACEOF
51269 #define HAVE___BUILTIN_SQRT 1
51270 _ACEOF
51271
51272     fi
51273
51274   fi
51275
51276
51277   echo "$as_me:$LINENO: checking for __builtin_sqrtl declaration" >&5
51278 echo $ECHO_N "checking for __builtin_sqrtl declaration... $ECHO_C" >&6
51279   if test x${glibcxx_cv_func___builtin_sqrtl_use+set} != xset; then
51280     if test "${glibcxx_cv_func___builtin_sqrtl_use+set}" = set; then
51281   echo $ECHO_N "(cached) $ECHO_C" >&6
51282 else
51283
51284
51285
51286       ac_ext=cc
51287 ac_cpp='$CXXCPP $CPPFLAGS'
51288 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51289 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51290 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51291
51292       cat >conftest.$ac_ext <<_ACEOF
51293 /* confdefs.h.  */
51294 _ACEOF
51295 cat confdefs.h >>conftest.$ac_ext
51296 cat >>conftest.$ac_ext <<_ACEOF
51297 /* end confdefs.h.  */
51298 #include <math.h>
51299 int
51300 main ()
51301 {
51302  __builtin_sqrtl(0);
51303   ;
51304   return 0;
51305 }
51306 _ACEOF
51307 rm -f conftest.$ac_objext
51308 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
51309   (eval $ac_compile) 2>conftest.er1
51310   ac_status=$?
51311   grep -v '^ *+' conftest.er1 >conftest.err
51312   rm -f conftest.er1
51313   cat conftest.err >&5
51314   echo "$as_me:$LINENO: \$? = $ac_status" >&5
51315   (exit $ac_status); } &&
51316          { ac_try='test -z "$ac_cxx_werror_flag"
51317                          || test ! -s conftest.err'
51318   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
51319   (eval $ac_try) 2>&5
51320   ac_status=$?
51321   echo "$as_me:$LINENO: \$? = $ac_status" >&5
51322   (exit $ac_status); }; } &&
51323          { ac_try='test -s conftest.$ac_objext'
51324   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
51325   (eval $ac_try) 2>&5
51326   ac_status=$?
51327   echo "$as_me:$LINENO: \$? = $ac_status" >&5
51328   (exit $ac_status); }; }; then
51329   glibcxx_cv_func___builtin_sqrtl_use=yes
51330 else
51331   echo "$as_me: failed program was:" >&5
51332 sed 's/^/| /' conftest.$ac_ext >&5
51333
51334 glibcxx_cv_func___builtin_sqrtl_use=no
51335 fi
51336 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
51337       ac_ext=c
51338 ac_cpp='$CPP $CPPFLAGS'
51339 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51340 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51341 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51342
51343
51344 fi
51345
51346   fi
51347   echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sqrtl_use" >&5
51348 echo "${ECHO_T}$glibcxx_cv_func___builtin_sqrtl_use" >&6
51349   if test x$glibcxx_cv_func___builtin_sqrtl_use = x"yes"; then
51350     echo "$as_me:$LINENO: checking for __builtin_sqrtl linkage" >&5
51351 echo $ECHO_N "checking for __builtin_sqrtl linkage... $ECHO_C" >&6
51352     if test x${glibcxx_cv_func___builtin_sqrtl_link+set} != xset; then
51353       if test "${glibcxx_cv_func___builtin_sqrtl_link+set}" = set; then
51354   echo $ECHO_N "(cached) $ECHO_C" >&6
51355 else
51356
51357         if test x$gcc_no_link = xyes; then
51358   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
51359 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
51360    { (exit 1); exit 1; }; }
51361 fi
51362 cat >conftest.$ac_ext <<_ACEOF
51363 /* confdefs.h.  */
51364 _ACEOF
51365 cat confdefs.h >>conftest.$ac_ext
51366 cat >>conftest.$ac_ext <<_ACEOF
51367 /* end confdefs.h.  */
51368 #include <math.h>
51369 int
51370 main ()
51371 {
51372  __builtin_sqrtl(0);
51373   ;
51374   return 0;
51375 }
51376 _ACEOF
51377 rm -f conftest.$ac_objext conftest$ac_exeext
51378 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
51379   (eval $ac_link) 2>conftest.er1
51380   ac_status=$?
51381   grep -v '^ *+' conftest.er1 >conftest.err
51382   rm -f conftest.er1
51383   cat conftest.err >&5
51384   echo "$as_me:$LINENO: \$? = $ac_status" >&5
51385   (exit $ac_status); } &&
51386          { ac_try='test -z "$ac_c_werror_flag"
51387                          || test ! -s conftest.err'
51388   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
51389   (eval $ac_try) 2>&5
51390   ac_status=$?
51391   echo "$as_me:$LINENO: \$? = $ac_status" >&5
51392   (exit $ac_status); }; } &&
51393          { ac_try='test -s conftest$ac_exeext'
51394   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
51395   (eval $ac_try) 2>&5
51396   ac_status=$?
51397   echo "$as_me:$LINENO: \$? = $ac_status" >&5
51398   (exit $ac_status); }; }; then
51399   glibcxx_cv_func___builtin_sqrtl_link=yes
51400 else
51401   echo "$as_me: failed program was:" >&5
51402 sed 's/^/| /' conftest.$ac_ext >&5
51403
51404 glibcxx_cv_func___builtin_sqrtl_link=no
51405 fi
51406 rm -f conftest.err conftest.$ac_objext \
51407       conftest$ac_exeext conftest.$ac_ext
51408
51409 fi
51410
51411     fi
51412     echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sqrtl_link" >&5
51413 echo "${ECHO_T}$glibcxx_cv_func___builtin_sqrtl_link" >&6
51414
51415     if test x$glibcxx_cv_func___builtin_sqrtl_link = x"yes"; then
51416
51417 cat >>confdefs.h <<\_ACEOF
51418 #define HAVE___BUILTIN_SQRTL 1
51419 _ACEOF
51420
51421     fi
51422
51423   fi
51424
51425
51426
51427   echo "$as_me:$LINENO: checking for __builtin_sinf declaration" >&5
51428 echo $ECHO_N "checking for __builtin_sinf declaration... $ECHO_C" >&6
51429   if test x${glibcxx_cv_func___builtin_sinf_use+set} != xset; then
51430     if test "${glibcxx_cv_func___builtin_sinf_use+set}" = set; then
51431   echo $ECHO_N "(cached) $ECHO_C" >&6
51432 else
51433
51434
51435
51436       ac_ext=cc
51437 ac_cpp='$CXXCPP $CPPFLAGS'
51438 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51439 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51440 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51441
51442       cat >conftest.$ac_ext <<_ACEOF
51443 /* confdefs.h.  */
51444 _ACEOF
51445 cat confdefs.h >>conftest.$ac_ext
51446 cat >>conftest.$ac_ext <<_ACEOF
51447 /* end confdefs.h.  */
51448 #include <math.h>
51449 int
51450 main ()
51451 {
51452  __builtin_sinf(0);
51453   ;
51454   return 0;
51455 }
51456 _ACEOF
51457 rm -f conftest.$ac_objext
51458 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
51459   (eval $ac_compile) 2>conftest.er1
51460   ac_status=$?
51461   grep -v '^ *+' conftest.er1 >conftest.err
51462   rm -f conftest.er1
51463   cat conftest.err >&5
51464   echo "$as_me:$LINENO: \$? = $ac_status" >&5
51465   (exit $ac_status); } &&
51466          { ac_try='test -z "$ac_cxx_werror_flag"
51467                          || test ! -s conftest.err'
51468   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
51469   (eval $ac_try) 2>&5
51470   ac_status=$?
51471   echo "$as_me:$LINENO: \$? = $ac_status" >&5
51472   (exit $ac_status); }; } &&
51473          { ac_try='test -s conftest.$ac_objext'
51474   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
51475   (eval $ac_try) 2>&5
51476   ac_status=$?
51477   echo "$as_me:$LINENO: \$? = $ac_status" >&5
51478   (exit $ac_status); }; }; then
51479   glibcxx_cv_func___builtin_sinf_use=yes
51480 else
51481   echo "$as_me: failed program was:" >&5
51482 sed 's/^/| /' conftest.$ac_ext >&5
51483
51484 glibcxx_cv_func___builtin_sinf_use=no
51485 fi
51486 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
51487       ac_ext=c
51488 ac_cpp='$CPP $CPPFLAGS'
51489 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51490 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51491 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51492
51493
51494 fi
51495
51496   fi
51497   echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sinf_use" >&5
51498 echo "${ECHO_T}$glibcxx_cv_func___builtin_sinf_use" >&6
51499   if test x$glibcxx_cv_func___builtin_sinf_use = x"yes"; then
51500     echo "$as_me:$LINENO: checking for __builtin_sinf linkage" >&5
51501 echo $ECHO_N "checking for __builtin_sinf linkage... $ECHO_C" >&6
51502     if test x${glibcxx_cv_func___builtin_sinf_link+set} != xset; then
51503       if test "${glibcxx_cv_func___builtin_sinf_link+set}" = set; then
51504   echo $ECHO_N "(cached) $ECHO_C" >&6
51505 else
51506
51507         if test x$gcc_no_link = xyes; then
51508   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
51509 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
51510    { (exit 1); exit 1; }; }
51511 fi
51512 cat >conftest.$ac_ext <<_ACEOF
51513 /* confdefs.h.  */
51514 _ACEOF
51515 cat confdefs.h >>conftest.$ac_ext
51516 cat >>conftest.$ac_ext <<_ACEOF
51517 /* end confdefs.h.  */
51518 #include <math.h>
51519 int
51520 main ()
51521 {
51522  __builtin_sinf(0);
51523   ;
51524   return 0;
51525 }
51526 _ACEOF
51527 rm -f conftest.$ac_objext conftest$ac_exeext
51528 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
51529   (eval $ac_link) 2>conftest.er1
51530   ac_status=$?
51531   grep -v '^ *+' conftest.er1 >conftest.err
51532   rm -f conftest.er1
51533   cat conftest.err >&5
51534   echo "$as_me:$LINENO: \$? = $ac_status" >&5
51535   (exit $ac_status); } &&
51536          { ac_try='test -z "$ac_c_werror_flag"
51537                          || test ! -s conftest.err'
51538   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
51539   (eval $ac_try) 2>&5
51540   ac_status=$?
51541   echo "$as_me:$LINENO: \$? = $ac_status" >&5
51542   (exit $ac_status); }; } &&
51543          { ac_try='test -s conftest$ac_exeext'
51544   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
51545   (eval $ac_try) 2>&5
51546   ac_status=$?
51547   echo "$as_me:$LINENO: \$? = $ac_status" >&5
51548   (exit $ac_status); }; }; then
51549   glibcxx_cv_func___builtin_sinf_link=yes
51550 else
51551   echo "$as_me: failed program was:" >&5
51552 sed 's/^/| /' conftest.$ac_ext >&5
51553
51554 glibcxx_cv_func___builtin_sinf_link=no
51555 fi
51556 rm -f conftest.err conftest.$ac_objext \
51557       conftest$ac_exeext conftest.$ac_ext
51558
51559 fi
51560
51561     fi
51562     echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sinf_link" >&5
51563 echo "${ECHO_T}$glibcxx_cv_func___builtin_sinf_link" >&6
51564
51565     if test x$glibcxx_cv_func___builtin_sinf_link = x"yes"; then
51566
51567 cat >>confdefs.h <<\_ACEOF
51568 #define HAVE___BUILTIN_SINF 1
51569 _ACEOF
51570
51571     fi
51572
51573   fi
51574
51575
51576   echo "$as_me:$LINENO: checking for __builtin_sin declaration" >&5
51577 echo $ECHO_N "checking for __builtin_sin declaration... $ECHO_C" >&6
51578   if test x${glibcxx_cv_func___builtin_sin_use+set} != xset; then
51579     if test "${glibcxx_cv_func___builtin_sin_use+set}" = set; then
51580   echo $ECHO_N "(cached) $ECHO_C" >&6
51581 else
51582
51583
51584
51585       ac_ext=cc
51586 ac_cpp='$CXXCPP $CPPFLAGS'
51587 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51588 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51589 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51590
51591       cat >conftest.$ac_ext <<_ACEOF
51592 /* confdefs.h.  */
51593 _ACEOF
51594 cat confdefs.h >>conftest.$ac_ext
51595 cat >>conftest.$ac_ext <<_ACEOF
51596 /* end confdefs.h.  */
51597 #include <math.h>
51598 int
51599 main ()
51600 {
51601  __builtin_sin(0);
51602   ;
51603   return 0;
51604 }
51605 _ACEOF
51606 rm -f conftest.$ac_objext
51607 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
51608   (eval $ac_compile) 2>conftest.er1
51609   ac_status=$?
51610   grep -v '^ *+' conftest.er1 >conftest.err
51611   rm -f conftest.er1
51612   cat conftest.err >&5
51613   echo "$as_me:$LINENO: \$? = $ac_status" >&5
51614   (exit $ac_status); } &&
51615          { ac_try='test -z "$ac_cxx_werror_flag"
51616                          || test ! -s conftest.err'
51617   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
51618   (eval $ac_try) 2>&5
51619   ac_status=$?
51620   echo "$as_me:$LINENO: \$? = $ac_status" >&5
51621   (exit $ac_status); }; } &&
51622          { ac_try='test -s conftest.$ac_objext'
51623   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
51624   (eval $ac_try) 2>&5
51625   ac_status=$?
51626   echo "$as_me:$LINENO: \$? = $ac_status" >&5
51627   (exit $ac_status); }; }; then
51628   glibcxx_cv_func___builtin_sin_use=yes
51629 else
51630   echo "$as_me: failed program was:" >&5
51631 sed 's/^/| /' conftest.$ac_ext >&5
51632
51633 glibcxx_cv_func___builtin_sin_use=no
51634 fi
51635 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
51636       ac_ext=c
51637 ac_cpp='$CPP $CPPFLAGS'
51638 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51639 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51640 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51641
51642
51643 fi
51644
51645   fi
51646   echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sin_use" >&5
51647 echo "${ECHO_T}$glibcxx_cv_func___builtin_sin_use" >&6
51648   if test x$glibcxx_cv_func___builtin_sin_use = x"yes"; then
51649     echo "$as_me:$LINENO: checking for __builtin_sin linkage" >&5
51650 echo $ECHO_N "checking for __builtin_sin linkage... $ECHO_C" >&6
51651     if test x${glibcxx_cv_func___builtin_sin_link+set} != xset; then
51652       if test "${glibcxx_cv_func___builtin_sin_link+set}" = set; then
51653   echo $ECHO_N "(cached) $ECHO_C" >&6
51654 else
51655
51656         if test x$gcc_no_link = xyes; then
51657   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
51658 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
51659    { (exit 1); exit 1; }; }
51660 fi
51661 cat >conftest.$ac_ext <<_ACEOF
51662 /* confdefs.h.  */
51663 _ACEOF
51664 cat confdefs.h >>conftest.$ac_ext
51665 cat >>conftest.$ac_ext <<_ACEOF
51666 /* end confdefs.h.  */
51667 #include <math.h>
51668 int
51669 main ()
51670 {
51671  __builtin_sin(0);
51672   ;
51673   return 0;
51674 }
51675 _ACEOF
51676 rm -f conftest.$ac_objext conftest$ac_exeext
51677 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
51678   (eval $ac_link) 2>conftest.er1
51679   ac_status=$?
51680   grep -v '^ *+' conftest.er1 >conftest.err
51681   rm -f conftest.er1
51682   cat conftest.err >&5
51683   echo "$as_me:$LINENO: \$? = $ac_status" >&5
51684   (exit $ac_status); } &&
51685          { ac_try='test -z "$ac_c_werror_flag"
51686                          || test ! -s conftest.err'
51687   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
51688   (eval $ac_try) 2>&5
51689   ac_status=$?
51690   echo "$as_me:$LINENO: \$? = $ac_status" >&5
51691   (exit $ac_status); }; } &&
51692          { ac_try='test -s conftest$ac_exeext'
51693   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
51694   (eval $ac_try) 2>&5
51695   ac_status=$?
51696   echo "$as_me:$LINENO: \$? = $ac_status" >&5
51697   (exit $ac_status); }; }; then
51698   glibcxx_cv_func___builtin_sin_link=yes
51699 else
51700   echo "$as_me: failed program was:" >&5
51701 sed 's/^/| /' conftest.$ac_ext >&5
51702
51703 glibcxx_cv_func___builtin_sin_link=no
51704 fi
51705 rm -f conftest.err conftest.$ac_objext \
51706       conftest$ac_exeext conftest.$ac_ext
51707
51708 fi
51709
51710     fi
51711     echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sin_link" >&5
51712 echo "${ECHO_T}$glibcxx_cv_func___builtin_sin_link" >&6
51713
51714     if test x$glibcxx_cv_func___builtin_sin_link = x"yes"; then
51715
51716 cat >>confdefs.h <<\_ACEOF
51717 #define HAVE___BUILTIN_SIN 1
51718 _ACEOF
51719
51720     fi
51721
51722   fi
51723
51724
51725   echo "$as_me:$LINENO: checking for __builtin_sinl declaration" >&5
51726 echo $ECHO_N "checking for __builtin_sinl declaration... $ECHO_C" >&6
51727   if test x${glibcxx_cv_func___builtin_sinl_use+set} != xset; then
51728     if test "${glibcxx_cv_func___builtin_sinl_use+set}" = set; then
51729   echo $ECHO_N "(cached) $ECHO_C" >&6
51730 else
51731
51732
51733
51734       ac_ext=cc
51735 ac_cpp='$CXXCPP $CPPFLAGS'
51736 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51737 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51738 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51739
51740       cat >conftest.$ac_ext <<_ACEOF
51741 /* confdefs.h.  */
51742 _ACEOF
51743 cat confdefs.h >>conftest.$ac_ext
51744 cat >>conftest.$ac_ext <<_ACEOF
51745 /* end confdefs.h.  */
51746 #include <math.h>
51747 int
51748 main ()
51749 {
51750  __builtin_sinl(0);
51751   ;
51752   return 0;
51753 }
51754 _ACEOF
51755 rm -f conftest.$ac_objext
51756 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
51757   (eval $ac_compile) 2>conftest.er1
51758   ac_status=$?
51759   grep -v '^ *+' conftest.er1 >conftest.err
51760   rm -f conftest.er1
51761   cat conftest.err >&5
51762   echo "$as_me:$LINENO: \$? = $ac_status" >&5
51763   (exit $ac_status); } &&
51764          { ac_try='test -z "$ac_cxx_werror_flag"
51765                          || test ! -s conftest.err'
51766   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
51767   (eval $ac_try) 2>&5
51768   ac_status=$?
51769   echo "$as_me:$LINENO: \$? = $ac_status" >&5
51770   (exit $ac_status); }; } &&
51771          { ac_try='test -s conftest.$ac_objext'
51772   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
51773   (eval $ac_try) 2>&5
51774   ac_status=$?
51775   echo "$as_me:$LINENO: \$? = $ac_status" >&5
51776   (exit $ac_status); }; }; then
51777   glibcxx_cv_func___builtin_sinl_use=yes
51778 else
51779   echo "$as_me: failed program was:" >&5
51780 sed 's/^/| /' conftest.$ac_ext >&5
51781
51782 glibcxx_cv_func___builtin_sinl_use=no
51783 fi
51784 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
51785       ac_ext=c
51786 ac_cpp='$CPP $CPPFLAGS'
51787 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51788 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51789 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51790
51791
51792 fi
51793
51794   fi
51795   echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sinl_use" >&5
51796 echo "${ECHO_T}$glibcxx_cv_func___builtin_sinl_use" >&6
51797   if test x$glibcxx_cv_func___builtin_sinl_use = x"yes"; then
51798     echo "$as_me:$LINENO: checking for __builtin_sinl linkage" >&5
51799 echo $ECHO_N "checking for __builtin_sinl linkage... $ECHO_C" >&6
51800     if test x${glibcxx_cv_func___builtin_sinl_link+set} != xset; then
51801       if test "${glibcxx_cv_func___builtin_sinl_link+set}" = set; then
51802   echo $ECHO_N "(cached) $ECHO_C" >&6
51803 else
51804
51805         if test x$gcc_no_link = xyes; then
51806   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
51807 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
51808    { (exit 1); exit 1; }; }
51809 fi
51810 cat >conftest.$ac_ext <<_ACEOF
51811 /* confdefs.h.  */
51812 _ACEOF
51813 cat confdefs.h >>conftest.$ac_ext
51814 cat >>conftest.$ac_ext <<_ACEOF
51815 /* end confdefs.h.  */
51816 #include <math.h>
51817 int
51818 main ()
51819 {
51820  __builtin_sinl(0);
51821   ;
51822   return 0;
51823 }
51824 _ACEOF
51825 rm -f conftest.$ac_objext conftest$ac_exeext
51826 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
51827   (eval $ac_link) 2>conftest.er1
51828   ac_status=$?
51829   grep -v '^ *+' conftest.er1 >conftest.err
51830   rm -f conftest.er1
51831   cat conftest.err >&5
51832   echo "$as_me:$LINENO: \$? = $ac_status" >&5
51833   (exit $ac_status); } &&
51834          { ac_try='test -z "$ac_c_werror_flag"
51835                          || test ! -s conftest.err'
51836   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
51837   (eval $ac_try) 2>&5
51838   ac_status=$?
51839   echo "$as_me:$LINENO: \$? = $ac_status" >&5
51840   (exit $ac_status); }; } &&
51841          { ac_try='test -s conftest$ac_exeext'
51842   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
51843   (eval $ac_try) 2>&5
51844   ac_status=$?
51845   echo "$as_me:$LINENO: \$? = $ac_status" >&5
51846   (exit $ac_status); }; }; then
51847   glibcxx_cv_func___builtin_sinl_link=yes
51848 else
51849   echo "$as_me: failed program was:" >&5
51850 sed 's/^/| /' conftest.$ac_ext >&5
51851
51852 glibcxx_cv_func___builtin_sinl_link=no
51853 fi
51854 rm -f conftest.err conftest.$ac_objext \
51855       conftest$ac_exeext conftest.$ac_ext
51856
51857 fi
51858
51859     fi
51860     echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sinl_link" >&5
51861 echo "${ECHO_T}$glibcxx_cv_func___builtin_sinl_link" >&6
51862
51863     if test x$glibcxx_cv_func___builtin_sinl_link = x"yes"; then
51864
51865 cat >>confdefs.h <<\_ACEOF
51866 #define HAVE___BUILTIN_SINL 1
51867 _ACEOF
51868
51869     fi
51870
51871   fi
51872
51873
51874
51875   echo "$as_me:$LINENO: checking for __builtin_cosf declaration" >&5
51876 echo $ECHO_N "checking for __builtin_cosf declaration... $ECHO_C" >&6
51877   if test x${glibcxx_cv_func___builtin_cosf_use+set} != xset; then
51878     if test "${glibcxx_cv_func___builtin_cosf_use+set}" = set; then
51879   echo $ECHO_N "(cached) $ECHO_C" >&6
51880 else
51881
51882
51883
51884       ac_ext=cc
51885 ac_cpp='$CXXCPP $CPPFLAGS'
51886 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51887 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51888 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51889
51890       cat >conftest.$ac_ext <<_ACEOF
51891 /* confdefs.h.  */
51892 _ACEOF
51893 cat confdefs.h >>conftest.$ac_ext
51894 cat >>conftest.$ac_ext <<_ACEOF
51895 /* end confdefs.h.  */
51896 #include <math.h>
51897 int
51898 main ()
51899 {
51900  __builtin_cosf(0);
51901   ;
51902   return 0;
51903 }
51904 _ACEOF
51905 rm -f conftest.$ac_objext
51906 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
51907   (eval $ac_compile) 2>conftest.er1
51908   ac_status=$?
51909   grep -v '^ *+' conftest.er1 >conftest.err
51910   rm -f conftest.er1
51911   cat conftest.err >&5
51912   echo "$as_me:$LINENO: \$? = $ac_status" >&5
51913   (exit $ac_status); } &&
51914          { ac_try='test -z "$ac_cxx_werror_flag"
51915                          || test ! -s conftest.err'
51916   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
51917   (eval $ac_try) 2>&5
51918   ac_status=$?
51919   echo "$as_me:$LINENO: \$? = $ac_status" >&5
51920   (exit $ac_status); }; } &&
51921          { ac_try='test -s conftest.$ac_objext'
51922   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
51923   (eval $ac_try) 2>&5
51924   ac_status=$?
51925   echo "$as_me:$LINENO: \$? = $ac_status" >&5
51926   (exit $ac_status); }; }; then
51927   glibcxx_cv_func___builtin_cosf_use=yes
51928 else
51929   echo "$as_me: failed program was:" >&5
51930 sed 's/^/| /' conftest.$ac_ext >&5
51931
51932 glibcxx_cv_func___builtin_cosf_use=no
51933 fi
51934 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
51935       ac_ext=c
51936 ac_cpp='$CPP $CPPFLAGS'
51937 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51938 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51939 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51940
51941
51942 fi
51943
51944   fi
51945   echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_cosf_use" >&5
51946 echo "${ECHO_T}$glibcxx_cv_func___builtin_cosf_use" >&6
51947   if test x$glibcxx_cv_func___builtin_cosf_use = x"yes"; then
51948     echo "$as_me:$LINENO: checking for __builtin_cosf linkage" >&5
51949 echo $ECHO_N "checking for __builtin_cosf linkage... $ECHO_C" >&6
51950     if test x${glibcxx_cv_func___builtin_cosf_link+set} != xset; then
51951       if test "${glibcxx_cv_func___builtin_cosf_link+set}" = set; then
51952   echo $ECHO_N "(cached) $ECHO_C" >&6
51953 else
51954
51955         if test x$gcc_no_link = xyes; then
51956   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
51957 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
51958    { (exit 1); exit 1; }; }
51959 fi
51960 cat >conftest.$ac_ext <<_ACEOF
51961 /* confdefs.h.  */
51962 _ACEOF
51963 cat confdefs.h >>conftest.$ac_ext
51964 cat >>conftest.$ac_ext <<_ACEOF
51965 /* end confdefs.h.  */
51966 #include <math.h>
51967 int
51968 main ()
51969 {
51970  __builtin_cosf(0);
51971   ;
51972   return 0;
51973 }
51974 _ACEOF
51975 rm -f conftest.$ac_objext conftest$ac_exeext
51976 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
51977   (eval $ac_link) 2>conftest.er1
51978   ac_status=$?
51979   grep -v '^ *+' conftest.er1 >conftest.err
51980   rm -f conftest.er1
51981   cat conftest.err >&5
51982   echo "$as_me:$LINENO: \$? = $ac_status" >&5
51983   (exit $ac_status); } &&
51984          { ac_try='test -z "$ac_c_werror_flag"
51985                          || test ! -s conftest.err'
51986   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
51987   (eval $ac_try) 2>&5
51988   ac_status=$?
51989   echo "$as_me:$LINENO: \$? = $ac_status" >&5
51990   (exit $ac_status); }; } &&
51991          { ac_try='test -s conftest$ac_exeext'
51992   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
51993   (eval $ac_try) 2>&5
51994   ac_status=$?
51995   echo "$as_me:$LINENO: \$? = $ac_status" >&5
51996   (exit $ac_status); }; }; then
51997   glibcxx_cv_func___builtin_cosf_link=yes
51998 else
51999   echo "$as_me: failed program was:" >&5
52000 sed 's/^/| /' conftest.$ac_ext >&5
52001
52002 glibcxx_cv_func___builtin_cosf_link=no
52003 fi
52004 rm -f conftest.err conftest.$ac_objext \
52005       conftest$ac_exeext conftest.$ac_ext
52006
52007 fi
52008
52009     fi
52010     echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_cosf_link" >&5
52011 echo "${ECHO_T}$glibcxx_cv_func___builtin_cosf_link" >&6
52012
52013     if test x$glibcxx_cv_func___builtin_cosf_link = x"yes"; then
52014
52015 cat >>confdefs.h <<\_ACEOF
52016 #define HAVE___BUILTIN_COSF 1
52017 _ACEOF
52018
52019     fi
52020
52021   fi
52022
52023
52024   echo "$as_me:$LINENO: checking for __builtin_cos declaration" >&5
52025 echo $ECHO_N "checking for __builtin_cos declaration... $ECHO_C" >&6
52026   if test x${glibcxx_cv_func___builtin_cos_use+set} != xset; then
52027     if test "${glibcxx_cv_func___builtin_cos_use+set}" = set; then
52028   echo $ECHO_N "(cached) $ECHO_C" >&6
52029 else
52030
52031
52032
52033       ac_ext=cc
52034 ac_cpp='$CXXCPP $CPPFLAGS'
52035 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52036 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52037 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52038
52039       cat >conftest.$ac_ext <<_ACEOF
52040 /* confdefs.h.  */
52041 _ACEOF
52042 cat confdefs.h >>conftest.$ac_ext
52043 cat >>conftest.$ac_ext <<_ACEOF
52044 /* end confdefs.h.  */
52045 #include <math.h>
52046 int
52047 main ()
52048 {
52049  __builtin_cos(0);
52050   ;
52051   return 0;
52052 }
52053 _ACEOF
52054 rm -f conftest.$ac_objext
52055 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
52056   (eval $ac_compile) 2>conftest.er1
52057   ac_status=$?
52058   grep -v '^ *+' conftest.er1 >conftest.err
52059   rm -f conftest.er1
52060   cat conftest.err >&5
52061   echo "$as_me:$LINENO: \$? = $ac_status" >&5
52062   (exit $ac_status); } &&
52063          { ac_try='test -z "$ac_cxx_werror_flag"
52064                          || test ! -s conftest.err'
52065   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
52066   (eval $ac_try) 2>&5
52067   ac_status=$?
52068   echo "$as_me:$LINENO: \$? = $ac_status" >&5
52069   (exit $ac_status); }; } &&
52070          { ac_try='test -s conftest.$ac_objext'
52071   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
52072   (eval $ac_try) 2>&5
52073   ac_status=$?
52074   echo "$as_me:$LINENO: \$? = $ac_status" >&5
52075   (exit $ac_status); }; }; then
52076   glibcxx_cv_func___builtin_cos_use=yes
52077 else
52078   echo "$as_me: failed program was:" >&5
52079 sed 's/^/| /' conftest.$ac_ext >&5
52080
52081 glibcxx_cv_func___builtin_cos_use=no
52082 fi
52083 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
52084       ac_ext=c
52085 ac_cpp='$CPP $CPPFLAGS'
52086 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52087 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52088 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52089
52090
52091 fi
52092
52093   fi
52094   echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_cos_use" >&5
52095 echo "${ECHO_T}$glibcxx_cv_func___builtin_cos_use" >&6
52096   if test x$glibcxx_cv_func___builtin_cos_use = x"yes"; then
52097     echo "$as_me:$LINENO: checking for __builtin_cos linkage" >&5
52098 echo $ECHO_N "checking for __builtin_cos linkage... $ECHO_C" >&6
52099     if test x${glibcxx_cv_func___builtin_cos_link+set} != xset; then
52100       if test "${glibcxx_cv_func___builtin_cos_link+set}" = set; then
52101   echo $ECHO_N "(cached) $ECHO_C" >&6
52102 else
52103
52104         if test x$gcc_no_link = xyes; then
52105   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
52106 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
52107    { (exit 1); exit 1; }; }
52108 fi
52109 cat >conftest.$ac_ext <<_ACEOF
52110 /* confdefs.h.  */
52111 _ACEOF
52112 cat confdefs.h >>conftest.$ac_ext
52113 cat >>conftest.$ac_ext <<_ACEOF
52114 /* end confdefs.h.  */
52115 #include <math.h>
52116 int
52117 main ()
52118 {
52119  __builtin_cos(0);
52120   ;
52121   return 0;
52122 }
52123 _ACEOF
52124 rm -f conftest.$ac_objext conftest$ac_exeext
52125 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
52126   (eval $ac_link) 2>conftest.er1
52127   ac_status=$?
52128   grep -v '^ *+' conftest.er1 >conftest.err
52129   rm -f conftest.er1
52130   cat conftest.err >&5
52131   echo "$as_me:$LINENO: \$? = $ac_status" >&5
52132   (exit $ac_status); } &&
52133          { ac_try='test -z "$ac_c_werror_flag"
52134                          || test ! -s conftest.err'
52135   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
52136   (eval $ac_try) 2>&5
52137   ac_status=$?
52138   echo "$as_me:$LINENO: \$? = $ac_status" >&5
52139   (exit $ac_status); }; } &&
52140          { ac_try='test -s conftest$ac_exeext'
52141   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
52142   (eval $ac_try) 2>&5
52143   ac_status=$?
52144   echo "$as_me:$LINENO: \$? = $ac_status" >&5
52145   (exit $ac_status); }; }; then
52146   glibcxx_cv_func___builtin_cos_link=yes
52147 else
52148   echo "$as_me: failed program was:" >&5
52149 sed 's/^/| /' conftest.$ac_ext >&5
52150
52151 glibcxx_cv_func___builtin_cos_link=no
52152 fi
52153 rm -f conftest.err conftest.$ac_objext \
52154       conftest$ac_exeext conftest.$ac_ext
52155
52156 fi
52157
52158     fi
52159     echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_cos_link" >&5
52160 echo "${ECHO_T}$glibcxx_cv_func___builtin_cos_link" >&6
52161
52162     if test x$glibcxx_cv_func___builtin_cos_link = x"yes"; then
52163
52164 cat >>confdefs.h <<\_ACEOF
52165 #define HAVE___BUILTIN_COS 1
52166 _ACEOF
52167
52168     fi
52169
52170   fi
52171
52172
52173   echo "$as_me:$LINENO: checking for __builtin_cosl declaration" >&5
52174 echo $ECHO_N "checking for __builtin_cosl declaration... $ECHO_C" >&6
52175   if test x${glibcxx_cv_func___builtin_cosl_use+set} != xset; then
52176     if test "${glibcxx_cv_func___builtin_cosl_use+set}" = set; then
52177   echo $ECHO_N "(cached) $ECHO_C" >&6
52178 else
52179
52180
52181
52182       ac_ext=cc
52183 ac_cpp='$CXXCPP $CPPFLAGS'
52184 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52185 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52186 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52187
52188       cat >conftest.$ac_ext <<_ACEOF
52189 /* confdefs.h.  */
52190 _ACEOF
52191 cat confdefs.h >>conftest.$ac_ext
52192 cat >>conftest.$ac_ext <<_ACEOF
52193 /* end confdefs.h.  */
52194 #include <math.h>
52195 int
52196 main ()
52197 {
52198  __builtin_cosl(0);
52199   ;
52200   return 0;
52201 }
52202 _ACEOF
52203 rm -f conftest.$ac_objext
52204 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
52205   (eval $ac_compile) 2>conftest.er1
52206   ac_status=$?
52207   grep -v '^ *+' conftest.er1 >conftest.err
52208   rm -f conftest.er1
52209   cat conftest.err >&5
52210   echo "$as_me:$LINENO: \$? = $ac_status" >&5
52211   (exit $ac_status); } &&
52212          { ac_try='test -z "$ac_cxx_werror_flag"
52213                          || test ! -s conftest.err'
52214   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
52215   (eval $ac_try) 2>&5
52216   ac_status=$?
52217   echo "$as_me:$LINENO: \$? = $ac_status" >&5
52218   (exit $ac_status); }; } &&
52219          { ac_try='test -s conftest.$ac_objext'
52220   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
52221   (eval $ac_try) 2>&5
52222   ac_status=$?
52223   echo "$as_me:$LINENO: \$? = $ac_status" >&5
52224   (exit $ac_status); }; }; then
52225   glibcxx_cv_func___builtin_cosl_use=yes
52226 else
52227   echo "$as_me: failed program was:" >&5
52228 sed 's/^/| /' conftest.$ac_ext >&5
52229
52230 glibcxx_cv_func___builtin_cosl_use=no
52231 fi
52232 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
52233       ac_ext=c
52234 ac_cpp='$CPP $CPPFLAGS'
52235 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52236 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52237 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52238
52239
52240 fi
52241
52242   fi
52243   echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_cosl_use" >&5
52244 echo "${ECHO_T}$glibcxx_cv_func___builtin_cosl_use" >&6
52245   if test x$glibcxx_cv_func___builtin_cosl_use = x"yes"; then
52246     echo "$as_me:$LINENO: checking for __builtin_cosl linkage" >&5
52247 echo $ECHO_N "checking for __builtin_cosl linkage... $ECHO_C" >&6
52248     if test x${glibcxx_cv_func___builtin_cosl_link+set} != xset; then
52249       if test "${glibcxx_cv_func___builtin_cosl_link+set}" = set; then
52250   echo $ECHO_N "(cached) $ECHO_C" >&6
52251 else
52252
52253         if test x$gcc_no_link = xyes; then
52254   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
52255 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
52256    { (exit 1); exit 1; }; }
52257 fi
52258 cat >conftest.$ac_ext <<_ACEOF
52259 /* confdefs.h.  */
52260 _ACEOF
52261 cat confdefs.h >>conftest.$ac_ext
52262 cat >>conftest.$ac_ext <<_ACEOF
52263 /* end confdefs.h.  */
52264 #include <math.h>
52265 int
52266 main ()
52267 {
52268  __builtin_cosl(0);
52269   ;
52270   return 0;
52271 }
52272 _ACEOF
52273 rm -f conftest.$ac_objext conftest$ac_exeext
52274 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
52275   (eval $ac_link) 2>conftest.er1
52276   ac_status=$?
52277   grep -v '^ *+' conftest.er1 >conftest.err
52278   rm -f conftest.er1
52279   cat conftest.err >&5
52280   echo "$as_me:$LINENO: \$? = $ac_status" >&5
52281   (exit $ac_status); } &&
52282          { ac_try='test -z "$ac_c_werror_flag"
52283                          || test ! -s conftest.err'
52284   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
52285   (eval $ac_try) 2>&5
52286   ac_status=$?
52287   echo "$as_me:$LINENO: \$? = $ac_status" >&5
52288   (exit $ac_status); }; } &&
52289          { ac_try='test -s conftest$ac_exeext'
52290   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
52291   (eval $ac_try) 2>&5
52292   ac_status=$?
52293   echo "$as_me:$LINENO: \$? = $ac_status" >&5
52294   (exit $ac_status); }; }; then
52295   glibcxx_cv_func___builtin_cosl_link=yes
52296 else
52297   echo "$as_me: failed program was:" >&5
52298 sed 's/^/| /' conftest.$ac_ext >&5
52299
52300 glibcxx_cv_func___builtin_cosl_link=no
52301 fi
52302 rm -f conftest.err conftest.$ac_objext \
52303       conftest$ac_exeext conftest.$ac_ext
52304
52305 fi
52306
52307     fi
52308     echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_cosl_link" >&5
52309 echo "${ECHO_T}$glibcxx_cv_func___builtin_cosl_link" >&6
52310
52311     if test x$glibcxx_cv_func___builtin_cosl_link = x"yes"; then
52312
52313 cat >>confdefs.h <<\_ACEOF
52314 #define HAVE___BUILTIN_COSL 1
52315 _ACEOF
52316
52317     fi
52318
52319   fi
52320
52321
52322
52323
52324 echo "$as_me:$LINENO: checking for main in -lm" >&5
52325 echo $ECHO_N "checking for main in -lm... $ECHO_C" >&6
52326 if test "${ac_cv_lib_m_main+set}" = set; then
52327   echo $ECHO_N "(cached) $ECHO_C" >&6
52328 else
52329   ac_check_lib_save_LIBS=$LIBS
52330 LIBS="-lm  $LIBS"
52331 if test x$gcc_no_link = xyes; then
52332   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
52333 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
52334    { (exit 1); exit 1; }; }
52335 fi
52336 cat >conftest.$ac_ext <<_ACEOF
52337 /* confdefs.h.  */
52338 _ACEOF
52339 cat confdefs.h >>conftest.$ac_ext
52340 cat >>conftest.$ac_ext <<_ACEOF
52341 /* end confdefs.h.  */
52342
52343
52344 int
52345 main ()
52346 {
52347 main ();
52348   ;
52349   return 0;
52350 }
52351 _ACEOF
52352 rm -f conftest.$ac_objext conftest$ac_exeext
52353 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
52354   (eval $ac_link) 2>conftest.er1
52355   ac_status=$?
52356   grep -v '^ *+' conftest.er1 >conftest.err
52357   rm -f conftest.er1
52358   cat conftest.err >&5
52359   echo "$as_me:$LINENO: \$? = $ac_status" >&5
52360   (exit $ac_status); } &&
52361          { ac_try='test -z "$ac_c_werror_flag"
52362                          || test ! -s conftest.err'
52363   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
52364   (eval $ac_try) 2>&5
52365   ac_status=$?
52366   echo "$as_me:$LINENO: \$? = $ac_status" >&5
52367   (exit $ac_status); }; } &&
52368          { ac_try='test -s conftest$ac_exeext'
52369   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
52370   (eval $ac_try) 2>&5
52371   ac_status=$?
52372   echo "$as_me:$LINENO: \$? = $ac_status" >&5
52373   (exit $ac_status); }; }; then
52374   ac_cv_lib_m_main=yes
52375 else
52376   echo "$as_me: failed program was:" >&5
52377 sed 's/^/| /' conftest.$ac_ext >&5
52378
52379 ac_cv_lib_m_main=no
52380 fi
52381 rm -f conftest.err conftest.$ac_objext \
52382       conftest$ac_exeext conftest.$ac_ext
52383 LIBS=$ac_check_lib_save_LIBS
52384 fi
52385 echo "$as_me:$LINENO: result: $ac_cv_lib_m_main" >&5
52386 echo "${ECHO_T}$ac_cv_lib_m_main" >&6
52387 if test $ac_cv_lib_m_main = yes; then
52388   cat >>confdefs.h <<_ACEOF
52389 #define HAVE_LIBM 1
52390 _ACEOF
52391
52392   LIBS="-lm $LIBS"
52393
52394 fi
52395
52396
52397 for ac_func in copysignf
52398 do
52399 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
52400 echo "$as_me:$LINENO: checking for $ac_func" >&5
52401 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
52402 if eval "test \"\${$as_ac_var+set}\" = set"; then
52403   echo $ECHO_N "(cached) $ECHO_C" >&6
52404 else
52405   if test x$gcc_no_link = xyes; then
52406   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
52407 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
52408    { (exit 1); exit 1; }; }
52409 fi
52410 cat >conftest.$ac_ext <<_ACEOF
52411 /* confdefs.h.  */
52412 _ACEOF
52413 cat confdefs.h >>conftest.$ac_ext
52414 cat >>conftest.$ac_ext <<_ACEOF
52415 /* end confdefs.h.  */
52416 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
52417    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
52418 #define $ac_func innocuous_$ac_func
52419
52420 /* System header to define __stub macros and hopefully few prototypes,
52421     which can conflict with char $ac_func (); below.
52422     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
52423     <limits.h> exists even on freestanding compilers.  */
52424
52425 #ifdef __STDC__
52426 # include <limits.h>
52427 #else
52428 # include <assert.h>
52429 #endif
52430
52431 #undef $ac_func
52432
52433 /* Override any gcc2 internal prototype to avoid an error.  */
52434 #ifdef __cplusplus
52435 extern "C"
52436 {
52437 #endif
52438 /* We use char because int might match the return type of a gcc2
52439    builtin and then its argument prototype would still apply.  */
52440 char $ac_func ();
52441 /* The GNU C library defines this for functions which it implements
52442     to always fail with ENOSYS.  Some functions are actually named
52443     something starting with __ and the normal name is an alias.  */
52444 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
52445 choke me
52446 #else
52447 char (*f) () = $ac_func;
52448 #endif
52449 #ifdef __cplusplus
52450 }
52451 #endif
52452
52453 int
52454 main ()
52455 {
52456 return f != $ac_func;
52457   ;
52458   return 0;
52459 }
52460 _ACEOF
52461 rm -f conftest.$ac_objext conftest$ac_exeext
52462 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
52463   (eval $ac_link) 2>conftest.er1
52464   ac_status=$?
52465   grep -v '^ *+' conftest.er1 >conftest.err
52466   rm -f conftest.er1
52467   cat conftest.err >&5
52468   echo "$as_me:$LINENO: \$? = $ac_status" >&5
52469   (exit $ac_status); } &&
52470          { ac_try='test -z "$ac_c_werror_flag"
52471                          || test ! -s conftest.err'
52472   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
52473   (eval $ac_try) 2>&5
52474   ac_status=$?
52475   echo "$as_me:$LINENO: \$? = $ac_status" >&5
52476   (exit $ac_status); }; } &&
52477          { ac_try='test -s conftest$ac_exeext'
52478   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
52479   (eval $ac_try) 2>&5
52480   ac_status=$?
52481   echo "$as_me:$LINENO: \$? = $ac_status" >&5
52482   (exit $ac_status); }; }; then
52483   eval "$as_ac_var=yes"
52484 else
52485   echo "$as_me: failed program was:" >&5
52486 sed 's/^/| /' conftest.$ac_ext >&5
52487
52488 eval "$as_ac_var=no"
52489 fi
52490 rm -f conftest.err conftest.$ac_objext \
52491       conftest$ac_exeext conftest.$ac_ext
52492 fi
52493 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
52494 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
52495 if test `eval echo '${'$as_ac_var'}'` = yes; then
52496   cat >>confdefs.h <<_ACEOF
52497 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
52498 _ACEOF
52499
52500 else
52501   LIBMATHOBJS="$LIBMATHOBJS ${ac_func}.lo"
52502 fi
52503 done
52504
52505
52506
52507 for ac_func in __signbit
52508 do
52509 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
52510 echo "$as_me:$LINENO: checking for $ac_func" >&5
52511 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
52512 if eval "test \"\${$as_ac_var+set}\" = set"; then
52513   echo $ECHO_N "(cached) $ECHO_C" >&6
52514 else
52515   if test x$gcc_no_link = xyes; then
52516   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
52517 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
52518    { (exit 1); exit 1; }; }
52519 fi
52520 cat >conftest.$ac_ext <<_ACEOF
52521 /* confdefs.h.  */
52522 _ACEOF
52523 cat confdefs.h >>conftest.$ac_ext
52524 cat >>conftest.$ac_ext <<_ACEOF
52525 /* end confdefs.h.  */
52526 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
52527    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
52528 #define $ac_func innocuous_$ac_func
52529
52530 /* System header to define __stub macros and hopefully few prototypes,
52531     which can conflict with char $ac_func (); below.
52532     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
52533     <limits.h> exists even on freestanding compilers.  */
52534
52535 #ifdef __STDC__
52536 # include <limits.h>
52537 #else
52538 # include <assert.h>
52539 #endif
52540
52541 #undef $ac_func
52542
52543 /* Override any gcc2 internal prototype to avoid an error.  */
52544 #ifdef __cplusplus
52545 extern "C"
52546 {
52547 #endif
52548 /* We use char because int might match the return type of a gcc2
52549    builtin and then its argument prototype would still apply.  */
52550 char $ac_func ();
52551 /* The GNU C library defines this for functions which it implements
52552     to always fail with ENOSYS.  Some functions are actually named
52553     something starting with __ and the normal name is an alias.  */
52554 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
52555 choke me
52556 #else
52557 char (*f) () = $ac_func;
52558 #endif
52559 #ifdef __cplusplus
52560 }
52561 #endif
52562
52563 int
52564 main ()
52565 {
52566 return f != $ac_func;
52567   ;
52568   return 0;
52569 }
52570 _ACEOF
52571 rm -f conftest.$ac_objext conftest$ac_exeext
52572 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
52573   (eval $ac_link) 2>conftest.er1
52574   ac_status=$?
52575   grep -v '^ *+' conftest.er1 >conftest.err
52576   rm -f conftest.er1
52577   cat conftest.err >&5
52578   echo "$as_me:$LINENO: \$? = $ac_status" >&5
52579   (exit $ac_status); } &&
52580          { ac_try='test -z "$ac_c_werror_flag"
52581                          || test ! -s conftest.err'
52582   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
52583   (eval $ac_try) 2>&5
52584   ac_status=$?
52585   echo "$as_me:$LINENO: \$? = $ac_status" >&5
52586   (exit $ac_status); }; } &&
52587          { ac_try='test -s conftest$ac_exeext'
52588   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
52589   (eval $ac_try) 2>&5
52590   ac_status=$?
52591   echo "$as_me:$LINENO: \$? = $ac_status" >&5
52592   (exit $ac_status); }; }; then
52593   eval "$as_ac_var=yes"
52594 else
52595   echo "$as_me: failed program was:" >&5
52596 sed 's/^/| /' conftest.$ac_ext >&5
52597
52598 eval "$as_ac_var=no"
52599 fi
52600 rm -f conftest.err conftest.$ac_objext \
52601       conftest$ac_exeext conftest.$ac_ext
52602 fi
52603 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
52604 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
52605 if test `eval echo '${'$as_ac_var'}'` = yes; then
52606   cat >>confdefs.h <<_ACEOF
52607 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
52608 _ACEOF
52609
52610 else
52611   LIBMATHOBJS="$LIBMATHOBJS signbit.lo"
52612 fi
52613 done
52614
52615
52616
52617 for ac_func in __signbitf
52618 do
52619 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
52620 echo "$as_me:$LINENO: checking for $ac_func" >&5
52621 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
52622 if eval "test \"\${$as_ac_var+set}\" = set"; then
52623   echo $ECHO_N "(cached) $ECHO_C" >&6
52624 else
52625   if test x$gcc_no_link = xyes; then
52626   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
52627 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
52628    { (exit 1); exit 1; }; }
52629 fi
52630 cat >conftest.$ac_ext <<_ACEOF
52631 /* confdefs.h.  */
52632 _ACEOF
52633 cat confdefs.h >>conftest.$ac_ext
52634 cat >>conftest.$ac_ext <<_ACEOF
52635 /* end confdefs.h.  */
52636 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
52637    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
52638 #define $ac_func innocuous_$ac_func
52639
52640 /* System header to define __stub macros and hopefully few prototypes,
52641     which can conflict with char $ac_func (); below.
52642     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
52643     <limits.h> exists even on freestanding compilers.  */
52644
52645 #ifdef __STDC__
52646 # include <limits.h>
52647 #else
52648 # include <assert.h>
52649 #endif
52650
52651 #undef $ac_func
52652
52653 /* Override any gcc2 internal prototype to avoid an error.  */
52654 #ifdef __cplusplus
52655 extern "C"
52656 {
52657 #endif
52658 /* We use char because int might match the return type of a gcc2
52659    builtin and then its argument prototype would still apply.  */
52660 char $ac_func ();
52661 /* The GNU C library defines this for functions which it implements
52662     to always fail with ENOSYS.  Some functions are actually named
52663     something starting with __ and the normal name is an alias.  */
52664 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
52665 choke me
52666 #else
52667 char (*f) () = $ac_func;
52668 #endif
52669 #ifdef __cplusplus
52670 }
52671 #endif
52672
52673 int
52674 main ()
52675 {
52676 return f != $ac_func;
52677   ;
52678   return 0;
52679 }
52680 _ACEOF
52681 rm -f conftest.$ac_objext conftest$ac_exeext
52682 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
52683   (eval $ac_link) 2>conftest.er1
52684   ac_status=$?
52685   grep -v '^ *+' conftest.er1 >conftest.err
52686   rm -f conftest.er1
52687   cat conftest.err >&5
52688   echo "$as_me:$LINENO: \$? = $ac_status" >&5
52689   (exit $ac_status); } &&
52690          { ac_try='test -z "$ac_c_werror_flag"
52691                          || test ! -s conftest.err'
52692   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
52693   (eval $ac_try) 2>&5
52694   ac_status=$?
52695   echo "$as_me:$LINENO: \$? = $ac_status" >&5
52696   (exit $ac_status); }; } &&
52697          { ac_try='test -s conftest$ac_exeext'
52698   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
52699   (eval $ac_try) 2>&5
52700   ac_status=$?
52701   echo "$as_me:$LINENO: \$? = $ac_status" >&5
52702   (exit $ac_status); }; }; then
52703   eval "$as_ac_var=yes"
52704 else
52705   echo "$as_me: failed program was:" >&5
52706 sed 's/^/| /' conftest.$ac_ext >&5
52707
52708 eval "$as_ac_var=no"
52709 fi
52710 rm -f conftest.err conftest.$ac_objext \
52711       conftest$ac_exeext conftest.$ac_ext
52712 fi
52713 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
52714 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
52715 if test `eval echo '${'$as_ac_var'}'` = yes; then
52716   cat >>confdefs.h <<_ACEOF
52717 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
52718 _ACEOF
52719
52720 else
52721   LIBMATHOBJS="$LIBMATHOBJS signbitf.lo"
52722 fi
52723 done
52724
52725
52726           if test x$ac_cv_func_copysignl = x"yes"; then
52727
52728 for ac_func in __signbitl
52729 do
52730 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
52731 echo "$as_me:$LINENO: checking for $ac_func" >&5
52732 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
52733 if eval "test \"\${$as_ac_var+set}\" = set"; then
52734   echo $ECHO_N "(cached) $ECHO_C" >&6
52735 else
52736   if test x$gcc_no_link = xyes; then
52737   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
52738 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
52739    { (exit 1); exit 1; }; }
52740 fi
52741 cat >conftest.$ac_ext <<_ACEOF
52742 /* confdefs.h.  */
52743 _ACEOF
52744 cat confdefs.h >>conftest.$ac_ext
52745 cat >>conftest.$ac_ext <<_ACEOF
52746 /* end confdefs.h.  */
52747 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
52748    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
52749 #define $ac_func innocuous_$ac_func
52750
52751 /* System header to define __stub macros and hopefully few prototypes,
52752     which can conflict with char $ac_func (); below.
52753     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
52754     <limits.h> exists even on freestanding compilers.  */
52755
52756 #ifdef __STDC__
52757 # include <limits.h>
52758 #else
52759 # include <assert.h>
52760 #endif
52761
52762 #undef $ac_func
52763
52764 /* Override any gcc2 internal prototype to avoid an error.  */
52765 #ifdef __cplusplus
52766 extern "C"
52767 {
52768 #endif
52769 /* We use char because int might match the return type of a gcc2
52770    builtin and then its argument prototype would still apply.  */
52771 char $ac_func ();
52772 /* The GNU C library defines this for functions which it implements
52773     to always fail with ENOSYS.  Some functions are actually named
52774     something starting with __ and the normal name is an alias.  */
52775 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
52776 choke me
52777 #else
52778 char (*f) () = $ac_func;
52779 #endif
52780 #ifdef __cplusplus
52781 }
52782 #endif
52783
52784 int
52785 main ()
52786 {
52787 return f != $ac_func;
52788   ;
52789   return 0;
52790 }
52791 _ACEOF
52792 rm -f conftest.$ac_objext conftest$ac_exeext
52793 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
52794   (eval $ac_link) 2>conftest.er1
52795   ac_status=$?
52796   grep -v '^ *+' conftest.er1 >conftest.err
52797   rm -f conftest.er1
52798   cat conftest.err >&5
52799   echo "$as_me:$LINENO: \$? = $ac_status" >&5
52800   (exit $ac_status); } &&
52801          { ac_try='test -z "$ac_c_werror_flag"
52802                          || test ! -s conftest.err'
52803   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
52804   (eval $ac_try) 2>&5
52805   ac_status=$?
52806   echo "$as_me:$LINENO: \$? = $ac_status" >&5
52807   (exit $ac_status); }; } &&
52808          { ac_try='test -s conftest$ac_exeext'
52809   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
52810   (eval $ac_try) 2>&5
52811   ac_status=$?
52812   echo "$as_me:$LINENO: \$? = $ac_status" >&5
52813   (exit $ac_status); }; }; then
52814   eval "$as_ac_var=yes"
52815 else
52816   echo "$as_me: failed program was:" >&5
52817 sed 's/^/| /' conftest.$ac_ext >&5
52818
52819 eval "$as_ac_var=no"
52820 fi
52821 rm -f conftest.err conftest.$ac_objext \
52822       conftest$ac_exeext conftest.$ac_ext
52823 fi
52824 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
52825 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
52826 if test `eval echo '${'$as_ac_var'}'` = yes; then
52827   cat >>confdefs.h <<_ACEOF
52828 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
52829 _ACEOF
52830
52831 else
52832   LIBMATHOBJS="$LIBMATHOBJS signbitl.lo"
52833 fi
52834 done
52835
52836   fi
52837
52838   # Used in libmath/Makefile.am.
52839   if test -n "$LIBMATHOBJS"; then
52840     need_libmath=yes
52841   fi
52842
52843
52844
52845   ac_test_CXXFLAGS="${CXXFLAGS+set}"
52846   ac_save_CXXFLAGS="$CXXFLAGS"
52847   CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
52848
52849
52850   echo "$as_me:$LINENO: checking for strtold declaration" >&5
52851 echo $ECHO_N "checking for strtold declaration... $ECHO_C" >&6
52852   if test x${glibcxx_cv_func_strtold_use+set} != xset; then
52853     if test "${glibcxx_cv_func_strtold_use+set}" = set; then
52854   echo $ECHO_N "(cached) $ECHO_C" >&6
52855 else
52856
52857
52858
52859       ac_ext=cc
52860 ac_cpp='$CXXCPP $CPPFLAGS'
52861 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52862 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52863 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52864
52865       cat >conftest.$ac_ext <<_ACEOF
52866 /* confdefs.h.  */
52867 _ACEOF
52868 cat confdefs.h >>conftest.$ac_ext
52869 cat >>conftest.$ac_ext <<_ACEOF
52870 /* end confdefs.h.  */
52871 #include <stdlib.h>
52872 int
52873 main ()
52874 {
52875  strtold(0, 0);
52876   ;
52877   return 0;
52878 }
52879 _ACEOF
52880 rm -f conftest.$ac_objext
52881 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
52882   (eval $ac_compile) 2>conftest.er1
52883   ac_status=$?
52884   grep -v '^ *+' conftest.er1 >conftest.err
52885   rm -f conftest.er1
52886   cat conftest.err >&5
52887   echo "$as_me:$LINENO: \$? = $ac_status" >&5
52888   (exit $ac_status); } &&
52889          { ac_try='test -z "$ac_cxx_werror_flag"
52890                          || test ! -s conftest.err'
52891   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
52892   (eval $ac_try) 2>&5
52893   ac_status=$?
52894   echo "$as_me:$LINENO: \$? = $ac_status" >&5
52895   (exit $ac_status); }; } &&
52896          { ac_try='test -s conftest.$ac_objext'
52897   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
52898   (eval $ac_try) 2>&5
52899   ac_status=$?
52900   echo "$as_me:$LINENO: \$? = $ac_status" >&5
52901   (exit $ac_status); }; }; then
52902   glibcxx_cv_func_strtold_use=yes
52903 else
52904   echo "$as_me: failed program was:" >&5
52905 sed 's/^/| /' conftest.$ac_ext >&5
52906
52907 glibcxx_cv_func_strtold_use=no
52908 fi
52909 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
52910       ac_ext=c
52911 ac_cpp='$CPP $CPPFLAGS'
52912 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52913 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52914 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52915
52916
52917 fi
52918
52919   fi
52920   echo "$as_me:$LINENO: result: $glibcxx_cv_func_strtold_use" >&5
52921 echo "${ECHO_T}$glibcxx_cv_func_strtold_use" >&6
52922   if test x$glibcxx_cv_func_strtold_use = x"yes"; then
52923
52924 for ac_func in strtold
52925 do
52926 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
52927 echo "$as_me:$LINENO: checking for $ac_func" >&5
52928 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
52929 if eval "test \"\${$as_ac_var+set}\" = set"; then
52930   echo $ECHO_N "(cached) $ECHO_C" >&6
52931 else
52932   if test x$gcc_no_link = xyes; then
52933   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
52934 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
52935    { (exit 1); exit 1; }; }
52936 fi
52937 cat >conftest.$ac_ext <<_ACEOF
52938 /* confdefs.h.  */
52939 _ACEOF
52940 cat confdefs.h >>conftest.$ac_ext
52941 cat >>conftest.$ac_ext <<_ACEOF
52942 /* end confdefs.h.  */
52943 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
52944    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
52945 #define $ac_func innocuous_$ac_func
52946
52947 /* System header to define __stub macros and hopefully few prototypes,
52948     which can conflict with char $ac_func (); below.
52949     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
52950     <limits.h> exists even on freestanding compilers.  */
52951
52952 #ifdef __STDC__
52953 # include <limits.h>
52954 #else
52955 # include <assert.h>
52956 #endif
52957
52958 #undef $ac_func
52959
52960 /* Override any gcc2 internal prototype to avoid an error.  */
52961 #ifdef __cplusplus
52962 extern "C"
52963 {
52964 #endif
52965 /* We use char because int might match the return type of a gcc2
52966    builtin and then its argument prototype would still apply.  */
52967 char $ac_func ();
52968 /* The GNU C library defines this for functions which it implements
52969     to always fail with ENOSYS.  Some functions are actually named
52970     something starting with __ and the normal name is an alias.  */
52971 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
52972 choke me
52973 #else
52974 char (*f) () = $ac_func;
52975 #endif
52976 #ifdef __cplusplus
52977 }
52978 #endif
52979
52980 int
52981 main ()
52982 {
52983 return f != $ac_func;
52984   ;
52985   return 0;
52986 }
52987 _ACEOF
52988 rm -f conftest.$ac_objext conftest$ac_exeext
52989 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
52990   (eval $ac_link) 2>conftest.er1
52991   ac_status=$?
52992   grep -v '^ *+' conftest.er1 >conftest.err
52993   rm -f conftest.er1
52994   cat conftest.err >&5
52995   echo "$as_me:$LINENO: \$? = $ac_status" >&5
52996   (exit $ac_status); } &&
52997          { ac_try='test -z "$ac_c_werror_flag"
52998                          || test ! -s conftest.err'
52999   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
53000   (eval $ac_try) 2>&5
53001   ac_status=$?
53002   echo "$as_me:$LINENO: \$? = $ac_status" >&5
53003   (exit $ac_status); }; } &&
53004          { ac_try='test -s conftest$ac_exeext'
53005   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
53006   (eval $ac_try) 2>&5
53007   ac_status=$?
53008   echo "$as_me:$LINENO: \$? = $ac_status" >&5
53009   (exit $ac_status); }; }; then
53010   eval "$as_ac_var=yes"
53011 else
53012   echo "$as_me: failed program was:" >&5
53013 sed 's/^/| /' conftest.$ac_ext >&5
53014
53015 eval "$as_ac_var=no"
53016 fi
53017 rm -f conftest.err conftest.$ac_objext \
53018       conftest$ac_exeext conftest.$ac_ext
53019 fi
53020 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
53021 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
53022 if test `eval echo '${'$as_ac_var'}'` = yes; then
53023   cat >>confdefs.h <<_ACEOF
53024 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
53025 _ACEOF
53026
53027 fi
53028 done
53029
53030   fi
53031
53032
53033
53034
53035
53036   echo "$as_me:$LINENO: checking for strtof declaration" >&5
53037 echo $ECHO_N "checking for strtof declaration... $ECHO_C" >&6
53038   if test x${glibcxx_cv_func_strtof_use+set} != xset; then
53039     if test "${glibcxx_cv_func_strtof_use+set}" = set; then
53040   echo $ECHO_N "(cached) $ECHO_C" >&6
53041 else
53042
53043
53044
53045       ac_ext=cc
53046 ac_cpp='$CXXCPP $CPPFLAGS'
53047 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53048 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53049 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53050
53051       cat >conftest.$ac_ext <<_ACEOF
53052 /* confdefs.h.  */
53053 _ACEOF
53054 cat confdefs.h >>conftest.$ac_ext
53055 cat >>conftest.$ac_ext <<_ACEOF
53056 /* end confdefs.h.  */
53057 #include <stdlib.h>
53058 int
53059 main ()
53060 {
53061  strtof(0, 0);
53062   ;
53063   return 0;
53064 }
53065 _ACEOF
53066 rm -f conftest.$ac_objext
53067 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
53068   (eval $ac_compile) 2>conftest.er1
53069   ac_status=$?
53070   grep -v '^ *+' conftest.er1 >conftest.err
53071   rm -f conftest.er1
53072   cat conftest.err >&5
53073   echo "$as_me:$LINENO: \$? = $ac_status" >&5
53074   (exit $ac_status); } &&
53075          { ac_try='test -z "$ac_cxx_werror_flag"
53076                          || test ! -s conftest.err'
53077   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
53078   (eval $ac_try) 2>&5
53079   ac_status=$?
53080   echo "$as_me:$LINENO: \$? = $ac_status" >&5
53081   (exit $ac_status); }; } &&
53082          { ac_try='test -s conftest.$ac_objext'
53083   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
53084   (eval $ac_try) 2>&5
53085   ac_status=$?
53086   echo "$as_me:$LINENO: \$? = $ac_status" >&5
53087   (exit $ac_status); }; }; then
53088   glibcxx_cv_func_strtof_use=yes
53089 else
53090   echo "$as_me: failed program was:" >&5
53091 sed 's/^/| /' conftest.$ac_ext >&5
53092
53093 glibcxx_cv_func_strtof_use=no
53094 fi
53095 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
53096       ac_ext=c
53097 ac_cpp='$CPP $CPPFLAGS'
53098 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53099 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53100 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53101
53102
53103 fi
53104
53105   fi
53106   echo "$as_me:$LINENO: result: $glibcxx_cv_func_strtof_use" >&5
53107 echo "${ECHO_T}$glibcxx_cv_func_strtof_use" >&6
53108   if test x$glibcxx_cv_func_strtof_use = x"yes"; then
53109
53110 for ac_func in strtof
53111 do
53112 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
53113 echo "$as_me:$LINENO: checking for $ac_func" >&5
53114 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
53115 if eval "test \"\${$as_ac_var+set}\" = set"; then
53116   echo $ECHO_N "(cached) $ECHO_C" >&6
53117 else
53118   if test x$gcc_no_link = xyes; then
53119   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
53120 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
53121    { (exit 1); exit 1; }; }
53122 fi
53123 cat >conftest.$ac_ext <<_ACEOF
53124 /* confdefs.h.  */
53125 _ACEOF
53126 cat confdefs.h >>conftest.$ac_ext
53127 cat >>conftest.$ac_ext <<_ACEOF
53128 /* end confdefs.h.  */
53129 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
53130    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
53131 #define $ac_func innocuous_$ac_func
53132
53133 /* System header to define __stub macros and hopefully few prototypes,
53134     which can conflict with char $ac_func (); below.
53135     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
53136     <limits.h> exists even on freestanding compilers.  */
53137
53138 #ifdef __STDC__
53139 # include <limits.h>
53140 #else
53141 # include <assert.h>
53142 #endif
53143
53144 #undef $ac_func
53145
53146 /* Override any gcc2 internal prototype to avoid an error.  */
53147 #ifdef __cplusplus
53148 extern "C"
53149 {
53150 #endif
53151 /* We use char because int might match the return type of a gcc2
53152    builtin and then its argument prototype would still apply.  */
53153 char $ac_func ();
53154 /* The GNU C library defines this for functions which it implements
53155     to always fail with ENOSYS.  Some functions are actually named
53156     something starting with __ and the normal name is an alias.  */
53157 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
53158 choke me
53159 #else
53160 char (*f) () = $ac_func;
53161 #endif
53162 #ifdef __cplusplus
53163 }
53164 #endif
53165
53166 int
53167 main ()
53168 {
53169 return f != $ac_func;
53170   ;
53171   return 0;
53172 }
53173 _ACEOF
53174 rm -f conftest.$ac_objext conftest$ac_exeext
53175 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
53176   (eval $ac_link) 2>conftest.er1
53177   ac_status=$?
53178   grep -v '^ *+' conftest.er1 >conftest.err
53179   rm -f conftest.er1
53180   cat conftest.err >&5
53181   echo "$as_me:$LINENO: \$? = $ac_status" >&5
53182   (exit $ac_status); } &&
53183          { ac_try='test -z "$ac_c_werror_flag"
53184                          || test ! -s conftest.err'
53185   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
53186   (eval $ac_try) 2>&5
53187   ac_status=$?
53188   echo "$as_me:$LINENO: \$? = $ac_status" >&5
53189   (exit $ac_status); }; } &&
53190          { ac_try='test -s conftest$ac_exeext'
53191   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
53192   (eval $ac_try) 2>&5
53193   ac_status=$?
53194   echo "$as_me:$LINENO: \$? = $ac_status" >&5
53195   (exit $ac_status); }; }; then
53196   eval "$as_ac_var=yes"
53197 else
53198   echo "$as_me: failed program was:" >&5
53199 sed 's/^/| /' conftest.$ac_ext >&5
53200
53201 eval "$as_ac_var=no"
53202 fi
53203 rm -f conftest.err conftest.$ac_objext \
53204       conftest$ac_exeext conftest.$ac_ext
53205 fi
53206 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
53207 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
53208 if test `eval echo '${'$as_ac_var'}'` = yes; then
53209   cat >>confdefs.h <<_ACEOF
53210 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
53211 _ACEOF
53212
53213 fi
53214 done
53215
53216   fi
53217
53218
53219
53220
53221
53222   CXXFLAGS="$ac_save_CXXFLAGS"
53223
53224
53225     # For showmanyc_helper().
53226
53227
53228 for ac_header in sys/ioctl.h sys/filio.h
53229 do
53230 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
53231 if eval "test \"\${$as_ac_Header+set}\" = set"; then
53232   echo "$as_me:$LINENO: checking for $ac_header" >&5
53233 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
53234 if eval "test \"\${$as_ac_Header+set}\" = set"; then
53235   echo $ECHO_N "(cached) $ECHO_C" >&6
53236 fi
53237 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
53238 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
53239 else
53240   # Is the header compilable?
53241 echo "$as_me:$LINENO: checking $ac_header usability" >&5
53242 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
53243 cat >conftest.$ac_ext <<_ACEOF
53244 /* confdefs.h.  */
53245 _ACEOF
53246 cat confdefs.h >>conftest.$ac_ext
53247 cat >>conftest.$ac_ext <<_ACEOF
53248 /* end confdefs.h.  */
53249 $ac_includes_default
53250 #include <$ac_header>
53251 _ACEOF
53252 rm -f conftest.$ac_objext
53253 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
53254   (eval $ac_compile) 2>conftest.er1
53255   ac_status=$?
53256   grep -v '^ *+' conftest.er1 >conftest.err
53257   rm -f conftest.er1
53258   cat conftest.err >&5
53259   echo "$as_me:$LINENO: \$? = $ac_status" >&5
53260   (exit $ac_status); } &&
53261          { ac_try='test -z "$ac_c_werror_flag"
53262                          || test ! -s conftest.err'
53263   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
53264   (eval $ac_try) 2>&5
53265   ac_status=$?
53266   echo "$as_me:$LINENO: \$? = $ac_status" >&5
53267   (exit $ac_status); }; } &&
53268          { ac_try='test -s conftest.$ac_objext'
53269   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
53270   (eval $ac_try) 2>&5
53271   ac_status=$?
53272   echo "$as_me:$LINENO: \$? = $ac_status" >&5
53273   (exit $ac_status); }; }; then
53274   ac_header_compiler=yes
53275 else
53276   echo "$as_me: failed program was:" >&5
53277 sed 's/^/| /' conftest.$ac_ext >&5
53278
53279 ac_header_compiler=no
53280 fi
53281 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
53282 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
53283 echo "${ECHO_T}$ac_header_compiler" >&6
53284
53285 # Is the header present?
53286 echo "$as_me:$LINENO: checking $ac_header presence" >&5
53287 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
53288 cat >conftest.$ac_ext <<_ACEOF
53289 /* confdefs.h.  */
53290 _ACEOF
53291 cat confdefs.h >>conftest.$ac_ext
53292 cat >>conftest.$ac_ext <<_ACEOF
53293 /* end confdefs.h.  */
53294 #include <$ac_header>
53295 _ACEOF
53296 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
53297   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
53298   ac_status=$?
53299   grep -v '^ *+' conftest.er1 >conftest.err
53300   rm -f conftest.er1
53301   cat conftest.err >&5
53302   echo "$as_me:$LINENO: \$? = $ac_status" >&5
53303   (exit $ac_status); } >/dev/null; then
53304   if test -s conftest.err; then
53305     ac_cpp_err=$ac_c_preproc_warn_flag
53306     ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
53307   else
53308     ac_cpp_err=
53309   fi
53310 else
53311   ac_cpp_err=yes
53312 fi
53313 if test -z "$ac_cpp_err"; then
53314   ac_header_preproc=yes
53315 else
53316   echo "$as_me: failed program was:" >&5
53317 sed 's/^/| /' conftest.$ac_ext >&5
53318
53319   ac_header_preproc=no
53320 fi
53321 rm -f conftest.err conftest.$ac_ext
53322 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
53323 echo "${ECHO_T}$ac_header_preproc" >&6
53324
53325 # So?  What about this header?
53326 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
53327   yes:no: )
53328     { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
53329 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
53330     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
53331 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
53332     ac_header_preproc=yes
53333     ;;
53334   no:yes:* )
53335     { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
53336 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
53337     { echo "$as_me:$LINENO: WARNING: $ac_header:     check for missing prerequisite headers?" >&5
53338 echo "$as_me: WARNING: $ac_header:     check for missing prerequisite headers?" >&2;}
53339     { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
53340 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
53341     { echo "$as_me:$LINENO: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&5
53342 echo "$as_me: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&2;}
53343     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
53344 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
53345     { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
53346 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
53347     (
53348       cat <<\_ASBOX
53349 ## ----------------------------------------- ##
53350 ## Report this to the package-unused lists.  ##
53351 ## ----------------------------------------- ##
53352 _ASBOX
53353     ) |
53354       sed "s/^/$as_me: WARNING:     /" >&2
53355     ;;
53356 esac
53357 echo "$as_me:$LINENO: checking for $ac_header" >&5
53358 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
53359 if eval "test \"\${$as_ac_Header+set}\" = set"; then
53360   echo $ECHO_N "(cached) $ECHO_C" >&6
53361 else
53362   eval "$as_ac_Header=\$ac_header_preproc"
53363 fi
53364 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
53365 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
53366
53367 fi
53368 if test `eval echo '${'$as_ac_Header'}'` = yes; then
53369   cat >>confdefs.h <<_ACEOF
53370 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
53371 _ACEOF
53372
53373 fi
53374
53375 done
53376
53377
53378   echo "$as_me:$LINENO: checking for poll" >&5
53379 echo $ECHO_N "checking for poll... $ECHO_C" >&6
53380   if test "${glibcxx_cv_POLL+set}" = set; then
53381   echo $ECHO_N "(cached) $ECHO_C" >&6
53382 else
53383
53384     if test x$gcc_no_link = xyes; then
53385   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
53386 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
53387    { (exit 1); exit 1; }; }
53388 fi
53389 cat >conftest.$ac_ext <<_ACEOF
53390 /* confdefs.h.  */
53391 _ACEOF
53392 cat confdefs.h >>conftest.$ac_ext
53393 cat >>conftest.$ac_ext <<_ACEOF
53394 /* end confdefs.h.  */
53395 #include <poll.h>
53396 int
53397 main ()
53398 {
53399 struct pollfd pfd[1];
53400        pfd[0].events = POLLIN;
53401        poll(pfd, 1, 0);
53402   ;
53403   return 0;
53404 }
53405 _ACEOF
53406 rm -f conftest.$ac_objext conftest$ac_exeext
53407 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
53408   (eval $ac_link) 2>conftest.er1
53409   ac_status=$?
53410   grep -v '^ *+' conftest.er1 >conftest.err
53411   rm -f conftest.er1
53412   cat conftest.err >&5
53413   echo "$as_me:$LINENO: \$? = $ac_status" >&5
53414   (exit $ac_status); } &&
53415          { ac_try='test -z "$ac_c_werror_flag"
53416                          || test ! -s conftest.err'
53417   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
53418   (eval $ac_try) 2>&5
53419   ac_status=$?
53420   echo "$as_me:$LINENO: \$? = $ac_status" >&5
53421   (exit $ac_status); }; } &&
53422          { ac_try='test -s conftest$ac_exeext'
53423   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
53424   (eval $ac_try) 2>&5
53425   ac_status=$?
53426   echo "$as_me:$LINENO: \$? = $ac_status" >&5
53427   (exit $ac_status); }; }; then
53428   glibcxx_cv_POLL=yes
53429 else
53430   echo "$as_me: failed program was:" >&5
53431 sed 's/^/| /' conftest.$ac_ext >&5
53432
53433 glibcxx_cv_POLL=no
53434 fi
53435 rm -f conftest.err conftest.$ac_objext \
53436       conftest$ac_exeext conftest.$ac_ext
53437
53438 fi
53439
53440   if test $glibcxx_cv_POLL = yes; then
53441
53442 cat >>confdefs.h <<\_ACEOF
53443 #define HAVE_POLL 1
53444 _ACEOF
53445
53446   fi
53447   echo "$as_me:$LINENO: result: $glibcxx_cv_POLL" >&5
53448 echo "${ECHO_T}$glibcxx_cv_POLL" >&6
53449
53450
53451   echo "$as_me:$LINENO: checking for S_ISREG or S_IFREG" >&5
53452 echo $ECHO_N "checking for S_ISREG or S_IFREG... $ECHO_C" >&6
53453   if test "${glibcxx_cv_S_ISREG+set}" = set; then
53454   echo $ECHO_N "(cached) $ECHO_C" >&6
53455 else
53456
53457     if test x$gcc_no_link = xyes; then
53458   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
53459 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
53460    { (exit 1); exit 1; }; }
53461 fi
53462 cat >conftest.$ac_ext <<_ACEOF
53463 /* confdefs.h.  */
53464 _ACEOF
53465 cat confdefs.h >>conftest.$ac_ext
53466 cat >>conftest.$ac_ext <<_ACEOF
53467 /* end confdefs.h.  */
53468 #include <sys/stat.h>
53469 int
53470 main ()
53471 {
53472 struct stat buffer;
53473        fstat(0, &buffer);
53474        S_ISREG(buffer.st_mode);
53475   ;
53476   return 0;
53477 }
53478 _ACEOF
53479 rm -f conftest.$ac_objext conftest$ac_exeext
53480 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
53481   (eval $ac_link) 2>conftest.er1
53482   ac_status=$?
53483   grep -v '^ *+' conftest.er1 >conftest.err
53484   rm -f conftest.er1
53485   cat conftest.err >&5
53486   echo "$as_me:$LINENO: \$? = $ac_status" >&5
53487   (exit $ac_status); } &&
53488          { ac_try='test -z "$ac_c_werror_flag"
53489                          || test ! -s conftest.err'
53490   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
53491   (eval $ac_try) 2>&5
53492   ac_status=$?
53493   echo "$as_me:$LINENO: \$? = $ac_status" >&5
53494   (exit $ac_status); }; } &&
53495          { ac_try='test -s conftest$ac_exeext'
53496   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
53497   (eval $ac_try) 2>&5
53498   ac_status=$?
53499   echo "$as_me:$LINENO: \$? = $ac_status" >&5
53500   (exit $ac_status); }; }; then
53501   glibcxx_cv_S_ISREG=yes
53502 else
53503   echo "$as_me: failed program was:" >&5
53504 sed 's/^/| /' conftest.$ac_ext >&5
53505
53506 glibcxx_cv_S_ISREG=no
53507 fi
53508 rm -f conftest.err conftest.$ac_objext \
53509       conftest$ac_exeext conftest.$ac_ext
53510
53511 fi
53512
53513   if test "${glibcxx_cv_S_IFREG+set}" = set; then
53514   echo $ECHO_N "(cached) $ECHO_C" >&6
53515 else
53516
53517     if test x$gcc_no_link = xyes; then
53518   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
53519 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
53520    { (exit 1); exit 1; }; }
53521 fi
53522 cat >conftest.$ac_ext <<_ACEOF
53523 /* confdefs.h.  */
53524 _ACEOF
53525 cat confdefs.h >>conftest.$ac_ext
53526 cat >>conftest.$ac_ext <<_ACEOF
53527 /* end confdefs.h.  */
53528 #include <sys/stat.h>
53529 int
53530 main ()
53531 {
53532 struct stat buffer;
53533        fstat(0, &buffer);
53534        S_IFREG & buffer.st_mode;
53535   ;
53536   return 0;
53537 }
53538 _ACEOF
53539 rm -f conftest.$ac_objext conftest$ac_exeext
53540 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
53541   (eval $ac_link) 2>conftest.er1
53542   ac_status=$?
53543   grep -v '^ *+' conftest.er1 >conftest.err
53544   rm -f conftest.er1
53545   cat conftest.err >&5
53546   echo "$as_me:$LINENO: \$? = $ac_status" >&5
53547   (exit $ac_status); } &&
53548          { ac_try='test -z "$ac_c_werror_flag"
53549                          || test ! -s conftest.err'
53550   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
53551   (eval $ac_try) 2>&5
53552   ac_status=$?
53553   echo "$as_me:$LINENO: \$? = $ac_status" >&5
53554   (exit $ac_status); }; } &&
53555          { ac_try='test -s conftest$ac_exeext'
53556   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
53557   (eval $ac_try) 2>&5
53558   ac_status=$?
53559   echo "$as_me:$LINENO: \$? = $ac_status" >&5
53560   (exit $ac_status); }; }; then
53561   glibcxx_cv_S_IFREG=yes
53562 else
53563   echo "$as_me: failed program was:" >&5
53564 sed 's/^/| /' conftest.$ac_ext >&5
53565
53566 glibcxx_cv_S_IFREG=no
53567 fi
53568 rm -f conftest.err conftest.$ac_objext \
53569       conftest$ac_exeext conftest.$ac_ext
53570
53571 fi
53572
53573   res=no
53574   if test $glibcxx_cv_S_ISREG = yes; then
53575
53576 cat >>confdefs.h <<\_ACEOF
53577 #define HAVE_S_ISREG 1
53578 _ACEOF
53579
53580     res=S_ISREG
53581   elif test $glibcxx_cv_S_IFREG = yes; then
53582
53583 cat >>confdefs.h <<\_ACEOF
53584 #define HAVE_S_IFREG 1
53585 _ACEOF
53586
53587     res=S_IFREG
53588   fi
53589   echo "$as_me:$LINENO: result: $res" >&5
53590 echo "${ECHO_T}$res" >&6
53591
53592
53593     # For xsputn_2().
53594
53595 for ac_header in sys/uio.h
53596 do
53597 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
53598 if eval "test \"\${$as_ac_Header+set}\" = set"; then
53599   echo "$as_me:$LINENO: checking for $ac_header" >&5
53600 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
53601 if eval "test \"\${$as_ac_Header+set}\" = set"; then
53602   echo $ECHO_N "(cached) $ECHO_C" >&6
53603 fi
53604 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
53605 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
53606 else
53607   # Is the header compilable?
53608 echo "$as_me:$LINENO: checking $ac_header usability" >&5
53609 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
53610 cat >conftest.$ac_ext <<_ACEOF
53611 /* confdefs.h.  */
53612 _ACEOF
53613 cat confdefs.h >>conftest.$ac_ext
53614 cat >>conftest.$ac_ext <<_ACEOF
53615 /* end confdefs.h.  */
53616 $ac_includes_default
53617 #include <$ac_header>
53618 _ACEOF
53619 rm -f conftest.$ac_objext
53620 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
53621   (eval $ac_compile) 2>conftest.er1
53622   ac_status=$?
53623   grep -v '^ *+' conftest.er1 >conftest.err
53624   rm -f conftest.er1
53625   cat conftest.err >&5
53626   echo "$as_me:$LINENO: \$? = $ac_status" >&5
53627   (exit $ac_status); } &&
53628          { ac_try='test -z "$ac_c_werror_flag"
53629                          || test ! -s conftest.err'
53630   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
53631   (eval $ac_try) 2>&5
53632   ac_status=$?
53633   echo "$as_me:$LINENO: \$? = $ac_status" >&5
53634   (exit $ac_status); }; } &&
53635          { ac_try='test -s conftest.$ac_objext'
53636   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
53637   (eval $ac_try) 2>&5
53638   ac_status=$?
53639   echo "$as_me:$LINENO: \$? = $ac_status" >&5
53640   (exit $ac_status); }; }; then
53641   ac_header_compiler=yes
53642 else
53643   echo "$as_me: failed program was:" >&5
53644 sed 's/^/| /' conftest.$ac_ext >&5
53645
53646 ac_header_compiler=no
53647 fi
53648 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
53649 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
53650 echo "${ECHO_T}$ac_header_compiler" >&6
53651
53652 # Is the header present?
53653 echo "$as_me:$LINENO: checking $ac_header presence" >&5
53654 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
53655 cat >conftest.$ac_ext <<_ACEOF
53656 /* confdefs.h.  */
53657 _ACEOF
53658 cat confdefs.h >>conftest.$ac_ext
53659 cat >>conftest.$ac_ext <<_ACEOF
53660 /* end confdefs.h.  */
53661 #include <$ac_header>
53662 _ACEOF
53663 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
53664   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
53665   ac_status=$?
53666   grep -v '^ *+' conftest.er1 >conftest.err
53667   rm -f conftest.er1
53668   cat conftest.err >&5
53669   echo "$as_me:$LINENO: \$? = $ac_status" >&5
53670   (exit $ac_status); } >/dev/null; then
53671   if test -s conftest.err; then
53672     ac_cpp_err=$ac_c_preproc_warn_flag
53673     ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
53674   else
53675     ac_cpp_err=
53676   fi
53677 else
53678   ac_cpp_err=yes
53679 fi
53680 if test -z "$ac_cpp_err"; then
53681   ac_header_preproc=yes
53682 else
53683   echo "$as_me: failed program was:" >&5
53684 sed 's/^/| /' conftest.$ac_ext >&5
53685
53686   ac_header_preproc=no
53687 fi
53688 rm -f conftest.err conftest.$ac_ext
53689 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
53690 echo "${ECHO_T}$ac_header_preproc" >&6
53691
53692 # So?  What about this header?
53693 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
53694   yes:no: )
53695     { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
53696 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
53697     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
53698 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
53699     ac_header_preproc=yes
53700     ;;
53701   no:yes:* )
53702     { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
53703 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
53704     { echo "$as_me:$LINENO: WARNING: $ac_header:     check for missing prerequisite headers?" >&5
53705 echo "$as_me: WARNING: $ac_header:     check for missing prerequisite headers?" >&2;}
53706     { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
53707 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
53708     { echo "$as_me:$LINENO: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&5
53709 echo "$as_me: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&2;}
53710     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
53711 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
53712     { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
53713 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
53714     (
53715       cat <<\_ASBOX
53716 ## ----------------------------------------- ##
53717 ## Report this to the package-unused lists.  ##
53718 ## ----------------------------------------- ##
53719 _ASBOX
53720     ) |
53721       sed "s/^/$as_me: WARNING:     /" >&2
53722     ;;
53723 esac
53724 echo "$as_me:$LINENO: checking for $ac_header" >&5
53725 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
53726 if eval "test \"\${$as_ac_Header+set}\" = set"; then
53727   echo $ECHO_N "(cached) $ECHO_C" >&6
53728 else
53729   eval "$as_ac_Header=\$ac_header_preproc"
53730 fi
53731 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
53732 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
53733
53734 fi
53735 if test `eval echo '${'$as_ac_Header'}'` = yes; then
53736   cat >>confdefs.h <<_ACEOF
53737 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
53738 _ACEOF
53739
53740 fi
53741
53742 done
53743
53744
53745   echo "$as_me:$LINENO: checking for writev" >&5
53746 echo $ECHO_N "checking for writev... $ECHO_C" >&6
53747   if test "${glibcxx_cv_WRITEV+set}" = set; then
53748   echo $ECHO_N "(cached) $ECHO_C" >&6
53749 else
53750
53751     if test x$gcc_no_link = xyes; then
53752   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
53753 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
53754    { (exit 1); exit 1; }; }
53755 fi
53756 cat >conftest.$ac_ext <<_ACEOF
53757 /* confdefs.h.  */
53758 _ACEOF
53759 cat confdefs.h >>conftest.$ac_ext
53760 cat >>conftest.$ac_ext <<_ACEOF
53761 /* end confdefs.h.  */
53762 #include <sys/uio.h>
53763 int
53764 main ()
53765 {
53766 struct iovec iov[2];
53767        writev(0, iov, 0);
53768   ;
53769   return 0;
53770 }
53771 _ACEOF
53772 rm -f conftest.$ac_objext conftest$ac_exeext
53773 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
53774   (eval $ac_link) 2>conftest.er1
53775   ac_status=$?
53776   grep -v '^ *+' conftest.er1 >conftest.err
53777   rm -f conftest.er1
53778   cat conftest.err >&5
53779   echo "$as_me:$LINENO: \$? = $ac_status" >&5
53780   (exit $ac_status); } &&
53781          { ac_try='test -z "$ac_c_werror_flag"
53782                          || test ! -s conftest.err'
53783   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
53784   (eval $ac_try) 2>&5
53785   ac_status=$?
53786   echo "$as_me:$LINENO: \$? = $ac_status" >&5
53787   (exit $ac_status); }; } &&
53788          { ac_try='test -s conftest$ac_exeext'
53789   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
53790   (eval $ac_try) 2>&5
53791   ac_status=$?
53792   echo "$as_me:$LINENO: \$? = $ac_status" >&5
53793   (exit $ac_status); }; }; then
53794   glibcxx_cv_WRITEV=yes
53795 else
53796   echo "$as_me: failed program was:" >&5
53797 sed 's/^/| /' conftest.$ac_ext >&5
53798
53799 glibcxx_cv_WRITEV=no
53800 fi
53801 rm -f conftest.err conftest.$ac_objext \
53802       conftest$ac_exeext conftest.$ac_ext
53803
53804 fi
53805
53806   if test $glibcxx_cv_WRITEV = yes; then
53807
53808 cat >>confdefs.h <<\_ACEOF
53809 #define HAVE_WRITEV 1
53810 _ACEOF
53811
53812   fi
53813   echo "$as_me:$LINENO: result: $glibcxx_cv_WRITEV" >&5
53814 echo "${ECHO_T}$glibcxx_cv_WRITEV" >&6
53815
53816
53817     cat >>confdefs.h <<\_ACEOF
53818 #define HAVE_LC_MESSAGES 1
53819 _ACEOF
53820
53821
53822     cat >conftest.$ac_ext <<_ACEOF
53823 /* confdefs.h.  */
53824 _ACEOF
53825 cat confdefs.h >>conftest.$ac_ext
53826 cat >>conftest.$ac_ext <<_ACEOF
53827 /* end confdefs.h.  */
53828 #include <setjmp.h>
53829 int
53830 main ()
53831 {
53832 sigjmp_buf env;
53833        while (! sigsetjmp (env, 1))
53834          siglongjmp (env, 1);
53835
53836   ;
53837   return 0;
53838 }
53839 _ACEOF
53840 rm -f conftest.$ac_objext
53841 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
53842   (eval $ac_compile) 2>conftest.er1
53843   ac_status=$?
53844   grep -v '^ *+' conftest.er1 >conftest.err
53845   rm -f conftest.er1
53846   cat conftest.err >&5
53847   echo "$as_me:$LINENO: \$? = $ac_status" >&5
53848   (exit $ac_status); } &&
53849          { ac_try='test -z "$ac_c_werror_flag"
53850                          || test ! -s conftest.err'
53851   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
53852   (eval $ac_try) 2>&5
53853   ac_status=$?
53854   echo "$as_me:$LINENO: \$? = $ac_status" >&5
53855   (exit $ac_status); }; } &&
53856          { ac_try='test -s conftest.$ac_objext'
53857   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
53858   (eval $ac_try) 2>&5
53859   ac_status=$?
53860   echo "$as_me:$LINENO: \$? = $ac_status" >&5
53861   (exit $ac_status); }; }; then
53862
53863 cat >>confdefs.h <<\_ACEOF
53864 #define HAVE_SIGSETJMP 1
53865 _ACEOF
53866
53867 else
53868   echo "$as_me: failed program was:" >&5
53869 sed 's/^/| /' conftest.$ac_ext >&5
53870
53871 fi
53872 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
53873
53874     cat >>confdefs.h <<\_ACEOF
53875 #define HAVE_MMAP 1
53876 _ACEOF
53877
53878     ;;
53879
53880   *djgpp)
53881
53882
53883
53884
53885
53886
53887
53888
53889
53890
53891
53892
53893
53894
53895
53896
53897
53898
53899
53900
53901 for ac_header in float.h ieeefp.h inttypes.h locale.h \
53902       memory.h stdint.h stdlib.h strings.h string.h unistd.h \
53903       wchar.h wctype.h machine/endian.h sys/ioctl.h sys/param.h \
53904       sys/resource.h sys/stat.h sys/time.h sys/types.h sys/uio.h
53905 do
53906 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
53907 if eval "test \"\${$as_ac_Header+set}\" = set"; then
53908   echo "$as_me:$LINENO: checking for $ac_header" >&5
53909 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
53910 if eval "test \"\${$as_ac_Header+set}\" = set"; then
53911   echo $ECHO_N "(cached) $ECHO_C" >&6
53912 fi
53913 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
53914 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
53915 else
53916   # Is the header compilable?
53917 echo "$as_me:$LINENO: checking $ac_header usability" >&5
53918 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
53919 cat >conftest.$ac_ext <<_ACEOF
53920 /* confdefs.h.  */
53921 _ACEOF
53922 cat confdefs.h >>conftest.$ac_ext
53923 cat >>conftest.$ac_ext <<_ACEOF
53924 /* end confdefs.h.  */
53925 $ac_includes_default
53926 #include <$ac_header>
53927 _ACEOF
53928 rm -f conftest.$ac_objext
53929 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
53930   (eval $ac_compile) 2>conftest.er1
53931   ac_status=$?
53932   grep -v '^ *+' conftest.er1 >conftest.err
53933   rm -f conftest.er1
53934   cat conftest.err >&5
53935   echo "$as_me:$LINENO: \$? = $ac_status" >&5
53936   (exit $ac_status); } &&
53937          { ac_try='test -z "$ac_c_werror_flag"
53938                          || test ! -s conftest.err'
53939   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
53940   (eval $ac_try) 2>&5
53941   ac_status=$?
53942   echo "$as_me:$LINENO: \$? = $ac_status" >&5
53943   (exit $ac_status); }; } &&
53944          { ac_try='test -s conftest.$ac_objext'
53945   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
53946   (eval $ac_try) 2>&5
53947   ac_status=$?
53948   echo "$as_me:$LINENO: \$? = $ac_status" >&5
53949   (exit $ac_status); }; }; then
53950   ac_header_compiler=yes
53951 else
53952   echo "$as_me: failed program was:" >&5
53953 sed 's/^/| /' conftest.$ac_ext >&5
53954
53955 ac_header_compiler=no
53956 fi
53957 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
53958 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
53959 echo "${ECHO_T}$ac_header_compiler" >&6
53960
53961 # Is the header present?
53962 echo "$as_me:$LINENO: checking $ac_header presence" >&5
53963 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
53964 cat >conftest.$ac_ext <<_ACEOF
53965 /* confdefs.h.  */
53966 _ACEOF
53967 cat confdefs.h >>conftest.$ac_ext
53968 cat >>conftest.$ac_ext <<_ACEOF
53969 /* end confdefs.h.  */
53970 #include <$ac_header>
53971 _ACEOF
53972 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
53973   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
53974   ac_status=$?
53975   grep -v '^ *+' conftest.er1 >conftest.err
53976   rm -f conftest.er1
53977   cat conftest.err >&5
53978   echo "$as_me:$LINENO: \$? = $ac_status" >&5
53979   (exit $ac_status); } >/dev/null; then
53980   if test -s conftest.err; then
53981     ac_cpp_err=$ac_c_preproc_warn_flag
53982     ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
53983   else
53984     ac_cpp_err=
53985   fi
53986 else
53987   ac_cpp_err=yes
53988 fi
53989 if test -z "$ac_cpp_err"; then
53990   ac_header_preproc=yes
53991 else
53992   echo "$as_me: failed program was:" >&5
53993 sed 's/^/| /' conftest.$ac_ext >&5
53994
53995   ac_header_preproc=no
53996 fi
53997 rm -f conftest.err conftest.$ac_ext
53998 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
53999 echo "${ECHO_T}$ac_header_preproc" >&6
54000
54001 # So?  What about this header?
54002 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
54003   yes:no: )
54004     { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
54005 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
54006     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
54007 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
54008     ac_header_preproc=yes
54009     ;;
54010   no:yes:* )
54011     { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
54012 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
54013     { echo "$as_me:$LINENO: WARNING: $ac_header:     check for missing prerequisite headers?" >&5
54014 echo "$as_me: WARNING: $ac_header:     check for missing prerequisite headers?" >&2;}
54015     { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
54016 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
54017     { echo "$as_me:$LINENO: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&5
54018 echo "$as_me: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&2;}
54019     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
54020 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
54021     { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
54022 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
54023     (
54024       cat <<\_ASBOX
54025 ## ----------------------------------------- ##
54026 ## Report this to the package-unused lists.  ##
54027 ## ----------------------------------------- ##
54028 _ASBOX
54029     ) |
54030       sed "s/^/$as_me: WARNING:     /" >&2
54031     ;;
54032 esac
54033 echo "$as_me:$LINENO: checking for $ac_header" >&5
54034 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
54035 if eval "test \"\${$as_ac_Header+set}\" = set"; then
54036   echo $ECHO_N "(cached) $ECHO_C" >&6
54037 else
54038   eval "$as_ac_Header=\$ac_header_preproc"
54039 fi
54040 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
54041 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
54042
54043 fi
54044 if test `eval echo '${'$as_ac_Header'}'` = yes; then
54045   cat >>confdefs.h <<_ACEOF
54046 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
54047 _ACEOF
54048
54049 fi
54050
54051 done
54052
54053
54054   # If we're not using GNU ld, then there's no point in even trying these
54055   # tests.  Check for that first.  We should have already tested for gld
54056   # by now (in libtool), but require it now just to be safe...
54057   test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
54058   test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
54059
54060
54061
54062   # The name set by libtool depends on the version of libtool.  Shame on us
54063   # for depending on an impl detail, but c'est la vie.  Older versions used
54064   # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
54065   # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
54066   # makes sense).  We'll test with_gnu_ld everywhere else, so if that isn't
54067   # set (hence we're using an older libtool), then set it.
54068   if test x${with_gnu_ld+set} != xset; then
54069     if test x${ac_cv_prog_gnu_ld+set} != xset; then
54070       # We got through "ac_require(ac_prog_ld)" and still not set?  Huh?
54071       with_gnu_ld=no
54072     else
54073       with_gnu_ld=$ac_cv_prog_gnu_ld
54074     fi
54075   fi
54076
54077   # Start by getting the version number.  I think the libtool test already
54078   # does some of this, but throws away the result.
54079   if test x"$with_gnu_ld" = x"yes"; then
54080     echo "$as_me:$LINENO: checking for ld version" >&5
54081 echo $ECHO_N "checking for ld version... $ECHO_C" >&6
54082
54083     ldver=`$LD --version 2>/dev/null | head -1 | \
54084            sed -e 's/GNU ld version \([0-9.][0-9.]*\).*/\1/'`
54085
54086     glibcxx_gnu_ld_version=`echo $ldver | \
54087            $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
54088     echo "$as_me:$LINENO: result: $glibcxx_gnu_ld_version" >&5
54089 echo "${ECHO_T}$glibcxx_gnu_ld_version" >&6
54090   fi
54091
54092   # Set --gc-sections.
54093   glibcxx_gcsections_min_ld=21602
54094   if test x"$with_gnu_ld" = x"yes" &&
54095         test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
54096
54097     # Sufficiently young GNU ld it is!  Joy and bunny rabbits!
54098     # NB: This flag only works reliably after 2.16.1. Configure tests
54099     # for this are difficult, so hard wire a value that should work.
54100
54101     # All these tests are for C++, but run with the "C" compiler driver.
54102     # Need to do this so that g++ won't try to link in libstdc++/libsupc++.
54103     ac_test_CFLAGS="${CFLAGS+set}"
54104     ac_save_CFLAGS="$CFLAGS"
54105     CFLAGS='-x c++ -Wl,--gc-sections'
54106
54107     # Check for -Wl,--gc-sections
54108     echo "$as_me:$LINENO: checking for ld that supports -Wl,--gc-sections" >&5
54109 echo $ECHO_N "checking for ld that supports -Wl,--gc-sections... $ECHO_C" >&6
54110     if test x$gcc_no_link = xyes; then
54111   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
54112 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
54113    { (exit 1); exit 1; }; }
54114 fi
54115 cat >conftest.$ac_ext <<_ACEOF
54116 /* confdefs.h.  */
54117 _ACEOF
54118 cat confdefs.h >>conftest.$ac_ext
54119 cat >>conftest.$ac_ext <<_ACEOF
54120 /* end confdefs.h.  */
54121  int one(void) { return 1; }
54122      int two(void) { return 2; }
54123
54124 int
54125 main ()
54126 {
54127  two();
54128   ;
54129   return 0;
54130 }
54131 _ACEOF
54132 rm -f conftest.$ac_objext conftest$ac_exeext
54133 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
54134   (eval $ac_link) 2>conftest.er1
54135   ac_status=$?
54136   grep -v '^ *+' conftest.er1 >conftest.err
54137   rm -f conftest.er1
54138   cat conftest.err >&5
54139   echo "$as_me:$LINENO: \$? = $ac_status" >&5
54140   (exit $ac_status); } &&
54141          { ac_try='test -z "$ac_c_werror_flag"
54142                          || test ! -s conftest.err'
54143   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
54144   (eval $ac_try) 2>&5
54145   ac_status=$?
54146   echo "$as_me:$LINENO: \$? = $ac_status" >&5
54147   (exit $ac_status); }; } &&
54148          { ac_try='test -s conftest$ac_exeext'
54149   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
54150   (eval $ac_try) 2>&5
54151   ac_status=$?
54152   echo "$as_me:$LINENO: \$? = $ac_status" >&5
54153   (exit $ac_status); }; }; then
54154   ac_gcsections=yes
54155 else
54156   echo "$as_me: failed program was:" >&5
54157 sed 's/^/| /' conftest.$ac_ext >&5
54158
54159 ac_gcsections=no
54160 fi
54161 rm -f conftest.err conftest.$ac_objext \
54162       conftest$ac_exeext conftest.$ac_ext
54163     if test "$ac_gcsections" = "yes"; then
54164       rm -f conftest.c
54165       touch conftest.c
54166       if $CC -c conftest.c; then
54167         if $LD --gc-sections -o conftest conftest.o 2>&1 | \
54168            grep "Warning: gc-sections option ignored" > /dev/null; then
54169           ac_gcsections=no
54170         fi
54171       fi
54172       rm -f conftest.c conftest.o conftest
54173     fi
54174     if test "$ac_gcsections" = "yes"; then
54175       SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
54176     fi
54177     echo "$as_me:$LINENO: result: $ac_gcsections" >&5
54178 echo "${ECHO_T}$ac_gcsections" >&6
54179
54180     if test "$ac_test_CFLAGS" = set; then
54181       CFLAGS="$ac_save_CFLAGS"
54182     else
54183       # this is the suspicious part
54184       CFLAGS=''
54185     fi
54186   fi
54187
54188   # Set -z,relro.
54189   # Note this is only for shared objects.
54190   ac_ld_relro=no
54191   if test x"$with_gnu_ld" = x"yes"; then
54192     echo "$as_me:$LINENO: checking for ld that supports -Wl,-z,relro" >&5
54193 echo $ECHO_N "checking for ld that supports -Wl,-z,relro... $ECHO_C" >&6
54194     cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
54195     if test -n "$cxx_z_relo"; then
54196       OPT_LDFLAGS="-Wl,-z,relro"
54197       ac_ld_relro=yes
54198     fi
54199     echo "$as_me:$LINENO: result: $ac_ld_relro" >&5
54200 echo "${ECHO_T}$ac_ld_relro" >&6
54201   fi
54202
54203   # Set linker optimization flags.
54204   if test x"$with_gnu_ld" = x"yes"; then
54205     OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
54206   fi
54207
54208
54209
54210
54211
54212   ac_test_CXXFLAGS="${CXXFLAGS+set}"
54213   ac_save_CXXFLAGS="$CXXFLAGS"
54214   CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
54215
54216     echo "$as_me:$LINENO: checking for sin in -lm" >&5
54217 echo $ECHO_N "checking for sin in -lm... $ECHO_C" >&6
54218 if test "${ac_cv_lib_m_sin+set}" = set; then
54219   echo $ECHO_N "(cached) $ECHO_C" >&6
54220 else
54221   ac_check_lib_save_LIBS=$LIBS
54222 LIBS="-lm  $LIBS"
54223 if test x$gcc_no_link = xyes; then
54224   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
54225 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
54226    { (exit 1); exit 1; }; }
54227 fi
54228 cat >conftest.$ac_ext <<_ACEOF
54229 /* confdefs.h.  */
54230 _ACEOF
54231 cat confdefs.h >>conftest.$ac_ext
54232 cat >>conftest.$ac_ext <<_ACEOF
54233 /* end confdefs.h.  */
54234
54235 /* Override any gcc2 internal prototype to avoid an error.  */
54236 #ifdef __cplusplus
54237 extern "C"
54238 #endif
54239 /* We use char because int might match the return type of a gcc2
54240    builtin and then its argument prototype would still apply.  */
54241 char sin ();
54242 int
54243 main ()
54244 {
54245 sin ();
54246   ;
54247   return 0;
54248 }
54249 _ACEOF
54250 rm -f conftest.$ac_objext conftest$ac_exeext
54251 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
54252   (eval $ac_link) 2>conftest.er1
54253   ac_status=$?
54254   grep -v '^ *+' conftest.er1 >conftest.err
54255   rm -f conftest.er1
54256   cat conftest.err >&5
54257   echo "$as_me:$LINENO: \$? = $ac_status" >&5
54258   (exit $ac_status); } &&
54259          { ac_try='test -z "$ac_c_werror_flag"
54260                          || test ! -s conftest.err'
54261   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
54262   (eval $ac_try) 2>&5
54263   ac_status=$?
54264   echo "$as_me:$LINENO: \$? = $ac_status" >&5
54265   (exit $ac_status); }; } &&
54266          { ac_try='test -s conftest$ac_exeext'
54267   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
54268   (eval $ac_try) 2>&5
54269   ac_status=$?
54270   echo "$as_me:$LINENO: \$? = $ac_status" >&5
54271   (exit $ac_status); }; }; then
54272   ac_cv_lib_m_sin=yes
54273 else
54274   echo "$as_me: failed program was:" >&5
54275 sed 's/^/| /' conftest.$ac_ext >&5
54276
54277 ac_cv_lib_m_sin=no
54278 fi
54279 rm -f conftest.err conftest.$ac_objext \
54280       conftest$ac_exeext conftest.$ac_ext
54281 LIBS=$ac_check_lib_save_LIBS
54282 fi
54283 echo "$as_me:$LINENO: result: $ac_cv_lib_m_sin" >&5
54284 echo "${ECHO_T}$ac_cv_lib_m_sin" >&6
54285 if test $ac_cv_lib_m_sin = yes; then
54286   libm="-lm"
54287 fi
54288
54289   ac_save_LIBS="$LIBS"
54290   LIBS="$LIBS $libm"
54291
54292
54293
54294   echo "$as_me:$LINENO: checking for isinf declaration" >&5
54295 echo $ECHO_N "checking for isinf declaration... $ECHO_C" >&6
54296   if test x${glibcxx_cv_func_isinf_use+set} != xset; then
54297     if test "${glibcxx_cv_func_isinf_use+set}" = set; then
54298   echo $ECHO_N "(cached) $ECHO_C" >&6
54299 else
54300
54301
54302
54303       ac_ext=cc
54304 ac_cpp='$CXXCPP $CPPFLAGS'
54305 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54306 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54307 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54308
54309       cat >conftest.$ac_ext <<_ACEOF
54310 /* confdefs.h.  */
54311 _ACEOF
54312 cat confdefs.h >>conftest.$ac_ext
54313 cat >>conftest.$ac_ext <<_ACEOF
54314 /* end confdefs.h.  */
54315 #include <math.h>
54316                       #ifdef HAVE_IEEEFP_H
54317                       #include <ieeefp.h>
54318                       #endif
54319
54320 int
54321 main ()
54322 {
54323  isinf(0);
54324   ;
54325   return 0;
54326 }
54327 _ACEOF
54328 rm -f conftest.$ac_objext
54329 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
54330   (eval $ac_compile) 2>conftest.er1
54331   ac_status=$?
54332   grep -v '^ *+' conftest.er1 >conftest.err
54333   rm -f conftest.er1
54334   cat conftest.err >&5
54335   echo "$as_me:$LINENO: \$? = $ac_status" >&5
54336   (exit $ac_status); } &&
54337          { ac_try='test -z "$ac_cxx_werror_flag"
54338                          || test ! -s conftest.err'
54339   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
54340   (eval $ac_try) 2>&5
54341   ac_status=$?
54342   echo "$as_me:$LINENO: \$? = $ac_status" >&5
54343   (exit $ac_status); }; } &&
54344          { ac_try='test -s conftest.$ac_objext'
54345   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
54346   (eval $ac_try) 2>&5
54347   ac_status=$?
54348   echo "$as_me:$LINENO: \$? = $ac_status" >&5
54349   (exit $ac_status); }; }; then
54350   glibcxx_cv_func_isinf_use=yes
54351 else
54352   echo "$as_me: failed program was:" >&5
54353 sed 's/^/| /' conftest.$ac_ext >&5
54354
54355 glibcxx_cv_func_isinf_use=no
54356 fi
54357 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
54358       ac_ext=c
54359 ac_cpp='$CPP $CPPFLAGS'
54360 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54361 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54362 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54363
54364
54365 fi
54366
54367   fi
54368   echo "$as_me:$LINENO: result: $glibcxx_cv_func_isinf_use" >&5
54369 echo "${ECHO_T}$glibcxx_cv_func_isinf_use" >&6
54370
54371   if test x$glibcxx_cv_func_isinf_use = x"yes"; then
54372
54373 for ac_func in isinf
54374 do
54375 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
54376 echo "$as_me:$LINENO: checking for $ac_func" >&5
54377 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
54378 if eval "test \"\${$as_ac_var+set}\" = set"; then
54379   echo $ECHO_N "(cached) $ECHO_C" >&6
54380 else
54381   if test x$gcc_no_link = xyes; then
54382   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
54383 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
54384    { (exit 1); exit 1; }; }
54385 fi
54386 cat >conftest.$ac_ext <<_ACEOF
54387 /* confdefs.h.  */
54388 _ACEOF
54389 cat confdefs.h >>conftest.$ac_ext
54390 cat >>conftest.$ac_ext <<_ACEOF
54391 /* end confdefs.h.  */
54392 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
54393    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
54394 #define $ac_func innocuous_$ac_func
54395
54396 /* System header to define __stub macros and hopefully few prototypes,
54397     which can conflict with char $ac_func (); below.
54398     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
54399     <limits.h> exists even on freestanding compilers.  */
54400
54401 #ifdef __STDC__
54402 # include <limits.h>
54403 #else
54404 # include <assert.h>
54405 #endif
54406
54407 #undef $ac_func
54408
54409 /* Override any gcc2 internal prototype to avoid an error.  */
54410 #ifdef __cplusplus
54411 extern "C"
54412 {
54413 #endif
54414 /* We use char because int might match the return type of a gcc2
54415    builtin and then its argument prototype would still apply.  */
54416 char $ac_func ();
54417 /* The GNU C library defines this for functions which it implements
54418     to always fail with ENOSYS.  Some functions are actually named
54419     something starting with __ and the normal name is an alias.  */
54420 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
54421 choke me
54422 #else
54423 char (*f) () = $ac_func;
54424 #endif
54425 #ifdef __cplusplus
54426 }
54427 #endif
54428
54429 int
54430 main ()
54431 {
54432 return f != $ac_func;
54433   ;
54434   return 0;
54435 }
54436 _ACEOF
54437 rm -f conftest.$ac_objext conftest$ac_exeext
54438 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
54439   (eval $ac_link) 2>conftest.er1
54440   ac_status=$?
54441   grep -v '^ *+' conftest.er1 >conftest.err
54442   rm -f conftest.er1
54443   cat conftest.err >&5
54444   echo "$as_me:$LINENO: \$? = $ac_status" >&5
54445   (exit $ac_status); } &&
54446          { ac_try='test -z "$ac_c_werror_flag"
54447                          || test ! -s conftest.err'
54448   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
54449   (eval $ac_try) 2>&5
54450   ac_status=$?
54451   echo "$as_me:$LINENO: \$? = $ac_status" >&5
54452   (exit $ac_status); }; } &&
54453          { ac_try='test -s conftest$ac_exeext'
54454   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
54455   (eval $ac_try) 2>&5
54456   ac_status=$?
54457   echo "$as_me:$LINENO: \$? = $ac_status" >&5
54458   (exit $ac_status); }; }; then
54459   eval "$as_ac_var=yes"
54460 else
54461   echo "$as_me: failed program was:" >&5
54462 sed 's/^/| /' conftest.$ac_ext >&5
54463
54464 eval "$as_ac_var=no"
54465 fi
54466 rm -f conftest.err conftest.$ac_objext \
54467       conftest$ac_exeext conftest.$ac_ext
54468 fi
54469 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
54470 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
54471 if test `eval echo '${'$as_ac_var'}'` = yes; then
54472   cat >>confdefs.h <<_ACEOF
54473 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
54474 _ACEOF
54475
54476 fi
54477 done
54478
54479   else
54480
54481   echo "$as_me:$LINENO: checking for _isinf declaration" >&5
54482 echo $ECHO_N "checking for _isinf declaration... $ECHO_C" >&6
54483   if test x${glibcxx_cv_func__isinf_use+set} != xset; then
54484     if test "${glibcxx_cv_func__isinf_use+set}" = set; then
54485   echo $ECHO_N "(cached) $ECHO_C" >&6
54486 else
54487
54488
54489
54490       ac_ext=cc
54491 ac_cpp='$CXXCPP $CPPFLAGS'
54492 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54493 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54494 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54495
54496       cat >conftest.$ac_ext <<_ACEOF
54497 /* confdefs.h.  */
54498 _ACEOF
54499 cat confdefs.h >>conftest.$ac_ext
54500 cat >>conftest.$ac_ext <<_ACEOF
54501 /* end confdefs.h.  */
54502 #include <math.h>
54503                       #ifdef HAVE_IEEEFP_H
54504                       #include <ieeefp.h>
54505                       #endif
54506
54507 int
54508 main ()
54509 {
54510  _isinf(0);
54511   ;
54512   return 0;
54513 }
54514 _ACEOF
54515 rm -f conftest.$ac_objext
54516 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
54517   (eval $ac_compile) 2>conftest.er1
54518   ac_status=$?
54519   grep -v '^ *+' conftest.er1 >conftest.err
54520   rm -f conftest.er1
54521   cat conftest.err >&5
54522   echo "$as_me:$LINENO: \$? = $ac_status" >&5
54523   (exit $ac_status); } &&
54524          { ac_try='test -z "$ac_cxx_werror_flag"
54525                          || test ! -s conftest.err'
54526   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
54527   (eval $ac_try) 2>&5
54528   ac_status=$?
54529   echo "$as_me:$LINENO: \$? = $ac_status" >&5
54530   (exit $ac_status); }; } &&
54531          { ac_try='test -s conftest.$ac_objext'
54532   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
54533   (eval $ac_try) 2>&5
54534   ac_status=$?
54535   echo "$as_me:$LINENO: \$? = $ac_status" >&5
54536   (exit $ac_status); }; }; then
54537   glibcxx_cv_func__isinf_use=yes
54538 else
54539   echo "$as_me: failed program was:" >&5
54540 sed 's/^/| /' conftest.$ac_ext >&5
54541
54542 glibcxx_cv_func__isinf_use=no
54543 fi
54544 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
54545       ac_ext=c
54546 ac_cpp='$CPP $CPPFLAGS'
54547 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54548 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54549 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54550
54551
54552 fi
54553
54554   fi
54555   echo "$as_me:$LINENO: result: $glibcxx_cv_func__isinf_use" >&5
54556 echo "${ECHO_T}$glibcxx_cv_func__isinf_use" >&6
54557
54558     if test x$glibcxx_cv_func__isinf_use = x"yes"; then
54559
54560 for ac_func in _isinf
54561 do
54562 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
54563 echo "$as_me:$LINENO: checking for $ac_func" >&5
54564 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
54565 if eval "test \"\${$as_ac_var+set}\" = set"; then
54566   echo $ECHO_N "(cached) $ECHO_C" >&6
54567 else
54568   if test x$gcc_no_link = xyes; then
54569   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
54570 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
54571    { (exit 1); exit 1; }; }
54572 fi
54573 cat >conftest.$ac_ext <<_ACEOF
54574 /* confdefs.h.  */
54575 _ACEOF
54576 cat confdefs.h >>conftest.$ac_ext
54577 cat >>conftest.$ac_ext <<_ACEOF
54578 /* end confdefs.h.  */
54579 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
54580    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
54581 #define $ac_func innocuous_$ac_func
54582
54583 /* System header to define __stub macros and hopefully few prototypes,
54584     which can conflict with char $ac_func (); below.
54585     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
54586     <limits.h> exists even on freestanding compilers.  */
54587
54588 #ifdef __STDC__
54589 # include <limits.h>
54590 #else
54591 # include <assert.h>
54592 #endif
54593
54594 #undef $ac_func
54595
54596 /* Override any gcc2 internal prototype to avoid an error.  */
54597 #ifdef __cplusplus
54598 extern "C"
54599 {
54600 #endif
54601 /* We use char because int might match the return type of a gcc2
54602    builtin and then its argument prototype would still apply.  */
54603 char $ac_func ();
54604 /* The GNU C library defines this for functions which it implements
54605     to always fail with ENOSYS.  Some functions are actually named
54606     something starting with __ and the normal name is an alias.  */
54607 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
54608 choke me
54609 #else
54610 char (*f) () = $ac_func;
54611 #endif
54612 #ifdef __cplusplus
54613 }
54614 #endif
54615
54616 int
54617 main ()
54618 {
54619 return f != $ac_func;
54620   ;
54621   return 0;
54622 }
54623 _ACEOF
54624 rm -f conftest.$ac_objext conftest$ac_exeext
54625 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
54626   (eval $ac_link) 2>conftest.er1
54627   ac_status=$?
54628   grep -v '^ *+' conftest.er1 >conftest.err
54629   rm -f conftest.er1
54630   cat conftest.err >&5
54631   echo "$as_me:$LINENO: \$? = $ac_status" >&5
54632   (exit $ac_status); } &&
54633          { ac_try='test -z "$ac_c_werror_flag"
54634                          || test ! -s conftest.err'
54635   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
54636   (eval $ac_try) 2>&5
54637   ac_status=$?
54638   echo "$as_me:$LINENO: \$? = $ac_status" >&5
54639   (exit $ac_status); }; } &&
54640          { ac_try='test -s conftest$ac_exeext'
54641   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
54642   (eval $ac_try) 2>&5
54643   ac_status=$?
54644   echo "$as_me:$LINENO: \$? = $ac_status" >&5
54645   (exit $ac_status); }; }; then
54646   eval "$as_ac_var=yes"
54647 else
54648   echo "$as_me: failed program was:" >&5
54649 sed 's/^/| /' conftest.$ac_ext >&5
54650
54651 eval "$as_ac_var=no"
54652 fi
54653 rm -f conftest.err conftest.$ac_objext \
54654       conftest$ac_exeext conftest.$ac_ext
54655 fi
54656 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
54657 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
54658 if test `eval echo '${'$as_ac_var'}'` = yes; then
54659   cat >>confdefs.h <<_ACEOF
54660 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
54661 _ACEOF
54662
54663 fi
54664 done
54665
54666     fi
54667   fi
54668
54669
54670
54671
54672
54673
54674   echo "$as_me:$LINENO: checking for isnan declaration" >&5
54675 echo $ECHO_N "checking for isnan declaration... $ECHO_C" >&6
54676   if test x${glibcxx_cv_func_isnan_use+set} != xset; then
54677     if test "${glibcxx_cv_func_isnan_use+set}" = set; then
54678   echo $ECHO_N "(cached) $ECHO_C" >&6
54679 else
54680
54681
54682
54683       ac_ext=cc
54684 ac_cpp='$CXXCPP $CPPFLAGS'
54685 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54686 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54687 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54688
54689       cat >conftest.$ac_ext <<_ACEOF
54690 /* confdefs.h.  */
54691 _ACEOF
54692 cat confdefs.h >>conftest.$ac_ext
54693 cat >>conftest.$ac_ext <<_ACEOF
54694 /* end confdefs.h.  */
54695 #include <math.h>
54696                       #ifdef HAVE_IEEEFP_H
54697                       #include <ieeefp.h>
54698                       #endif
54699
54700 int
54701 main ()
54702 {
54703  isnan(0);
54704   ;
54705   return 0;
54706 }
54707 _ACEOF
54708 rm -f conftest.$ac_objext
54709 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
54710   (eval $ac_compile) 2>conftest.er1
54711   ac_status=$?
54712   grep -v '^ *+' conftest.er1 >conftest.err
54713   rm -f conftest.er1
54714   cat conftest.err >&5
54715   echo "$as_me:$LINENO: \$? = $ac_status" >&5
54716   (exit $ac_status); } &&
54717          { ac_try='test -z "$ac_cxx_werror_flag"
54718                          || test ! -s conftest.err'
54719   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
54720   (eval $ac_try) 2>&5
54721   ac_status=$?
54722   echo "$as_me:$LINENO: \$? = $ac_status" >&5
54723   (exit $ac_status); }; } &&
54724          { ac_try='test -s conftest.$ac_objext'
54725   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
54726   (eval $ac_try) 2>&5
54727   ac_status=$?
54728   echo "$as_me:$LINENO: \$? = $ac_status" >&5
54729   (exit $ac_status); }; }; then
54730   glibcxx_cv_func_isnan_use=yes
54731 else
54732   echo "$as_me: failed program was:" >&5
54733 sed 's/^/| /' conftest.$ac_ext >&5
54734
54735 glibcxx_cv_func_isnan_use=no
54736 fi
54737 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
54738       ac_ext=c
54739 ac_cpp='$CPP $CPPFLAGS'
54740 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54741 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54742 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54743
54744
54745 fi
54746
54747   fi
54748   echo "$as_me:$LINENO: result: $glibcxx_cv_func_isnan_use" >&5
54749 echo "${ECHO_T}$glibcxx_cv_func_isnan_use" >&6
54750
54751   if test x$glibcxx_cv_func_isnan_use = x"yes"; then
54752
54753 for ac_func in isnan
54754 do
54755 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
54756 echo "$as_me:$LINENO: checking for $ac_func" >&5
54757 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
54758 if eval "test \"\${$as_ac_var+set}\" = set"; then
54759   echo $ECHO_N "(cached) $ECHO_C" >&6
54760 else
54761   if test x$gcc_no_link = xyes; then
54762   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
54763 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
54764    { (exit 1); exit 1; }; }
54765 fi
54766 cat >conftest.$ac_ext <<_ACEOF
54767 /* confdefs.h.  */
54768 _ACEOF
54769 cat confdefs.h >>conftest.$ac_ext
54770 cat >>conftest.$ac_ext <<_ACEOF
54771 /* end confdefs.h.  */
54772 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
54773    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
54774 #define $ac_func innocuous_$ac_func
54775
54776 /* System header to define __stub macros and hopefully few prototypes,
54777     which can conflict with char $ac_func (); below.
54778     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
54779     <limits.h> exists even on freestanding compilers.  */
54780
54781 #ifdef __STDC__
54782 # include <limits.h>
54783 #else
54784 # include <assert.h>
54785 #endif
54786
54787 #undef $ac_func
54788
54789 /* Override any gcc2 internal prototype to avoid an error.  */
54790 #ifdef __cplusplus
54791 extern "C"
54792 {
54793 #endif
54794 /* We use char because int might match the return type of a gcc2
54795    builtin and then its argument prototype would still apply.  */
54796 char $ac_func ();
54797 /* The GNU C library defines this for functions which it implements
54798     to always fail with ENOSYS.  Some functions are actually named
54799     something starting with __ and the normal name is an alias.  */
54800 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
54801 choke me
54802 #else
54803 char (*f) () = $ac_func;
54804 #endif
54805 #ifdef __cplusplus
54806 }
54807 #endif
54808
54809 int
54810 main ()
54811 {
54812 return f != $ac_func;
54813   ;
54814   return 0;
54815 }
54816 _ACEOF
54817 rm -f conftest.$ac_objext conftest$ac_exeext
54818 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
54819   (eval $ac_link) 2>conftest.er1
54820   ac_status=$?
54821   grep -v '^ *+' conftest.er1 >conftest.err
54822   rm -f conftest.er1
54823   cat conftest.err >&5
54824   echo "$as_me:$LINENO: \$? = $ac_status" >&5
54825   (exit $ac_status); } &&
54826          { ac_try='test -z "$ac_c_werror_flag"
54827                          || test ! -s conftest.err'
54828   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
54829   (eval $ac_try) 2>&5
54830   ac_status=$?
54831   echo "$as_me:$LINENO: \$? = $ac_status" >&5
54832   (exit $ac_status); }; } &&
54833          { ac_try='test -s conftest$ac_exeext'
54834   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
54835   (eval $ac_try) 2>&5
54836   ac_status=$?
54837   echo "$as_me:$LINENO: \$? = $ac_status" >&5
54838   (exit $ac_status); }; }; then
54839   eval "$as_ac_var=yes"
54840 else
54841   echo "$as_me: failed program was:" >&5
54842 sed 's/^/| /' conftest.$ac_ext >&5
54843
54844 eval "$as_ac_var=no"
54845 fi
54846 rm -f conftest.err conftest.$ac_objext \
54847       conftest$ac_exeext conftest.$ac_ext
54848 fi
54849 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
54850 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
54851 if test `eval echo '${'$as_ac_var'}'` = yes; then
54852   cat >>confdefs.h <<_ACEOF
54853 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
54854 _ACEOF
54855
54856 fi
54857 done
54858
54859   else
54860
54861   echo "$as_me:$LINENO: checking for _isnan declaration" >&5
54862 echo $ECHO_N "checking for _isnan declaration... $ECHO_C" >&6
54863   if test x${glibcxx_cv_func__isnan_use+set} != xset; then
54864     if test "${glibcxx_cv_func__isnan_use+set}" = set; then
54865   echo $ECHO_N "(cached) $ECHO_C" >&6
54866 else
54867
54868
54869
54870       ac_ext=cc
54871 ac_cpp='$CXXCPP $CPPFLAGS'
54872 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54873 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54874 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54875
54876       cat >conftest.$ac_ext <<_ACEOF
54877 /* confdefs.h.  */
54878 _ACEOF
54879 cat confdefs.h >>conftest.$ac_ext
54880 cat >>conftest.$ac_ext <<_ACEOF
54881 /* end confdefs.h.  */
54882 #include <math.h>
54883                       #ifdef HAVE_IEEEFP_H
54884                       #include <ieeefp.h>
54885                       #endif
54886
54887 int
54888 main ()
54889 {
54890  _isnan(0);
54891   ;
54892   return 0;
54893 }
54894 _ACEOF
54895 rm -f conftest.$ac_objext
54896 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
54897   (eval $ac_compile) 2>conftest.er1
54898   ac_status=$?
54899   grep -v '^ *+' conftest.er1 >conftest.err
54900   rm -f conftest.er1
54901   cat conftest.err >&5
54902   echo "$as_me:$LINENO: \$? = $ac_status" >&5
54903   (exit $ac_status); } &&
54904          { ac_try='test -z "$ac_cxx_werror_flag"
54905                          || test ! -s conftest.err'
54906   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
54907   (eval $ac_try) 2>&5
54908   ac_status=$?
54909   echo "$as_me:$LINENO: \$? = $ac_status" >&5
54910   (exit $ac_status); }; } &&
54911          { ac_try='test -s conftest.$ac_objext'
54912   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
54913   (eval $ac_try) 2>&5
54914   ac_status=$?
54915   echo "$as_me:$LINENO: \$? = $ac_status" >&5
54916   (exit $ac_status); }; }; then
54917   glibcxx_cv_func__isnan_use=yes
54918 else
54919   echo "$as_me: failed program was:" >&5
54920 sed 's/^/| /' conftest.$ac_ext >&5
54921
54922 glibcxx_cv_func__isnan_use=no
54923 fi
54924 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
54925       ac_ext=c
54926 ac_cpp='$CPP $CPPFLAGS'
54927 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54928 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54929 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54930
54931
54932 fi
54933
54934   fi
54935   echo "$as_me:$LINENO: result: $glibcxx_cv_func__isnan_use" >&5
54936 echo "${ECHO_T}$glibcxx_cv_func__isnan_use" >&6
54937
54938     if test x$glibcxx_cv_func__isnan_use = x"yes"; then
54939
54940 for ac_func in _isnan
54941 do
54942 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
54943 echo "$as_me:$LINENO: checking for $ac_func" >&5
54944 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
54945 if eval "test \"\${$as_ac_var+set}\" = set"; then
54946   echo $ECHO_N "(cached) $ECHO_C" >&6
54947 else
54948   if test x$gcc_no_link = xyes; then
54949   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
54950 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
54951    { (exit 1); exit 1; }; }
54952 fi
54953 cat >conftest.$ac_ext <<_ACEOF
54954 /* confdefs.h.  */
54955 _ACEOF
54956 cat confdefs.h >>conftest.$ac_ext
54957 cat >>conftest.$ac_ext <<_ACEOF
54958 /* end confdefs.h.  */
54959 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
54960    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
54961 #define $ac_func innocuous_$ac_func
54962
54963 /* System header to define __stub macros and hopefully few prototypes,
54964     which can conflict with char $ac_func (); below.
54965     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
54966     <limits.h> exists even on freestanding compilers.  */
54967
54968 #ifdef __STDC__
54969 # include <limits.h>
54970 #else
54971 # include <assert.h>
54972 #endif
54973
54974 #undef $ac_func
54975
54976 /* Override any gcc2 internal prototype to avoid an error.  */
54977 #ifdef __cplusplus
54978 extern "C"
54979 {
54980 #endif
54981 /* We use char because int might match the return type of a gcc2
54982    builtin and then its argument prototype would still apply.  */
54983 char $ac_func ();
54984 /* The GNU C library defines this for functions which it implements
54985     to always fail with ENOSYS.  Some functions are actually named
54986     something starting with __ and the normal name is an alias.  */
54987 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
54988 choke me
54989 #else
54990 char (*f) () = $ac_func;
54991 #endif
54992 #ifdef __cplusplus
54993 }
54994 #endif
54995
54996 int
54997 main ()
54998 {
54999 return f != $ac_func;
55000   ;
55001   return 0;
55002 }
55003 _ACEOF
55004 rm -f conftest.$ac_objext conftest$ac_exeext
55005 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
55006   (eval $ac_link) 2>conftest.er1
55007   ac_status=$?
55008   grep -v '^ *+' conftest.er1 >conftest.err
55009   rm -f conftest.er1
55010   cat conftest.err >&5
55011   echo "$as_me:$LINENO: \$? = $ac_status" >&5
55012   (exit $ac_status); } &&
55013          { ac_try='test -z "$ac_c_werror_flag"
55014                          || test ! -s conftest.err'
55015   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
55016   (eval $ac_try) 2>&5
55017   ac_status=$?
55018   echo "$as_me:$LINENO: \$? = $ac_status" >&5
55019   (exit $ac_status); }; } &&
55020          { ac_try='test -s conftest$ac_exeext'
55021   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
55022   (eval $ac_try) 2>&5
55023   ac_status=$?
55024   echo "$as_me:$LINENO: \$? = $ac_status" >&5
55025   (exit $ac_status); }; }; then
55026   eval "$as_ac_var=yes"
55027 else
55028   echo "$as_me: failed program was:" >&5
55029 sed 's/^/| /' conftest.$ac_ext >&5
55030
55031 eval "$as_ac_var=no"
55032 fi
55033 rm -f conftest.err conftest.$ac_objext \
55034       conftest$ac_exeext conftest.$ac_ext
55035 fi
55036 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
55037 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
55038 if test `eval echo '${'$as_ac_var'}'` = yes; then
55039   cat >>confdefs.h <<_ACEOF
55040 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
55041 _ACEOF
55042
55043 fi
55044 done
55045
55046     fi
55047   fi
55048
55049
55050
55051
55052
55053
55054   echo "$as_me:$LINENO: checking for finite declaration" >&5
55055 echo $ECHO_N "checking for finite declaration... $ECHO_C" >&6
55056   if test x${glibcxx_cv_func_finite_use+set} != xset; then
55057     if test "${glibcxx_cv_func_finite_use+set}" = set; then
55058   echo $ECHO_N "(cached) $ECHO_C" >&6
55059 else
55060
55061
55062
55063       ac_ext=cc
55064 ac_cpp='$CXXCPP $CPPFLAGS'
55065 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55066 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55067 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55068
55069       cat >conftest.$ac_ext <<_ACEOF
55070 /* confdefs.h.  */
55071 _ACEOF
55072 cat confdefs.h >>conftest.$ac_ext
55073 cat >>conftest.$ac_ext <<_ACEOF
55074 /* end confdefs.h.  */
55075 #include <math.h>
55076                       #ifdef HAVE_IEEEFP_H
55077                       #include <ieeefp.h>
55078                       #endif
55079
55080 int
55081 main ()
55082 {
55083  finite(0);
55084   ;
55085   return 0;
55086 }
55087 _ACEOF
55088 rm -f conftest.$ac_objext
55089 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
55090   (eval $ac_compile) 2>conftest.er1
55091   ac_status=$?
55092   grep -v '^ *+' conftest.er1 >conftest.err
55093   rm -f conftest.er1
55094   cat conftest.err >&5
55095   echo "$as_me:$LINENO: \$? = $ac_status" >&5
55096   (exit $ac_status); } &&
55097          { ac_try='test -z "$ac_cxx_werror_flag"
55098                          || test ! -s conftest.err'
55099   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
55100   (eval $ac_try) 2>&5
55101   ac_status=$?
55102   echo "$as_me:$LINENO: \$? = $ac_status" >&5
55103   (exit $ac_status); }; } &&
55104          { ac_try='test -s conftest.$ac_objext'
55105   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
55106   (eval $ac_try) 2>&5
55107   ac_status=$?
55108   echo "$as_me:$LINENO: \$? = $ac_status" >&5
55109   (exit $ac_status); }; }; then
55110   glibcxx_cv_func_finite_use=yes
55111 else
55112   echo "$as_me: failed program was:" >&5
55113 sed 's/^/| /' conftest.$ac_ext >&5
55114
55115 glibcxx_cv_func_finite_use=no
55116 fi
55117 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
55118       ac_ext=c
55119 ac_cpp='$CPP $CPPFLAGS'
55120 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55121 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55122 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55123
55124
55125 fi
55126
55127   fi
55128   echo "$as_me:$LINENO: result: $glibcxx_cv_func_finite_use" >&5
55129 echo "${ECHO_T}$glibcxx_cv_func_finite_use" >&6
55130
55131   if test x$glibcxx_cv_func_finite_use = x"yes"; then
55132
55133 for ac_func in finite
55134 do
55135 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
55136 echo "$as_me:$LINENO: checking for $ac_func" >&5
55137 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
55138 if eval "test \"\${$as_ac_var+set}\" = set"; then
55139   echo $ECHO_N "(cached) $ECHO_C" >&6
55140 else
55141   if test x$gcc_no_link = xyes; then
55142   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
55143 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
55144    { (exit 1); exit 1; }; }
55145 fi
55146 cat >conftest.$ac_ext <<_ACEOF
55147 /* confdefs.h.  */
55148 _ACEOF
55149 cat confdefs.h >>conftest.$ac_ext
55150 cat >>conftest.$ac_ext <<_ACEOF
55151 /* end confdefs.h.  */
55152 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
55153    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
55154 #define $ac_func innocuous_$ac_func
55155
55156 /* System header to define __stub macros and hopefully few prototypes,
55157     which can conflict with char $ac_func (); below.
55158     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
55159     <limits.h> exists even on freestanding compilers.  */
55160
55161 #ifdef __STDC__
55162 # include <limits.h>
55163 #else
55164 # include <assert.h>
55165 #endif
55166
55167 #undef $ac_func
55168
55169 /* Override any gcc2 internal prototype to avoid an error.  */
55170 #ifdef __cplusplus
55171 extern "C"
55172 {
55173 #endif
55174 /* We use char because int might match the return type of a gcc2
55175    builtin and then its argument prototype would still apply.  */
55176 char $ac_func ();
55177 /* The GNU C library defines this for functions which it implements
55178     to always fail with ENOSYS.  Some functions are actually named
55179     something starting with __ and the normal name is an alias.  */
55180 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
55181 choke me
55182 #else
55183 char (*f) () = $ac_func;
55184 #endif
55185 #ifdef __cplusplus
55186 }
55187 #endif
55188
55189 int
55190 main ()
55191 {
55192 return f != $ac_func;
55193   ;
55194   return 0;
55195 }
55196 _ACEOF
55197 rm -f conftest.$ac_objext conftest$ac_exeext
55198 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
55199   (eval $ac_link) 2>conftest.er1
55200   ac_status=$?
55201   grep -v '^ *+' conftest.er1 >conftest.err
55202   rm -f conftest.er1
55203   cat conftest.err >&5
55204   echo "$as_me:$LINENO: \$? = $ac_status" >&5
55205   (exit $ac_status); } &&
55206          { ac_try='test -z "$ac_c_werror_flag"
55207                          || test ! -s conftest.err'
55208   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
55209   (eval $ac_try) 2>&5
55210   ac_status=$?
55211   echo "$as_me:$LINENO: \$? = $ac_status" >&5
55212   (exit $ac_status); }; } &&
55213          { ac_try='test -s conftest$ac_exeext'
55214   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
55215   (eval $ac_try) 2>&5
55216   ac_status=$?
55217   echo "$as_me:$LINENO: \$? = $ac_status" >&5
55218   (exit $ac_status); }; }; then
55219   eval "$as_ac_var=yes"
55220 else
55221   echo "$as_me: failed program was:" >&5
55222 sed 's/^/| /' conftest.$ac_ext >&5
55223
55224 eval "$as_ac_var=no"
55225 fi
55226 rm -f conftest.err conftest.$ac_objext \
55227       conftest$ac_exeext conftest.$ac_ext
55228 fi
55229 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
55230 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
55231 if test `eval echo '${'$as_ac_var'}'` = yes; then
55232   cat >>confdefs.h <<_ACEOF
55233 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
55234 _ACEOF
55235
55236 fi
55237 done
55238
55239   else
55240
55241   echo "$as_me:$LINENO: checking for _finite declaration" >&5
55242 echo $ECHO_N "checking for _finite declaration... $ECHO_C" >&6
55243   if test x${glibcxx_cv_func__finite_use+set} != xset; then
55244     if test "${glibcxx_cv_func__finite_use+set}" = set; then
55245   echo $ECHO_N "(cached) $ECHO_C" >&6
55246 else
55247
55248
55249
55250       ac_ext=cc
55251 ac_cpp='$CXXCPP $CPPFLAGS'
55252 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55253 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55254 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55255
55256       cat >conftest.$ac_ext <<_ACEOF
55257 /* confdefs.h.  */
55258 _ACEOF
55259 cat confdefs.h >>conftest.$ac_ext
55260 cat >>conftest.$ac_ext <<_ACEOF
55261 /* end confdefs.h.  */
55262 #include <math.h>
55263                       #ifdef HAVE_IEEEFP_H
55264                       #include <ieeefp.h>
55265                       #endif
55266
55267 int
55268 main ()
55269 {
55270  _finite(0);
55271   ;
55272   return 0;
55273 }
55274 _ACEOF
55275 rm -f conftest.$ac_objext
55276 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
55277   (eval $ac_compile) 2>conftest.er1
55278   ac_status=$?
55279   grep -v '^ *+' conftest.er1 >conftest.err
55280   rm -f conftest.er1
55281   cat conftest.err >&5
55282   echo "$as_me:$LINENO: \$? = $ac_status" >&5
55283   (exit $ac_status); } &&
55284          { ac_try='test -z "$ac_cxx_werror_flag"
55285                          || test ! -s conftest.err'
55286   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
55287   (eval $ac_try) 2>&5
55288   ac_status=$?
55289   echo "$as_me:$LINENO: \$? = $ac_status" >&5
55290   (exit $ac_status); }; } &&
55291          { ac_try='test -s conftest.$ac_objext'
55292   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
55293   (eval $ac_try) 2>&5
55294   ac_status=$?
55295   echo "$as_me:$LINENO: \$? = $ac_status" >&5
55296   (exit $ac_status); }; }; then
55297   glibcxx_cv_func__finite_use=yes
55298 else
55299   echo "$as_me: failed program was:" >&5
55300 sed 's/^/| /' conftest.$ac_ext >&5
55301
55302 glibcxx_cv_func__finite_use=no
55303 fi
55304 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
55305       ac_ext=c
55306 ac_cpp='$CPP $CPPFLAGS'
55307 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55308 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55309 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55310
55311
55312 fi
55313
55314   fi
55315   echo "$as_me:$LINENO: result: $glibcxx_cv_func__finite_use" >&5
55316 echo "${ECHO_T}$glibcxx_cv_func__finite_use" >&6
55317
55318     if test x$glibcxx_cv_func__finite_use = x"yes"; then
55319
55320 for ac_func in _finite
55321 do
55322 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
55323 echo "$as_me:$LINENO: checking for $ac_func" >&5
55324 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
55325 if eval "test \"\${$as_ac_var+set}\" = set"; then
55326   echo $ECHO_N "(cached) $ECHO_C" >&6
55327 else
55328   if test x$gcc_no_link = xyes; then
55329   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
55330 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
55331    { (exit 1); exit 1; }; }
55332 fi
55333 cat >conftest.$ac_ext <<_ACEOF
55334 /* confdefs.h.  */
55335 _ACEOF
55336 cat confdefs.h >>conftest.$ac_ext
55337 cat >>conftest.$ac_ext <<_ACEOF
55338 /* end confdefs.h.  */
55339 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
55340    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
55341 #define $ac_func innocuous_$ac_func
55342
55343 /* System header to define __stub macros and hopefully few prototypes,
55344     which can conflict with char $ac_func (); below.
55345     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
55346     <limits.h> exists even on freestanding compilers.  */
55347
55348 #ifdef __STDC__
55349 # include <limits.h>
55350 #else
55351 # include <assert.h>
55352 #endif
55353
55354 #undef $ac_func
55355
55356 /* Override any gcc2 internal prototype to avoid an error.  */
55357 #ifdef __cplusplus
55358 extern "C"
55359 {
55360 #endif
55361 /* We use char because int might match the return type of a gcc2
55362    builtin and then its argument prototype would still apply.  */
55363 char $ac_func ();
55364 /* The GNU C library defines this for functions which it implements
55365     to always fail with ENOSYS.  Some functions are actually named
55366     something starting with __ and the normal name is an alias.  */
55367 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
55368 choke me
55369 #else
55370 char (*f) () = $ac_func;
55371 #endif
55372 #ifdef __cplusplus
55373 }
55374 #endif
55375
55376 int
55377 main ()
55378 {
55379 return f != $ac_func;
55380   ;
55381   return 0;
55382 }
55383 _ACEOF
55384 rm -f conftest.$ac_objext conftest$ac_exeext
55385 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
55386   (eval $ac_link) 2>conftest.er1
55387   ac_status=$?
55388   grep -v '^ *+' conftest.er1 >conftest.err
55389   rm -f conftest.er1
55390   cat conftest.err >&5
55391   echo "$as_me:$LINENO: \$? = $ac_status" >&5
55392   (exit $ac_status); } &&
55393          { ac_try='test -z "$ac_c_werror_flag"
55394                          || test ! -s conftest.err'
55395   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
55396   (eval $ac_try) 2>&5
55397   ac_status=$?
55398   echo "$as_me:$LINENO: \$? = $ac_status" >&5
55399   (exit $ac_status); }; } &&
55400          { ac_try='test -s conftest$ac_exeext'
55401   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
55402   (eval $ac_try) 2>&5
55403   ac_status=$?
55404   echo "$as_me:$LINENO: \$? = $ac_status" >&5
55405   (exit $ac_status); }; }; then
55406   eval "$as_ac_var=yes"
55407 else
55408   echo "$as_me: failed program was:" >&5
55409 sed 's/^/| /' conftest.$ac_ext >&5
55410
55411 eval "$as_ac_var=no"
55412 fi
55413 rm -f conftest.err conftest.$ac_objext \
55414       conftest$ac_exeext conftest.$ac_ext
55415 fi
55416 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
55417 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
55418 if test `eval echo '${'$as_ac_var'}'` = yes; then
55419   cat >>confdefs.h <<_ACEOF
55420 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
55421 _ACEOF
55422
55423 fi
55424 done
55425
55426     fi
55427   fi
55428
55429
55430
55431
55432
55433
55434   echo "$as_me:$LINENO: checking for copysign declaration" >&5
55435 echo $ECHO_N "checking for copysign declaration... $ECHO_C" >&6
55436   if test x${glibcxx_cv_func_copysign_use+set} != xset; then
55437     if test "${glibcxx_cv_func_copysign_use+set}" = set; then
55438   echo $ECHO_N "(cached) $ECHO_C" >&6
55439 else
55440
55441
55442
55443       ac_ext=cc
55444 ac_cpp='$CXXCPP $CPPFLAGS'
55445 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55446 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55447 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55448
55449       cat >conftest.$ac_ext <<_ACEOF
55450 /* confdefs.h.  */
55451 _ACEOF
55452 cat confdefs.h >>conftest.$ac_ext
55453 cat >>conftest.$ac_ext <<_ACEOF
55454 /* end confdefs.h.  */
55455 #include <math.h>
55456 int
55457 main ()
55458 {
55459  copysign(0, 0);
55460   ;
55461   return 0;
55462 }
55463 _ACEOF
55464 rm -f conftest.$ac_objext
55465 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
55466   (eval $ac_compile) 2>conftest.er1
55467   ac_status=$?
55468   grep -v '^ *+' conftest.er1 >conftest.err
55469   rm -f conftest.er1
55470   cat conftest.err >&5
55471   echo "$as_me:$LINENO: \$? = $ac_status" >&5
55472   (exit $ac_status); } &&
55473          { ac_try='test -z "$ac_cxx_werror_flag"
55474                          || test ! -s conftest.err'
55475   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
55476   (eval $ac_try) 2>&5
55477   ac_status=$?
55478   echo "$as_me:$LINENO: \$? = $ac_status" >&5
55479   (exit $ac_status); }; } &&
55480          { ac_try='test -s conftest.$ac_objext'
55481   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
55482   (eval $ac_try) 2>&5
55483   ac_status=$?
55484   echo "$as_me:$LINENO: \$? = $ac_status" >&5
55485   (exit $ac_status); }; }; then
55486   glibcxx_cv_func_copysign_use=yes
55487 else
55488   echo "$as_me: failed program was:" >&5
55489 sed 's/^/| /' conftest.$ac_ext >&5
55490
55491 glibcxx_cv_func_copysign_use=no
55492 fi
55493 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
55494       ac_ext=c
55495 ac_cpp='$CPP $CPPFLAGS'
55496 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55497 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55498 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55499
55500
55501 fi
55502
55503   fi
55504   echo "$as_me:$LINENO: result: $glibcxx_cv_func_copysign_use" >&5
55505 echo "${ECHO_T}$glibcxx_cv_func_copysign_use" >&6
55506
55507   if test x$glibcxx_cv_func_copysign_use = x"yes"; then
55508
55509 for ac_func in copysign
55510 do
55511 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
55512 echo "$as_me:$LINENO: checking for $ac_func" >&5
55513 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
55514 if eval "test \"\${$as_ac_var+set}\" = set"; then
55515   echo $ECHO_N "(cached) $ECHO_C" >&6
55516 else
55517   if test x$gcc_no_link = xyes; then
55518   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
55519 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
55520    { (exit 1); exit 1; }; }
55521 fi
55522 cat >conftest.$ac_ext <<_ACEOF
55523 /* confdefs.h.  */
55524 _ACEOF
55525 cat confdefs.h >>conftest.$ac_ext
55526 cat >>conftest.$ac_ext <<_ACEOF
55527 /* end confdefs.h.  */
55528 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
55529    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
55530 #define $ac_func innocuous_$ac_func
55531
55532 /* System header to define __stub macros and hopefully few prototypes,
55533     which can conflict with char $ac_func (); below.
55534     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
55535     <limits.h> exists even on freestanding compilers.  */
55536
55537 #ifdef __STDC__
55538 # include <limits.h>
55539 #else
55540 # include <assert.h>
55541 #endif
55542
55543 #undef $ac_func
55544
55545 /* Override any gcc2 internal prototype to avoid an error.  */
55546 #ifdef __cplusplus
55547 extern "C"
55548 {
55549 #endif
55550 /* We use char because int might match the return type of a gcc2
55551    builtin and then its argument prototype would still apply.  */
55552 char $ac_func ();
55553 /* The GNU C library defines this for functions which it implements
55554     to always fail with ENOSYS.  Some functions are actually named
55555     something starting with __ and the normal name is an alias.  */
55556 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
55557 choke me
55558 #else
55559 char (*f) () = $ac_func;
55560 #endif
55561 #ifdef __cplusplus
55562 }
55563 #endif
55564
55565 int
55566 main ()
55567 {
55568 return f != $ac_func;
55569   ;
55570   return 0;
55571 }
55572 _ACEOF
55573 rm -f conftest.$ac_objext conftest$ac_exeext
55574 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
55575   (eval $ac_link) 2>conftest.er1
55576   ac_status=$?
55577   grep -v '^ *+' conftest.er1 >conftest.err
55578   rm -f conftest.er1
55579   cat conftest.err >&5
55580   echo "$as_me:$LINENO: \$? = $ac_status" >&5
55581   (exit $ac_status); } &&
55582          { ac_try='test -z "$ac_c_werror_flag"
55583                          || test ! -s conftest.err'
55584   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
55585   (eval $ac_try) 2>&5
55586   ac_status=$?
55587   echo "$as_me:$LINENO: \$? = $ac_status" >&5
55588   (exit $ac_status); }; } &&
55589          { ac_try='test -s conftest$ac_exeext'
55590   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
55591   (eval $ac_try) 2>&5
55592   ac_status=$?
55593   echo "$as_me:$LINENO: \$? = $ac_status" >&5
55594   (exit $ac_status); }; }; then
55595   eval "$as_ac_var=yes"
55596 else
55597   echo "$as_me: failed program was:" >&5
55598 sed 's/^/| /' conftest.$ac_ext >&5
55599
55600 eval "$as_ac_var=no"
55601 fi
55602 rm -f conftest.err conftest.$ac_objext \
55603       conftest$ac_exeext conftest.$ac_ext
55604 fi
55605 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
55606 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
55607 if test `eval echo '${'$as_ac_var'}'` = yes; then
55608   cat >>confdefs.h <<_ACEOF
55609 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
55610 _ACEOF
55611
55612 fi
55613 done
55614
55615   else
55616
55617   echo "$as_me:$LINENO: checking for _copysign declaration" >&5
55618 echo $ECHO_N "checking for _copysign declaration... $ECHO_C" >&6
55619   if test x${glibcxx_cv_func__copysign_use+set} != xset; then
55620     if test "${glibcxx_cv_func__copysign_use+set}" = set; then
55621   echo $ECHO_N "(cached) $ECHO_C" >&6
55622 else
55623
55624
55625
55626       ac_ext=cc
55627 ac_cpp='$CXXCPP $CPPFLAGS'
55628 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55629 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55630 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55631
55632       cat >conftest.$ac_ext <<_ACEOF
55633 /* confdefs.h.  */
55634 _ACEOF
55635 cat confdefs.h >>conftest.$ac_ext
55636 cat >>conftest.$ac_ext <<_ACEOF
55637 /* end confdefs.h.  */
55638 #include <math.h>
55639 int
55640 main ()
55641 {
55642  _copysign(0, 0);
55643   ;
55644   return 0;
55645 }
55646 _ACEOF
55647 rm -f conftest.$ac_objext
55648 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
55649   (eval $ac_compile) 2>conftest.er1
55650   ac_status=$?
55651   grep -v '^ *+' conftest.er1 >conftest.err
55652   rm -f conftest.er1
55653   cat conftest.err >&5
55654   echo "$as_me:$LINENO: \$? = $ac_status" >&5
55655   (exit $ac_status); } &&
55656          { ac_try='test -z "$ac_cxx_werror_flag"
55657                          || test ! -s conftest.err'
55658   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
55659   (eval $ac_try) 2>&5
55660   ac_status=$?
55661   echo "$as_me:$LINENO: \$? = $ac_status" >&5
55662   (exit $ac_status); }; } &&
55663          { ac_try='test -s conftest.$ac_objext'
55664   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
55665   (eval $ac_try) 2>&5
55666   ac_status=$?
55667   echo "$as_me:$LINENO: \$? = $ac_status" >&5
55668   (exit $ac_status); }; }; then
55669   glibcxx_cv_func__copysign_use=yes
55670 else
55671   echo "$as_me: failed program was:" >&5
55672 sed 's/^/| /' conftest.$ac_ext >&5
55673
55674 glibcxx_cv_func__copysign_use=no
55675 fi
55676 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
55677       ac_ext=c
55678 ac_cpp='$CPP $CPPFLAGS'
55679 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55680 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55681 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55682
55683
55684 fi
55685
55686   fi
55687   echo "$as_me:$LINENO: result: $glibcxx_cv_func__copysign_use" >&5
55688 echo "${ECHO_T}$glibcxx_cv_func__copysign_use" >&6
55689
55690     if test x$glibcxx_cv_func__copysign_use = x"yes"; then
55691
55692 for ac_func in _copysign
55693 do
55694 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
55695 echo "$as_me:$LINENO: checking for $ac_func" >&5
55696 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
55697 if eval "test \"\${$as_ac_var+set}\" = set"; then
55698   echo $ECHO_N "(cached) $ECHO_C" >&6
55699 else
55700   if test x$gcc_no_link = xyes; then
55701   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
55702 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
55703    { (exit 1); exit 1; }; }
55704 fi
55705 cat >conftest.$ac_ext <<_ACEOF
55706 /* confdefs.h.  */
55707 _ACEOF
55708 cat confdefs.h >>conftest.$ac_ext
55709 cat >>conftest.$ac_ext <<_ACEOF
55710 /* end confdefs.h.  */
55711 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
55712    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
55713 #define $ac_func innocuous_$ac_func
55714
55715 /* System header to define __stub macros and hopefully few prototypes,
55716     which can conflict with char $ac_func (); below.
55717     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
55718     <limits.h> exists even on freestanding compilers.  */
55719
55720 #ifdef __STDC__
55721 # include <limits.h>
55722 #else
55723 # include <assert.h>
55724 #endif
55725
55726 #undef $ac_func
55727
55728 /* Override any gcc2 internal prototype to avoid an error.  */
55729 #ifdef __cplusplus
55730 extern "C"
55731 {
55732 #endif
55733 /* We use char because int might match the return type of a gcc2
55734    builtin and then its argument prototype would still apply.  */
55735 char $ac_func ();
55736 /* The GNU C library defines this for functions which it implements
55737     to always fail with ENOSYS.  Some functions are actually named
55738     something starting with __ and the normal name is an alias.  */
55739 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
55740 choke me
55741 #else
55742 char (*f) () = $ac_func;
55743 #endif
55744 #ifdef __cplusplus
55745 }
55746 #endif
55747
55748 int
55749 main ()
55750 {
55751 return f != $ac_func;
55752   ;
55753   return 0;
55754 }
55755 _ACEOF
55756 rm -f conftest.$ac_objext conftest$ac_exeext
55757 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
55758   (eval $ac_link) 2>conftest.er1
55759   ac_status=$?
55760   grep -v '^ *+' conftest.er1 >conftest.err
55761   rm -f conftest.er1
55762   cat conftest.err >&5
55763   echo "$as_me:$LINENO: \$? = $ac_status" >&5
55764   (exit $ac_status); } &&
55765          { ac_try='test -z "$ac_c_werror_flag"
55766                          || test ! -s conftest.err'
55767   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
55768   (eval $ac_try) 2>&5
55769   ac_status=$?
55770   echo "$as_me:$LINENO: \$? = $ac_status" >&5
55771   (exit $ac_status); }; } &&
55772          { ac_try='test -s conftest$ac_exeext'
55773   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
55774   (eval $ac_try) 2>&5
55775   ac_status=$?
55776   echo "$as_me:$LINENO: \$? = $ac_status" >&5
55777   (exit $ac_status); }; }; then
55778   eval "$as_ac_var=yes"
55779 else
55780   echo "$as_me: failed program was:" >&5
55781 sed 's/^/| /' conftest.$ac_ext >&5
55782
55783 eval "$as_ac_var=no"
55784 fi
55785 rm -f conftest.err conftest.$ac_objext \
55786       conftest$ac_exeext conftest.$ac_ext
55787 fi
55788 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
55789 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
55790 if test `eval echo '${'$as_ac_var'}'` = yes; then
55791   cat >>confdefs.h <<_ACEOF
55792 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
55793 _ACEOF
55794
55795 fi
55796 done
55797
55798     fi
55799   fi
55800
55801
55802
55803
55804
55805
55806   echo "$as_me:$LINENO: checking for sincos declaration" >&5
55807 echo $ECHO_N "checking for sincos declaration... $ECHO_C" >&6
55808   if test x${glibcxx_cv_func_sincos_use+set} != xset; then
55809     if test "${glibcxx_cv_func_sincos_use+set}" = set; then
55810   echo $ECHO_N "(cached) $ECHO_C" >&6
55811 else
55812
55813
55814
55815       ac_ext=cc
55816 ac_cpp='$CXXCPP $CPPFLAGS'
55817 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55818 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55819 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55820
55821       cat >conftest.$ac_ext <<_ACEOF
55822 /* confdefs.h.  */
55823 _ACEOF
55824 cat confdefs.h >>conftest.$ac_ext
55825 cat >>conftest.$ac_ext <<_ACEOF
55826 /* end confdefs.h.  */
55827 #include <math.h>
55828 int
55829 main ()
55830 {
55831  sincos(0, 0, 0);
55832   ;
55833   return 0;
55834 }
55835 _ACEOF
55836 rm -f conftest.$ac_objext
55837 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
55838   (eval $ac_compile) 2>conftest.er1
55839   ac_status=$?
55840   grep -v '^ *+' conftest.er1 >conftest.err
55841   rm -f conftest.er1
55842   cat conftest.err >&5
55843   echo "$as_me:$LINENO: \$? = $ac_status" >&5
55844   (exit $ac_status); } &&
55845          { ac_try='test -z "$ac_cxx_werror_flag"
55846                          || test ! -s conftest.err'
55847   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
55848   (eval $ac_try) 2>&5
55849   ac_status=$?
55850   echo "$as_me:$LINENO: \$? = $ac_status" >&5
55851   (exit $ac_status); }; } &&
55852          { ac_try='test -s conftest.$ac_objext'
55853   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
55854   (eval $ac_try) 2>&5
55855   ac_status=$?
55856   echo "$as_me:$LINENO: \$? = $ac_status" >&5
55857   (exit $ac_status); }; }; then
55858   glibcxx_cv_func_sincos_use=yes
55859 else
55860   echo "$as_me: failed program was:" >&5
55861 sed 's/^/| /' conftest.$ac_ext >&5
55862
55863 glibcxx_cv_func_sincos_use=no
55864 fi
55865 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
55866       ac_ext=c
55867 ac_cpp='$CPP $CPPFLAGS'
55868 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55869 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55870 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55871
55872
55873 fi
55874
55875   fi
55876   echo "$as_me:$LINENO: result: $glibcxx_cv_func_sincos_use" >&5
55877 echo "${ECHO_T}$glibcxx_cv_func_sincos_use" >&6
55878
55879   if test x$glibcxx_cv_func_sincos_use = x"yes"; then
55880
55881 for ac_func in sincos
55882 do
55883 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
55884 echo "$as_me:$LINENO: checking for $ac_func" >&5
55885 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
55886 if eval "test \"\${$as_ac_var+set}\" = set"; then
55887   echo $ECHO_N "(cached) $ECHO_C" >&6
55888 else
55889   if test x$gcc_no_link = xyes; then
55890   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
55891 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
55892    { (exit 1); exit 1; }; }
55893 fi
55894 cat >conftest.$ac_ext <<_ACEOF
55895 /* confdefs.h.  */
55896 _ACEOF
55897 cat confdefs.h >>conftest.$ac_ext
55898 cat >>conftest.$ac_ext <<_ACEOF
55899 /* end confdefs.h.  */
55900 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
55901    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
55902 #define $ac_func innocuous_$ac_func
55903
55904 /* System header to define __stub macros and hopefully few prototypes,
55905     which can conflict with char $ac_func (); below.
55906     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
55907     <limits.h> exists even on freestanding compilers.  */
55908
55909 #ifdef __STDC__
55910 # include <limits.h>
55911 #else
55912 # include <assert.h>
55913 #endif
55914
55915 #undef $ac_func
55916
55917 /* Override any gcc2 internal prototype to avoid an error.  */
55918 #ifdef __cplusplus
55919 extern "C"
55920 {
55921 #endif
55922 /* We use char because int might match the return type of a gcc2
55923    builtin and then its argument prototype would still apply.  */
55924 char $ac_func ();
55925 /* The GNU C library defines this for functions which it implements
55926     to always fail with ENOSYS.  Some functions are actually named
55927     something starting with __ and the normal name is an alias.  */
55928 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
55929 choke me
55930 #else
55931 char (*f) () = $ac_func;
55932 #endif
55933 #ifdef __cplusplus
55934 }
55935 #endif
55936
55937 int
55938 main ()
55939 {
55940 return f != $ac_func;
55941   ;
55942   return 0;
55943 }
55944 _ACEOF
55945 rm -f conftest.$ac_objext conftest$ac_exeext
55946 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
55947   (eval $ac_link) 2>conftest.er1
55948   ac_status=$?
55949   grep -v '^ *+' conftest.er1 >conftest.err
55950   rm -f conftest.er1
55951   cat conftest.err >&5
55952   echo "$as_me:$LINENO: \$? = $ac_status" >&5
55953   (exit $ac_status); } &&
55954          { ac_try='test -z "$ac_c_werror_flag"
55955                          || test ! -s conftest.err'
55956   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
55957   (eval $ac_try) 2>&5
55958   ac_status=$?
55959   echo "$as_me:$LINENO: \$? = $ac_status" >&5
55960   (exit $ac_status); }; } &&
55961          { ac_try='test -s conftest$ac_exeext'
55962   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
55963   (eval $ac_try) 2>&5
55964   ac_status=$?
55965   echo "$as_me:$LINENO: \$? = $ac_status" >&5
55966   (exit $ac_status); }; }; then
55967   eval "$as_ac_var=yes"
55968 else
55969   echo "$as_me: failed program was:" >&5
55970 sed 's/^/| /' conftest.$ac_ext >&5
55971
55972 eval "$as_ac_var=no"
55973 fi
55974 rm -f conftest.err conftest.$ac_objext \
55975       conftest$ac_exeext conftest.$ac_ext
55976 fi
55977 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
55978 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
55979 if test `eval echo '${'$as_ac_var'}'` = yes; then
55980   cat >>confdefs.h <<_ACEOF
55981 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
55982 _ACEOF
55983
55984 fi
55985 done
55986
55987   else
55988
55989   echo "$as_me:$LINENO: checking for _sincos declaration" >&5
55990 echo $ECHO_N "checking for _sincos declaration... $ECHO_C" >&6
55991   if test x${glibcxx_cv_func__sincos_use+set} != xset; then
55992     if test "${glibcxx_cv_func__sincos_use+set}" = set; then
55993   echo $ECHO_N "(cached) $ECHO_C" >&6
55994 else
55995
55996
55997
55998       ac_ext=cc
55999 ac_cpp='$CXXCPP $CPPFLAGS'
56000 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56001 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56002 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56003
56004       cat >conftest.$ac_ext <<_ACEOF
56005 /* confdefs.h.  */
56006 _ACEOF
56007 cat confdefs.h >>conftest.$ac_ext
56008 cat >>conftest.$ac_ext <<_ACEOF
56009 /* end confdefs.h.  */
56010 #include <math.h>
56011 int
56012 main ()
56013 {
56014  _sincos(0, 0, 0);
56015   ;
56016   return 0;
56017 }
56018 _ACEOF
56019 rm -f conftest.$ac_objext
56020 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
56021   (eval $ac_compile) 2>conftest.er1
56022   ac_status=$?
56023   grep -v '^ *+' conftest.er1 >conftest.err
56024   rm -f conftest.er1
56025   cat conftest.err >&5
56026   echo "$as_me:$LINENO: \$? = $ac_status" >&5
56027   (exit $ac_status); } &&
56028          { ac_try='test -z "$ac_cxx_werror_flag"
56029                          || test ! -s conftest.err'
56030   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
56031   (eval $ac_try) 2>&5
56032   ac_status=$?
56033   echo "$as_me:$LINENO: \$? = $ac_status" >&5
56034   (exit $ac_status); }; } &&
56035          { ac_try='test -s conftest.$ac_objext'
56036   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
56037   (eval $ac_try) 2>&5
56038   ac_status=$?
56039   echo "$as_me:$LINENO: \$? = $ac_status" >&5
56040   (exit $ac_status); }; }; then
56041   glibcxx_cv_func__sincos_use=yes
56042 else
56043   echo "$as_me: failed program was:" >&5
56044 sed 's/^/| /' conftest.$ac_ext >&5
56045
56046 glibcxx_cv_func__sincos_use=no
56047 fi
56048 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
56049       ac_ext=c
56050 ac_cpp='$CPP $CPPFLAGS'
56051 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56052 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56053 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56054
56055
56056 fi
56057
56058   fi
56059   echo "$as_me:$LINENO: result: $glibcxx_cv_func__sincos_use" >&5
56060 echo "${ECHO_T}$glibcxx_cv_func__sincos_use" >&6
56061
56062     if test x$glibcxx_cv_func__sincos_use = x"yes"; then
56063
56064 for ac_func in _sincos
56065 do
56066 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
56067 echo "$as_me:$LINENO: checking for $ac_func" >&5
56068 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
56069 if eval "test \"\${$as_ac_var+set}\" = set"; then
56070   echo $ECHO_N "(cached) $ECHO_C" >&6
56071 else
56072   if test x$gcc_no_link = xyes; then
56073   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
56074 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
56075    { (exit 1); exit 1; }; }
56076 fi
56077 cat >conftest.$ac_ext <<_ACEOF
56078 /* confdefs.h.  */
56079 _ACEOF
56080 cat confdefs.h >>conftest.$ac_ext
56081 cat >>conftest.$ac_ext <<_ACEOF
56082 /* end confdefs.h.  */
56083 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
56084    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
56085 #define $ac_func innocuous_$ac_func
56086
56087 /* System header to define __stub macros and hopefully few prototypes,
56088     which can conflict with char $ac_func (); below.
56089     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
56090     <limits.h> exists even on freestanding compilers.  */
56091
56092 #ifdef __STDC__
56093 # include <limits.h>
56094 #else
56095 # include <assert.h>
56096 #endif
56097
56098 #undef $ac_func
56099
56100 /* Override any gcc2 internal prototype to avoid an error.  */
56101 #ifdef __cplusplus
56102 extern "C"
56103 {
56104 #endif
56105 /* We use char because int might match the return type of a gcc2
56106    builtin and then its argument prototype would still apply.  */
56107 char $ac_func ();
56108 /* The GNU C library defines this for functions which it implements
56109     to always fail with ENOSYS.  Some functions are actually named
56110     something starting with __ and the normal name is an alias.  */
56111 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
56112 choke me
56113 #else
56114 char (*f) () = $ac_func;
56115 #endif
56116 #ifdef __cplusplus
56117 }
56118 #endif
56119
56120 int
56121 main ()
56122 {
56123 return f != $ac_func;
56124   ;
56125   return 0;
56126 }
56127 _ACEOF
56128 rm -f conftest.$ac_objext conftest$ac_exeext
56129 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
56130   (eval $ac_link) 2>conftest.er1
56131   ac_status=$?
56132   grep -v '^ *+' conftest.er1 >conftest.err
56133   rm -f conftest.er1
56134   cat conftest.err >&5
56135   echo "$as_me:$LINENO: \$? = $ac_status" >&5
56136   (exit $ac_status); } &&
56137          { ac_try='test -z "$ac_c_werror_flag"
56138                          || test ! -s conftest.err'
56139   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
56140   (eval $ac_try) 2>&5
56141   ac_status=$?
56142   echo "$as_me:$LINENO: \$? = $ac_status" >&5
56143   (exit $ac_status); }; } &&
56144          { ac_try='test -s conftest$ac_exeext'
56145   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
56146   (eval $ac_try) 2>&5
56147   ac_status=$?
56148   echo "$as_me:$LINENO: \$? = $ac_status" >&5
56149   (exit $ac_status); }; }; then
56150   eval "$as_ac_var=yes"
56151 else
56152   echo "$as_me: failed program was:" >&5
56153 sed 's/^/| /' conftest.$ac_ext >&5
56154
56155 eval "$as_ac_var=no"
56156 fi
56157 rm -f conftest.err conftest.$ac_objext \
56158       conftest$ac_exeext conftest.$ac_ext
56159 fi
56160 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
56161 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
56162 if test `eval echo '${'$as_ac_var'}'` = yes; then
56163   cat >>confdefs.h <<_ACEOF
56164 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
56165 _ACEOF
56166
56167 fi
56168 done
56169
56170     fi
56171   fi
56172
56173
56174
56175
56176
56177
56178   echo "$as_me:$LINENO: checking for fpclass declaration" >&5
56179 echo $ECHO_N "checking for fpclass declaration... $ECHO_C" >&6
56180   if test x${glibcxx_cv_func_fpclass_use+set} != xset; then
56181     if test "${glibcxx_cv_func_fpclass_use+set}" = set; then
56182   echo $ECHO_N "(cached) $ECHO_C" >&6
56183 else
56184
56185
56186
56187       ac_ext=cc
56188 ac_cpp='$CXXCPP $CPPFLAGS'
56189 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56190 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56191 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56192
56193       cat >conftest.$ac_ext <<_ACEOF
56194 /* confdefs.h.  */
56195 _ACEOF
56196 cat confdefs.h >>conftest.$ac_ext
56197 cat >>conftest.$ac_ext <<_ACEOF
56198 /* end confdefs.h.  */
56199 #include <math.h>
56200                       #ifdef HAVE_IEEEFP_H
56201                       #include <ieeefp.h>
56202                       #endif
56203
56204 int
56205 main ()
56206 {
56207  fpclass(0);
56208   ;
56209   return 0;
56210 }
56211 _ACEOF
56212 rm -f conftest.$ac_objext
56213 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
56214   (eval $ac_compile) 2>conftest.er1
56215   ac_status=$?
56216   grep -v '^ *+' conftest.er1 >conftest.err
56217   rm -f conftest.er1
56218   cat conftest.err >&5
56219   echo "$as_me:$LINENO: \$? = $ac_status" >&5
56220   (exit $ac_status); } &&
56221          { ac_try='test -z "$ac_cxx_werror_flag"
56222                          || test ! -s conftest.err'
56223   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
56224   (eval $ac_try) 2>&5
56225   ac_status=$?
56226   echo "$as_me:$LINENO: \$? = $ac_status" >&5
56227   (exit $ac_status); }; } &&
56228          { ac_try='test -s conftest.$ac_objext'
56229   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
56230   (eval $ac_try) 2>&5
56231   ac_status=$?
56232   echo "$as_me:$LINENO: \$? = $ac_status" >&5
56233   (exit $ac_status); }; }; then
56234   glibcxx_cv_func_fpclass_use=yes
56235 else
56236   echo "$as_me: failed program was:" >&5
56237 sed 's/^/| /' conftest.$ac_ext >&5
56238
56239 glibcxx_cv_func_fpclass_use=no
56240 fi
56241 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
56242       ac_ext=c
56243 ac_cpp='$CPP $CPPFLAGS'
56244 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56245 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56246 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56247
56248
56249 fi
56250
56251   fi
56252   echo "$as_me:$LINENO: result: $glibcxx_cv_func_fpclass_use" >&5
56253 echo "${ECHO_T}$glibcxx_cv_func_fpclass_use" >&6
56254
56255   if test x$glibcxx_cv_func_fpclass_use = x"yes"; then
56256
56257 for ac_func in fpclass
56258 do
56259 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
56260 echo "$as_me:$LINENO: checking for $ac_func" >&5
56261 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
56262 if eval "test \"\${$as_ac_var+set}\" = set"; then
56263   echo $ECHO_N "(cached) $ECHO_C" >&6
56264 else
56265   if test x$gcc_no_link = xyes; then
56266   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
56267 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
56268    { (exit 1); exit 1; }; }
56269 fi
56270 cat >conftest.$ac_ext <<_ACEOF
56271 /* confdefs.h.  */
56272 _ACEOF
56273 cat confdefs.h >>conftest.$ac_ext
56274 cat >>conftest.$ac_ext <<_ACEOF
56275 /* end confdefs.h.  */
56276 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
56277    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
56278 #define $ac_func innocuous_$ac_func
56279
56280 /* System header to define __stub macros and hopefully few prototypes,
56281     which can conflict with char $ac_func (); below.
56282     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
56283     <limits.h> exists even on freestanding compilers.  */
56284
56285 #ifdef __STDC__
56286 # include <limits.h>
56287 #else
56288 # include <assert.h>
56289 #endif
56290
56291 #undef $ac_func
56292
56293 /* Override any gcc2 internal prototype to avoid an error.  */
56294 #ifdef __cplusplus
56295 extern "C"
56296 {
56297 #endif
56298 /* We use char because int might match the return type of a gcc2
56299    builtin and then its argument prototype would still apply.  */
56300 char $ac_func ();
56301 /* The GNU C library defines this for functions which it implements
56302     to always fail with ENOSYS.  Some functions are actually named
56303     something starting with __ and the normal name is an alias.  */
56304 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
56305 choke me
56306 #else
56307 char (*f) () = $ac_func;
56308 #endif
56309 #ifdef __cplusplus
56310 }
56311 #endif
56312
56313 int
56314 main ()
56315 {
56316 return f != $ac_func;
56317   ;
56318   return 0;
56319 }
56320 _ACEOF
56321 rm -f conftest.$ac_objext conftest$ac_exeext
56322 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
56323   (eval $ac_link) 2>conftest.er1
56324   ac_status=$?
56325   grep -v '^ *+' conftest.er1 >conftest.err
56326   rm -f conftest.er1
56327   cat conftest.err >&5
56328   echo "$as_me:$LINENO: \$? = $ac_status" >&5
56329   (exit $ac_status); } &&
56330          { ac_try='test -z "$ac_c_werror_flag"
56331                          || test ! -s conftest.err'
56332   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
56333   (eval $ac_try) 2>&5
56334   ac_status=$?
56335   echo "$as_me:$LINENO: \$? = $ac_status" >&5
56336   (exit $ac_status); }; } &&
56337          { ac_try='test -s conftest$ac_exeext'
56338   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
56339   (eval $ac_try) 2>&5
56340   ac_status=$?
56341   echo "$as_me:$LINENO: \$? = $ac_status" >&5
56342   (exit $ac_status); }; }; then
56343   eval "$as_ac_var=yes"
56344 else
56345   echo "$as_me: failed program was:" >&5
56346 sed 's/^/| /' conftest.$ac_ext >&5
56347
56348 eval "$as_ac_var=no"
56349 fi
56350 rm -f conftest.err conftest.$ac_objext \
56351       conftest$ac_exeext conftest.$ac_ext
56352 fi
56353 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
56354 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
56355 if test `eval echo '${'$as_ac_var'}'` = yes; then
56356   cat >>confdefs.h <<_ACEOF
56357 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
56358 _ACEOF
56359
56360 fi
56361 done
56362
56363   else
56364
56365   echo "$as_me:$LINENO: checking for _fpclass declaration" >&5
56366 echo $ECHO_N "checking for _fpclass declaration... $ECHO_C" >&6
56367   if test x${glibcxx_cv_func__fpclass_use+set} != xset; then
56368     if test "${glibcxx_cv_func__fpclass_use+set}" = set; then
56369   echo $ECHO_N "(cached) $ECHO_C" >&6
56370 else
56371
56372
56373
56374       ac_ext=cc
56375 ac_cpp='$CXXCPP $CPPFLAGS'
56376 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56377 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56378 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56379
56380       cat >conftest.$ac_ext <<_ACEOF
56381 /* confdefs.h.  */
56382 _ACEOF
56383 cat confdefs.h >>conftest.$ac_ext
56384 cat >>conftest.$ac_ext <<_ACEOF
56385 /* end confdefs.h.  */
56386 #include <math.h>
56387                       #ifdef HAVE_IEEEFP_H
56388                       #include <ieeefp.h>
56389                       #endif
56390
56391 int
56392 main ()
56393 {
56394  _fpclass(0);
56395   ;
56396   return 0;
56397 }
56398 _ACEOF
56399 rm -f conftest.$ac_objext
56400 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
56401   (eval $ac_compile) 2>conftest.er1
56402   ac_status=$?
56403   grep -v '^ *+' conftest.er1 >conftest.err
56404   rm -f conftest.er1
56405   cat conftest.err >&5
56406   echo "$as_me:$LINENO: \$? = $ac_status" >&5
56407   (exit $ac_status); } &&
56408          { ac_try='test -z "$ac_cxx_werror_flag"
56409                          || test ! -s conftest.err'
56410   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
56411   (eval $ac_try) 2>&5
56412   ac_status=$?
56413   echo "$as_me:$LINENO: \$? = $ac_status" >&5
56414   (exit $ac_status); }; } &&
56415          { ac_try='test -s conftest.$ac_objext'
56416   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
56417   (eval $ac_try) 2>&5
56418   ac_status=$?
56419   echo "$as_me:$LINENO: \$? = $ac_status" >&5
56420   (exit $ac_status); }; }; then
56421   glibcxx_cv_func__fpclass_use=yes
56422 else
56423   echo "$as_me: failed program was:" >&5
56424 sed 's/^/| /' conftest.$ac_ext >&5
56425
56426 glibcxx_cv_func__fpclass_use=no
56427 fi
56428 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
56429       ac_ext=c
56430 ac_cpp='$CPP $CPPFLAGS'
56431 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56432 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56433 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56434
56435
56436 fi
56437
56438   fi
56439   echo "$as_me:$LINENO: result: $glibcxx_cv_func__fpclass_use" >&5
56440 echo "${ECHO_T}$glibcxx_cv_func__fpclass_use" >&6
56441
56442     if test x$glibcxx_cv_func__fpclass_use = x"yes"; then
56443
56444 for ac_func in _fpclass
56445 do
56446 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
56447 echo "$as_me:$LINENO: checking for $ac_func" >&5
56448 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
56449 if eval "test \"\${$as_ac_var+set}\" = set"; then
56450   echo $ECHO_N "(cached) $ECHO_C" >&6
56451 else
56452   if test x$gcc_no_link = xyes; then
56453   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
56454 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
56455    { (exit 1); exit 1; }; }
56456 fi
56457 cat >conftest.$ac_ext <<_ACEOF
56458 /* confdefs.h.  */
56459 _ACEOF
56460 cat confdefs.h >>conftest.$ac_ext
56461 cat >>conftest.$ac_ext <<_ACEOF
56462 /* end confdefs.h.  */
56463 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
56464    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
56465 #define $ac_func innocuous_$ac_func
56466
56467 /* System header to define __stub macros and hopefully few prototypes,
56468     which can conflict with char $ac_func (); below.
56469     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
56470     <limits.h> exists even on freestanding compilers.  */
56471
56472 #ifdef __STDC__
56473 # include <limits.h>
56474 #else
56475 # include <assert.h>
56476 #endif
56477
56478 #undef $ac_func
56479
56480 /* Override any gcc2 internal prototype to avoid an error.  */
56481 #ifdef __cplusplus
56482 extern "C"
56483 {
56484 #endif
56485 /* We use char because int might match the return type of a gcc2
56486    builtin and then its argument prototype would still apply.  */
56487 char $ac_func ();
56488 /* The GNU C library defines this for functions which it implements
56489     to always fail with ENOSYS.  Some functions are actually named
56490     something starting with __ and the normal name is an alias.  */
56491 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
56492 choke me
56493 #else
56494 char (*f) () = $ac_func;
56495 #endif
56496 #ifdef __cplusplus
56497 }
56498 #endif
56499
56500 int
56501 main ()
56502 {
56503 return f != $ac_func;
56504   ;
56505   return 0;
56506 }
56507 _ACEOF
56508 rm -f conftest.$ac_objext conftest$ac_exeext
56509 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
56510   (eval $ac_link) 2>conftest.er1
56511   ac_status=$?
56512   grep -v '^ *+' conftest.er1 >conftest.err
56513   rm -f conftest.er1
56514   cat conftest.err >&5
56515   echo "$as_me:$LINENO: \$? = $ac_status" >&5
56516   (exit $ac_status); } &&
56517          { ac_try='test -z "$ac_c_werror_flag"
56518                          || test ! -s conftest.err'
56519   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
56520   (eval $ac_try) 2>&5
56521   ac_status=$?
56522   echo "$as_me:$LINENO: \$? = $ac_status" >&5
56523   (exit $ac_status); }; } &&
56524          { ac_try='test -s conftest$ac_exeext'
56525   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
56526   (eval $ac_try) 2>&5
56527   ac_status=$?
56528   echo "$as_me:$LINENO: \$? = $ac_status" >&5
56529   (exit $ac_status); }; }; then
56530   eval "$as_ac_var=yes"
56531 else
56532   echo "$as_me: failed program was:" >&5
56533 sed 's/^/| /' conftest.$ac_ext >&5
56534
56535 eval "$as_ac_var=no"
56536 fi
56537 rm -f conftest.err conftest.$ac_objext \
56538       conftest$ac_exeext conftest.$ac_ext
56539 fi
56540 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
56541 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
56542 if test `eval echo '${'$as_ac_var'}'` = yes; then
56543   cat >>confdefs.h <<_ACEOF
56544 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
56545 _ACEOF
56546
56547 fi
56548 done
56549
56550     fi
56551   fi
56552
56553
56554
56555
56556
56557
56558   echo "$as_me:$LINENO: checking for qfpclass declaration" >&5
56559 echo $ECHO_N "checking for qfpclass declaration... $ECHO_C" >&6
56560   if test x${glibcxx_cv_func_qfpclass_use+set} != xset; then
56561     if test "${glibcxx_cv_func_qfpclass_use+set}" = set; then
56562   echo $ECHO_N "(cached) $ECHO_C" >&6
56563 else
56564
56565
56566
56567       ac_ext=cc
56568 ac_cpp='$CXXCPP $CPPFLAGS'
56569 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56570 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56571 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56572
56573       cat >conftest.$ac_ext <<_ACEOF
56574 /* confdefs.h.  */
56575 _ACEOF
56576 cat confdefs.h >>conftest.$ac_ext
56577 cat >>conftest.$ac_ext <<_ACEOF
56578 /* end confdefs.h.  */
56579 #include <math.h>
56580                       #ifdef HAVE_IEEEFP_H
56581                       #include <ieeefp.h>
56582                       #endif
56583
56584 int
56585 main ()
56586 {
56587  qfpclass(0);
56588   ;
56589   return 0;
56590 }
56591 _ACEOF
56592 rm -f conftest.$ac_objext
56593 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
56594   (eval $ac_compile) 2>conftest.er1
56595   ac_status=$?
56596   grep -v '^ *+' conftest.er1 >conftest.err
56597   rm -f conftest.er1
56598   cat conftest.err >&5
56599   echo "$as_me:$LINENO: \$? = $ac_status" >&5
56600   (exit $ac_status); } &&
56601          { ac_try='test -z "$ac_cxx_werror_flag"
56602                          || test ! -s conftest.err'
56603   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
56604   (eval $ac_try) 2>&5
56605   ac_status=$?
56606   echo "$as_me:$LINENO: \$? = $ac_status" >&5
56607   (exit $ac_status); }; } &&
56608          { ac_try='test -s conftest.$ac_objext'
56609   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
56610   (eval $ac_try) 2>&5
56611   ac_status=$?
56612   echo "$as_me:$LINENO: \$? = $ac_status" >&5
56613   (exit $ac_status); }; }; then
56614   glibcxx_cv_func_qfpclass_use=yes
56615 else
56616   echo "$as_me: failed program was:" >&5
56617 sed 's/^/| /' conftest.$ac_ext >&5
56618
56619 glibcxx_cv_func_qfpclass_use=no
56620 fi
56621 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
56622       ac_ext=c
56623 ac_cpp='$CPP $CPPFLAGS'
56624 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56625 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56626 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56627
56628
56629 fi
56630
56631   fi
56632   echo "$as_me:$LINENO: result: $glibcxx_cv_func_qfpclass_use" >&5
56633 echo "${ECHO_T}$glibcxx_cv_func_qfpclass_use" >&6
56634
56635   if test x$glibcxx_cv_func_qfpclass_use = x"yes"; then
56636
56637 for ac_func in qfpclass
56638 do
56639 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
56640 echo "$as_me:$LINENO: checking for $ac_func" >&5
56641 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
56642 if eval "test \"\${$as_ac_var+set}\" = set"; then
56643   echo $ECHO_N "(cached) $ECHO_C" >&6
56644 else
56645   if test x$gcc_no_link = xyes; then
56646   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
56647 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
56648    { (exit 1); exit 1; }; }
56649 fi
56650 cat >conftest.$ac_ext <<_ACEOF
56651 /* confdefs.h.  */
56652 _ACEOF
56653 cat confdefs.h >>conftest.$ac_ext
56654 cat >>conftest.$ac_ext <<_ACEOF
56655 /* end confdefs.h.  */
56656 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
56657    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
56658 #define $ac_func innocuous_$ac_func
56659
56660 /* System header to define __stub macros and hopefully few prototypes,
56661     which can conflict with char $ac_func (); below.
56662     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
56663     <limits.h> exists even on freestanding compilers.  */
56664
56665 #ifdef __STDC__
56666 # include <limits.h>
56667 #else
56668 # include <assert.h>
56669 #endif
56670
56671 #undef $ac_func
56672
56673 /* Override any gcc2 internal prototype to avoid an error.  */
56674 #ifdef __cplusplus
56675 extern "C"
56676 {
56677 #endif
56678 /* We use char because int might match the return type of a gcc2
56679    builtin and then its argument prototype would still apply.  */
56680 char $ac_func ();
56681 /* The GNU C library defines this for functions which it implements
56682     to always fail with ENOSYS.  Some functions are actually named
56683     something starting with __ and the normal name is an alias.  */
56684 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
56685 choke me
56686 #else
56687 char (*f) () = $ac_func;
56688 #endif
56689 #ifdef __cplusplus
56690 }
56691 #endif
56692
56693 int
56694 main ()
56695 {
56696 return f != $ac_func;
56697   ;
56698   return 0;
56699 }
56700 _ACEOF
56701 rm -f conftest.$ac_objext conftest$ac_exeext
56702 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
56703   (eval $ac_link) 2>conftest.er1
56704   ac_status=$?
56705   grep -v '^ *+' conftest.er1 >conftest.err
56706   rm -f conftest.er1
56707   cat conftest.err >&5
56708   echo "$as_me:$LINENO: \$? = $ac_status" >&5
56709   (exit $ac_status); } &&
56710          { ac_try='test -z "$ac_c_werror_flag"
56711                          || test ! -s conftest.err'
56712   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
56713   (eval $ac_try) 2>&5
56714   ac_status=$?
56715   echo "$as_me:$LINENO: \$? = $ac_status" >&5
56716   (exit $ac_status); }; } &&
56717          { ac_try='test -s conftest$ac_exeext'
56718   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
56719   (eval $ac_try) 2>&5
56720   ac_status=$?
56721   echo "$as_me:$LINENO: \$? = $ac_status" >&5
56722   (exit $ac_status); }; }; then
56723   eval "$as_ac_var=yes"
56724 else
56725   echo "$as_me: failed program was:" >&5
56726 sed 's/^/| /' conftest.$ac_ext >&5
56727
56728 eval "$as_ac_var=no"
56729 fi
56730 rm -f conftest.err conftest.$ac_objext \
56731       conftest$ac_exeext conftest.$ac_ext
56732 fi
56733 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
56734 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
56735 if test `eval echo '${'$as_ac_var'}'` = yes; then
56736   cat >>confdefs.h <<_ACEOF
56737 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
56738 _ACEOF
56739
56740 fi
56741 done
56742
56743   else
56744
56745   echo "$as_me:$LINENO: checking for _qfpclass declaration" >&5
56746 echo $ECHO_N "checking for _qfpclass declaration... $ECHO_C" >&6
56747   if test x${glibcxx_cv_func__qfpclass_use+set} != xset; then
56748     if test "${glibcxx_cv_func__qfpclass_use+set}" = set; then
56749   echo $ECHO_N "(cached) $ECHO_C" >&6
56750 else
56751
56752
56753
56754       ac_ext=cc
56755 ac_cpp='$CXXCPP $CPPFLAGS'
56756 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56757 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56758 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56759
56760       cat >conftest.$ac_ext <<_ACEOF
56761 /* confdefs.h.  */
56762 _ACEOF
56763 cat confdefs.h >>conftest.$ac_ext
56764 cat >>conftest.$ac_ext <<_ACEOF
56765 /* end confdefs.h.  */
56766 #include <math.h>
56767                       #ifdef HAVE_IEEEFP_H
56768                       #include <ieeefp.h>
56769                       #endif
56770
56771 int
56772 main ()
56773 {
56774  _qfpclass(0);
56775   ;
56776   return 0;
56777 }
56778 _ACEOF
56779 rm -f conftest.$ac_objext
56780 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
56781   (eval $ac_compile) 2>conftest.er1
56782   ac_status=$?
56783   grep -v '^ *+' conftest.er1 >conftest.err
56784   rm -f conftest.er1
56785   cat conftest.err >&5
56786   echo "$as_me:$LINENO: \$? = $ac_status" >&5
56787   (exit $ac_status); } &&
56788          { ac_try='test -z "$ac_cxx_werror_flag"
56789                          || test ! -s conftest.err'
56790   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
56791   (eval $ac_try) 2>&5
56792   ac_status=$?
56793   echo "$as_me:$LINENO: \$? = $ac_status" >&5
56794   (exit $ac_status); }; } &&
56795          { ac_try='test -s conftest.$ac_objext'
56796   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
56797   (eval $ac_try) 2>&5
56798   ac_status=$?
56799   echo "$as_me:$LINENO: \$? = $ac_status" >&5
56800   (exit $ac_status); }; }; then
56801   glibcxx_cv_func__qfpclass_use=yes
56802 else
56803   echo "$as_me: failed program was:" >&5
56804 sed 's/^/| /' conftest.$ac_ext >&5
56805
56806 glibcxx_cv_func__qfpclass_use=no
56807 fi
56808 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
56809       ac_ext=c
56810 ac_cpp='$CPP $CPPFLAGS'
56811 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56812 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56813 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56814
56815
56816 fi
56817
56818   fi
56819   echo "$as_me:$LINENO: result: $glibcxx_cv_func__qfpclass_use" >&5
56820 echo "${ECHO_T}$glibcxx_cv_func__qfpclass_use" >&6
56821
56822     if test x$glibcxx_cv_func__qfpclass_use = x"yes"; then
56823
56824 for ac_func in _qfpclass
56825 do
56826 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
56827 echo "$as_me:$LINENO: checking for $ac_func" >&5
56828 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
56829 if eval "test \"\${$as_ac_var+set}\" = set"; then
56830   echo $ECHO_N "(cached) $ECHO_C" >&6
56831 else
56832   if test x$gcc_no_link = xyes; then
56833   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
56834 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
56835    { (exit 1); exit 1; }; }
56836 fi
56837 cat >conftest.$ac_ext <<_ACEOF
56838 /* confdefs.h.  */
56839 _ACEOF
56840 cat confdefs.h >>conftest.$ac_ext
56841 cat >>conftest.$ac_ext <<_ACEOF
56842 /* end confdefs.h.  */
56843 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
56844    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
56845 #define $ac_func innocuous_$ac_func
56846
56847 /* System header to define __stub macros and hopefully few prototypes,
56848     which can conflict with char $ac_func (); below.
56849     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
56850     <limits.h> exists even on freestanding compilers.  */
56851
56852 #ifdef __STDC__
56853 # include <limits.h>
56854 #else
56855 # include <assert.h>
56856 #endif
56857
56858 #undef $ac_func
56859
56860 /* Override any gcc2 internal prototype to avoid an error.  */
56861 #ifdef __cplusplus
56862 extern "C"
56863 {
56864 #endif
56865 /* We use char because int might match the return type of a gcc2
56866    builtin and then its argument prototype would still apply.  */
56867 char $ac_func ();
56868 /* The GNU C library defines this for functions which it implements
56869     to always fail with ENOSYS.  Some functions are actually named
56870     something starting with __ and the normal name is an alias.  */
56871 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
56872 choke me
56873 #else
56874 char (*f) () = $ac_func;
56875 #endif
56876 #ifdef __cplusplus
56877 }
56878 #endif
56879
56880 int
56881 main ()
56882 {
56883 return f != $ac_func;
56884   ;
56885   return 0;
56886 }
56887 _ACEOF
56888 rm -f conftest.$ac_objext conftest$ac_exeext
56889 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
56890   (eval $ac_link) 2>conftest.er1
56891   ac_status=$?
56892   grep -v '^ *+' conftest.er1 >conftest.err
56893   rm -f conftest.er1
56894   cat conftest.err >&5
56895   echo "$as_me:$LINENO: \$? = $ac_status" >&5
56896   (exit $ac_status); } &&
56897          { ac_try='test -z "$ac_c_werror_flag"
56898                          || test ! -s conftest.err'
56899   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
56900   (eval $ac_try) 2>&5
56901   ac_status=$?
56902   echo "$as_me:$LINENO: \$? = $ac_status" >&5
56903   (exit $ac_status); }; } &&
56904          { ac_try='test -s conftest$ac_exeext'
56905   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
56906   (eval $ac_try) 2>&5
56907   ac_status=$?
56908   echo "$as_me:$LINENO: \$? = $ac_status" >&5
56909   (exit $ac_status); }; }; then
56910   eval "$as_ac_var=yes"
56911 else
56912   echo "$as_me: failed program was:" >&5
56913 sed 's/^/| /' conftest.$ac_ext >&5
56914
56915 eval "$as_ac_var=no"
56916 fi
56917 rm -f conftest.err conftest.$ac_objext \
56918       conftest$ac_exeext conftest.$ac_ext
56919 fi
56920 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
56921 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
56922 if test `eval echo '${'$as_ac_var'}'` = yes; then
56923   cat >>confdefs.h <<_ACEOF
56924 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
56925 _ACEOF
56926
56927 fi
56928 done
56929
56930     fi
56931   fi
56932
56933
56934
56935
56936
56937
56938   echo "$as_me:$LINENO: checking for hypot declaration" >&5
56939 echo $ECHO_N "checking for hypot declaration... $ECHO_C" >&6
56940   if test x${glibcxx_cv_func_hypot_use+set} != xset; then
56941     if test "${glibcxx_cv_func_hypot_use+set}" = set; then
56942   echo $ECHO_N "(cached) $ECHO_C" >&6
56943 else
56944
56945
56946
56947       ac_ext=cc
56948 ac_cpp='$CXXCPP $CPPFLAGS'
56949 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56950 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56951 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56952
56953       cat >conftest.$ac_ext <<_ACEOF
56954 /* confdefs.h.  */
56955 _ACEOF
56956 cat confdefs.h >>conftest.$ac_ext
56957 cat >>conftest.$ac_ext <<_ACEOF
56958 /* end confdefs.h.  */
56959 #include <math.h>
56960 int
56961 main ()
56962 {
56963  hypot(0, 0);
56964   ;
56965   return 0;
56966 }
56967 _ACEOF
56968 rm -f conftest.$ac_objext
56969 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
56970   (eval $ac_compile) 2>conftest.er1
56971   ac_status=$?
56972   grep -v '^ *+' conftest.er1 >conftest.err
56973   rm -f conftest.er1
56974   cat conftest.err >&5
56975   echo "$as_me:$LINENO: \$? = $ac_status" >&5
56976   (exit $ac_status); } &&
56977          { ac_try='test -z "$ac_cxx_werror_flag"
56978                          || test ! -s conftest.err'
56979   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
56980   (eval $ac_try) 2>&5
56981   ac_status=$?
56982   echo "$as_me:$LINENO: \$? = $ac_status" >&5
56983   (exit $ac_status); }; } &&
56984          { ac_try='test -s conftest.$ac_objext'
56985   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
56986   (eval $ac_try) 2>&5
56987   ac_status=$?
56988   echo "$as_me:$LINENO: \$? = $ac_status" >&5
56989   (exit $ac_status); }; }; then
56990   glibcxx_cv_func_hypot_use=yes
56991 else
56992   echo "$as_me: failed program was:" >&5
56993 sed 's/^/| /' conftest.$ac_ext >&5
56994
56995 glibcxx_cv_func_hypot_use=no
56996 fi
56997 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
56998       ac_ext=c
56999 ac_cpp='$CPP $CPPFLAGS'
57000 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57001 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57002 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57003
57004
57005 fi
57006
57007   fi
57008   echo "$as_me:$LINENO: result: $glibcxx_cv_func_hypot_use" >&5
57009 echo "${ECHO_T}$glibcxx_cv_func_hypot_use" >&6
57010
57011   if test x$glibcxx_cv_func_hypot_use = x"yes"; then
57012
57013 for ac_func in hypot
57014 do
57015 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
57016 echo "$as_me:$LINENO: checking for $ac_func" >&5
57017 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
57018 if eval "test \"\${$as_ac_var+set}\" = set"; then
57019   echo $ECHO_N "(cached) $ECHO_C" >&6
57020 else
57021   if test x$gcc_no_link = xyes; then
57022   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
57023 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
57024    { (exit 1); exit 1; }; }
57025 fi
57026 cat >conftest.$ac_ext <<_ACEOF
57027 /* confdefs.h.  */
57028 _ACEOF
57029 cat confdefs.h >>conftest.$ac_ext
57030 cat >>conftest.$ac_ext <<_ACEOF
57031 /* end confdefs.h.  */
57032 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
57033    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
57034 #define $ac_func innocuous_$ac_func
57035
57036 /* System header to define __stub macros and hopefully few prototypes,
57037     which can conflict with char $ac_func (); below.
57038     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
57039     <limits.h> exists even on freestanding compilers.  */
57040
57041 #ifdef __STDC__
57042 # include <limits.h>
57043 #else
57044 # include <assert.h>
57045 #endif
57046
57047 #undef $ac_func
57048
57049 /* Override any gcc2 internal prototype to avoid an error.  */
57050 #ifdef __cplusplus
57051 extern "C"
57052 {
57053 #endif
57054 /* We use char because int might match the return type of a gcc2
57055    builtin and then its argument prototype would still apply.  */
57056 char $ac_func ();
57057 /* The GNU C library defines this for functions which it implements
57058     to always fail with ENOSYS.  Some functions are actually named
57059     something starting with __ and the normal name is an alias.  */
57060 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
57061 choke me
57062 #else
57063 char (*f) () = $ac_func;
57064 #endif
57065 #ifdef __cplusplus
57066 }
57067 #endif
57068
57069 int
57070 main ()
57071 {
57072 return f != $ac_func;
57073   ;
57074   return 0;
57075 }
57076 _ACEOF
57077 rm -f conftest.$ac_objext conftest$ac_exeext
57078 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
57079   (eval $ac_link) 2>conftest.er1
57080   ac_status=$?
57081   grep -v '^ *+' conftest.er1 >conftest.err
57082   rm -f conftest.er1
57083   cat conftest.err >&5
57084   echo "$as_me:$LINENO: \$? = $ac_status" >&5
57085   (exit $ac_status); } &&
57086          { ac_try='test -z "$ac_c_werror_flag"
57087                          || test ! -s conftest.err'
57088   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
57089   (eval $ac_try) 2>&5
57090   ac_status=$?
57091   echo "$as_me:$LINENO: \$? = $ac_status" >&5
57092   (exit $ac_status); }; } &&
57093          { ac_try='test -s conftest$ac_exeext'
57094   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
57095   (eval $ac_try) 2>&5
57096   ac_status=$?
57097   echo "$as_me:$LINENO: \$? = $ac_status" >&5
57098   (exit $ac_status); }; }; then
57099   eval "$as_ac_var=yes"
57100 else
57101   echo "$as_me: failed program was:" >&5
57102 sed 's/^/| /' conftest.$ac_ext >&5
57103
57104 eval "$as_ac_var=no"
57105 fi
57106 rm -f conftest.err conftest.$ac_objext \
57107       conftest$ac_exeext conftest.$ac_ext
57108 fi
57109 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
57110 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
57111 if test `eval echo '${'$as_ac_var'}'` = yes; then
57112   cat >>confdefs.h <<_ACEOF
57113 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
57114 _ACEOF
57115
57116 fi
57117 done
57118
57119   else
57120
57121   echo "$as_me:$LINENO: checking for _hypot declaration" >&5
57122 echo $ECHO_N "checking for _hypot declaration... $ECHO_C" >&6
57123   if test x${glibcxx_cv_func__hypot_use+set} != xset; then
57124     if test "${glibcxx_cv_func__hypot_use+set}" = set; then
57125   echo $ECHO_N "(cached) $ECHO_C" >&6
57126 else
57127
57128
57129
57130       ac_ext=cc
57131 ac_cpp='$CXXCPP $CPPFLAGS'
57132 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57133 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57134 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57135
57136       cat >conftest.$ac_ext <<_ACEOF
57137 /* confdefs.h.  */
57138 _ACEOF
57139 cat confdefs.h >>conftest.$ac_ext
57140 cat >>conftest.$ac_ext <<_ACEOF
57141 /* end confdefs.h.  */
57142 #include <math.h>
57143 int
57144 main ()
57145 {
57146  _hypot(0, 0);
57147   ;
57148   return 0;
57149 }
57150 _ACEOF
57151 rm -f conftest.$ac_objext
57152 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
57153   (eval $ac_compile) 2>conftest.er1
57154   ac_status=$?
57155   grep -v '^ *+' conftest.er1 >conftest.err
57156   rm -f conftest.er1
57157   cat conftest.err >&5
57158   echo "$as_me:$LINENO: \$? = $ac_status" >&5
57159   (exit $ac_status); } &&
57160          { ac_try='test -z "$ac_cxx_werror_flag"
57161                          || test ! -s conftest.err'
57162   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
57163   (eval $ac_try) 2>&5
57164   ac_status=$?
57165   echo "$as_me:$LINENO: \$? = $ac_status" >&5
57166   (exit $ac_status); }; } &&
57167          { ac_try='test -s conftest.$ac_objext'
57168   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
57169   (eval $ac_try) 2>&5
57170   ac_status=$?
57171   echo "$as_me:$LINENO: \$? = $ac_status" >&5
57172   (exit $ac_status); }; }; then
57173   glibcxx_cv_func__hypot_use=yes
57174 else
57175   echo "$as_me: failed program was:" >&5
57176 sed 's/^/| /' conftest.$ac_ext >&5
57177
57178 glibcxx_cv_func__hypot_use=no
57179 fi
57180 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
57181       ac_ext=c
57182 ac_cpp='$CPP $CPPFLAGS'
57183 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57184 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57185 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57186
57187
57188 fi
57189
57190   fi
57191   echo "$as_me:$LINENO: result: $glibcxx_cv_func__hypot_use" >&5
57192 echo "${ECHO_T}$glibcxx_cv_func__hypot_use" >&6
57193
57194     if test x$glibcxx_cv_func__hypot_use = x"yes"; then
57195
57196 for ac_func in _hypot
57197 do
57198 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
57199 echo "$as_me:$LINENO: checking for $ac_func" >&5
57200 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
57201 if eval "test \"\${$as_ac_var+set}\" = set"; then
57202   echo $ECHO_N "(cached) $ECHO_C" >&6
57203 else
57204   if test x$gcc_no_link = xyes; then
57205   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
57206 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
57207    { (exit 1); exit 1; }; }
57208 fi
57209 cat >conftest.$ac_ext <<_ACEOF
57210 /* confdefs.h.  */
57211 _ACEOF
57212 cat confdefs.h >>conftest.$ac_ext
57213 cat >>conftest.$ac_ext <<_ACEOF
57214 /* end confdefs.h.  */
57215 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
57216    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
57217 #define $ac_func innocuous_$ac_func
57218
57219 /* System header to define __stub macros and hopefully few prototypes,
57220     which can conflict with char $ac_func (); below.
57221     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
57222     <limits.h> exists even on freestanding compilers.  */
57223
57224 #ifdef __STDC__
57225 # include <limits.h>
57226 #else
57227 # include <assert.h>
57228 #endif
57229
57230 #undef $ac_func
57231
57232 /* Override any gcc2 internal prototype to avoid an error.  */
57233 #ifdef __cplusplus
57234 extern "C"
57235 {
57236 #endif
57237 /* We use char because int might match the return type of a gcc2
57238    builtin and then its argument prototype would still apply.  */
57239 char $ac_func ();
57240 /* The GNU C library defines this for functions which it implements
57241     to always fail with ENOSYS.  Some functions are actually named
57242     something starting with __ and the normal name is an alias.  */
57243 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
57244 choke me
57245 #else
57246 char (*f) () = $ac_func;
57247 #endif
57248 #ifdef __cplusplus
57249 }
57250 #endif
57251
57252 int
57253 main ()
57254 {
57255 return f != $ac_func;
57256   ;
57257   return 0;
57258 }
57259 _ACEOF
57260 rm -f conftest.$ac_objext conftest$ac_exeext
57261 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
57262   (eval $ac_link) 2>conftest.er1
57263   ac_status=$?
57264   grep -v '^ *+' conftest.er1 >conftest.err
57265   rm -f conftest.er1
57266   cat conftest.err >&5
57267   echo "$as_me:$LINENO: \$? = $ac_status" >&5
57268   (exit $ac_status); } &&
57269          { ac_try='test -z "$ac_c_werror_flag"
57270                          || test ! -s conftest.err'
57271   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
57272   (eval $ac_try) 2>&5
57273   ac_status=$?
57274   echo "$as_me:$LINENO: \$? = $ac_status" >&5
57275   (exit $ac_status); }; } &&
57276          { ac_try='test -s conftest$ac_exeext'
57277   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
57278   (eval $ac_try) 2>&5
57279   ac_status=$?
57280   echo "$as_me:$LINENO: \$? = $ac_status" >&5
57281   (exit $ac_status); }; }; then
57282   eval "$as_ac_var=yes"
57283 else
57284   echo "$as_me: failed program was:" >&5
57285 sed 's/^/| /' conftest.$ac_ext >&5
57286
57287 eval "$as_ac_var=no"
57288 fi
57289 rm -f conftest.err conftest.$ac_objext \
57290       conftest$ac_exeext conftest.$ac_ext
57291 fi
57292 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
57293 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
57294 if test `eval echo '${'$as_ac_var'}'` = yes; then
57295   cat >>confdefs.h <<_ACEOF
57296 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
57297 _ACEOF
57298
57299 fi
57300 done
57301
57302     fi
57303   fi
57304
57305
57306
57307
57308
57309
57310     echo "$as_me:$LINENO: checking for float trig functions" >&5
57311 echo $ECHO_N "checking for float trig functions... $ECHO_C" >&6
57312   if test "${glibcxx_cv_func_float_trig_use+set}" = set; then
57313   echo $ECHO_N "(cached) $ECHO_C" >&6
57314 else
57315
57316
57317
57318     ac_ext=cc
57319 ac_cpp='$CXXCPP $CPPFLAGS'
57320 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57321 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57322 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57323
57324     cat >conftest.$ac_ext <<_ACEOF
57325 /* confdefs.h.  */
57326 _ACEOF
57327 cat confdefs.h >>conftest.$ac_ext
57328 cat >>conftest.$ac_ext <<_ACEOF
57329 /* end confdefs.h.  */
57330 #include <math.h>
57331 int
57332 main ()
57333 {
57334 acosf (0); asinf (0); atanf (0); cosf (0); sinf (0); tanf (0); coshf (0); sinhf (0); tanhf (0);
57335   ;
57336   return 0;
57337 }
57338 _ACEOF
57339 rm -f conftest.$ac_objext
57340 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
57341   (eval $ac_compile) 2>conftest.er1
57342   ac_status=$?
57343   grep -v '^ *+' conftest.er1 >conftest.err
57344   rm -f conftest.er1
57345   cat conftest.err >&5
57346   echo "$as_me:$LINENO: \$? = $ac_status" >&5
57347   (exit $ac_status); } &&
57348          { ac_try='test -z "$ac_cxx_werror_flag"
57349                          || test ! -s conftest.err'
57350   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
57351   (eval $ac_try) 2>&5
57352   ac_status=$?
57353   echo "$as_me:$LINENO: \$? = $ac_status" >&5
57354   (exit $ac_status); }; } &&
57355          { ac_try='test -s conftest.$ac_objext'
57356   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
57357   (eval $ac_try) 2>&5
57358   ac_status=$?
57359   echo "$as_me:$LINENO: \$? = $ac_status" >&5
57360   (exit $ac_status); }; }; then
57361   glibcxx_cv_func_float_trig_use=yes
57362 else
57363   echo "$as_me: failed program was:" >&5
57364 sed 's/^/| /' conftest.$ac_ext >&5
57365
57366 glibcxx_cv_func_float_trig_use=no
57367 fi
57368 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
57369     ac_ext=c
57370 ac_cpp='$CPP $CPPFLAGS'
57371 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57372 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57373 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57374
57375 fi
57376
57377   echo "$as_me:$LINENO: result: $glibcxx_cv_func_float_trig_use" >&5
57378 echo "${ECHO_T}$glibcxx_cv_func_float_trig_use" >&6
57379   if test x$glibcxx_cv_func_float_trig_use = x"yes"; then
57380
57381
57382
57383
57384
57385
57386
57387
57388
57389 for ac_func in acosf asinf atanf cosf sinf tanf coshf sinhf tanhf
57390 do
57391 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
57392 echo "$as_me:$LINENO: checking for $ac_func" >&5
57393 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
57394 if eval "test \"\${$as_ac_var+set}\" = set"; then
57395   echo $ECHO_N "(cached) $ECHO_C" >&6
57396 else
57397   if test x$gcc_no_link = xyes; then
57398   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
57399 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
57400    { (exit 1); exit 1; }; }
57401 fi
57402 cat >conftest.$ac_ext <<_ACEOF
57403 /* confdefs.h.  */
57404 _ACEOF
57405 cat confdefs.h >>conftest.$ac_ext
57406 cat >>conftest.$ac_ext <<_ACEOF
57407 /* end confdefs.h.  */
57408 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
57409    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
57410 #define $ac_func innocuous_$ac_func
57411
57412 /* System header to define __stub macros and hopefully few prototypes,
57413     which can conflict with char $ac_func (); below.
57414     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
57415     <limits.h> exists even on freestanding compilers.  */
57416
57417 #ifdef __STDC__
57418 # include <limits.h>
57419 #else
57420 # include <assert.h>
57421 #endif
57422
57423 #undef $ac_func
57424
57425 /* Override any gcc2 internal prototype to avoid an error.  */
57426 #ifdef __cplusplus
57427 extern "C"
57428 {
57429 #endif
57430 /* We use char because int might match the return type of a gcc2
57431    builtin and then its argument prototype would still apply.  */
57432 char $ac_func ();
57433 /* The GNU C library defines this for functions which it implements
57434     to always fail with ENOSYS.  Some functions are actually named
57435     something starting with __ and the normal name is an alias.  */
57436 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
57437 choke me
57438 #else
57439 char (*f) () = $ac_func;
57440 #endif
57441 #ifdef __cplusplus
57442 }
57443 #endif
57444
57445 int
57446 main ()
57447 {
57448 return f != $ac_func;
57449   ;
57450   return 0;
57451 }
57452 _ACEOF
57453 rm -f conftest.$ac_objext conftest$ac_exeext
57454 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
57455   (eval $ac_link) 2>conftest.er1
57456   ac_status=$?
57457   grep -v '^ *+' conftest.er1 >conftest.err
57458   rm -f conftest.er1
57459   cat conftest.err >&5
57460   echo "$as_me:$LINENO: \$? = $ac_status" >&5
57461   (exit $ac_status); } &&
57462          { ac_try='test -z "$ac_c_werror_flag"
57463                          || test ! -s conftest.err'
57464   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
57465   (eval $ac_try) 2>&5
57466   ac_status=$?
57467   echo "$as_me:$LINENO: \$? = $ac_status" >&5
57468   (exit $ac_status); }; } &&
57469          { ac_try='test -s conftest$ac_exeext'
57470   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
57471   (eval $ac_try) 2>&5
57472   ac_status=$?
57473   echo "$as_me:$LINENO: \$? = $ac_status" >&5
57474   (exit $ac_status); }; }; then
57475   eval "$as_ac_var=yes"
57476 else
57477   echo "$as_me: failed program was:" >&5
57478 sed 's/^/| /' conftest.$ac_ext >&5
57479
57480 eval "$as_ac_var=no"
57481 fi
57482 rm -f conftest.err conftest.$ac_objext \
57483       conftest$ac_exeext conftest.$ac_ext
57484 fi
57485 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
57486 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
57487 if test `eval echo '${'$as_ac_var'}'` = yes; then
57488   cat >>confdefs.h <<_ACEOF
57489 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
57490 _ACEOF
57491
57492 fi
57493 done
57494
57495   else
57496     echo "$as_me:$LINENO: checking for _float trig functions" >&5
57497 echo $ECHO_N "checking for _float trig functions... $ECHO_C" >&6
57498     if test "${glibcxx_cv_func__float_trig_use+set}" = set; then
57499   echo $ECHO_N "(cached) $ECHO_C" >&6
57500 else
57501
57502
57503
57504       ac_ext=cc
57505 ac_cpp='$CXXCPP $CPPFLAGS'
57506 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57507 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57508 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57509
57510       cat >conftest.$ac_ext <<_ACEOF
57511 /* confdefs.h.  */
57512 _ACEOF
57513 cat confdefs.h >>conftest.$ac_ext
57514 cat >>conftest.$ac_ext <<_ACEOF
57515 /* end confdefs.h.  */
57516 #include <math.h>
57517 int
57518 main ()
57519 {
57520 _acosf (0); _asinf (0); _atanf (0); _cosf (0); _sinf (0); _tanf (0); _coshf (0); _sinhf (0); _tanhf (0);
57521   ;
57522   return 0;
57523 }
57524 _ACEOF
57525 rm -f conftest.$ac_objext
57526 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
57527   (eval $ac_compile) 2>conftest.er1
57528   ac_status=$?
57529   grep -v '^ *+' conftest.er1 >conftest.err
57530   rm -f conftest.er1
57531   cat conftest.err >&5
57532   echo "$as_me:$LINENO: \$? = $ac_status" >&5
57533   (exit $ac_status); } &&
57534          { ac_try='test -z "$ac_cxx_werror_flag"
57535                          || test ! -s conftest.err'
57536   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
57537   (eval $ac_try) 2>&5
57538   ac_status=$?
57539   echo "$as_me:$LINENO: \$? = $ac_status" >&5
57540   (exit $ac_status); }; } &&
57541          { ac_try='test -s conftest.$ac_objext'
57542   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
57543   (eval $ac_try) 2>&5
57544   ac_status=$?
57545   echo "$as_me:$LINENO: \$? = $ac_status" >&5
57546   (exit $ac_status); }; }; then
57547   glibcxx_cv_func__float_trig_use=yes
57548 else
57549   echo "$as_me: failed program was:" >&5
57550 sed 's/^/| /' conftest.$ac_ext >&5
57551
57552 glibcxx_cv_func__float_trig_use=no
57553 fi
57554 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
57555       ac_ext=c
57556 ac_cpp='$CPP $CPPFLAGS'
57557 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57558 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57559 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57560
57561 fi
57562
57563     echo "$as_me:$LINENO: result: $glibcxx_cv_func__float_trig_use" >&5
57564 echo "${ECHO_T}$glibcxx_cv_func__float_trig_use" >&6
57565     if test x$glibcxx_cv_func__float_trig_use = x"yes"; then
57566
57567
57568
57569
57570
57571
57572
57573
57574
57575 for ac_func in _acosf _asinf _atanf _cosf _sinf _tanf _coshf _sinhf _tanhf
57576 do
57577 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
57578 echo "$as_me:$LINENO: checking for $ac_func" >&5
57579 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
57580 if eval "test \"\${$as_ac_var+set}\" = set"; then
57581   echo $ECHO_N "(cached) $ECHO_C" >&6
57582 else
57583   if test x$gcc_no_link = xyes; then
57584   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
57585 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
57586    { (exit 1); exit 1; }; }
57587 fi
57588 cat >conftest.$ac_ext <<_ACEOF
57589 /* confdefs.h.  */
57590 _ACEOF
57591 cat confdefs.h >>conftest.$ac_ext
57592 cat >>conftest.$ac_ext <<_ACEOF
57593 /* end confdefs.h.  */
57594 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
57595    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
57596 #define $ac_func innocuous_$ac_func
57597
57598 /* System header to define __stub macros and hopefully few prototypes,
57599     which can conflict with char $ac_func (); below.
57600     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
57601     <limits.h> exists even on freestanding compilers.  */
57602
57603 #ifdef __STDC__
57604 # include <limits.h>
57605 #else
57606 # include <assert.h>
57607 #endif
57608
57609 #undef $ac_func
57610
57611 /* Override any gcc2 internal prototype to avoid an error.  */
57612 #ifdef __cplusplus
57613 extern "C"
57614 {
57615 #endif
57616 /* We use char because int might match the return type of a gcc2
57617    builtin and then its argument prototype would still apply.  */
57618 char $ac_func ();
57619 /* The GNU C library defines this for functions which it implements
57620     to always fail with ENOSYS.  Some functions are actually named
57621     something starting with __ and the normal name is an alias.  */
57622 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
57623 choke me
57624 #else
57625 char (*f) () = $ac_func;
57626 #endif
57627 #ifdef __cplusplus
57628 }
57629 #endif
57630
57631 int
57632 main ()
57633 {
57634 return f != $ac_func;
57635   ;
57636   return 0;
57637 }
57638 _ACEOF
57639 rm -f conftest.$ac_objext conftest$ac_exeext
57640 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
57641   (eval $ac_link) 2>conftest.er1
57642   ac_status=$?
57643   grep -v '^ *+' conftest.er1 >conftest.err
57644   rm -f conftest.er1
57645   cat conftest.err >&5
57646   echo "$as_me:$LINENO: \$? = $ac_status" >&5
57647   (exit $ac_status); } &&
57648          { ac_try='test -z "$ac_c_werror_flag"
57649                          || test ! -s conftest.err'
57650   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
57651   (eval $ac_try) 2>&5
57652   ac_status=$?
57653   echo "$as_me:$LINENO: \$? = $ac_status" >&5
57654   (exit $ac_status); }; } &&
57655          { ac_try='test -s conftest$ac_exeext'
57656   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
57657   (eval $ac_try) 2>&5
57658   ac_status=$?
57659   echo "$as_me:$LINENO: \$? = $ac_status" >&5
57660   (exit $ac_status); }; }; then
57661   eval "$as_ac_var=yes"
57662 else
57663   echo "$as_me: failed program was:" >&5
57664 sed 's/^/| /' conftest.$ac_ext >&5
57665
57666 eval "$as_ac_var=no"
57667 fi
57668 rm -f conftest.err conftest.$ac_objext \
57669       conftest$ac_exeext conftest.$ac_ext
57670 fi
57671 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
57672 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
57673 if test `eval echo '${'$as_ac_var'}'` = yes; then
57674   cat >>confdefs.h <<_ACEOF
57675 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
57676 _ACEOF
57677
57678 fi
57679 done
57680
57681     fi
57682   fi
57683
57684
57685
57686
57687
57688
57689
57690
57691
57692
57693
57694
57695
57696
57697     echo "$as_me:$LINENO: checking for float round functions" >&5
57698 echo $ECHO_N "checking for float round functions... $ECHO_C" >&6
57699   if test "${glibcxx_cv_func_float_round_use+set}" = set; then
57700   echo $ECHO_N "(cached) $ECHO_C" >&6
57701 else
57702
57703
57704
57705     ac_ext=cc
57706 ac_cpp='$CXXCPP $CPPFLAGS'
57707 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57708 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57709 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57710
57711     cat >conftest.$ac_ext <<_ACEOF
57712 /* confdefs.h.  */
57713 _ACEOF
57714 cat confdefs.h >>conftest.$ac_ext
57715 cat >>conftest.$ac_ext <<_ACEOF
57716 /* end confdefs.h.  */
57717 #include <math.h>
57718 int
57719 main ()
57720 {
57721 ceilf (0); floorf (0);
57722   ;
57723   return 0;
57724 }
57725 _ACEOF
57726 rm -f conftest.$ac_objext
57727 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
57728   (eval $ac_compile) 2>conftest.er1
57729   ac_status=$?
57730   grep -v '^ *+' conftest.er1 >conftest.err
57731   rm -f conftest.er1
57732   cat conftest.err >&5
57733   echo "$as_me:$LINENO: \$? = $ac_status" >&5
57734   (exit $ac_status); } &&
57735          { ac_try='test -z "$ac_cxx_werror_flag"
57736                          || test ! -s conftest.err'
57737   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
57738   (eval $ac_try) 2>&5
57739   ac_status=$?
57740   echo "$as_me:$LINENO: \$? = $ac_status" >&5
57741   (exit $ac_status); }; } &&
57742          { ac_try='test -s conftest.$ac_objext'
57743   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
57744   (eval $ac_try) 2>&5
57745   ac_status=$?
57746   echo "$as_me:$LINENO: \$? = $ac_status" >&5
57747   (exit $ac_status); }; }; then
57748   glibcxx_cv_func_float_round_use=yes
57749 else
57750   echo "$as_me: failed program was:" >&5
57751 sed 's/^/| /' conftest.$ac_ext >&5
57752
57753 glibcxx_cv_func_float_round_use=no
57754 fi
57755 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
57756     ac_ext=c
57757 ac_cpp='$CPP $CPPFLAGS'
57758 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57759 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57760 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57761
57762 fi
57763
57764   echo "$as_me:$LINENO: result: $glibcxx_cv_func_float_round_use" >&5
57765 echo "${ECHO_T}$glibcxx_cv_func_float_round_use" >&6
57766   if test x$glibcxx_cv_func_float_round_use = x"yes"; then
57767
57768
57769 for ac_func in ceilf floorf
57770 do
57771 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
57772 echo "$as_me:$LINENO: checking for $ac_func" >&5
57773 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
57774 if eval "test \"\${$as_ac_var+set}\" = set"; then
57775   echo $ECHO_N "(cached) $ECHO_C" >&6
57776 else
57777   if test x$gcc_no_link = xyes; then
57778   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
57779 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
57780    { (exit 1); exit 1; }; }
57781 fi
57782 cat >conftest.$ac_ext <<_ACEOF
57783 /* confdefs.h.  */
57784 _ACEOF
57785 cat confdefs.h >>conftest.$ac_ext
57786 cat >>conftest.$ac_ext <<_ACEOF
57787 /* end confdefs.h.  */
57788 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
57789    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
57790 #define $ac_func innocuous_$ac_func
57791
57792 /* System header to define __stub macros and hopefully few prototypes,
57793     which can conflict with char $ac_func (); below.
57794     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
57795     <limits.h> exists even on freestanding compilers.  */
57796
57797 #ifdef __STDC__
57798 # include <limits.h>
57799 #else
57800 # include <assert.h>
57801 #endif
57802
57803 #undef $ac_func
57804
57805 /* Override any gcc2 internal prototype to avoid an error.  */
57806 #ifdef __cplusplus
57807 extern "C"
57808 {
57809 #endif
57810 /* We use char because int might match the return type of a gcc2
57811    builtin and then its argument prototype would still apply.  */
57812 char $ac_func ();
57813 /* The GNU C library defines this for functions which it implements
57814     to always fail with ENOSYS.  Some functions are actually named
57815     something starting with __ and the normal name is an alias.  */
57816 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
57817 choke me
57818 #else
57819 char (*f) () = $ac_func;
57820 #endif
57821 #ifdef __cplusplus
57822 }
57823 #endif
57824
57825 int
57826 main ()
57827 {
57828 return f != $ac_func;
57829   ;
57830   return 0;
57831 }
57832 _ACEOF
57833 rm -f conftest.$ac_objext conftest$ac_exeext
57834 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
57835   (eval $ac_link) 2>conftest.er1
57836   ac_status=$?
57837   grep -v '^ *+' conftest.er1 >conftest.err
57838   rm -f conftest.er1
57839   cat conftest.err >&5
57840   echo "$as_me:$LINENO: \$? = $ac_status" >&5
57841   (exit $ac_status); } &&
57842          { ac_try='test -z "$ac_c_werror_flag"
57843                          || test ! -s conftest.err'
57844   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
57845   (eval $ac_try) 2>&5
57846   ac_status=$?
57847   echo "$as_me:$LINENO: \$? = $ac_status" >&5
57848   (exit $ac_status); }; } &&
57849          { ac_try='test -s conftest$ac_exeext'
57850   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
57851   (eval $ac_try) 2>&5
57852   ac_status=$?
57853   echo "$as_me:$LINENO: \$? = $ac_status" >&5
57854   (exit $ac_status); }; }; then
57855   eval "$as_ac_var=yes"
57856 else
57857   echo "$as_me: failed program was:" >&5
57858 sed 's/^/| /' conftest.$ac_ext >&5
57859
57860 eval "$as_ac_var=no"
57861 fi
57862 rm -f conftest.err conftest.$ac_objext \
57863       conftest$ac_exeext conftest.$ac_ext
57864 fi
57865 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
57866 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
57867 if test `eval echo '${'$as_ac_var'}'` = yes; then
57868   cat >>confdefs.h <<_ACEOF
57869 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
57870 _ACEOF
57871
57872 fi
57873 done
57874
57875   else
57876     echo "$as_me:$LINENO: checking for _float round functions" >&5
57877 echo $ECHO_N "checking for _float round functions... $ECHO_C" >&6
57878     if test "${glibcxx_cv_func__float_round_use+set}" = set; then
57879   echo $ECHO_N "(cached) $ECHO_C" >&6
57880 else
57881
57882
57883
57884       ac_ext=cc
57885 ac_cpp='$CXXCPP $CPPFLAGS'
57886 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57887 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57888 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57889
57890       cat >conftest.$ac_ext <<_ACEOF
57891 /* confdefs.h.  */
57892 _ACEOF
57893 cat confdefs.h >>conftest.$ac_ext
57894 cat >>conftest.$ac_ext <<_ACEOF
57895 /* end confdefs.h.  */
57896 #include <math.h>
57897 int
57898 main ()
57899 {
57900 _ceilf (0); _floorf (0);
57901   ;
57902   return 0;
57903 }
57904 _ACEOF
57905 rm -f conftest.$ac_objext
57906 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
57907   (eval $ac_compile) 2>conftest.er1
57908   ac_status=$?
57909   grep -v '^ *+' conftest.er1 >conftest.err
57910   rm -f conftest.er1
57911   cat conftest.err >&5
57912   echo "$as_me:$LINENO: \$? = $ac_status" >&5
57913   (exit $ac_status); } &&
57914          { ac_try='test -z "$ac_cxx_werror_flag"
57915                          || test ! -s conftest.err'
57916   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
57917   (eval $ac_try) 2>&5
57918   ac_status=$?
57919   echo "$as_me:$LINENO: \$? = $ac_status" >&5
57920   (exit $ac_status); }; } &&
57921          { ac_try='test -s conftest.$ac_objext'
57922   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
57923   (eval $ac_try) 2>&5
57924   ac_status=$?
57925   echo "$as_me:$LINENO: \$? = $ac_status" >&5
57926   (exit $ac_status); }; }; then
57927   glibcxx_cv_func__float_round_use=yes
57928 else
57929   echo "$as_me: failed program was:" >&5
57930 sed 's/^/| /' conftest.$ac_ext >&5
57931
57932 glibcxx_cv_func__float_round_use=no
57933 fi
57934 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
57935       ac_ext=c
57936 ac_cpp='$CPP $CPPFLAGS'
57937 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57938 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57939 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57940
57941 fi
57942
57943     echo "$as_me:$LINENO: result: $glibcxx_cv_func__float_round_use" >&5
57944 echo "${ECHO_T}$glibcxx_cv_func__float_round_use" >&6
57945     if test x$glibcxx_cv_func__float_round_use = x"yes"; then
57946
57947
57948 for ac_func in _ceilf _floorf
57949 do
57950 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
57951 echo "$as_me:$LINENO: checking for $ac_func" >&5
57952 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
57953 if eval "test \"\${$as_ac_var+set}\" = set"; then
57954   echo $ECHO_N "(cached) $ECHO_C" >&6
57955 else
57956   if test x$gcc_no_link = xyes; then
57957   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
57958 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
57959    { (exit 1); exit 1; }; }
57960 fi
57961 cat >conftest.$ac_ext <<_ACEOF
57962 /* confdefs.h.  */
57963 _ACEOF
57964 cat confdefs.h >>conftest.$ac_ext
57965 cat >>conftest.$ac_ext <<_ACEOF
57966 /* end confdefs.h.  */
57967 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
57968    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
57969 #define $ac_func innocuous_$ac_func
57970
57971 /* System header to define __stub macros and hopefully few prototypes,
57972     which can conflict with char $ac_func (); below.
57973     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
57974     <limits.h> exists even on freestanding compilers.  */
57975
57976 #ifdef __STDC__
57977 # include <limits.h>
57978 #else
57979 # include <assert.h>
57980 #endif
57981
57982 #undef $ac_func
57983
57984 /* Override any gcc2 internal prototype to avoid an error.  */
57985 #ifdef __cplusplus
57986 extern "C"
57987 {
57988 #endif
57989 /* We use char because int might match the return type of a gcc2
57990    builtin and then its argument prototype would still apply.  */
57991 char $ac_func ();
57992 /* The GNU C library defines this for functions which it implements
57993     to always fail with ENOSYS.  Some functions are actually named
57994     something starting with __ and the normal name is an alias.  */
57995 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
57996 choke me
57997 #else
57998 char (*f) () = $ac_func;
57999 #endif
58000 #ifdef __cplusplus
58001 }
58002 #endif
58003
58004 int
58005 main ()
58006 {
58007 return f != $ac_func;
58008   ;
58009   return 0;
58010 }
58011 _ACEOF
58012 rm -f conftest.$ac_objext conftest$ac_exeext
58013 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
58014   (eval $ac_link) 2>conftest.er1
58015   ac_status=$?
58016   grep -v '^ *+' conftest.er1 >conftest.err
58017   rm -f conftest.er1
58018   cat conftest.err >&5
58019   echo "$as_me:$LINENO: \$? = $ac_status" >&5
58020   (exit $ac_status); } &&
58021          { ac_try='test -z "$ac_c_werror_flag"
58022                          || test ! -s conftest.err'
58023   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
58024   (eval $ac_try) 2>&5
58025   ac_status=$?
58026   echo "$as_me:$LINENO: \$? = $ac_status" >&5
58027   (exit $ac_status); }; } &&
58028          { ac_try='test -s conftest$ac_exeext'
58029   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
58030   (eval $ac_try) 2>&5
58031   ac_status=$?
58032   echo "$as_me:$LINENO: \$? = $ac_status" >&5
58033   (exit $ac_status); }; }; then
58034   eval "$as_ac_var=yes"
58035 else
58036   echo "$as_me: failed program was:" >&5
58037 sed 's/^/| /' conftest.$ac_ext >&5
58038
58039 eval "$as_ac_var=no"
58040 fi
58041 rm -f conftest.err conftest.$ac_objext \
58042       conftest$ac_exeext conftest.$ac_ext
58043 fi
58044 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
58045 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
58046 if test `eval echo '${'$as_ac_var'}'` = yes; then
58047   cat >>confdefs.h <<_ACEOF
58048 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
58049 _ACEOF
58050
58051 fi
58052 done
58053
58054     fi
58055   fi
58056
58057
58058
58059
58060
58061
58062
58063
58064   echo "$as_me:$LINENO: checking for expf declaration" >&5
58065 echo $ECHO_N "checking for expf declaration... $ECHO_C" >&6
58066   if test x${glibcxx_cv_func_expf_use+set} != xset; then
58067     if test "${glibcxx_cv_func_expf_use+set}" = set; then
58068   echo $ECHO_N "(cached) $ECHO_C" >&6
58069 else
58070
58071
58072
58073       ac_ext=cc
58074 ac_cpp='$CXXCPP $CPPFLAGS'
58075 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58076 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58077 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58078
58079       cat >conftest.$ac_ext <<_ACEOF
58080 /* confdefs.h.  */
58081 _ACEOF
58082 cat confdefs.h >>conftest.$ac_ext
58083 cat >>conftest.$ac_ext <<_ACEOF
58084 /* end confdefs.h.  */
58085 #include <math.h>
58086                       #ifdef HAVE_IEEEFP_H
58087                       #include <ieeefp.h>
58088                       #endif
58089
58090 int
58091 main ()
58092 {
58093  expf(0);
58094   ;
58095   return 0;
58096 }
58097 _ACEOF
58098 rm -f conftest.$ac_objext
58099 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
58100   (eval $ac_compile) 2>conftest.er1
58101   ac_status=$?
58102   grep -v '^ *+' conftest.er1 >conftest.err
58103   rm -f conftest.er1
58104   cat conftest.err >&5
58105   echo "$as_me:$LINENO: \$? = $ac_status" >&5
58106   (exit $ac_status); } &&
58107          { ac_try='test -z "$ac_cxx_werror_flag"
58108                          || test ! -s conftest.err'
58109   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
58110   (eval $ac_try) 2>&5
58111   ac_status=$?
58112   echo "$as_me:$LINENO: \$? = $ac_status" >&5
58113   (exit $ac_status); }; } &&
58114          { ac_try='test -s conftest.$ac_objext'
58115   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
58116   (eval $ac_try) 2>&5
58117   ac_status=$?
58118   echo "$as_me:$LINENO: \$? = $ac_status" >&5
58119   (exit $ac_status); }; }; then
58120   glibcxx_cv_func_expf_use=yes
58121 else
58122   echo "$as_me: failed program was:" >&5
58123 sed 's/^/| /' conftest.$ac_ext >&5
58124
58125 glibcxx_cv_func_expf_use=no
58126 fi
58127 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
58128       ac_ext=c
58129 ac_cpp='$CPP $CPPFLAGS'
58130 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58131 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58132 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58133
58134
58135 fi
58136
58137   fi
58138   echo "$as_me:$LINENO: result: $glibcxx_cv_func_expf_use" >&5
58139 echo "${ECHO_T}$glibcxx_cv_func_expf_use" >&6
58140
58141   if test x$glibcxx_cv_func_expf_use = x"yes"; then
58142
58143 for ac_func in expf
58144 do
58145 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
58146 echo "$as_me:$LINENO: checking for $ac_func" >&5
58147 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
58148 if eval "test \"\${$as_ac_var+set}\" = set"; then
58149   echo $ECHO_N "(cached) $ECHO_C" >&6
58150 else
58151   if test x$gcc_no_link = xyes; then
58152   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
58153 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
58154    { (exit 1); exit 1; }; }
58155 fi
58156 cat >conftest.$ac_ext <<_ACEOF
58157 /* confdefs.h.  */
58158 _ACEOF
58159 cat confdefs.h >>conftest.$ac_ext
58160 cat >>conftest.$ac_ext <<_ACEOF
58161 /* end confdefs.h.  */
58162 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
58163    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
58164 #define $ac_func innocuous_$ac_func
58165
58166 /* System header to define __stub macros and hopefully few prototypes,
58167     which can conflict with char $ac_func (); below.
58168     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
58169     <limits.h> exists even on freestanding compilers.  */
58170
58171 #ifdef __STDC__
58172 # include <limits.h>
58173 #else
58174 # include <assert.h>
58175 #endif
58176
58177 #undef $ac_func
58178
58179 /* Override any gcc2 internal prototype to avoid an error.  */
58180 #ifdef __cplusplus
58181 extern "C"
58182 {
58183 #endif
58184 /* We use char because int might match the return type of a gcc2
58185    builtin and then its argument prototype would still apply.  */
58186 char $ac_func ();
58187 /* The GNU C library defines this for functions which it implements
58188     to always fail with ENOSYS.  Some functions are actually named
58189     something starting with __ and the normal name is an alias.  */
58190 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
58191 choke me
58192 #else
58193 char (*f) () = $ac_func;
58194 #endif
58195 #ifdef __cplusplus
58196 }
58197 #endif
58198
58199 int
58200 main ()
58201 {
58202 return f != $ac_func;
58203   ;
58204   return 0;
58205 }
58206 _ACEOF
58207 rm -f conftest.$ac_objext conftest$ac_exeext
58208 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
58209   (eval $ac_link) 2>conftest.er1
58210   ac_status=$?
58211   grep -v '^ *+' conftest.er1 >conftest.err
58212   rm -f conftest.er1
58213   cat conftest.err >&5
58214   echo "$as_me:$LINENO: \$? = $ac_status" >&5
58215   (exit $ac_status); } &&
58216          { ac_try='test -z "$ac_c_werror_flag"
58217                          || test ! -s conftest.err'
58218   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
58219   (eval $ac_try) 2>&5
58220   ac_status=$?
58221   echo "$as_me:$LINENO: \$? = $ac_status" >&5
58222   (exit $ac_status); }; } &&
58223          { ac_try='test -s conftest$ac_exeext'
58224   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
58225   (eval $ac_try) 2>&5
58226   ac_status=$?
58227   echo "$as_me:$LINENO: \$? = $ac_status" >&5
58228   (exit $ac_status); }; }; then
58229   eval "$as_ac_var=yes"
58230 else
58231   echo "$as_me: failed program was:" >&5
58232 sed 's/^/| /' conftest.$ac_ext >&5
58233
58234 eval "$as_ac_var=no"
58235 fi
58236 rm -f conftest.err conftest.$ac_objext \
58237       conftest$ac_exeext conftest.$ac_ext
58238 fi
58239 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
58240 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
58241 if test `eval echo '${'$as_ac_var'}'` = yes; then
58242   cat >>confdefs.h <<_ACEOF
58243 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
58244 _ACEOF
58245
58246 fi
58247 done
58248
58249   else
58250
58251   echo "$as_me:$LINENO: checking for _expf declaration" >&5
58252 echo $ECHO_N "checking for _expf declaration... $ECHO_C" >&6
58253   if test x${glibcxx_cv_func__expf_use+set} != xset; then
58254     if test "${glibcxx_cv_func__expf_use+set}" = set; then
58255   echo $ECHO_N "(cached) $ECHO_C" >&6
58256 else
58257
58258
58259
58260       ac_ext=cc
58261 ac_cpp='$CXXCPP $CPPFLAGS'
58262 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58263 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58264 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58265
58266       cat >conftest.$ac_ext <<_ACEOF
58267 /* confdefs.h.  */
58268 _ACEOF
58269 cat confdefs.h >>conftest.$ac_ext
58270 cat >>conftest.$ac_ext <<_ACEOF
58271 /* end confdefs.h.  */
58272 #include <math.h>
58273                       #ifdef HAVE_IEEEFP_H
58274                       #include <ieeefp.h>
58275                       #endif
58276
58277 int
58278 main ()
58279 {
58280  _expf(0);
58281   ;
58282   return 0;
58283 }
58284 _ACEOF
58285 rm -f conftest.$ac_objext
58286 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
58287   (eval $ac_compile) 2>conftest.er1
58288   ac_status=$?
58289   grep -v '^ *+' conftest.er1 >conftest.err
58290   rm -f conftest.er1
58291   cat conftest.err >&5
58292   echo "$as_me:$LINENO: \$? = $ac_status" >&5
58293   (exit $ac_status); } &&
58294          { ac_try='test -z "$ac_cxx_werror_flag"
58295                          || test ! -s conftest.err'
58296   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
58297   (eval $ac_try) 2>&5
58298   ac_status=$?
58299   echo "$as_me:$LINENO: \$? = $ac_status" >&5
58300   (exit $ac_status); }; } &&
58301          { ac_try='test -s conftest.$ac_objext'
58302   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
58303   (eval $ac_try) 2>&5
58304   ac_status=$?
58305   echo "$as_me:$LINENO: \$? = $ac_status" >&5
58306   (exit $ac_status); }; }; then
58307   glibcxx_cv_func__expf_use=yes
58308 else
58309   echo "$as_me: failed program was:" >&5
58310 sed 's/^/| /' conftest.$ac_ext >&5
58311
58312 glibcxx_cv_func__expf_use=no
58313 fi
58314 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
58315       ac_ext=c
58316 ac_cpp='$CPP $CPPFLAGS'
58317 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58318 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58319 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58320
58321
58322 fi
58323
58324   fi
58325   echo "$as_me:$LINENO: result: $glibcxx_cv_func__expf_use" >&5
58326 echo "${ECHO_T}$glibcxx_cv_func__expf_use" >&6
58327
58328     if test x$glibcxx_cv_func__expf_use = x"yes"; then
58329
58330 for ac_func in _expf
58331 do
58332 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
58333 echo "$as_me:$LINENO: checking for $ac_func" >&5
58334 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
58335 if eval "test \"\${$as_ac_var+set}\" = set"; then
58336   echo $ECHO_N "(cached) $ECHO_C" >&6
58337 else
58338   if test x$gcc_no_link = xyes; then
58339   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
58340 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
58341    { (exit 1); exit 1; }; }
58342 fi
58343 cat >conftest.$ac_ext <<_ACEOF
58344 /* confdefs.h.  */
58345 _ACEOF
58346 cat confdefs.h >>conftest.$ac_ext
58347 cat >>conftest.$ac_ext <<_ACEOF
58348 /* end confdefs.h.  */
58349 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
58350    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
58351 #define $ac_func innocuous_$ac_func
58352
58353 /* System header to define __stub macros and hopefully few prototypes,
58354     which can conflict with char $ac_func (); below.
58355     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
58356     <limits.h> exists even on freestanding compilers.  */
58357
58358 #ifdef __STDC__
58359 # include <limits.h>
58360 #else
58361 # include <assert.h>
58362 #endif
58363
58364 #undef $ac_func
58365
58366 /* Override any gcc2 internal prototype to avoid an error.  */
58367 #ifdef __cplusplus
58368 extern "C"
58369 {
58370 #endif
58371 /* We use char because int might match the return type of a gcc2
58372    builtin and then its argument prototype would still apply.  */
58373 char $ac_func ();
58374 /* The GNU C library defines this for functions which it implements
58375     to always fail with ENOSYS.  Some functions are actually named
58376     something starting with __ and the normal name is an alias.  */
58377 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
58378 choke me
58379 #else
58380 char (*f) () = $ac_func;
58381 #endif
58382 #ifdef __cplusplus
58383 }
58384 #endif
58385
58386 int
58387 main ()
58388 {
58389 return f != $ac_func;
58390   ;
58391   return 0;
58392 }
58393 _ACEOF
58394 rm -f conftest.$ac_objext conftest$ac_exeext
58395 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
58396   (eval $ac_link) 2>conftest.er1
58397   ac_status=$?
58398   grep -v '^ *+' conftest.er1 >conftest.err
58399   rm -f conftest.er1
58400   cat conftest.err >&5
58401   echo "$as_me:$LINENO: \$? = $ac_status" >&5
58402   (exit $ac_status); } &&
58403          { ac_try='test -z "$ac_c_werror_flag"
58404                          || test ! -s conftest.err'
58405   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
58406   (eval $ac_try) 2>&5
58407   ac_status=$?
58408   echo "$as_me:$LINENO: \$? = $ac_status" >&5
58409   (exit $ac_status); }; } &&
58410          { ac_try='test -s conftest$ac_exeext'
58411   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
58412   (eval $ac_try) 2>&5
58413   ac_status=$?
58414   echo "$as_me:$LINENO: \$? = $ac_status" >&5
58415   (exit $ac_status); }; }; then
58416   eval "$as_ac_var=yes"
58417 else
58418   echo "$as_me: failed program was:" >&5
58419 sed 's/^/| /' conftest.$ac_ext >&5
58420
58421 eval "$as_ac_var=no"
58422 fi
58423 rm -f conftest.err conftest.$ac_objext \
58424       conftest$ac_exeext conftest.$ac_ext
58425 fi
58426 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
58427 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
58428 if test `eval echo '${'$as_ac_var'}'` = yes; then
58429   cat >>confdefs.h <<_ACEOF
58430 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
58431 _ACEOF
58432
58433 fi
58434 done
58435
58436     fi
58437   fi
58438
58439
58440
58441
58442
58443
58444   echo "$as_me:$LINENO: checking for isnanf declaration" >&5
58445 echo $ECHO_N "checking for isnanf declaration... $ECHO_C" >&6
58446   if test x${glibcxx_cv_func_isnanf_use+set} != xset; then
58447     if test "${glibcxx_cv_func_isnanf_use+set}" = set; then
58448   echo $ECHO_N "(cached) $ECHO_C" >&6
58449 else
58450
58451
58452
58453       ac_ext=cc
58454 ac_cpp='$CXXCPP $CPPFLAGS'
58455 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58456 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58457 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58458
58459       cat >conftest.$ac_ext <<_ACEOF
58460 /* confdefs.h.  */
58461 _ACEOF
58462 cat confdefs.h >>conftest.$ac_ext
58463 cat >>conftest.$ac_ext <<_ACEOF
58464 /* end confdefs.h.  */
58465 #include <math.h>
58466                       #ifdef HAVE_IEEEFP_H
58467                       #include <ieeefp.h>
58468                       #endif
58469
58470 int
58471 main ()
58472 {
58473  isnanf(0);
58474   ;
58475   return 0;
58476 }
58477 _ACEOF
58478 rm -f conftest.$ac_objext
58479 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
58480   (eval $ac_compile) 2>conftest.er1
58481   ac_status=$?
58482   grep -v '^ *+' conftest.er1 >conftest.err
58483   rm -f conftest.er1
58484   cat conftest.err >&5
58485   echo "$as_me:$LINENO: \$? = $ac_status" >&5
58486   (exit $ac_status); } &&
58487          { ac_try='test -z "$ac_cxx_werror_flag"
58488                          || test ! -s conftest.err'
58489   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
58490   (eval $ac_try) 2>&5
58491   ac_status=$?
58492   echo "$as_me:$LINENO: \$? = $ac_status" >&5
58493   (exit $ac_status); }; } &&
58494          { ac_try='test -s conftest.$ac_objext'
58495   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
58496   (eval $ac_try) 2>&5
58497   ac_status=$?
58498   echo "$as_me:$LINENO: \$? = $ac_status" >&5
58499   (exit $ac_status); }; }; then
58500   glibcxx_cv_func_isnanf_use=yes
58501 else
58502   echo "$as_me: failed program was:" >&5
58503 sed 's/^/| /' conftest.$ac_ext >&5
58504
58505 glibcxx_cv_func_isnanf_use=no
58506 fi
58507 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
58508       ac_ext=c
58509 ac_cpp='$CPP $CPPFLAGS'
58510 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58511 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58512 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58513
58514
58515 fi
58516
58517   fi
58518   echo "$as_me:$LINENO: result: $glibcxx_cv_func_isnanf_use" >&5
58519 echo "${ECHO_T}$glibcxx_cv_func_isnanf_use" >&6
58520
58521   if test x$glibcxx_cv_func_isnanf_use = x"yes"; then
58522
58523 for ac_func in isnanf
58524 do
58525 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
58526 echo "$as_me:$LINENO: checking for $ac_func" >&5
58527 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
58528 if eval "test \"\${$as_ac_var+set}\" = set"; then
58529   echo $ECHO_N "(cached) $ECHO_C" >&6
58530 else
58531   if test x$gcc_no_link = xyes; then
58532   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
58533 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
58534    { (exit 1); exit 1; }; }
58535 fi
58536 cat >conftest.$ac_ext <<_ACEOF
58537 /* confdefs.h.  */
58538 _ACEOF
58539 cat confdefs.h >>conftest.$ac_ext
58540 cat >>conftest.$ac_ext <<_ACEOF
58541 /* end confdefs.h.  */
58542 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
58543    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
58544 #define $ac_func innocuous_$ac_func
58545
58546 /* System header to define __stub macros and hopefully few prototypes,
58547     which can conflict with char $ac_func (); below.
58548     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
58549     <limits.h> exists even on freestanding compilers.  */
58550
58551 #ifdef __STDC__
58552 # include <limits.h>
58553 #else
58554 # include <assert.h>
58555 #endif
58556
58557 #undef $ac_func
58558
58559 /* Override any gcc2 internal prototype to avoid an error.  */
58560 #ifdef __cplusplus
58561 extern "C"
58562 {
58563 #endif
58564 /* We use char because int might match the return type of a gcc2
58565    builtin and then its argument prototype would still apply.  */
58566 char $ac_func ();
58567 /* The GNU C library defines this for functions which it implements
58568     to always fail with ENOSYS.  Some functions are actually named
58569     something starting with __ and the normal name is an alias.  */
58570 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
58571 choke me
58572 #else
58573 char (*f) () = $ac_func;
58574 #endif
58575 #ifdef __cplusplus
58576 }
58577 #endif
58578
58579 int
58580 main ()
58581 {
58582 return f != $ac_func;
58583   ;
58584   return 0;
58585 }
58586 _ACEOF
58587 rm -f conftest.$ac_objext conftest$ac_exeext
58588 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
58589   (eval $ac_link) 2>conftest.er1
58590   ac_status=$?
58591   grep -v '^ *+' conftest.er1 >conftest.err
58592   rm -f conftest.er1
58593   cat conftest.err >&5
58594   echo "$as_me:$LINENO: \$? = $ac_status" >&5
58595   (exit $ac_status); } &&
58596          { ac_try='test -z "$ac_c_werror_flag"
58597                          || test ! -s conftest.err'
58598   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
58599   (eval $ac_try) 2>&5
58600   ac_status=$?
58601   echo "$as_me:$LINENO: \$? = $ac_status" >&5
58602   (exit $ac_status); }; } &&
58603          { ac_try='test -s conftest$ac_exeext'
58604   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
58605   (eval $ac_try) 2>&5
58606   ac_status=$?
58607   echo "$as_me:$LINENO: \$? = $ac_status" >&5
58608   (exit $ac_status); }; }; then
58609   eval "$as_ac_var=yes"
58610 else
58611   echo "$as_me: failed program was:" >&5
58612 sed 's/^/| /' conftest.$ac_ext >&5
58613
58614 eval "$as_ac_var=no"
58615 fi
58616 rm -f conftest.err conftest.$ac_objext \
58617       conftest$ac_exeext conftest.$ac_ext
58618 fi
58619 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
58620 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
58621 if test `eval echo '${'$as_ac_var'}'` = yes; then
58622   cat >>confdefs.h <<_ACEOF
58623 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
58624 _ACEOF
58625
58626 fi
58627 done
58628
58629   else
58630
58631   echo "$as_me:$LINENO: checking for _isnanf declaration" >&5
58632 echo $ECHO_N "checking for _isnanf declaration... $ECHO_C" >&6
58633   if test x${glibcxx_cv_func__isnanf_use+set} != xset; then
58634     if test "${glibcxx_cv_func__isnanf_use+set}" = set; then
58635   echo $ECHO_N "(cached) $ECHO_C" >&6
58636 else
58637
58638
58639
58640       ac_ext=cc
58641 ac_cpp='$CXXCPP $CPPFLAGS'
58642 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58643 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58644 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58645
58646       cat >conftest.$ac_ext <<_ACEOF
58647 /* confdefs.h.  */
58648 _ACEOF
58649 cat confdefs.h >>conftest.$ac_ext
58650 cat >>conftest.$ac_ext <<_ACEOF
58651 /* end confdefs.h.  */
58652 #include <math.h>
58653                       #ifdef HAVE_IEEEFP_H
58654                       #include <ieeefp.h>
58655                       #endif
58656
58657 int
58658 main ()
58659 {
58660  _isnanf(0);
58661   ;
58662   return 0;
58663 }
58664 _ACEOF
58665 rm -f conftest.$ac_objext
58666 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
58667   (eval $ac_compile) 2>conftest.er1
58668   ac_status=$?
58669   grep -v '^ *+' conftest.er1 >conftest.err
58670   rm -f conftest.er1
58671   cat conftest.err >&5
58672   echo "$as_me:$LINENO: \$? = $ac_status" >&5
58673   (exit $ac_status); } &&
58674          { ac_try='test -z "$ac_cxx_werror_flag"
58675                          || test ! -s conftest.err'
58676   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
58677   (eval $ac_try) 2>&5
58678   ac_status=$?
58679   echo "$as_me:$LINENO: \$? = $ac_status" >&5
58680   (exit $ac_status); }; } &&
58681          { ac_try='test -s conftest.$ac_objext'
58682   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
58683   (eval $ac_try) 2>&5
58684   ac_status=$?
58685   echo "$as_me:$LINENO: \$? = $ac_status" >&5
58686   (exit $ac_status); }; }; then
58687   glibcxx_cv_func__isnanf_use=yes
58688 else
58689   echo "$as_me: failed program was:" >&5
58690 sed 's/^/| /' conftest.$ac_ext >&5
58691
58692 glibcxx_cv_func__isnanf_use=no
58693 fi
58694 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
58695       ac_ext=c
58696 ac_cpp='$CPP $CPPFLAGS'
58697 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58698 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58699 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58700
58701
58702 fi
58703
58704   fi
58705   echo "$as_me:$LINENO: result: $glibcxx_cv_func__isnanf_use" >&5
58706 echo "${ECHO_T}$glibcxx_cv_func__isnanf_use" >&6
58707
58708     if test x$glibcxx_cv_func__isnanf_use = x"yes"; then
58709
58710 for ac_func in _isnanf
58711 do
58712 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
58713 echo "$as_me:$LINENO: checking for $ac_func" >&5
58714 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
58715 if eval "test \"\${$as_ac_var+set}\" = set"; then
58716   echo $ECHO_N "(cached) $ECHO_C" >&6
58717 else
58718   if test x$gcc_no_link = xyes; then
58719   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
58720 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
58721    { (exit 1); exit 1; }; }
58722 fi
58723 cat >conftest.$ac_ext <<_ACEOF
58724 /* confdefs.h.  */
58725 _ACEOF
58726 cat confdefs.h >>conftest.$ac_ext
58727 cat >>conftest.$ac_ext <<_ACEOF
58728 /* end confdefs.h.  */
58729 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
58730    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
58731 #define $ac_func innocuous_$ac_func
58732
58733 /* System header to define __stub macros and hopefully few prototypes,
58734     which can conflict with char $ac_func (); below.
58735     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
58736     <limits.h> exists even on freestanding compilers.  */
58737
58738 #ifdef __STDC__
58739 # include <limits.h>
58740 #else
58741 # include <assert.h>
58742 #endif
58743
58744 #undef $ac_func
58745
58746 /* Override any gcc2 internal prototype to avoid an error.  */
58747 #ifdef __cplusplus
58748 extern "C"
58749 {
58750 #endif
58751 /* We use char because int might match the return type of a gcc2
58752    builtin and then its argument prototype would still apply.  */
58753 char $ac_func ();
58754 /* The GNU C library defines this for functions which it implements
58755     to always fail with ENOSYS.  Some functions are actually named
58756     something starting with __ and the normal name is an alias.  */
58757 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
58758 choke me
58759 #else
58760 char (*f) () = $ac_func;
58761 #endif
58762 #ifdef __cplusplus
58763 }
58764 #endif
58765
58766 int
58767 main ()
58768 {
58769 return f != $ac_func;
58770   ;
58771   return 0;
58772 }
58773 _ACEOF
58774 rm -f conftest.$ac_objext conftest$ac_exeext
58775 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
58776   (eval $ac_link) 2>conftest.er1
58777   ac_status=$?
58778   grep -v '^ *+' conftest.er1 >conftest.err
58779   rm -f conftest.er1
58780   cat conftest.err >&5
58781   echo "$as_me:$LINENO: \$? = $ac_status" >&5
58782   (exit $ac_status); } &&
58783          { ac_try='test -z "$ac_c_werror_flag"
58784                          || test ! -s conftest.err'
58785   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
58786   (eval $ac_try) 2>&5
58787   ac_status=$?
58788   echo "$as_me:$LINENO: \$? = $ac_status" >&5
58789   (exit $ac_status); }; } &&
58790          { ac_try='test -s conftest$ac_exeext'
58791   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
58792   (eval $ac_try) 2>&5
58793   ac_status=$?
58794   echo "$as_me:$LINENO: \$? = $ac_status" >&5
58795   (exit $ac_status); }; }; then
58796   eval "$as_ac_var=yes"
58797 else
58798   echo "$as_me: failed program was:" >&5
58799 sed 's/^/| /' conftest.$ac_ext >&5
58800
58801 eval "$as_ac_var=no"
58802 fi
58803 rm -f conftest.err conftest.$ac_objext \
58804       conftest$ac_exeext conftest.$ac_ext
58805 fi
58806 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
58807 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
58808 if test `eval echo '${'$as_ac_var'}'` = yes; then
58809   cat >>confdefs.h <<_ACEOF
58810 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
58811 _ACEOF
58812
58813 fi
58814 done
58815
58816     fi
58817   fi
58818
58819
58820
58821
58822
58823
58824   echo "$as_me:$LINENO: checking for isinff declaration" >&5
58825 echo $ECHO_N "checking for isinff declaration... $ECHO_C" >&6
58826   if test x${glibcxx_cv_func_isinff_use+set} != xset; then
58827     if test "${glibcxx_cv_func_isinff_use+set}" = set; then
58828   echo $ECHO_N "(cached) $ECHO_C" >&6
58829 else
58830
58831
58832
58833       ac_ext=cc
58834 ac_cpp='$CXXCPP $CPPFLAGS'
58835 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58836 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58837 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58838
58839       cat >conftest.$ac_ext <<_ACEOF
58840 /* confdefs.h.  */
58841 _ACEOF
58842 cat confdefs.h >>conftest.$ac_ext
58843 cat >>conftest.$ac_ext <<_ACEOF
58844 /* end confdefs.h.  */
58845 #include <math.h>
58846                       #ifdef HAVE_IEEEFP_H
58847                       #include <ieeefp.h>
58848                       #endif
58849
58850 int
58851 main ()
58852 {
58853  isinff(0);
58854   ;
58855   return 0;
58856 }
58857 _ACEOF
58858 rm -f conftest.$ac_objext
58859 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
58860   (eval $ac_compile) 2>conftest.er1
58861   ac_status=$?
58862   grep -v '^ *+' conftest.er1 >conftest.err
58863   rm -f conftest.er1
58864   cat conftest.err >&5
58865   echo "$as_me:$LINENO: \$? = $ac_status" >&5
58866   (exit $ac_status); } &&
58867          { ac_try='test -z "$ac_cxx_werror_flag"
58868                          || test ! -s conftest.err'
58869   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
58870   (eval $ac_try) 2>&5
58871   ac_status=$?
58872   echo "$as_me:$LINENO: \$? = $ac_status" >&5
58873   (exit $ac_status); }; } &&
58874          { ac_try='test -s conftest.$ac_objext'
58875   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
58876   (eval $ac_try) 2>&5
58877   ac_status=$?
58878   echo "$as_me:$LINENO: \$? = $ac_status" >&5
58879   (exit $ac_status); }; }; then
58880   glibcxx_cv_func_isinff_use=yes
58881 else
58882   echo "$as_me: failed program was:" >&5
58883 sed 's/^/| /' conftest.$ac_ext >&5
58884
58885 glibcxx_cv_func_isinff_use=no
58886 fi
58887 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
58888       ac_ext=c
58889 ac_cpp='$CPP $CPPFLAGS'
58890 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58891 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58892 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58893
58894
58895 fi
58896
58897   fi
58898   echo "$as_me:$LINENO: result: $glibcxx_cv_func_isinff_use" >&5
58899 echo "${ECHO_T}$glibcxx_cv_func_isinff_use" >&6
58900
58901   if test x$glibcxx_cv_func_isinff_use = x"yes"; then
58902
58903 for ac_func in isinff
58904 do
58905 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
58906 echo "$as_me:$LINENO: checking for $ac_func" >&5
58907 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
58908 if eval "test \"\${$as_ac_var+set}\" = set"; then
58909   echo $ECHO_N "(cached) $ECHO_C" >&6
58910 else
58911   if test x$gcc_no_link = xyes; then
58912   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
58913 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
58914    { (exit 1); exit 1; }; }
58915 fi
58916 cat >conftest.$ac_ext <<_ACEOF
58917 /* confdefs.h.  */
58918 _ACEOF
58919 cat confdefs.h >>conftest.$ac_ext
58920 cat >>conftest.$ac_ext <<_ACEOF
58921 /* end confdefs.h.  */
58922 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
58923    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
58924 #define $ac_func innocuous_$ac_func
58925
58926 /* System header to define __stub macros and hopefully few prototypes,
58927     which can conflict with char $ac_func (); below.
58928     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
58929     <limits.h> exists even on freestanding compilers.  */
58930
58931 #ifdef __STDC__
58932 # include <limits.h>
58933 #else
58934 # include <assert.h>
58935 #endif
58936
58937 #undef $ac_func
58938
58939 /* Override any gcc2 internal prototype to avoid an error.  */
58940 #ifdef __cplusplus
58941 extern "C"
58942 {
58943 #endif
58944 /* We use char because int might match the return type of a gcc2
58945    builtin and then its argument prototype would still apply.  */
58946 char $ac_func ();
58947 /* The GNU C library defines this for functions which it implements
58948     to always fail with ENOSYS.  Some functions are actually named
58949     something starting with __ and the normal name is an alias.  */
58950 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
58951 choke me
58952 #else
58953 char (*f) () = $ac_func;
58954 #endif
58955 #ifdef __cplusplus
58956 }
58957 #endif
58958
58959 int
58960 main ()
58961 {
58962 return f != $ac_func;
58963   ;
58964   return 0;
58965 }
58966 _ACEOF
58967 rm -f conftest.$ac_objext conftest$ac_exeext
58968 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
58969   (eval $ac_link) 2>conftest.er1
58970   ac_status=$?
58971   grep -v '^ *+' conftest.er1 >conftest.err
58972   rm -f conftest.er1
58973   cat conftest.err >&5
58974   echo "$as_me:$LINENO: \$? = $ac_status" >&5
58975   (exit $ac_status); } &&
58976          { ac_try='test -z "$ac_c_werror_flag"
58977                          || test ! -s conftest.err'
58978   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
58979   (eval $ac_try) 2>&5
58980   ac_status=$?
58981   echo "$as_me:$LINENO: \$? = $ac_status" >&5
58982   (exit $ac_status); }; } &&
58983          { ac_try='test -s conftest$ac_exeext'
58984   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
58985   (eval $ac_try) 2>&5
58986   ac_status=$?
58987   echo "$as_me:$LINENO: \$? = $ac_status" >&5
58988   (exit $ac_status); }; }; then
58989   eval "$as_ac_var=yes"
58990 else
58991   echo "$as_me: failed program was:" >&5
58992 sed 's/^/| /' conftest.$ac_ext >&5
58993
58994 eval "$as_ac_var=no"
58995 fi
58996 rm -f conftest.err conftest.$ac_objext \
58997       conftest$ac_exeext conftest.$ac_ext
58998 fi
58999 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
59000 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
59001 if test `eval echo '${'$as_ac_var'}'` = yes; then
59002   cat >>confdefs.h <<_ACEOF
59003 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
59004 _ACEOF
59005
59006 fi
59007 done
59008
59009   else
59010
59011   echo "$as_me:$LINENO: checking for _isinff declaration" >&5
59012 echo $ECHO_N "checking for _isinff declaration... $ECHO_C" >&6
59013   if test x${glibcxx_cv_func__isinff_use+set} != xset; then
59014     if test "${glibcxx_cv_func__isinff_use+set}" = set; then
59015   echo $ECHO_N "(cached) $ECHO_C" >&6
59016 else
59017
59018
59019
59020       ac_ext=cc
59021 ac_cpp='$CXXCPP $CPPFLAGS'
59022 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59023 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59024 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59025
59026       cat >conftest.$ac_ext <<_ACEOF
59027 /* confdefs.h.  */
59028 _ACEOF
59029 cat confdefs.h >>conftest.$ac_ext
59030 cat >>conftest.$ac_ext <<_ACEOF
59031 /* end confdefs.h.  */
59032 #include <math.h>
59033                       #ifdef HAVE_IEEEFP_H
59034                       #include <ieeefp.h>
59035                       #endif
59036
59037 int
59038 main ()
59039 {
59040  _isinff(0);
59041   ;
59042   return 0;
59043 }
59044 _ACEOF
59045 rm -f conftest.$ac_objext
59046 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
59047   (eval $ac_compile) 2>conftest.er1
59048   ac_status=$?
59049   grep -v '^ *+' conftest.er1 >conftest.err
59050   rm -f conftest.er1
59051   cat conftest.err >&5
59052   echo "$as_me:$LINENO: \$? = $ac_status" >&5
59053   (exit $ac_status); } &&
59054          { ac_try='test -z "$ac_cxx_werror_flag"
59055                          || test ! -s conftest.err'
59056   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
59057   (eval $ac_try) 2>&5
59058   ac_status=$?
59059   echo "$as_me:$LINENO: \$? = $ac_status" >&5
59060   (exit $ac_status); }; } &&
59061          { ac_try='test -s conftest.$ac_objext'
59062   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
59063   (eval $ac_try) 2>&5
59064   ac_status=$?
59065   echo "$as_me:$LINENO: \$? = $ac_status" >&5
59066   (exit $ac_status); }; }; then
59067   glibcxx_cv_func__isinff_use=yes
59068 else
59069   echo "$as_me: failed program was:" >&5
59070 sed 's/^/| /' conftest.$ac_ext >&5
59071
59072 glibcxx_cv_func__isinff_use=no
59073 fi
59074 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
59075       ac_ext=c
59076 ac_cpp='$CPP $CPPFLAGS'
59077 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59078 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59079 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59080
59081
59082 fi
59083
59084   fi
59085   echo "$as_me:$LINENO: result: $glibcxx_cv_func__isinff_use" >&5
59086 echo "${ECHO_T}$glibcxx_cv_func__isinff_use" >&6
59087
59088     if test x$glibcxx_cv_func__isinff_use = x"yes"; then
59089
59090 for ac_func in _isinff
59091 do
59092 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
59093 echo "$as_me:$LINENO: checking for $ac_func" >&5
59094 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
59095 if eval "test \"\${$as_ac_var+set}\" = set"; then
59096   echo $ECHO_N "(cached) $ECHO_C" >&6
59097 else
59098   if test x$gcc_no_link = xyes; then
59099   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
59100 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
59101    { (exit 1); exit 1; }; }
59102 fi
59103 cat >conftest.$ac_ext <<_ACEOF
59104 /* confdefs.h.  */
59105 _ACEOF
59106 cat confdefs.h >>conftest.$ac_ext
59107 cat >>conftest.$ac_ext <<_ACEOF
59108 /* end confdefs.h.  */
59109 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
59110    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
59111 #define $ac_func innocuous_$ac_func
59112
59113 /* System header to define __stub macros and hopefully few prototypes,
59114     which can conflict with char $ac_func (); below.
59115     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
59116     <limits.h> exists even on freestanding compilers.  */
59117
59118 #ifdef __STDC__
59119 # include <limits.h>
59120 #else
59121 # include <assert.h>
59122 #endif
59123
59124 #undef $ac_func
59125
59126 /* Override any gcc2 internal prototype to avoid an error.  */
59127 #ifdef __cplusplus
59128 extern "C"
59129 {
59130 #endif
59131 /* We use char because int might match the return type of a gcc2
59132    builtin and then its argument prototype would still apply.  */
59133 char $ac_func ();
59134 /* The GNU C library defines this for functions which it implements
59135     to always fail with ENOSYS.  Some functions are actually named
59136     something starting with __ and the normal name is an alias.  */
59137 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
59138 choke me
59139 #else
59140 char (*f) () = $ac_func;
59141 #endif
59142 #ifdef __cplusplus
59143 }
59144 #endif
59145
59146 int
59147 main ()
59148 {
59149 return f != $ac_func;
59150   ;
59151   return 0;
59152 }
59153 _ACEOF
59154 rm -f conftest.$ac_objext conftest$ac_exeext
59155 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
59156   (eval $ac_link) 2>conftest.er1
59157   ac_status=$?
59158   grep -v '^ *+' conftest.er1 >conftest.err
59159   rm -f conftest.er1
59160   cat conftest.err >&5
59161   echo "$as_me:$LINENO: \$? = $ac_status" >&5
59162   (exit $ac_status); } &&
59163          { ac_try='test -z "$ac_c_werror_flag"
59164                          || test ! -s conftest.err'
59165   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
59166   (eval $ac_try) 2>&5
59167   ac_status=$?
59168   echo "$as_me:$LINENO: \$? = $ac_status" >&5
59169   (exit $ac_status); }; } &&
59170          { ac_try='test -s conftest$ac_exeext'
59171   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
59172   (eval $ac_try) 2>&5
59173   ac_status=$?
59174   echo "$as_me:$LINENO: \$? = $ac_status" >&5
59175   (exit $ac_status); }; }; then
59176   eval "$as_ac_var=yes"
59177 else
59178   echo "$as_me: failed program was:" >&5
59179 sed 's/^/| /' conftest.$ac_ext >&5
59180
59181 eval "$as_ac_var=no"
59182 fi
59183 rm -f conftest.err conftest.$ac_objext \
59184       conftest$ac_exeext conftest.$ac_ext
59185 fi
59186 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
59187 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
59188 if test `eval echo '${'$as_ac_var'}'` = yes; then
59189   cat >>confdefs.h <<_ACEOF
59190 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
59191 _ACEOF
59192
59193 fi
59194 done
59195
59196     fi
59197   fi
59198
59199
59200
59201
59202
59203
59204   echo "$as_me:$LINENO: checking for atan2f declaration" >&5
59205 echo $ECHO_N "checking for atan2f declaration... $ECHO_C" >&6
59206   if test x${glibcxx_cv_func_atan2f_use+set} != xset; then
59207     if test "${glibcxx_cv_func_atan2f_use+set}" = set; then
59208   echo $ECHO_N "(cached) $ECHO_C" >&6
59209 else
59210
59211
59212
59213       ac_ext=cc
59214 ac_cpp='$CXXCPP $CPPFLAGS'
59215 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59216 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59217 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59218
59219       cat >conftest.$ac_ext <<_ACEOF
59220 /* confdefs.h.  */
59221 _ACEOF
59222 cat confdefs.h >>conftest.$ac_ext
59223 cat >>conftest.$ac_ext <<_ACEOF
59224 /* end confdefs.h.  */
59225 #include <math.h>
59226 int
59227 main ()
59228 {
59229  atan2f(0, 0);
59230   ;
59231   return 0;
59232 }
59233 _ACEOF
59234 rm -f conftest.$ac_objext
59235 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
59236   (eval $ac_compile) 2>conftest.er1
59237   ac_status=$?
59238   grep -v '^ *+' conftest.er1 >conftest.err
59239   rm -f conftest.er1
59240   cat conftest.err >&5
59241   echo "$as_me:$LINENO: \$? = $ac_status" >&5
59242   (exit $ac_status); } &&
59243          { ac_try='test -z "$ac_cxx_werror_flag"
59244                          || test ! -s conftest.err'
59245   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
59246   (eval $ac_try) 2>&5
59247   ac_status=$?
59248   echo "$as_me:$LINENO: \$? = $ac_status" >&5
59249   (exit $ac_status); }; } &&
59250          { ac_try='test -s conftest.$ac_objext'
59251   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
59252   (eval $ac_try) 2>&5
59253   ac_status=$?
59254   echo "$as_me:$LINENO: \$? = $ac_status" >&5
59255   (exit $ac_status); }; }; then
59256   glibcxx_cv_func_atan2f_use=yes
59257 else
59258   echo "$as_me: failed program was:" >&5
59259 sed 's/^/| /' conftest.$ac_ext >&5
59260
59261 glibcxx_cv_func_atan2f_use=no
59262 fi
59263 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
59264       ac_ext=c
59265 ac_cpp='$CPP $CPPFLAGS'
59266 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59267 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59268 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59269
59270
59271 fi
59272
59273   fi
59274   echo "$as_me:$LINENO: result: $glibcxx_cv_func_atan2f_use" >&5
59275 echo "${ECHO_T}$glibcxx_cv_func_atan2f_use" >&6
59276
59277   if test x$glibcxx_cv_func_atan2f_use = x"yes"; then
59278
59279 for ac_func in atan2f
59280 do
59281 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
59282 echo "$as_me:$LINENO: checking for $ac_func" >&5
59283 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
59284 if eval "test \"\${$as_ac_var+set}\" = set"; then
59285   echo $ECHO_N "(cached) $ECHO_C" >&6
59286 else
59287   if test x$gcc_no_link = xyes; then
59288   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
59289 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
59290    { (exit 1); exit 1; }; }
59291 fi
59292 cat >conftest.$ac_ext <<_ACEOF
59293 /* confdefs.h.  */
59294 _ACEOF
59295 cat confdefs.h >>conftest.$ac_ext
59296 cat >>conftest.$ac_ext <<_ACEOF
59297 /* end confdefs.h.  */
59298 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
59299    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
59300 #define $ac_func innocuous_$ac_func
59301
59302 /* System header to define __stub macros and hopefully few prototypes,
59303     which can conflict with char $ac_func (); below.
59304     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
59305     <limits.h> exists even on freestanding compilers.  */
59306
59307 #ifdef __STDC__
59308 # include <limits.h>
59309 #else
59310 # include <assert.h>
59311 #endif
59312
59313 #undef $ac_func
59314
59315 /* Override any gcc2 internal prototype to avoid an error.  */
59316 #ifdef __cplusplus
59317 extern "C"
59318 {
59319 #endif
59320 /* We use char because int might match the return type of a gcc2
59321    builtin and then its argument prototype would still apply.  */
59322 char $ac_func ();
59323 /* The GNU C library defines this for functions which it implements
59324     to always fail with ENOSYS.  Some functions are actually named
59325     something starting with __ and the normal name is an alias.  */
59326 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
59327 choke me
59328 #else
59329 char (*f) () = $ac_func;
59330 #endif
59331 #ifdef __cplusplus
59332 }
59333 #endif
59334
59335 int
59336 main ()
59337 {
59338 return f != $ac_func;
59339   ;
59340   return 0;
59341 }
59342 _ACEOF
59343 rm -f conftest.$ac_objext conftest$ac_exeext
59344 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
59345   (eval $ac_link) 2>conftest.er1
59346   ac_status=$?
59347   grep -v '^ *+' conftest.er1 >conftest.err
59348   rm -f conftest.er1
59349   cat conftest.err >&5
59350   echo "$as_me:$LINENO: \$? = $ac_status" >&5
59351   (exit $ac_status); } &&
59352          { ac_try='test -z "$ac_c_werror_flag"
59353                          || test ! -s conftest.err'
59354   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
59355   (eval $ac_try) 2>&5
59356   ac_status=$?
59357   echo "$as_me:$LINENO: \$? = $ac_status" >&5
59358   (exit $ac_status); }; } &&
59359          { ac_try='test -s conftest$ac_exeext'
59360   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
59361   (eval $ac_try) 2>&5
59362   ac_status=$?
59363   echo "$as_me:$LINENO: \$? = $ac_status" >&5
59364   (exit $ac_status); }; }; then
59365   eval "$as_ac_var=yes"
59366 else
59367   echo "$as_me: failed program was:" >&5
59368 sed 's/^/| /' conftest.$ac_ext >&5
59369
59370 eval "$as_ac_var=no"
59371 fi
59372 rm -f conftest.err conftest.$ac_objext \
59373       conftest$ac_exeext conftest.$ac_ext
59374 fi
59375 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
59376 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
59377 if test `eval echo '${'$as_ac_var'}'` = yes; then
59378   cat >>confdefs.h <<_ACEOF
59379 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
59380 _ACEOF
59381
59382 fi
59383 done
59384
59385   else
59386
59387   echo "$as_me:$LINENO: checking for _atan2f declaration" >&5
59388 echo $ECHO_N "checking for _atan2f declaration... $ECHO_C" >&6
59389   if test x${glibcxx_cv_func__atan2f_use+set} != xset; then
59390     if test "${glibcxx_cv_func__atan2f_use+set}" = set; then
59391   echo $ECHO_N "(cached) $ECHO_C" >&6
59392 else
59393
59394
59395
59396       ac_ext=cc
59397 ac_cpp='$CXXCPP $CPPFLAGS'
59398 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59399 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59400 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59401
59402       cat >conftest.$ac_ext <<_ACEOF
59403 /* confdefs.h.  */
59404 _ACEOF
59405 cat confdefs.h >>conftest.$ac_ext
59406 cat >>conftest.$ac_ext <<_ACEOF
59407 /* end confdefs.h.  */
59408 #include <math.h>
59409 int
59410 main ()
59411 {
59412  _atan2f(0, 0);
59413   ;
59414   return 0;
59415 }
59416 _ACEOF
59417 rm -f conftest.$ac_objext
59418 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
59419   (eval $ac_compile) 2>conftest.er1
59420   ac_status=$?
59421   grep -v '^ *+' conftest.er1 >conftest.err
59422   rm -f conftest.er1
59423   cat conftest.err >&5
59424   echo "$as_me:$LINENO: \$? = $ac_status" >&5
59425   (exit $ac_status); } &&
59426          { ac_try='test -z "$ac_cxx_werror_flag"
59427                          || test ! -s conftest.err'
59428   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
59429   (eval $ac_try) 2>&5
59430   ac_status=$?
59431   echo "$as_me:$LINENO: \$? = $ac_status" >&5
59432   (exit $ac_status); }; } &&
59433          { ac_try='test -s conftest.$ac_objext'
59434   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
59435   (eval $ac_try) 2>&5
59436   ac_status=$?
59437   echo "$as_me:$LINENO: \$? = $ac_status" >&5
59438   (exit $ac_status); }; }; then
59439   glibcxx_cv_func__atan2f_use=yes
59440 else
59441   echo "$as_me: failed program was:" >&5
59442 sed 's/^/| /' conftest.$ac_ext >&5
59443
59444 glibcxx_cv_func__atan2f_use=no
59445 fi
59446 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
59447       ac_ext=c
59448 ac_cpp='$CPP $CPPFLAGS'
59449 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59450 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59451 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59452
59453
59454 fi
59455
59456   fi
59457   echo "$as_me:$LINENO: result: $glibcxx_cv_func__atan2f_use" >&5
59458 echo "${ECHO_T}$glibcxx_cv_func__atan2f_use" >&6
59459
59460     if test x$glibcxx_cv_func__atan2f_use = x"yes"; then
59461
59462 for ac_func in _atan2f
59463 do
59464 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
59465 echo "$as_me:$LINENO: checking for $ac_func" >&5
59466 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
59467 if eval "test \"\${$as_ac_var+set}\" = set"; then
59468   echo $ECHO_N "(cached) $ECHO_C" >&6
59469 else
59470   if test x$gcc_no_link = xyes; then
59471   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
59472 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
59473    { (exit 1); exit 1; }; }
59474 fi
59475 cat >conftest.$ac_ext <<_ACEOF
59476 /* confdefs.h.  */
59477 _ACEOF
59478 cat confdefs.h >>conftest.$ac_ext
59479 cat >>conftest.$ac_ext <<_ACEOF
59480 /* end confdefs.h.  */
59481 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
59482    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
59483 #define $ac_func innocuous_$ac_func
59484
59485 /* System header to define __stub macros and hopefully few prototypes,
59486     which can conflict with char $ac_func (); below.
59487     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
59488     <limits.h> exists even on freestanding compilers.  */
59489
59490 #ifdef __STDC__
59491 # include <limits.h>
59492 #else
59493 # include <assert.h>
59494 #endif
59495
59496 #undef $ac_func
59497
59498 /* Override any gcc2 internal prototype to avoid an error.  */
59499 #ifdef __cplusplus
59500 extern "C"
59501 {
59502 #endif
59503 /* We use char because int might match the return type of a gcc2
59504    builtin and then its argument prototype would still apply.  */
59505 char $ac_func ();
59506 /* The GNU C library defines this for functions which it implements
59507     to always fail with ENOSYS.  Some functions are actually named
59508     something starting with __ and the normal name is an alias.  */
59509 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
59510 choke me
59511 #else
59512 char (*f) () = $ac_func;
59513 #endif
59514 #ifdef __cplusplus
59515 }
59516 #endif
59517
59518 int
59519 main ()
59520 {
59521 return f != $ac_func;
59522   ;
59523   return 0;
59524 }
59525 _ACEOF
59526 rm -f conftest.$ac_objext conftest$ac_exeext
59527 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
59528   (eval $ac_link) 2>conftest.er1
59529   ac_status=$?
59530   grep -v '^ *+' conftest.er1 >conftest.err
59531   rm -f conftest.er1
59532   cat conftest.err >&5
59533   echo "$as_me:$LINENO: \$? = $ac_status" >&5
59534   (exit $ac_status); } &&
59535          { ac_try='test -z "$ac_c_werror_flag"
59536                          || test ! -s conftest.err'
59537   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
59538   (eval $ac_try) 2>&5
59539   ac_status=$?
59540   echo "$as_me:$LINENO: \$? = $ac_status" >&5
59541   (exit $ac_status); }; } &&
59542          { ac_try='test -s conftest$ac_exeext'
59543   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
59544   (eval $ac_try) 2>&5
59545   ac_status=$?
59546   echo "$as_me:$LINENO: \$? = $ac_status" >&5
59547   (exit $ac_status); }; }; then
59548   eval "$as_ac_var=yes"
59549 else
59550   echo "$as_me: failed program was:" >&5
59551 sed 's/^/| /' conftest.$ac_ext >&5
59552
59553 eval "$as_ac_var=no"
59554 fi
59555 rm -f conftest.err conftest.$ac_objext \
59556       conftest$ac_exeext conftest.$ac_ext
59557 fi
59558 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
59559 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
59560 if test `eval echo '${'$as_ac_var'}'` = yes; then
59561   cat >>confdefs.h <<_ACEOF
59562 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
59563 _ACEOF
59564
59565 fi
59566 done
59567
59568     fi
59569   fi
59570
59571
59572
59573
59574
59575
59576   echo "$as_me:$LINENO: checking for fabsf declaration" >&5
59577 echo $ECHO_N "checking for fabsf declaration... $ECHO_C" >&6
59578   if test x${glibcxx_cv_func_fabsf_use+set} != xset; then
59579     if test "${glibcxx_cv_func_fabsf_use+set}" = set; then
59580   echo $ECHO_N "(cached) $ECHO_C" >&6
59581 else
59582
59583
59584
59585       ac_ext=cc
59586 ac_cpp='$CXXCPP $CPPFLAGS'
59587 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59588 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59589 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59590
59591       cat >conftest.$ac_ext <<_ACEOF
59592 /* confdefs.h.  */
59593 _ACEOF
59594 cat confdefs.h >>conftest.$ac_ext
59595 cat >>conftest.$ac_ext <<_ACEOF
59596 /* end confdefs.h.  */
59597 #include <math.h>
59598                       #ifdef HAVE_IEEEFP_H
59599                       #include <ieeefp.h>
59600                       #endif
59601
59602 int
59603 main ()
59604 {
59605  fabsf(0);
59606   ;
59607   return 0;
59608 }
59609 _ACEOF
59610 rm -f conftest.$ac_objext
59611 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
59612   (eval $ac_compile) 2>conftest.er1
59613   ac_status=$?
59614   grep -v '^ *+' conftest.er1 >conftest.err
59615   rm -f conftest.er1
59616   cat conftest.err >&5
59617   echo "$as_me:$LINENO: \$? = $ac_status" >&5
59618   (exit $ac_status); } &&
59619          { ac_try='test -z "$ac_cxx_werror_flag"
59620                          || test ! -s conftest.err'
59621   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
59622   (eval $ac_try) 2>&5
59623   ac_status=$?
59624   echo "$as_me:$LINENO: \$? = $ac_status" >&5
59625   (exit $ac_status); }; } &&
59626          { ac_try='test -s conftest.$ac_objext'
59627   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
59628   (eval $ac_try) 2>&5
59629   ac_status=$?
59630   echo "$as_me:$LINENO: \$? = $ac_status" >&5
59631   (exit $ac_status); }; }; then
59632   glibcxx_cv_func_fabsf_use=yes
59633 else
59634   echo "$as_me: failed program was:" >&5
59635 sed 's/^/| /' conftest.$ac_ext >&5
59636
59637 glibcxx_cv_func_fabsf_use=no
59638 fi
59639 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
59640       ac_ext=c
59641 ac_cpp='$CPP $CPPFLAGS'
59642 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59643 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59644 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59645
59646
59647 fi
59648
59649   fi
59650   echo "$as_me:$LINENO: result: $glibcxx_cv_func_fabsf_use" >&5
59651 echo "${ECHO_T}$glibcxx_cv_func_fabsf_use" >&6
59652
59653   if test x$glibcxx_cv_func_fabsf_use = x"yes"; then
59654
59655 for ac_func in fabsf
59656 do
59657 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
59658 echo "$as_me:$LINENO: checking for $ac_func" >&5
59659 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
59660 if eval "test \"\${$as_ac_var+set}\" = set"; then
59661   echo $ECHO_N "(cached) $ECHO_C" >&6
59662 else
59663   if test x$gcc_no_link = xyes; then
59664   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
59665 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
59666    { (exit 1); exit 1; }; }
59667 fi
59668 cat >conftest.$ac_ext <<_ACEOF
59669 /* confdefs.h.  */
59670 _ACEOF
59671 cat confdefs.h >>conftest.$ac_ext
59672 cat >>conftest.$ac_ext <<_ACEOF
59673 /* end confdefs.h.  */
59674 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
59675    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
59676 #define $ac_func innocuous_$ac_func
59677
59678 /* System header to define __stub macros and hopefully few prototypes,
59679     which can conflict with char $ac_func (); below.
59680     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
59681     <limits.h> exists even on freestanding compilers.  */
59682
59683 #ifdef __STDC__
59684 # include <limits.h>
59685 #else
59686 # include <assert.h>
59687 #endif
59688
59689 #undef $ac_func
59690
59691 /* Override any gcc2 internal prototype to avoid an error.  */
59692 #ifdef __cplusplus
59693 extern "C"
59694 {
59695 #endif
59696 /* We use char because int might match the return type of a gcc2
59697    builtin and then its argument prototype would still apply.  */
59698 char $ac_func ();
59699 /* The GNU C library defines this for functions which it implements
59700     to always fail with ENOSYS.  Some functions are actually named
59701     something starting with __ and the normal name is an alias.  */
59702 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
59703 choke me
59704 #else
59705 char (*f) () = $ac_func;
59706 #endif
59707 #ifdef __cplusplus
59708 }
59709 #endif
59710
59711 int
59712 main ()
59713 {
59714 return f != $ac_func;
59715   ;
59716   return 0;
59717 }
59718 _ACEOF
59719 rm -f conftest.$ac_objext conftest$ac_exeext
59720 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
59721   (eval $ac_link) 2>conftest.er1
59722   ac_status=$?
59723   grep -v '^ *+' conftest.er1 >conftest.err
59724   rm -f conftest.er1
59725   cat conftest.err >&5
59726   echo "$as_me:$LINENO: \$? = $ac_status" >&5
59727   (exit $ac_status); } &&
59728          { ac_try='test -z "$ac_c_werror_flag"
59729                          || test ! -s conftest.err'
59730   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
59731   (eval $ac_try) 2>&5
59732   ac_status=$?
59733   echo "$as_me:$LINENO: \$? = $ac_status" >&5
59734   (exit $ac_status); }; } &&
59735          { ac_try='test -s conftest$ac_exeext'
59736   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
59737   (eval $ac_try) 2>&5
59738   ac_status=$?
59739   echo "$as_me:$LINENO: \$? = $ac_status" >&5
59740   (exit $ac_status); }; }; then
59741   eval "$as_ac_var=yes"
59742 else
59743   echo "$as_me: failed program was:" >&5
59744 sed 's/^/| /' conftest.$ac_ext >&5
59745
59746 eval "$as_ac_var=no"
59747 fi
59748 rm -f conftest.err conftest.$ac_objext \
59749       conftest$ac_exeext conftest.$ac_ext
59750 fi
59751 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
59752 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
59753 if test `eval echo '${'$as_ac_var'}'` = yes; then
59754   cat >>confdefs.h <<_ACEOF
59755 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
59756 _ACEOF
59757
59758 fi
59759 done
59760
59761   else
59762
59763   echo "$as_me:$LINENO: checking for _fabsf declaration" >&5
59764 echo $ECHO_N "checking for _fabsf declaration... $ECHO_C" >&6
59765   if test x${glibcxx_cv_func__fabsf_use+set} != xset; then
59766     if test "${glibcxx_cv_func__fabsf_use+set}" = set; then
59767   echo $ECHO_N "(cached) $ECHO_C" >&6
59768 else
59769
59770
59771
59772       ac_ext=cc
59773 ac_cpp='$CXXCPP $CPPFLAGS'
59774 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59775 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59776 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59777
59778       cat >conftest.$ac_ext <<_ACEOF
59779 /* confdefs.h.  */
59780 _ACEOF
59781 cat confdefs.h >>conftest.$ac_ext
59782 cat >>conftest.$ac_ext <<_ACEOF
59783 /* end confdefs.h.  */
59784 #include <math.h>
59785                       #ifdef HAVE_IEEEFP_H
59786                       #include <ieeefp.h>
59787                       #endif
59788
59789 int
59790 main ()
59791 {
59792  _fabsf(0);
59793   ;
59794   return 0;
59795 }
59796 _ACEOF
59797 rm -f conftest.$ac_objext
59798 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
59799   (eval $ac_compile) 2>conftest.er1
59800   ac_status=$?
59801   grep -v '^ *+' conftest.er1 >conftest.err
59802   rm -f conftest.er1
59803   cat conftest.err >&5
59804   echo "$as_me:$LINENO: \$? = $ac_status" >&5
59805   (exit $ac_status); } &&
59806          { ac_try='test -z "$ac_cxx_werror_flag"
59807                          || test ! -s conftest.err'
59808   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
59809   (eval $ac_try) 2>&5
59810   ac_status=$?
59811   echo "$as_me:$LINENO: \$? = $ac_status" >&5
59812   (exit $ac_status); }; } &&
59813          { ac_try='test -s conftest.$ac_objext'
59814   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
59815   (eval $ac_try) 2>&5
59816   ac_status=$?
59817   echo "$as_me:$LINENO: \$? = $ac_status" >&5
59818   (exit $ac_status); }; }; then
59819   glibcxx_cv_func__fabsf_use=yes
59820 else
59821   echo "$as_me: failed program was:" >&5
59822 sed 's/^/| /' conftest.$ac_ext >&5
59823
59824 glibcxx_cv_func__fabsf_use=no
59825 fi
59826 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
59827       ac_ext=c
59828 ac_cpp='$CPP $CPPFLAGS'
59829 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59830 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59831 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59832
59833
59834 fi
59835
59836   fi
59837   echo "$as_me:$LINENO: result: $glibcxx_cv_func__fabsf_use" >&5
59838 echo "${ECHO_T}$glibcxx_cv_func__fabsf_use" >&6
59839
59840     if test x$glibcxx_cv_func__fabsf_use = x"yes"; then
59841
59842 for ac_func in _fabsf
59843 do
59844 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
59845 echo "$as_me:$LINENO: checking for $ac_func" >&5
59846 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
59847 if eval "test \"\${$as_ac_var+set}\" = set"; then
59848   echo $ECHO_N "(cached) $ECHO_C" >&6
59849 else
59850   if test x$gcc_no_link = xyes; then
59851   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
59852 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
59853    { (exit 1); exit 1; }; }
59854 fi
59855 cat >conftest.$ac_ext <<_ACEOF
59856 /* confdefs.h.  */
59857 _ACEOF
59858 cat confdefs.h >>conftest.$ac_ext
59859 cat >>conftest.$ac_ext <<_ACEOF
59860 /* end confdefs.h.  */
59861 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
59862    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
59863 #define $ac_func innocuous_$ac_func
59864
59865 /* System header to define __stub macros and hopefully few prototypes,
59866     which can conflict with char $ac_func (); below.
59867     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
59868     <limits.h> exists even on freestanding compilers.  */
59869
59870 #ifdef __STDC__
59871 # include <limits.h>
59872 #else
59873 # include <assert.h>
59874 #endif
59875
59876 #undef $ac_func
59877
59878 /* Override any gcc2 internal prototype to avoid an error.  */
59879 #ifdef __cplusplus
59880 extern "C"
59881 {
59882 #endif
59883 /* We use char because int might match the return type of a gcc2
59884    builtin and then its argument prototype would still apply.  */
59885 char $ac_func ();
59886 /* The GNU C library defines this for functions which it implements
59887     to always fail with ENOSYS.  Some functions are actually named
59888     something starting with __ and the normal name is an alias.  */
59889 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
59890 choke me
59891 #else
59892 char (*f) () = $ac_func;
59893 #endif
59894 #ifdef __cplusplus
59895 }
59896 #endif
59897
59898 int
59899 main ()
59900 {
59901 return f != $ac_func;
59902   ;
59903   return 0;
59904 }
59905 _ACEOF
59906 rm -f conftest.$ac_objext conftest$ac_exeext
59907 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
59908   (eval $ac_link) 2>conftest.er1
59909   ac_status=$?
59910   grep -v '^ *+' conftest.er1 >conftest.err
59911   rm -f conftest.er1
59912   cat conftest.err >&5
59913   echo "$as_me:$LINENO: \$? = $ac_status" >&5
59914   (exit $ac_status); } &&
59915          { ac_try='test -z "$ac_c_werror_flag"
59916                          || test ! -s conftest.err'
59917   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
59918   (eval $ac_try) 2>&5
59919   ac_status=$?
59920   echo "$as_me:$LINENO: \$? = $ac_status" >&5
59921   (exit $ac_status); }; } &&
59922          { ac_try='test -s conftest$ac_exeext'
59923   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
59924   (eval $ac_try) 2>&5
59925   ac_status=$?
59926   echo "$as_me:$LINENO: \$? = $ac_status" >&5
59927   (exit $ac_status); }; }; then
59928   eval "$as_ac_var=yes"
59929 else
59930   echo "$as_me: failed program was:" >&5
59931 sed 's/^/| /' conftest.$ac_ext >&5
59932
59933 eval "$as_ac_var=no"
59934 fi
59935 rm -f conftest.err conftest.$ac_objext \
59936       conftest$ac_exeext conftest.$ac_ext
59937 fi
59938 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
59939 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
59940 if test `eval echo '${'$as_ac_var'}'` = yes; then
59941   cat >>confdefs.h <<_ACEOF
59942 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
59943 _ACEOF
59944
59945 fi
59946 done
59947
59948     fi
59949   fi
59950
59951
59952
59953
59954
59955
59956   echo "$as_me:$LINENO: checking for fmodf declaration" >&5
59957 echo $ECHO_N "checking for fmodf declaration... $ECHO_C" >&6
59958   if test x${glibcxx_cv_func_fmodf_use+set} != xset; then
59959     if test "${glibcxx_cv_func_fmodf_use+set}" = set; then
59960   echo $ECHO_N "(cached) $ECHO_C" >&6
59961 else
59962
59963
59964
59965       ac_ext=cc
59966 ac_cpp='$CXXCPP $CPPFLAGS'
59967 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59968 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59969 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59970
59971       cat >conftest.$ac_ext <<_ACEOF
59972 /* confdefs.h.  */
59973 _ACEOF
59974 cat confdefs.h >>conftest.$ac_ext
59975 cat >>conftest.$ac_ext <<_ACEOF
59976 /* end confdefs.h.  */
59977 #include <math.h>
59978 int
59979 main ()
59980 {
59981  fmodf(0, 0);
59982   ;
59983   return 0;
59984 }
59985 _ACEOF
59986 rm -f conftest.$ac_objext
59987 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
59988   (eval $ac_compile) 2>conftest.er1
59989   ac_status=$?
59990   grep -v '^ *+' conftest.er1 >conftest.err
59991   rm -f conftest.er1
59992   cat conftest.err >&5
59993   echo "$as_me:$LINENO: \$? = $ac_status" >&5
59994   (exit $ac_status); } &&
59995          { ac_try='test -z "$ac_cxx_werror_flag"
59996                          || test ! -s conftest.err'
59997   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
59998   (eval $ac_try) 2>&5
59999   ac_status=$?
60000   echo "$as_me:$LINENO: \$? = $ac_status" >&5
60001   (exit $ac_status); }; } &&
60002          { ac_try='test -s conftest.$ac_objext'
60003   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
60004   (eval $ac_try) 2>&5
60005   ac_status=$?
60006   echo "$as_me:$LINENO: \$? = $ac_status" >&5
60007   (exit $ac_status); }; }; then
60008   glibcxx_cv_func_fmodf_use=yes
60009 else
60010   echo "$as_me: failed program was:" >&5
60011 sed 's/^/| /' conftest.$ac_ext >&5
60012
60013 glibcxx_cv_func_fmodf_use=no
60014 fi
60015 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
60016       ac_ext=c
60017 ac_cpp='$CPP $CPPFLAGS'
60018 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60019 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60020 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60021
60022
60023 fi
60024
60025   fi
60026   echo "$as_me:$LINENO: result: $glibcxx_cv_func_fmodf_use" >&5
60027 echo "${ECHO_T}$glibcxx_cv_func_fmodf_use" >&6
60028
60029   if test x$glibcxx_cv_func_fmodf_use = x"yes"; then
60030
60031 for ac_func in fmodf
60032 do
60033 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
60034 echo "$as_me:$LINENO: checking for $ac_func" >&5
60035 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
60036 if eval "test \"\${$as_ac_var+set}\" = set"; then
60037   echo $ECHO_N "(cached) $ECHO_C" >&6
60038 else
60039   if test x$gcc_no_link = xyes; then
60040   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
60041 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
60042    { (exit 1); exit 1; }; }
60043 fi
60044 cat >conftest.$ac_ext <<_ACEOF
60045 /* confdefs.h.  */
60046 _ACEOF
60047 cat confdefs.h >>conftest.$ac_ext
60048 cat >>conftest.$ac_ext <<_ACEOF
60049 /* end confdefs.h.  */
60050 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
60051    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
60052 #define $ac_func innocuous_$ac_func
60053
60054 /* System header to define __stub macros and hopefully few prototypes,
60055     which can conflict with char $ac_func (); below.
60056     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
60057     <limits.h> exists even on freestanding compilers.  */
60058
60059 #ifdef __STDC__
60060 # include <limits.h>
60061 #else
60062 # include <assert.h>
60063 #endif
60064
60065 #undef $ac_func
60066
60067 /* Override any gcc2 internal prototype to avoid an error.  */
60068 #ifdef __cplusplus
60069 extern "C"
60070 {
60071 #endif
60072 /* We use char because int might match the return type of a gcc2
60073    builtin and then its argument prototype would still apply.  */
60074 char $ac_func ();
60075 /* The GNU C library defines this for functions which it implements
60076     to always fail with ENOSYS.  Some functions are actually named
60077     something starting with __ and the normal name is an alias.  */
60078 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
60079 choke me
60080 #else
60081 char (*f) () = $ac_func;
60082 #endif
60083 #ifdef __cplusplus
60084 }
60085 #endif
60086
60087 int
60088 main ()
60089 {
60090 return f != $ac_func;
60091   ;
60092   return 0;
60093 }
60094 _ACEOF
60095 rm -f conftest.$ac_objext conftest$ac_exeext
60096 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
60097   (eval $ac_link) 2>conftest.er1
60098   ac_status=$?
60099   grep -v '^ *+' conftest.er1 >conftest.err
60100   rm -f conftest.er1
60101   cat conftest.err >&5
60102   echo "$as_me:$LINENO: \$? = $ac_status" >&5
60103   (exit $ac_status); } &&
60104          { ac_try='test -z "$ac_c_werror_flag"
60105                          || test ! -s conftest.err'
60106   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
60107   (eval $ac_try) 2>&5
60108   ac_status=$?
60109   echo "$as_me:$LINENO: \$? = $ac_status" >&5
60110   (exit $ac_status); }; } &&
60111          { ac_try='test -s conftest$ac_exeext'
60112   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
60113   (eval $ac_try) 2>&5
60114   ac_status=$?
60115   echo "$as_me:$LINENO: \$? = $ac_status" >&5
60116   (exit $ac_status); }; }; then
60117   eval "$as_ac_var=yes"
60118 else
60119   echo "$as_me: failed program was:" >&5
60120 sed 's/^/| /' conftest.$ac_ext >&5
60121
60122 eval "$as_ac_var=no"
60123 fi
60124 rm -f conftest.err conftest.$ac_objext \
60125       conftest$ac_exeext conftest.$ac_ext
60126 fi
60127 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
60128 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
60129 if test `eval echo '${'$as_ac_var'}'` = yes; then
60130   cat >>confdefs.h <<_ACEOF
60131 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
60132 _ACEOF
60133
60134 fi
60135 done
60136
60137   else
60138
60139   echo "$as_me:$LINENO: checking for _fmodf declaration" >&5
60140 echo $ECHO_N "checking for _fmodf declaration... $ECHO_C" >&6
60141   if test x${glibcxx_cv_func__fmodf_use+set} != xset; then
60142     if test "${glibcxx_cv_func__fmodf_use+set}" = set; then
60143   echo $ECHO_N "(cached) $ECHO_C" >&6
60144 else
60145
60146
60147
60148       ac_ext=cc
60149 ac_cpp='$CXXCPP $CPPFLAGS'
60150 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60151 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60152 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60153
60154       cat >conftest.$ac_ext <<_ACEOF
60155 /* confdefs.h.  */
60156 _ACEOF
60157 cat confdefs.h >>conftest.$ac_ext
60158 cat >>conftest.$ac_ext <<_ACEOF
60159 /* end confdefs.h.  */
60160 #include <math.h>
60161 int
60162 main ()
60163 {
60164  _fmodf(0, 0);
60165   ;
60166   return 0;
60167 }
60168 _ACEOF
60169 rm -f conftest.$ac_objext
60170 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
60171   (eval $ac_compile) 2>conftest.er1
60172   ac_status=$?
60173   grep -v '^ *+' conftest.er1 >conftest.err
60174   rm -f conftest.er1
60175   cat conftest.err >&5
60176   echo "$as_me:$LINENO: \$? = $ac_status" >&5
60177   (exit $ac_status); } &&
60178          { ac_try='test -z "$ac_cxx_werror_flag"
60179                          || test ! -s conftest.err'
60180   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
60181   (eval $ac_try) 2>&5
60182   ac_status=$?
60183   echo "$as_me:$LINENO: \$? = $ac_status" >&5
60184   (exit $ac_status); }; } &&
60185          { ac_try='test -s conftest.$ac_objext'
60186   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
60187   (eval $ac_try) 2>&5
60188   ac_status=$?
60189   echo "$as_me:$LINENO: \$? = $ac_status" >&5
60190   (exit $ac_status); }; }; then
60191   glibcxx_cv_func__fmodf_use=yes
60192 else
60193   echo "$as_me: failed program was:" >&5
60194 sed 's/^/| /' conftest.$ac_ext >&5
60195
60196 glibcxx_cv_func__fmodf_use=no
60197 fi
60198 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
60199       ac_ext=c
60200 ac_cpp='$CPP $CPPFLAGS'
60201 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60202 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60203 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60204
60205
60206 fi
60207
60208   fi
60209   echo "$as_me:$LINENO: result: $glibcxx_cv_func__fmodf_use" >&5
60210 echo "${ECHO_T}$glibcxx_cv_func__fmodf_use" >&6
60211
60212     if test x$glibcxx_cv_func__fmodf_use = x"yes"; then
60213
60214 for ac_func in _fmodf
60215 do
60216 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
60217 echo "$as_me:$LINENO: checking for $ac_func" >&5
60218 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
60219 if eval "test \"\${$as_ac_var+set}\" = set"; then
60220   echo $ECHO_N "(cached) $ECHO_C" >&6
60221 else
60222   if test x$gcc_no_link = xyes; then
60223   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
60224 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
60225    { (exit 1); exit 1; }; }
60226 fi
60227 cat >conftest.$ac_ext <<_ACEOF
60228 /* confdefs.h.  */
60229 _ACEOF
60230 cat confdefs.h >>conftest.$ac_ext
60231 cat >>conftest.$ac_ext <<_ACEOF
60232 /* end confdefs.h.  */
60233 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
60234    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
60235 #define $ac_func innocuous_$ac_func
60236
60237 /* System header to define __stub macros and hopefully few prototypes,
60238     which can conflict with char $ac_func (); below.
60239     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
60240     <limits.h> exists even on freestanding compilers.  */
60241
60242 #ifdef __STDC__
60243 # include <limits.h>
60244 #else
60245 # include <assert.h>
60246 #endif
60247
60248 #undef $ac_func
60249
60250 /* Override any gcc2 internal prototype to avoid an error.  */
60251 #ifdef __cplusplus
60252 extern "C"
60253 {
60254 #endif
60255 /* We use char because int might match the return type of a gcc2
60256    builtin and then its argument prototype would still apply.  */
60257 char $ac_func ();
60258 /* The GNU C library defines this for functions which it implements
60259     to always fail with ENOSYS.  Some functions are actually named
60260     something starting with __ and the normal name is an alias.  */
60261 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
60262 choke me
60263 #else
60264 char (*f) () = $ac_func;
60265 #endif
60266 #ifdef __cplusplus
60267 }
60268 #endif
60269
60270 int
60271 main ()
60272 {
60273 return f != $ac_func;
60274   ;
60275   return 0;
60276 }
60277 _ACEOF
60278 rm -f conftest.$ac_objext conftest$ac_exeext
60279 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
60280   (eval $ac_link) 2>conftest.er1
60281   ac_status=$?
60282   grep -v '^ *+' conftest.er1 >conftest.err
60283   rm -f conftest.er1
60284   cat conftest.err >&5
60285   echo "$as_me:$LINENO: \$? = $ac_status" >&5
60286   (exit $ac_status); } &&
60287          { ac_try='test -z "$ac_c_werror_flag"
60288                          || test ! -s conftest.err'
60289   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
60290   (eval $ac_try) 2>&5
60291   ac_status=$?
60292   echo "$as_me:$LINENO: \$? = $ac_status" >&5
60293   (exit $ac_status); }; } &&
60294          { ac_try='test -s conftest$ac_exeext'
60295   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
60296   (eval $ac_try) 2>&5
60297   ac_status=$?
60298   echo "$as_me:$LINENO: \$? = $ac_status" >&5
60299   (exit $ac_status); }; }; then
60300   eval "$as_ac_var=yes"
60301 else
60302   echo "$as_me: failed program was:" >&5
60303 sed 's/^/| /' conftest.$ac_ext >&5
60304
60305 eval "$as_ac_var=no"
60306 fi
60307 rm -f conftest.err conftest.$ac_objext \
60308       conftest$ac_exeext conftest.$ac_ext
60309 fi
60310 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
60311 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
60312 if test `eval echo '${'$as_ac_var'}'` = yes; then
60313   cat >>confdefs.h <<_ACEOF
60314 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
60315 _ACEOF
60316
60317 fi
60318 done
60319
60320     fi
60321   fi
60322
60323
60324
60325
60326
60327
60328   echo "$as_me:$LINENO: checking for frexpf declaration" >&5
60329 echo $ECHO_N "checking for frexpf declaration... $ECHO_C" >&6
60330   if test x${glibcxx_cv_func_frexpf_use+set} != xset; then
60331     if test "${glibcxx_cv_func_frexpf_use+set}" = set; then
60332   echo $ECHO_N "(cached) $ECHO_C" >&6
60333 else
60334
60335
60336
60337       ac_ext=cc
60338 ac_cpp='$CXXCPP $CPPFLAGS'
60339 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60340 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60341 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60342
60343       cat >conftest.$ac_ext <<_ACEOF
60344 /* confdefs.h.  */
60345 _ACEOF
60346 cat confdefs.h >>conftest.$ac_ext
60347 cat >>conftest.$ac_ext <<_ACEOF
60348 /* end confdefs.h.  */
60349 #include <math.h>
60350 int
60351 main ()
60352 {
60353  frexpf(0, 0);
60354   ;
60355   return 0;
60356 }
60357 _ACEOF
60358 rm -f conftest.$ac_objext
60359 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
60360   (eval $ac_compile) 2>conftest.er1
60361   ac_status=$?
60362   grep -v '^ *+' conftest.er1 >conftest.err
60363   rm -f conftest.er1
60364   cat conftest.err >&5
60365   echo "$as_me:$LINENO: \$? = $ac_status" >&5
60366   (exit $ac_status); } &&
60367          { ac_try='test -z "$ac_cxx_werror_flag"
60368                          || test ! -s conftest.err'
60369   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
60370   (eval $ac_try) 2>&5
60371   ac_status=$?
60372   echo "$as_me:$LINENO: \$? = $ac_status" >&5
60373   (exit $ac_status); }; } &&
60374          { ac_try='test -s conftest.$ac_objext'
60375   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
60376   (eval $ac_try) 2>&5
60377   ac_status=$?
60378   echo "$as_me:$LINENO: \$? = $ac_status" >&5
60379   (exit $ac_status); }; }; then
60380   glibcxx_cv_func_frexpf_use=yes
60381 else
60382   echo "$as_me: failed program was:" >&5
60383 sed 's/^/| /' conftest.$ac_ext >&5
60384
60385 glibcxx_cv_func_frexpf_use=no
60386 fi
60387 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
60388       ac_ext=c
60389 ac_cpp='$CPP $CPPFLAGS'
60390 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60391 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60392 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60393
60394
60395 fi
60396
60397   fi
60398   echo "$as_me:$LINENO: result: $glibcxx_cv_func_frexpf_use" >&5
60399 echo "${ECHO_T}$glibcxx_cv_func_frexpf_use" >&6
60400
60401   if test x$glibcxx_cv_func_frexpf_use = x"yes"; then
60402
60403 for ac_func in frexpf
60404 do
60405 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
60406 echo "$as_me:$LINENO: checking for $ac_func" >&5
60407 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
60408 if eval "test \"\${$as_ac_var+set}\" = set"; then
60409   echo $ECHO_N "(cached) $ECHO_C" >&6
60410 else
60411   if test x$gcc_no_link = xyes; then
60412   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
60413 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
60414    { (exit 1); exit 1; }; }
60415 fi
60416 cat >conftest.$ac_ext <<_ACEOF
60417 /* confdefs.h.  */
60418 _ACEOF
60419 cat confdefs.h >>conftest.$ac_ext
60420 cat >>conftest.$ac_ext <<_ACEOF
60421 /* end confdefs.h.  */
60422 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
60423    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
60424 #define $ac_func innocuous_$ac_func
60425
60426 /* System header to define __stub macros and hopefully few prototypes,
60427     which can conflict with char $ac_func (); below.
60428     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
60429     <limits.h> exists even on freestanding compilers.  */
60430
60431 #ifdef __STDC__
60432 # include <limits.h>
60433 #else
60434 # include <assert.h>
60435 #endif
60436
60437 #undef $ac_func
60438
60439 /* Override any gcc2 internal prototype to avoid an error.  */
60440 #ifdef __cplusplus
60441 extern "C"
60442 {
60443 #endif
60444 /* We use char because int might match the return type of a gcc2
60445    builtin and then its argument prototype would still apply.  */
60446 char $ac_func ();
60447 /* The GNU C library defines this for functions which it implements
60448     to always fail with ENOSYS.  Some functions are actually named
60449     something starting with __ and the normal name is an alias.  */
60450 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
60451 choke me
60452 #else
60453 char (*f) () = $ac_func;
60454 #endif
60455 #ifdef __cplusplus
60456 }
60457 #endif
60458
60459 int
60460 main ()
60461 {
60462 return f != $ac_func;
60463   ;
60464   return 0;
60465 }
60466 _ACEOF
60467 rm -f conftest.$ac_objext conftest$ac_exeext
60468 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
60469   (eval $ac_link) 2>conftest.er1
60470   ac_status=$?
60471   grep -v '^ *+' conftest.er1 >conftest.err
60472   rm -f conftest.er1
60473   cat conftest.err >&5
60474   echo "$as_me:$LINENO: \$? = $ac_status" >&5
60475   (exit $ac_status); } &&
60476          { ac_try='test -z "$ac_c_werror_flag"
60477                          || test ! -s conftest.err'
60478   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
60479   (eval $ac_try) 2>&5
60480   ac_status=$?
60481   echo "$as_me:$LINENO: \$? = $ac_status" >&5
60482   (exit $ac_status); }; } &&
60483          { ac_try='test -s conftest$ac_exeext'
60484   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
60485   (eval $ac_try) 2>&5
60486   ac_status=$?
60487   echo "$as_me:$LINENO: \$? = $ac_status" >&5
60488   (exit $ac_status); }; }; then
60489   eval "$as_ac_var=yes"
60490 else
60491   echo "$as_me: failed program was:" >&5
60492 sed 's/^/| /' conftest.$ac_ext >&5
60493
60494 eval "$as_ac_var=no"
60495 fi
60496 rm -f conftest.err conftest.$ac_objext \
60497       conftest$ac_exeext conftest.$ac_ext
60498 fi
60499 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
60500 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
60501 if test `eval echo '${'$as_ac_var'}'` = yes; then
60502   cat >>confdefs.h <<_ACEOF
60503 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
60504 _ACEOF
60505
60506 fi
60507 done
60508
60509   else
60510
60511   echo "$as_me:$LINENO: checking for _frexpf declaration" >&5
60512 echo $ECHO_N "checking for _frexpf declaration... $ECHO_C" >&6
60513   if test x${glibcxx_cv_func__frexpf_use+set} != xset; then
60514     if test "${glibcxx_cv_func__frexpf_use+set}" = set; then
60515   echo $ECHO_N "(cached) $ECHO_C" >&6
60516 else
60517
60518
60519
60520       ac_ext=cc
60521 ac_cpp='$CXXCPP $CPPFLAGS'
60522 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60523 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60524 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60525
60526       cat >conftest.$ac_ext <<_ACEOF
60527 /* confdefs.h.  */
60528 _ACEOF
60529 cat confdefs.h >>conftest.$ac_ext
60530 cat >>conftest.$ac_ext <<_ACEOF
60531 /* end confdefs.h.  */
60532 #include <math.h>
60533 int
60534 main ()
60535 {
60536  _frexpf(0, 0);
60537   ;
60538   return 0;
60539 }
60540 _ACEOF
60541 rm -f conftest.$ac_objext
60542 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
60543   (eval $ac_compile) 2>conftest.er1
60544   ac_status=$?
60545   grep -v '^ *+' conftest.er1 >conftest.err
60546   rm -f conftest.er1
60547   cat conftest.err >&5
60548   echo "$as_me:$LINENO: \$? = $ac_status" >&5
60549   (exit $ac_status); } &&
60550          { ac_try='test -z "$ac_cxx_werror_flag"
60551                          || test ! -s conftest.err'
60552   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
60553   (eval $ac_try) 2>&5
60554   ac_status=$?
60555   echo "$as_me:$LINENO: \$? = $ac_status" >&5
60556   (exit $ac_status); }; } &&
60557          { ac_try='test -s conftest.$ac_objext'
60558   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
60559   (eval $ac_try) 2>&5
60560   ac_status=$?
60561   echo "$as_me:$LINENO: \$? = $ac_status" >&5
60562   (exit $ac_status); }; }; then
60563   glibcxx_cv_func__frexpf_use=yes
60564 else
60565   echo "$as_me: failed program was:" >&5
60566 sed 's/^/| /' conftest.$ac_ext >&5
60567
60568 glibcxx_cv_func__frexpf_use=no
60569 fi
60570 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
60571       ac_ext=c
60572 ac_cpp='$CPP $CPPFLAGS'
60573 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60574 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60575 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60576
60577
60578 fi
60579
60580   fi
60581   echo "$as_me:$LINENO: result: $glibcxx_cv_func__frexpf_use" >&5
60582 echo "${ECHO_T}$glibcxx_cv_func__frexpf_use" >&6
60583
60584     if test x$glibcxx_cv_func__frexpf_use = x"yes"; then
60585
60586 for ac_func in _frexpf
60587 do
60588 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
60589 echo "$as_me:$LINENO: checking for $ac_func" >&5
60590 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
60591 if eval "test \"\${$as_ac_var+set}\" = set"; then
60592   echo $ECHO_N "(cached) $ECHO_C" >&6
60593 else
60594   if test x$gcc_no_link = xyes; then
60595   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
60596 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
60597    { (exit 1); exit 1; }; }
60598 fi
60599 cat >conftest.$ac_ext <<_ACEOF
60600 /* confdefs.h.  */
60601 _ACEOF
60602 cat confdefs.h >>conftest.$ac_ext
60603 cat >>conftest.$ac_ext <<_ACEOF
60604 /* end confdefs.h.  */
60605 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
60606    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
60607 #define $ac_func innocuous_$ac_func
60608
60609 /* System header to define __stub macros and hopefully few prototypes,
60610     which can conflict with char $ac_func (); below.
60611     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
60612     <limits.h> exists even on freestanding compilers.  */
60613
60614 #ifdef __STDC__
60615 # include <limits.h>
60616 #else
60617 # include <assert.h>
60618 #endif
60619
60620 #undef $ac_func
60621
60622 /* Override any gcc2 internal prototype to avoid an error.  */
60623 #ifdef __cplusplus
60624 extern "C"
60625 {
60626 #endif
60627 /* We use char because int might match the return type of a gcc2
60628    builtin and then its argument prototype would still apply.  */
60629 char $ac_func ();
60630 /* The GNU C library defines this for functions which it implements
60631     to always fail with ENOSYS.  Some functions are actually named
60632     something starting with __ and the normal name is an alias.  */
60633 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
60634 choke me
60635 #else
60636 char (*f) () = $ac_func;
60637 #endif
60638 #ifdef __cplusplus
60639 }
60640 #endif
60641
60642 int
60643 main ()
60644 {
60645 return f != $ac_func;
60646   ;
60647   return 0;
60648 }
60649 _ACEOF
60650 rm -f conftest.$ac_objext conftest$ac_exeext
60651 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
60652   (eval $ac_link) 2>conftest.er1
60653   ac_status=$?
60654   grep -v '^ *+' conftest.er1 >conftest.err
60655   rm -f conftest.er1
60656   cat conftest.err >&5
60657   echo "$as_me:$LINENO: \$? = $ac_status" >&5
60658   (exit $ac_status); } &&
60659          { ac_try='test -z "$ac_c_werror_flag"
60660                          || test ! -s conftest.err'
60661   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
60662   (eval $ac_try) 2>&5
60663   ac_status=$?
60664   echo "$as_me:$LINENO: \$? = $ac_status" >&5
60665   (exit $ac_status); }; } &&
60666          { ac_try='test -s conftest$ac_exeext'
60667   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
60668   (eval $ac_try) 2>&5
60669   ac_status=$?
60670   echo "$as_me:$LINENO: \$? = $ac_status" >&5
60671   (exit $ac_status); }; }; then
60672   eval "$as_ac_var=yes"
60673 else
60674   echo "$as_me: failed program was:" >&5
60675 sed 's/^/| /' conftest.$ac_ext >&5
60676
60677 eval "$as_ac_var=no"
60678 fi
60679 rm -f conftest.err conftest.$ac_objext \
60680       conftest$ac_exeext conftest.$ac_ext
60681 fi
60682 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
60683 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
60684 if test `eval echo '${'$as_ac_var'}'` = yes; then
60685   cat >>confdefs.h <<_ACEOF
60686 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
60687 _ACEOF
60688
60689 fi
60690 done
60691
60692     fi
60693   fi
60694
60695
60696
60697
60698
60699
60700   echo "$as_me:$LINENO: checking for hypotf declaration" >&5
60701 echo $ECHO_N "checking for hypotf declaration... $ECHO_C" >&6
60702   if test x${glibcxx_cv_func_hypotf_use+set} != xset; then
60703     if test "${glibcxx_cv_func_hypotf_use+set}" = set; then
60704   echo $ECHO_N "(cached) $ECHO_C" >&6
60705 else
60706
60707
60708
60709       ac_ext=cc
60710 ac_cpp='$CXXCPP $CPPFLAGS'
60711 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60712 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60713 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60714
60715       cat >conftest.$ac_ext <<_ACEOF
60716 /* confdefs.h.  */
60717 _ACEOF
60718 cat confdefs.h >>conftest.$ac_ext
60719 cat >>conftest.$ac_ext <<_ACEOF
60720 /* end confdefs.h.  */
60721 #include <math.h>
60722 int
60723 main ()
60724 {
60725  hypotf(0, 0);
60726   ;
60727   return 0;
60728 }
60729 _ACEOF
60730 rm -f conftest.$ac_objext
60731 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
60732   (eval $ac_compile) 2>conftest.er1
60733   ac_status=$?
60734   grep -v '^ *+' conftest.er1 >conftest.err
60735   rm -f conftest.er1
60736   cat conftest.err >&5
60737   echo "$as_me:$LINENO: \$? = $ac_status" >&5
60738   (exit $ac_status); } &&
60739          { ac_try='test -z "$ac_cxx_werror_flag"
60740                          || test ! -s conftest.err'
60741   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
60742   (eval $ac_try) 2>&5
60743   ac_status=$?
60744   echo "$as_me:$LINENO: \$? = $ac_status" >&5
60745   (exit $ac_status); }; } &&
60746          { ac_try='test -s conftest.$ac_objext'
60747   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
60748   (eval $ac_try) 2>&5
60749   ac_status=$?
60750   echo "$as_me:$LINENO: \$? = $ac_status" >&5
60751   (exit $ac_status); }; }; then
60752   glibcxx_cv_func_hypotf_use=yes
60753 else
60754   echo "$as_me: failed program was:" >&5
60755 sed 's/^/| /' conftest.$ac_ext >&5
60756
60757 glibcxx_cv_func_hypotf_use=no
60758 fi
60759 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
60760       ac_ext=c
60761 ac_cpp='$CPP $CPPFLAGS'
60762 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60763 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60764 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60765
60766
60767 fi
60768
60769   fi
60770   echo "$as_me:$LINENO: result: $glibcxx_cv_func_hypotf_use" >&5
60771 echo "${ECHO_T}$glibcxx_cv_func_hypotf_use" >&6
60772
60773   if test x$glibcxx_cv_func_hypotf_use = x"yes"; then
60774
60775 for ac_func in hypotf
60776 do
60777 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
60778 echo "$as_me:$LINENO: checking for $ac_func" >&5
60779 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
60780 if eval "test \"\${$as_ac_var+set}\" = set"; then
60781   echo $ECHO_N "(cached) $ECHO_C" >&6
60782 else
60783   if test x$gcc_no_link = xyes; then
60784   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
60785 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
60786    { (exit 1); exit 1; }; }
60787 fi
60788 cat >conftest.$ac_ext <<_ACEOF
60789 /* confdefs.h.  */
60790 _ACEOF
60791 cat confdefs.h >>conftest.$ac_ext
60792 cat >>conftest.$ac_ext <<_ACEOF
60793 /* end confdefs.h.  */
60794 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
60795    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
60796 #define $ac_func innocuous_$ac_func
60797
60798 /* System header to define __stub macros and hopefully few prototypes,
60799     which can conflict with char $ac_func (); below.
60800     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
60801     <limits.h> exists even on freestanding compilers.  */
60802
60803 #ifdef __STDC__
60804 # include <limits.h>
60805 #else
60806 # include <assert.h>
60807 #endif
60808
60809 #undef $ac_func
60810
60811 /* Override any gcc2 internal prototype to avoid an error.  */
60812 #ifdef __cplusplus
60813 extern "C"
60814 {
60815 #endif
60816 /* We use char because int might match the return type of a gcc2
60817    builtin and then its argument prototype would still apply.  */
60818 char $ac_func ();
60819 /* The GNU C library defines this for functions which it implements
60820     to always fail with ENOSYS.  Some functions are actually named
60821     something starting with __ and the normal name is an alias.  */
60822 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
60823 choke me
60824 #else
60825 char (*f) () = $ac_func;
60826 #endif
60827 #ifdef __cplusplus
60828 }
60829 #endif
60830
60831 int
60832 main ()
60833 {
60834 return f != $ac_func;
60835   ;
60836   return 0;
60837 }
60838 _ACEOF
60839 rm -f conftest.$ac_objext conftest$ac_exeext
60840 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
60841   (eval $ac_link) 2>conftest.er1
60842   ac_status=$?
60843   grep -v '^ *+' conftest.er1 >conftest.err
60844   rm -f conftest.er1
60845   cat conftest.err >&5
60846   echo "$as_me:$LINENO: \$? = $ac_status" >&5
60847   (exit $ac_status); } &&
60848          { ac_try='test -z "$ac_c_werror_flag"
60849                          || test ! -s conftest.err'
60850   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
60851   (eval $ac_try) 2>&5
60852   ac_status=$?
60853   echo "$as_me:$LINENO: \$? = $ac_status" >&5
60854   (exit $ac_status); }; } &&
60855          { ac_try='test -s conftest$ac_exeext'
60856   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
60857   (eval $ac_try) 2>&5
60858   ac_status=$?
60859   echo "$as_me:$LINENO: \$? = $ac_status" >&5
60860   (exit $ac_status); }; }; then
60861   eval "$as_ac_var=yes"
60862 else
60863   echo "$as_me: failed program was:" >&5
60864 sed 's/^/| /' conftest.$ac_ext >&5
60865
60866 eval "$as_ac_var=no"
60867 fi
60868 rm -f conftest.err conftest.$ac_objext \
60869       conftest$ac_exeext conftest.$ac_ext
60870 fi
60871 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
60872 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
60873 if test `eval echo '${'$as_ac_var'}'` = yes; then
60874   cat >>confdefs.h <<_ACEOF
60875 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
60876 _ACEOF
60877
60878 fi
60879 done
60880
60881   else
60882
60883   echo "$as_me:$LINENO: checking for _hypotf declaration" >&5
60884 echo $ECHO_N "checking for _hypotf declaration... $ECHO_C" >&6
60885   if test x${glibcxx_cv_func__hypotf_use+set} != xset; then
60886     if test "${glibcxx_cv_func__hypotf_use+set}" = set; then
60887   echo $ECHO_N "(cached) $ECHO_C" >&6
60888 else
60889
60890
60891
60892       ac_ext=cc
60893 ac_cpp='$CXXCPP $CPPFLAGS'
60894 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60895 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60896 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60897
60898       cat >conftest.$ac_ext <<_ACEOF
60899 /* confdefs.h.  */
60900 _ACEOF
60901 cat confdefs.h >>conftest.$ac_ext
60902 cat >>conftest.$ac_ext <<_ACEOF
60903 /* end confdefs.h.  */
60904 #include <math.h>
60905 int
60906 main ()
60907 {
60908  _hypotf(0, 0);
60909   ;
60910   return 0;
60911 }
60912 _ACEOF
60913 rm -f conftest.$ac_objext
60914 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
60915   (eval $ac_compile) 2>conftest.er1
60916   ac_status=$?
60917   grep -v '^ *+' conftest.er1 >conftest.err
60918   rm -f conftest.er1
60919   cat conftest.err >&5
60920   echo "$as_me:$LINENO: \$? = $ac_status" >&5
60921   (exit $ac_status); } &&
60922          { ac_try='test -z "$ac_cxx_werror_flag"
60923                          || test ! -s conftest.err'
60924   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
60925   (eval $ac_try) 2>&5
60926   ac_status=$?
60927   echo "$as_me:$LINENO: \$? = $ac_status" >&5
60928   (exit $ac_status); }; } &&
60929          { ac_try='test -s conftest.$ac_objext'
60930   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
60931   (eval $ac_try) 2>&5
60932   ac_status=$?
60933   echo "$as_me:$LINENO: \$? = $ac_status" >&5
60934   (exit $ac_status); }; }; then
60935   glibcxx_cv_func__hypotf_use=yes
60936 else
60937   echo "$as_me: failed program was:" >&5
60938 sed 's/^/| /' conftest.$ac_ext >&5
60939
60940 glibcxx_cv_func__hypotf_use=no
60941 fi
60942 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
60943       ac_ext=c
60944 ac_cpp='$CPP $CPPFLAGS'
60945 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60946 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60947 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60948
60949
60950 fi
60951
60952   fi
60953   echo "$as_me:$LINENO: result: $glibcxx_cv_func__hypotf_use" >&5
60954 echo "${ECHO_T}$glibcxx_cv_func__hypotf_use" >&6
60955
60956     if test x$glibcxx_cv_func__hypotf_use = x"yes"; then
60957
60958 for ac_func in _hypotf
60959 do
60960 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
60961 echo "$as_me:$LINENO: checking for $ac_func" >&5
60962 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
60963 if eval "test \"\${$as_ac_var+set}\" = set"; then
60964   echo $ECHO_N "(cached) $ECHO_C" >&6
60965 else
60966   if test x$gcc_no_link = xyes; then
60967   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
60968 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
60969    { (exit 1); exit 1; }; }
60970 fi
60971 cat >conftest.$ac_ext <<_ACEOF
60972 /* confdefs.h.  */
60973 _ACEOF
60974 cat confdefs.h >>conftest.$ac_ext
60975 cat >>conftest.$ac_ext <<_ACEOF
60976 /* end confdefs.h.  */
60977 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
60978    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
60979 #define $ac_func innocuous_$ac_func
60980
60981 /* System header to define __stub macros and hopefully few prototypes,
60982     which can conflict with char $ac_func (); below.
60983     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
60984     <limits.h> exists even on freestanding compilers.  */
60985
60986 #ifdef __STDC__
60987 # include <limits.h>
60988 #else
60989 # include <assert.h>
60990 #endif
60991
60992 #undef $ac_func
60993
60994 /* Override any gcc2 internal prototype to avoid an error.  */
60995 #ifdef __cplusplus
60996 extern "C"
60997 {
60998 #endif
60999 /* We use char because int might match the return type of a gcc2
61000    builtin and then its argument prototype would still apply.  */
61001 char $ac_func ();
61002 /* The GNU C library defines this for functions which it implements
61003     to always fail with ENOSYS.  Some functions are actually named
61004     something starting with __ and the normal name is an alias.  */
61005 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
61006 choke me
61007 #else
61008 char (*f) () = $ac_func;
61009 #endif
61010 #ifdef __cplusplus
61011 }
61012 #endif
61013
61014 int
61015 main ()
61016 {
61017 return f != $ac_func;
61018   ;
61019   return 0;
61020 }
61021 _ACEOF
61022 rm -f conftest.$ac_objext conftest$ac_exeext
61023 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
61024   (eval $ac_link) 2>conftest.er1
61025   ac_status=$?
61026   grep -v '^ *+' conftest.er1 >conftest.err
61027   rm -f conftest.er1
61028   cat conftest.err >&5
61029   echo "$as_me:$LINENO: \$? = $ac_status" >&5
61030   (exit $ac_status); } &&
61031          { ac_try='test -z "$ac_c_werror_flag"
61032                          || test ! -s conftest.err'
61033   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
61034   (eval $ac_try) 2>&5
61035   ac_status=$?
61036   echo "$as_me:$LINENO: \$? = $ac_status" >&5
61037   (exit $ac_status); }; } &&
61038          { ac_try='test -s conftest$ac_exeext'
61039   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
61040   (eval $ac_try) 2>&5
61041   ac_status=$?
61042   echo "$as_me:$LINENO: \$? = $ac_status" >&5
61043   (exit $ac_status); }; }; then
61044   eval "$as_ac_var=yes"
61045 else
61046   echo "$as_me: failed program was:" >&5
61047 sed 's/^/| /' conftest.$ac_ext >&5
61048
61049 eval "$as_ac_var=no"
61050 fi
61051 rm -f conftest.err conftest.$ac_objext \
61052       conftest$ac_exeext conftest.$ac_ext
61053 fi
61054 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
61055 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
61056 if test `eval echo '${'$as_ac_var'}'` = yes; then
61057   cat >>confdefs.h <<_ACEOF
61058 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
61059 _ACEOF
61060
61061 fi
61062 done
61063
61064     fi
61065   fi
61066
61067
61068
61069
61070
61071
61072   echo "$as_me:$LINENO: checking for ldexpf declaration" >&5
61073 echo $ECHO_N "checking for ldexpf declaration... $ECHO_C" >&6
61074   if test x${glibcxx_cv_func_ldexpf_use+set} != xset; then
61075     if test "${glibcxx_cv_func_ldexpf_use+set}" = set; then
61076   echo $ECHO_N "(cached) $ECHO_C" >&6
61077 else
61078
61079
61080
61081       ac_ext=cc
61082 ac_cpp='$CXXCPP $CPPFLAGS'
61083 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61084 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61085 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61086
61087       cat >conftest.$ac_ext <<_ACEOF
61088 /* confdefs.h.  */
61089 _ACEOF
61090 cat confdefs.h >>conftest.$ac_ext
61091 cat >>conftest.$ac_ext <<_ACEOF
61092 /* end confdefs.h.  */
61093 #include <math.h>
61094 int
61095 main ()
61096 {
61097  ldexpf(0, 0);
61098   ;
61099   return 0;
61100 }
61101 _ACEOF
61102 rm -f conftest.$ac_objext
61103 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
61104   (eval $ac_compile) 2>conftest.er1
61105   ac_status=$?
61106   grep -v '^ *+' conftest.er1 >conftest.err
61107   rm -f conftest.er1
61108   cat conftest.err >&5
61109   echo "$as_me:$LINENO: \$? = $ac_status" >&5
61110   (exit $ac_status); } &&
61111          { ac_try='test -z "$ac_cxx_werror_flag"
61112                          || test ! -s conftest.err'
61113   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
61114   (eval $ac_try) 2>&5
61115   ac_status=$?
61116   echo "$as_me:$LINENO: \$? = $ac_status" >&5
61117   (exit $ac_status); }; } &&
61118          { ac_try='test -s conftest.$ac_objext'
61119   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
61120   (eval $ac_try) 2>&5
61121   ac_status=$?
61122   echo "$as_me:$LINENO: \$? = $ac_status" >&5
61123   (exit $ac_status); }; }; then
61124   glibcxx_cv_func_ldexpf_use=yes
61125 else
61126   echo "$as_me: failed program was:" >&5
61127 sed 's/^/| /' conftest.$ac_ext >&5
61128
61129 glibcxx_cv_func_ldexpf_use=no
61130 fi
61131 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
61132       ac_ext=c
61133 ac_cpp='$CPP $CPPFLAGS'
61134 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61135 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61136 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61137
61138
61139 fi
61140
61141   fi
61142   echo "$as_me:$LINENO: result: $glibcxx_cv_func_ldexpf_use" >&5
61143 echo "${ECHO_T}$glibcxx_cv_func_ldexpf_use" >&6
61144
61145   if test x$glibcxx_cv_func_ldexpf_use = x"yes"; then
61146
61147 for ac_func in ldexpf
61148 do
61149 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
61150 echo "$as_me:$LINENO: checking for $ac_func" >&5
61151 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
61152 if eval "test \"\${$as_ac_var+set}\" = set"; then
61153   echo $ECHO_N "(cached) $ECHO_C" >&6
61154 else
61155   if test x$gcc_no_link = xyes; then
61156   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
61157 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
61158    { (exit 1); exit 1; }; }
61159 fi
61160 cat >conftest.$ac_ext <<_ACEOF
61161 /* confdefs.h.  */
61162 _ACEOF
61163 cat confdefs.h >>conftest.$ac_ext
61164 cat >>conftest.$ac_ext <<_ACEOF
61165 /* end confdefs.h.  */
61166 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
61167    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
61168 #define $ac_func innocuous_$ac_func
61169
61170 /* System header to define __stub macros and hopefully few prototypes,
61171     which can conflict with char $ac_func (); below.
61172     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
61173     <limits.h> exists even on freestanding compilers.  */
61174
61175 #ifdef __STDC__
61176 # include <limits.h>
61177 #else
61178 # include <assert.h>
61179 #endif
61180
61181 #undef $ac_func
61182
61183 /* Override any gcc2 internal prototype to avoid an error.  */
61184 #ifdef __cplusplus
61185 extern "C"
61186 {
61187 #endif
61188 /* We use char because int might match the return type of a gcc2
61189    builtin and then its argument prototype would still apply.  */
61190 char $ac_func ();
61191 /* The GNU C library defines this for functions which it implements
61192     to always fail with ENOSYS.  Some functions are actually named
61193     something starting with __ and the normal name is an alias.  */
61194 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
61195 choke me
61196 #else
61197 char (*f) () = $ac_func;
61198 #endif
61199 #ifdef __cplusplus
61200 }
61201 #endif
61202
61203 int
61204 main ()
61205 {
61206 return f != $ac_func;
61207   ;
61208   return 0;
61209 }
61210 _ACEOF
61211 rm -f conftest.$ac_objext conftest$ac_exeext
61212 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
61213   (eval $ac_link) 2>conftest.er1
61214   ac_status=$?
61215   grep -v '^ *+' conftest.er1 >conftest.err
61216   rm -f conftest.er1
61217   cat conftest.err >&5
61218   echo "$as_me:$LINENO: \$? = $ac_status" >&5
61219   (exit $ac_status); } &&
61220          { ac_try='test -z "$ac_c_werror_flag"
61221                          || test ! -s conftest.err'
61222   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
61223   (eval $ac_try) 2>&5
61224   ac_status=$?
61225   echo "$as_me:$LINENO: \$? = $ac_status" >&5
61226   (exit $ac_status); }; } &&
61227          { ac_try='test -s conftest$ac_exeext'
61228   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
61229   (eval $ac_try) 2>&5
61230   ac_status=$?
61231   echo "$as_me:$LINENO: \$? = $ac_status" >&5
61232   (exit $ac_status); }; }; then
61233   eval "$as_ac_var=yes"
61234 else
61235   echo "$as_me: failed program was:" >&5
61236 sed 's/^/| /' conftest.$ac_ext >&5
61237
61238 eval "$as_ac_var=no"
61239 fi
61240 rm -f conftest.err conftest.$ac_objext \
61241       conftest$ac_exeext conftest.$ac_ext
61242 fi
61243 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
61244 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
61245 if test `eval echo '${'$as_ac_var'}'` = yes; then
61246   cat >>confdefs.h <<_ACEOF
61247 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
61248 _ACEOF
61249
61250 fi
61251 done
61252
61253   else
61254
61255   echo "$as_me:$LINENO: checking for _ldexpf declaration" >&5
61256 echo $ECHO_N "checking for _ldexpf declaration... $ECHO_C" >&6
61257   if test x${glibcxx_cv_func__ldexpf_use+set} != xset; then
61258     if test "${glibcxx_cv_func__ldexpf_use+set}" = set; then
61259   echo $ECHO_N "(cached) $ECHO_C" >&6
61260 else
61261
61262
61263
61264       ac_ext=cc
61265 ac_cpp='$CXXCPP $CPPFLAGS'
61266 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61267 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61268 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61269
61270       cat >conftest.$ac_ext <<_ACEOF
61271 /* confdefs.h.  */
61272 _ACEOF
61273 cat confdefs.h >>conftest.$ac_ext
61274 cat >>conftest.$ac_ext <<_ACEOF
61275 /* end confdefs.h.  */
61276 #include <math.h>
61277 int
61278 main ()
61279 {
61280  _ldexpf(0, 0);
61281   ;
61282   return 0;
61283 }
61284 _ACEOF
61285 rm -f conftest.$ac_objext
61286 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
61287   (eval $ac_compile) 2>conftest.er1
61288   ac_status=$?
61289   grep -v '^ *+' conftest.er1 >conftest.err
61290   rm -f conftest.er1
61291   cat conftest.err >&5
61292   echo "$as_me:$LINENO: \$? = $ac_status" >&5
61293   (exit $ac_status); } &&
61294          { ac_try='test -z "$ac_cxx_werror_flag"
61295                          || test ! -s conftest.err'
61296   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
61297   (eval $ac_try) 2>&5
61298   ac_status=$?
61299   echo "$as_me:$LINENO: \$? = $ac_status" >&5
61300   (exit $ac_status); }; } &&
61301          { ac_try='test -s conftest.$ac_objext'
61302   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
61303   (eval $ac_try) 2>&5
61304   ac_status=$?
61305   echo "$as_me:$LINENO: \$? = $ac_status" >&5
61306   (exit $ac_status); }; }; then
61307   glibcxx_cv_func__ldexpf_use=yes
61308 else
61309   echo "$as_me: failed program was:" >&5
61310 sed 's/^/| /' conftest.$ac_ext >&5
61311
61312 glibcxx_cv_func__ldexpf_use=no
61313 fi
61314 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
61315       ac_ext=c
61316 ac_cpp='$CPP $CPPFLAGS'
61317 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61318 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61319 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61320
61321
61322 fi
61323
61324   fi
61325   echo "$as_me:$LINENO: result: $glibcxx_cv_func__ldexpf_use" >&5
61326 echo "${ECHO_T}$glibcxx_cv_func__ldexpf_use" >&6
61327
61328     if test x$glibcxx_cv_func__ldexpf_use = x"yes"; then
61329
61330 for ac_func in _ldexpf
61331 do
61332 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
61333 echo "$as_me:$LINENO: checking for $ac_func" >&5
61334 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
61335 if eval "test \"\${$as_ac_var+set}\" = set"; then
61336   echo $ECHO_N "(cached) $ECHO_C" >&6
61337 else
61338   if test x$gcc_no_link = xyes; then
61339   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
61340 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
61341    { (exit 1); exit 1; }; }
61342 fi
61343 cat >conftest.$ac_ext <<_ACEOF
61344 /* confdefs.h.  */
61345 _ACEOF
61346 cat confdefs.h >>conftest.$ac_ext
61347 cat >>conftest.$ac_ext <<_ACEOF
61348 /* end confdefs.h.  */
61349 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
61350    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
61351 #define $ac_func innocuous_$ac_func
61352
61353 /* System header to define __stub macros and hopefully few prototypes,
61354     which can conflict with char $ac_func (); below.
61355     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
61356     <limits.h> exists even on freestanding compilers.  */
61357
61358 #ifdef __STDC__
61359 # include <limits.h>
61360 #else
61361 # include <assert.h>
61362 #endif
61363
61364 #undef $ac_func
61365
61366 /* Override any gcc2 internal prototype to avoid an error.  */
61367 #ifdef __cplusplus
61368 extern "C"
61369 {
61370 #endif
61371 /* We use char because int might match the return type of a gcc2
61372    builtin and then its argument prototype would still apply.  */
61373 char $ac_func ();
61374 /* The GNU C library defines this for functions which it implements
61375     to always fail with ENOSYS.  Some functions are actually named
61376     something starting with __ and the normal name is an alias.  */
61377 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
61378 choke me
61379 #else
61380 char (*f) () = $ac_func;
61381 #endif
61382 #ifdef __cplusplus
61383 }
61384 #endif
61385
61386 int
61387 main ()
61388 {
61389 return f != $ac_func;
61390   ;
61391   return 0;
61392 }
61393 _ACEOF
61394 rm -f conftest.$ac_objext conftest$ac_exeext
61395 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
61396   (eval $ac_link) 2>conftest.er1
61397   ac_status=$?
61398   grep -v '^ *+' conftest.er1 >conftest.err
61399   rm -f conftest.er1
61400   cat conftest.err >&5
61401   echo "$as_me:$LINENO: \$? = $ac_status" >&5
61402   (exit $ac_status); } &&
61403          { ac_try='test -z "$ac_c_werror_flag"
61404                          || test ! -s conftest.err'
61405   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
61406   (eval $ac_try) 2>&5
61407   ac_status=$?
61408   echo "$as_me:$LINENO: \$? = $ac_status" >&5
61409   (exit $ac_status); }; } &&
61410          { ac_try='test -s conftest$ac_exeext'
61411   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
61412   (eval $ac_try) 2>&5
61413   ac_status=$?
61414   echo "$as_me:$LINENO: \$? = $ac_status" >&5
61415   (exit $ac_status); }; }; then
61416   eval "$as_ac_var=yes"
61417 else
61418   echo "$as_me: failed program was:" >&5
61419 sed 's/^/| /' conftest.$ac_ext >&5
61420
61421 eval "$as_ac_var=no"
61422 fi
61423 rm -f conftest.err conftest.$ac_objext \
61424       conftest$ac_exeext conftest.$ac_ext
61425 fi
61426 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
61427 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
61428 if test `eval echo '${'$as_ac_var'}'` = yes; then
61429   cat >>confdefs.h <<_ACEOF
61430 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
61431 _ACEOF
61432
61433 fi
61434 done
61435
61436     fi
61437   fi
61438
61439
61440
61441
61442
61443
61444   echo "$as_me:$LINENO: checking for logf declaration" >&5
61445 echo $ECHO_N "checking for logf declaration... $ECHO_C" >&6
61446   if test x${glibcxx_cv_func_logf_use+set} != xset; then
61447     if test "${glibcxx_cv_func_logf_use+set}" = set; then
61448   echo $ECHO_N "(cached) $ECHO_C" >&6
61449 else
61450
61451
61452
61453       ac_ext=cc
61454 ac_cpp='$CXXCPP $CPPFLAGS'
61455 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61456 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61457 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61458
61459       cat >conftest.$ac_ext <<_ACEOF
61460 /* confdefs.h.  */
61461 _ACEOF
61462 cat confdefs.h >>conftest.$ac_ext
61463 cat >>conftest.$ac_ext <<_ACEOF
61464 /* end confdefs.h.  */
61465 #include <math.h>
61466                       #ifdef HAVE_IEEEFP_H
61467                       #include <ieeefp.h>
61468                       #endif
61469
61470 int
61471 main ()
61472 {
61473  logf(0);
61474   ;
61475   return 0;
61476 }
61477 _ACEOF
61478 rm -f conftest.$ac_objext
61479 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
61480   (eval $ac_compile) 2>conftest.er1
61481   ac_status=$?
61482   grep -v '^ *+' conftest.er1 >conftest.err
61483   rm -f conftest.er1
61484   cat conftest.err >&5
61485   echo "$as_me:$LINENO: \$? = $ac_status" >&5
61486   (exit $ac_status); } &&
61487          { ac_try='test -z "$ac_cxx_werror_flag"
61488                          || test ! -s conftest.err'
61489   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
61490   (eval $ac_try) 2>&5
61491   ac_status=$?
61492   echo "$as_me:$LINENO: \$? = $ac_status" >&5
61493   (exit $ac_status); }; } &&
61494          { ac_try='test -s conftest.$ac_objext'
61495   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
61496   (eval $ac_try) 2>&5
61497   ac_status=$?
61498   echo "$as_me:$LINENO: \$? = $ac_status" >&5
61499   (exit $ac_status); }; }; then
61500   glibcxx_cv_func_logf_use=yes
61501 else
61502   echo "$as_me: failed program was:" >&5
61503 sed 's/^/| /' conftest.$ac_ext >&5
61504
61505 glibcxx_cv_func_logf_use=no
61506 fi
61507 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
61508       ac_ext=c
61509 ac_cpp='$CPP $CPPFLAGS'
61510 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61511 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61512 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61513
61514
61515 fi
61516
61517   fi
61518   echo "$as_me:$LINENO: result: $glibcxx_cv_func_logf_use" >&5
61519 echo "${ECHO_T}$glibcxx_cv_func_logf_use" >&6
61520
61521   if test x$glibcxx_cv_func_logf_use = x"yes"; then
61522
61523 for ac_func in logf
61524 do
61525 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
61526 echo "$as_me:$LINENO: checking for $ac_func" >&5
61527 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
61528 if eval "test \"\${$as_ac_var+set}\" = set"; then
61529   echo $ECHO_N "(cached) $ECHO_C" >&6
61530 else
61531   if test x$gcc_no_link = xyes; then
61532   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
61533 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
61534    { (exit 1); exit 1; }; }
61535 fi
61536 cat >conftest.$ac_ext <<_ACEOF
61537 /* confdefs.h.  */
61538 _ACEOF
61539 cat confdefs.h >>conftest.$ac_ext
61540 cat >>conftest.$ac_ext <<_ACEOF
61541 /* end confdefs.h.  */
61542 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
61543    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
61544 #define $ac_func innocuous_$ac_func
61545
61546 /* System header to define __stub macros and hopefully few prototypes,
61547     which can conflict with char $ac_func (); below.
61548     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
61549     <limits.h> exists even on freestanding compilers.  */
61550
61551 #ifdef __STDC__
61552 # include <limits.h>
61553 #else
61554 # include <assert.h>
61555 #endif
61556
61557 #undef $ac_func
61558
61559 /* Override any gcc2 internal prototype to avoid an error.  */
61560 #ifdef __cplusplus
61561 extern "C"
61562 {
61563 #endif
61564 /* We use char because int might match the return type of a gcc2
61565    builtin and then its argument prototype would still apply.  */
61566 char $ac_func ();
61567 /* The GNU C library defines this for functions which it implements
61568     to always fail with ENOSYS.  Some functions are actually named
61569     something starting with __ and the normal name is an alias.  */
61570 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
61571 choke me
61572 #else
61573 char (*f) () = $ac_func;
61574 #endif
61575 #ifdef __cplusplus
61576 }
61577 #endif
61578
61579 int
61580 main ()
61581 {
61582 return f != $ac_func;
61583   ;
61584   return 0;
61585 }
61586 _ACEOF
61587 rm -f conftest.$ac_objext conftest$ac_exeext
61588 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
61589   (eval $ac_link) 2>conftest.er1
61590   ac_status=$?
61591   grep -v '^ *+' conftest.er1 >conftest.err
61592   rm -f conftest.er1
61593   cat conftest.err >&5
61594   echo "$as_me:$LINENO: \$? = $ac_status" >&5
61595   (exit $ac_status); } &&
61596          { ac_try='test -z "$ac_c_werror_flag"
61597                          || test ! -s conftest.err'
61598   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
61599   (eval $ac_try) 2>&5
61600   ac_status=$?
61601   echo "$as_me:$LINENO: \$? = $ac_status" >&5
61602   (exit $ac_status); }; } &&
61603          { ac_try='test -s conftest$ac_exeext'
61604   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
61605   (eval $ac_try) 2>&5
61606   ac_status=$?
61607   echo "$as_me:$LINENO: \$? = $ac_status" >&5
61608   (exit $ac_status); }; }; then
61609   eval "$as_ac_var=yes"
61610 else
61611   echo "$as_me: failed program was:" >&5
61612 sed 's/^/| /' conftest.$ac_ext >&5
61613
61614 eval "$as_ac_var=no"
61615 fi
61616 rm -f conftest.err conftest.$ac_objext \
61617       conftest$ac_exeext conftest.$ac_ext
61618 fi
61619 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
61620 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
61621 if test `eval echo '${'$as_ac_var'}'` = yes; then
61622   cat >>confdefs.h <<_ACEOF
61623 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
61624 _ACEOF
61625
61626 fi
61627 done
61628
61629   else
61630
61631   echo "$as_me:$LINENO: checking for _logf declaration" >&5
61632 echo $ECHO_N "checking for _logf declaration... $ECHO_C" >&6
61633   if test x${glibcxx_cv_func__logf_use+set} != xset; then
61634     if test "${glibcxx_cv_func__logf_use+set}" = set; then
61635   echo $ECHO_N "(cached) $ECHO_C" >&6
61636 else
61637
61638
61639
61640       ac_ext=cc
61641 ac_cpp='$CXXCPP $CPPFLAGS'
61642 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61643 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61644 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61645
61646       cat >conftest.$ac_ext <<_ACEOF
61647 /* confdefs.h.  */
61648 _ACEOF
61649 cat confdefs.h >>conftest.$ac_ext
61650 cat >>conftest.$ac_ext <<_ACEOF
61651 /* end confdefs.h.  */
61652 #include <math.h>
61653                       #ifdef HAVE_IEEEFP_H
61654                       #include <ieeefp.h>
61655                       #endif
61656
61657 int
61658 main ()
61659 {
61660  _logf(0);
61661   ;
61662   return 0;
61663 }
61664 _ACEOF
61665 rm -f conftest.$ac_objext
61666 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
61667   (eval $ac_compile) 2>conftest.er1
61668   ac_status=$?
61669   grep -v '^ *+' conftest.er1 >conftest.err
61670   rm -f conftest.er1
61671   cat conftest.err >&5
61672   echo "$as_me:$LINENO: \$? = $ac_status" >&5
61673   (exit $ac_status); } &&
61674          { ac_try='test -z "$ac_cxx_werror_flag"
61675                          || test ! -s conftest.err'
61676   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
61677   (eval $ac_try) 2>&5
61678   ac_status=$?
61679   echo "$as_me:$LINENO: \$? = $ac_status" >&5
61680   (exit $ac_status); }; } &&
61681          { ac_try='test -s conftest.$ac_objext'
61682   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
61683   (eval $ac_try) 2>&5
61684   ac_status=$?
61685   echo "$as_me:$LINENO: \$? = $ac_status" >&5
61686   (exit $ac_status); }; }; then
61687   glibcxx_cv_func__logf_use=yes
61688 else
61689   echo "$as_me: failed program was:" >&5
61690 sed 's/^/| /' conftest.$ac_ext >&5
61691
61692 glibcxx_cv_func__logf_use=no
61693 fi
61694 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
61695       ac_ext=c
61696 ac_cpp='$CPP $CPPFLAGS'
61697 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61698 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61699 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61700
61701
61702 fi
61703
61704   fi
61705   echo "$as_me:$LINENO: result: $glibcxx_cv_func__logf_use" >&5
61706 echo "${ECHO_T}$glibcxx_cv_func__logf_use" >&6
61707
61708     if test x$glibcxx_cv_func__logf_use = x"yes"; then
61709
61710 for ac_func in _logf
61711 do
61712 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
61713 echo "$as_me:$LINENO: checking for $ac_func" >&5
61714 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
61715 if eval "test \"\${$as_ac_var+set}\" = set"; then
61716   echo $ECHO_N "(cached) $ECHO_C" >&6
61717 else
61718   if test x$gcc_no_link = xyes; then
61719   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
61720 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
61721    { (exit 1); exit 1; }; }
61722 fi
61723 cat >conftest.$ac_ext <<_ACEOF
61724 /* confdefs.h.  */
61725 _ACEOF
61726 cat confdefs.h >>conftest.$ac_ext
61727 cat >>conftest.$ac_ext <<_ACEOF
61728 /* end confdefs.h.  */
61729 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
61730    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
61731 #define $ac_func innocuous_$ac_func
61732
61733 /* System header to define __stub macros and hopefully few prototypes,
61734     which can conflict with char $ac_func (); below.
61735     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
61736     <limits.h> exists even on freestanding compilers.  */
61737
61738 #ifdef __STDC__
61739 # include <limits.h>
61740 #else
61741 # include <assert.h>
61742 #endif
61743
61744 #undef $ac_func
61745
61746 /* Override any gcc2 internal prototype to avoid an error.  */
61747 #ifdef __cplusplus
61748 extern "C"
61749 {
61750 #endif
61751 /* We use char because int might match the return type of a gcc2
61752    builtin and then its argument prototype would still apply.  */
61753 char $ac_func ();
61754 /* The GNU C library defines this for functions which it implements
61755     to always fail with ENOSYS.  Some functions are actually named
61756     something starting with __ and the normal name is an alias.  */
61757 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
61758 choke me
61759 #else
61760 char (*f) () = $ac_func;
61761 #endif
61762 #ifdef __cplusplus
61763 }
61764 #endif
61765
61766 int
61767 main ()
61768 {
61769 return f != $ac_func;
61770   ;
61771   return 0;
61772 }
61773 _ACEOF
61774 rm -f conftest.$ac_objext conftest$ac_exeext
61775 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
61776   (eval $ac_link) 2>conftest.er1
61777   ac_status=$?
61778   grep -v '^ *+' conftest.er1 >conftest.err
61779   rm -f conftest.er1
61780   cat conftest.err >&5
61781   echo "$as_me:$LINENO: \$? = $ac_status" >&5
61782   (exit $ac_status); } &&
61783          { ac_try='test -z "$ac_c_werror_flag"
61784                          || test ! -s conftest.err'
61785   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
61786   (eval $ac_try) 2>&5
61787   ac_status=$?
61788   echo "$as_me:$LINENO: \$? = $ac_status" >&5
61789   (exit $ac_status); }; } &&
61790          { ac_try='test -s conftest$ac_exeext'
61791   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
61792   (eval $ac_try) 2>&5
61793   ac_status=$?
61794   echo "$as_me:$LINENO: \$? = $ac_status" >&5
61795   (exit $ac_status); }; }; then
61796   eval "$as_ac_var=yes"
61797 else
61798   echo "$as_me: failed program was:" >&5
61799 sed 's/^/| /' conftest.$ac_ext >&5
61800
61801 eval "$as_ac_var=no"
61802 fi
61803 rm -f conftest.err conftest.$ac_objext \
61804       conftest$ac_exeext conftest.$ac_ext
61805 fi
61806 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
61807 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
61808 if test `eval echo '${'$as_ac_var'}'` = yes; then
61809   cat >>confdefs.h <<_ACEOF
61810 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
61811 _ACEOF
61812
61813 fi
61814 done
61815
61816     fi
61817   fi
61818
61819
61820
61821
61822
61823
61824   echo "$as_me:$LINENO: checking for log10f declaration" >&5
61825 echo $ECHO_N "checking for log10f declaration... $ECHO_C" >&6
61826   if test x${glibcxx_cv_func_log10f_use+set} != xset; then
61827     if test "${glibcxx_cv_func_log10f_use+set}" = set; then
61828   echo $ECHO_N "(cached) $ECHO_C" >&6
61829 else
61830
61831
61832
61833       ac_ext=cc
61834 ac_cpp='$CXXCPP $CPPFLAGS'
61835 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61836 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61837 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61838
61839       cat >conftest.$ac_ext <<_ACEOF
61840 /* confdefs.h.  */
61841 _ACEOF
61842 cat confdefs.h >>conftest.$ac_ext
61843 cat >>conftest.$ac_ext <<_ACEOF
61844 /* end confdefs.h.  */
61845 #include <math.h>
61846                       #ifdef HAVE_IEEEFP_H
61847                       #include <ieeefp.h>
61848                       #endif
61849
61850 int
61851 main ()
61852 {
61853  log10f(0);
61854   ;
61855   return 0;
61856 }
61857 _ACEOF
61858 rm -f conftest.$ac_objext
61859 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
61860   (eval $ac_compile) 2>conftest.er1
61861   ac_status=$?
61862   grep -v '^ *+' conftest.er1 >conftest.err
61863   rm -f conftest.er1
61864   cat conftest.err >&5
61865   echo "$as_me:$LINENO: \$? = $ac_status" >&5
61866   (exit $ac_status); } &&
61867          { ac_try='test -z "$ac_cxx_werror_flag"
61868                          || test ! -s conftest.err'
61869   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
61870   (eval $ac_try) 2>&5
61871   ac_status=$?
61872   echo "$as_me:$LINENO: \$? = $ac_status" >&5
61873   (exit $ac_status); }; } &&
61874          { ac_try='test -s conftest.$ac_objext'
61875   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
61876   (eval $ac_try) 2>&5
61877   ac_status=$?
61878   echo "$as_me:$LINENO: \$? = $ac_status" >&5
61879   (exit $ac_status); }; }; then
61880   glibcxx_cv_func_log10f_use=yes
61881 else
61882   echo "$as_me: failed program was:" >&5
61883 sed 's/^/| /' conftest.$ac_ext >&5
61884
61885 glibcxx_cv_func_log10f_use=no
61886 fi
61887 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
61888       ac_ext=c
61889 ac_cpp='$CPP $CPPFLAGS'
61890 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61891 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61892 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61893
61894
61895 fi
61896
61897   fi
61898   echo "$as_me:$LINENO: result: $glibcxx_cv_func_log10f_use" >&5
61899 echo "${ECHO_T}$glibcxx_cv_func_log10f_use" >&6
61900
61901   if test x$glibcxx_cv_func_log10f_use = x"yes"; then
61902
61903 for ac_func in log10f
61904 do
61905 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
61906 echo "$as_me:$LINENO: checking for $ac_func" >&5
61907 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
61908 if eval "test \"\${$as_ac_var+set}\" = set"; then
61909   echo $ECHO_N "(cached) $ECHO_C" >&6
61910 else
61911   if test x$gcc_no_link = xyes; then
61912   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
61913 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
61914    { (exit 1); exit 1; }; }
61915 fi
61916 cat >conftest.$ac_ext <<_ACEOF
61917 /* confdefs.h.  */
61918 _ACEOF
61919 cat confdefs.h >>conftest.$ac_ext
61920 cat >>conftest.$ac_ext <<_ACEOF
61921 /* end confdefs.h.  */
61922 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
61923    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
61924 #define $ac_func innocuous_$ac_func
61925
61926 /* System header to define __stub macros and hopefully few prototypes,
61927     which can conflict with char $ac_func (); below.
61928     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
61929     <limits.h> exists even on freestanding compilers.  */
61930
61931 #ifdef __STDC__
61932 # include <limits.h>
61933 #else
61934 # include <assert.h>
61935 #endif
61936
61937 #undef $ac_func
61938
61939 /* Override any gcc2 internal prototype to avoid an error.  */
61940 #ifdef __cplusplus
61941 extern "C"
61942 {
61943 #endif
61944 /* We use char because int might match the return type of a gcc2
61945    builtin and then its argument prototype would still apply.  */
61946 char $ac_func ();
61947 /* The GNU C library defines this for functions which it implements
61948     to always fail with ENOSYS.  Some functions are actually named
61949     something starting with __ and the normal name is an alias.  */
61950 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
61951 choke me
61952 #else
61953 char (*f) () = $ac_func;
61954 #endif
61955 #ifdef __cplusplus
61956 }
61957 #endif
61958
61959 int
61960 main ()
61961 {
61962 return f != $ac_func;
61963   ;
61964   return 0;
61965 }
61966 _ACEOF
61967 rm -f conftest.$ac_objext conftest$ac_exeext
61968 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
61969   (eval $ac_link) 2>conftest.er1
61970   ac_status=$?
61971   grep -v '^ *+' conftest.er1 >conftest.err
61972   rm -f conftest.er1
61973   cat conftest.err >&5
61974   echo "$as_me:$LINENO: \$? = $ac_status" >&5
61975   (exit $ac_status); } &&
61976          { ac_try='test -z "$ac_c_werror_flag"
61977                          || test ! -s conftest.err'
61978   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
61979   (eval $ac_try) 2>&5
61980   ac_status=$?
61981   echo "$as_me:$LINENO: \$? = $ac_status" >&5
61982   (exit $ac_status); }; } &&
61983          { ac_try='test -s conftest$ac_exeext'
61984   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
61985   (eval $ac_try) 2>&5
61986   ac_status=$?
61987   echo "$as_me:$LINENO: \$? = $ac_status" >&5
61988   (exit $ac_status); }; }; then
61989   eval "$as_ac_var=yes"
61990 else
61991   echo "$as_me: failed program was:" >&5
61992 sed 's/^/| /' conftest.$ac_ext >&5
61993
61994 eval "$as_ac_var=no"
61995 fi
61996 rm -f conftest.err conftest.$ac_objext \
61997       conftest$ac_exeext conftest.$ac_ext
61998 fi
61999 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
62000 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
62001 if test `eval echo '${'$as_ac_var'}'` = yes; then
62002   cat >>confdefs.h <<_ACEOF
62003 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
62004 _ACEOF
62005
62006 fi
62007 done
62008
62009   else
62010
62011   echo "$as_me:$LINENO: checking for _log10f declaration" >&5
62012 echo $ECHO_N "checking for _log10f declaration... $ECHO_C" >&6
62013   if test x${glibcxx_cv_func__log10f_use+set} != xset; then
62014     if test "${glibcxx_cv_func__log10f_use+set}" = set; then
62015   echo $ECHO_N "(cached) $ECHO_C" >&6
62016 else
62017
62018
62019
62020       ac_ext=cc
62021 ac_cpp='$CXXCPP $CPPFLAGS'
62022 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62023 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62024 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62025
62026       cat >conftest.$ac_ext <<_ACEOF
62027 /* confdefs.h.  */
62028 _ACEOF
62029 cat confdefs.h >>conftest.$ac_ext
62030 cat >>conftest.$ac_ext <<_ACEOF
62031 /* end confdefs.h.  */
62032 #include <math.h>
62033                       #ifdef HAVE_IEEEFP_H
62034                       #include <ieeefp.h>
62035                       #endif
62036
62037 int
62038 main ()
62039 {
62040  _log10f(0);
62041   ;
62042   return 0;
62043 }
62044 _ACEOF
62045 rm -f conftest.$ac_objext
62046 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
62047   (eval $ac_compile) 2>conftest.er1
62048   ac_status=$?
62049   grep -v '^ *+' conftest.er1 >conftest.err
62050   rm -f conftest.er1
62051   cat conftest.err >&5
62052   echo "$as_me:$LINENO: \$? = $ac_status" >&5
62053   (exit $ac_status); } &&
62054          { ac_try='test -z "$ac_cxx_werror_flag"
62055                          || test ! -s conftest.err'
62056   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
62057   (eval $ac_try) 2>&5
62058   ac_status=$?
62059   echo "$as_me:$LINENO: \$? = $ac_status" >&5
62060   (exit $ac_status); }; } &&
62061          { ac_try='test -s conftest.$ac_objext'
62062   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
62063   (eval $ac_try) 2>&5
62064   ac_status=$?
62065   echo "$as_me:$LINENO: \$? = $ac_status" >&5
62066   (exit $ac_status); }; }; then
62067   glibcxx_cv_func__log10f_use=yes
62068 else
62069   echo "$as_me: failed program was:" >&5
62070 sed 's/^/| /' conftest.$ac_ext >&5
62071
62072 glibcxx_cv_func__log10f_use=no
62073 fi
62074 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
62075       ac_ext=c
62076 ac_cpp='$CPP $CPPFLAGS'
62077 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62078 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62079 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62080
62081
62082 fi
62083
62084   fi
62085   echo "$as_me:$LINENO: result: $glibcxx_cv_func__log10f_use" >&5
62086 echo "${ECHO_T}$glibcxx_cv_func__log10f_use" >&6
62087
62088     if test x$glibcxx_cv_func__log10f_use = x"yes"; then
62089
62090 for ac_func in _log10f
62091 do
62092 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
62093 echo "$as_me:$LINENO: checking for $ac_func" >&5
62094 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
62095 if eval "test \"\${$as_ac_var+set}\" = set"; then
62096   echo $ECHO_N "(cached) $ECHO_C" >&6
62097 else
62098   if test x$gcc_no_link = xyes; then
62099   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
62100 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
62101    { (exit 1); exit 1; }; }
62102 fi
62103 cat >conftest.$ac_ext <<_ACEOF
62104 /* confdefs.h.  */
62105 _ACEOF
62106 cat confdefs.h >>conftest.$ac_ext
62107 cat >>conftest.$ac_ext <<_ACEOF
62108 /* end confdefs.h.  */
62109 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
62110    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
62111 #define $ac_func innocuous_$ac_func
62112
62113 /* System header to define __stub macros and hopefully few prototypes,
62114     which can conflict with char $ac_func (); below.
62115     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
62116     <limits.h> exists even on freestanding compilers.  */
62117
62118 #ifdef __STDC__
62119 # include <limits.h>
62120 #else
62121 # include <assert.h>
62122 #endif
62123
62124 #undef $ac_func
62125
62126 /* Override any gcc2 internal prototype to avoid an error.  */
62127 #ifdef __cplusplus
62128 extern "C"
62129 {
62130 #endif
62131 /* We use char because int might match the return type of a gcc2
62132    builtin and then its argument prototype would still apply.  */
62133 char $ac_func ();
62134 /* The GNU C library defines this for functions which it implements
62135     to always fail with ENOSYS.  Some functions are actually named
62136     something starting with __ and the normal name is an alias.  */
62137 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
62138 choke me
62139 #else
62140 char (*f) () = $ac_func;
62141 #endif
62142 #ifdef __cplusplus
62143 }
62144 #endif
62145
62146 int
62147 main ()
62148 {
62149 return f != $ac_func;
62150   ;
62151   return 0;
62152 }
62153 _ACEOF
62154 rm -f conftest.$ac_objext conftest$ac_exeext
62155 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
62156   (eval $ac_link) 2>conftest.er1
62157   ac_status=$?
62158   grep -v '^ *+' conftest.er1 >conftest.err
62159   rm -f conftest.er1
62160   cat conftest.err >&5
62161   echo "$as_me:$LINENO: \$? = $ac_status" >&5
62162   (exit $ac_status); } &&
62163          { ac_try='test -z "$ac_c_werror_flag"
62164                          || test ! -s conftest.err'
62165   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
62166   (eval $ac_try) 2>&5
62167   ac_status=$?
62168   echo "$as_me:$LINENO: \$? = $ac_status" >&5
62169   (exit $ac_status); }; } &&
62170          { ac_try='test -s conftest$ac_exeext'
62171   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
62172   (eval $ac_try) 2>&5
62173   ac_status=$?
62174   echo "$as_me:$LINENO: \$? = $ac_status" >&5
62175   (exit $ac_status); }; }; then
62176   eval "$as_ac_var=yes"
62177 else
62178   echo "$as_me: failed program was:" >&5
62179 sed 's/^/| /' conftest.$ac_ext >&5
62180
62181 eval "$as_ac_var=no"
62182 fi
62183 rm -f conftest.err conftest.$ac_objext \
62184       conftest$ac_exeext conftest.$ac_ext
62185 fi
62186 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
62187 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
62188 if test `eval echo '${'$as_ac_var'}'` = yes; then
62189   cat >>confdefs.h <<_ACEOF
62190 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
62191 _ACEOF
62192
62193 fi
62194 done
62195
62196     fi
62197   fi
62198
62199
62200
62201
62202
62203
62204   echo "$as_me:$LINENO: checking for modff declaration" >&5
62205 echo $ECHO_N "checking for modff declaration... $ECHO_C" >&6
62206   if test x${glibcxx_cv_func_modff_use+set} != xset; then
62207     if test "${glibcxx_cv_func_modff_use+set}" = set; then
62208   echo $ECHO_N "(cached) $ECHO_C" >&6
62209 else
62210
62211
62212
62213       ac_ext=cc
62214 ac_cpp='$CXXCPP $CPPFLAGS'
62215 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62216 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62217 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62218
62219       cat >conftest.$ac_ext <<_ACEOF
62220 /* confdefs.h.  */
62221 _ACEOF
62222 cat confdefs.h >>conftest.$ac_ext
62223 cat >>conftest.$ac_ext <<_ACEOF
62224 /* end confdefs.h.  */
62225 #include <math.h>
62226 int
62227 main ()
62228 {
62229  modff(0, 0);
62230   ;
62231   return 0;
62232 }
62233 _ACEOF
62234 rm -f conftest.$ac_objext
62235 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
62236   (eval $ac_compile) 2>conftest.er1
62237   ac_status=$?
62238   grep -v '^ *+' conftest.er1 >conftest.err
62239   rm -f conftest.er1
62240   cat conftest.err >&5
62241   echo "$as_me:$LINENO: \$? = $ac_status" >&5
62242   (exit $ac_status); } &&
62243          { ac_try='test -z "$ac_cxx_werror_flag"
62244                          || test ! -s conftest.err'
62245   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
62246   (eval $ac_try) 2>&5
62247   ac_status=$?
62248   echo "$as_me:$LINENO: \$? = $ac_status" >&5
62249   (exit $ac_status); }; } &&
62250          { ac_try='test -s conftest.$ac_objext'
62251   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
62252   (eval $ac_try) 2>&5
62253   ac_status=$?
62254   echo "$as_me:$LINENO: \$? = $ac_status" >&5
62255   (exit $ac_status); }; }; then
62256   glibcxx_cv_func_modff_use=yes
62257 else
62258   echo "$as_me: failed program was:" >&5
62259 sed 's/^/| /' conftest.$ac_ext >&5
62260
62261 glibcxx_cv_func_modff_use=no
62262 fi
62263 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
62264       ac_ext=c
62265 ac_cpp='$CPP $CPPFLAGS'
62266 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62267 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62268 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62269
62270
62271 fi
62272
62273   fi
62274   echo "$as_me:$LINENO: result: $glibcxx_cv_func_modff_use" >&5
62275 echo "${ECHO_T}$glibcxx_cv_func_modff_use" >&6
62276
62277   if test x$glibcxx_cv_func_modff_use = x"yes"; then
62278
62279 for ac_func in modff
62280 do
62281 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
62282 echo "$as_me:$LINENO: checking for $ac_func" >&5
62283 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
62284 if eval "test \"\${$as_ac_var+set}\" = set"; then
62285   echo $ECHO_N "(cached) $ECHO_C" >&6
62286 else
62287   if test x$gcc_no_link = xyes; then
62288   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
62289 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
62290    { (exit 1); exit 1; }; }
62291 fi
62292 cat >conftest.$ac_ext <<_ACEOF
62293 /* confdefs.h.  */
62294 _ACEOF
62295 cat confdefs.h >>conftest.$ac_ext
62296 cat >>conftest.$ac_ext <<_ACEOF
62297 /* end confdefs.h.  */
62298 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
62299    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
62300 #define $ac_func innocuous_$ac_func
62301
62302 /* System header to define __stub macros and hopefully few prototypes,
62303     which can conflict with char $ac_func (); below.
62304     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
62305     <limits.h> exists even on freestanding compilers.  */
62306
62307 #ifdef __STDC__
62308 # include <limits.h>
62309 #else
62310 # include <assert.h>
62311 #endif
62312
62313 #undef $ac_func
62314
62315 /* Override any gcc2 internal prototype to avoid an error.  */
62316 #ifdef __cplusplus
62317 extern "C"
62318 {
62319 #endif
62320 /* We use char because int might match the return type of a gcc2
62321    builtin and then its argument prototype would still apply.  */
62322 char $ac_func ();
62323 /* The GNU C library defines this for functions which it implements
62324     to always fail with ENOSYS.  Some functions are actually named
62325     something starting with __ and the normal name is an alias.  */
62326 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
62327 choke me
62328 #else
62329 char (*f) () = $ac_func;
62330 #endif
62331 #ifdef __cplusplus
62332 }
62333 #endif
62334
62335 int
62336 main ()
62337 {
62338 return f != $ac_func;
62339   ;
62340   return 0;
62341 }
62342 _ACEOF
62343 rm -f conftest.$ac_objext conftest$ac_exeext
62344 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
62345   (eval $ac_link) 2>conftest.er1
62346   ac_status=$?
62347   grep -v '^ *+' conftest.er1 >conftest.err
62348   rm -f conftest.er1
62349   cat conftest.err >&5
62350   echo "$as_me:$LINENO: \$? = $ac_status" >&5
62351   (exit $ac_status); } &&
62352          { ac_try='test -z "$ac_c_werror_flag"
62353                          || test ! -s conftest.err'
62354   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
62355   (eval $ac_try) 2>&5
62356   ac_status=$?
62357   echo "$as_me:$LINENO: \$? = $ac_status" >&5
62358   (exit $ac_status); }; } &&
62359          { ac_try='test -s conftest$ac_exeext'
62360   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
62361   (eval $ac_try) 2>&5
62362   ac_status=$?
62363   echo "$as_me:$LINENO: \$? = $ac_status" >&5
62364   (exit $ac_status); }; }; then
62365   eval "$as_ac_var=yes"
62366 else
62367   echo "$as_me: failed program was:" >&5
62368 sed 's/^/| /' conftest.$ac_ext >&5
62369
62370 eval "$as_ac_var=no"
62371 fi
62372 rm -f conftest.err conftest.$ac_objext \
62373       conftest$ac_exeext conftest.$ac_ext
62374 fi
62375 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
62376 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
62377 if test `eval echo '${'$as_ac_var'}'` = yes; then
62378   cat >>confdefs.h <<_ACEOF
62379 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
62380 _ACEOF
62381
62382 fi
62383 done
62384
62385   else
62386
62387   echo "$as_me:$LINENO: checking for _modff declaration" >&5
62388 echo $ECHO_N "checking for _modff declaration... $ECHO_C" >&6
62389   if test x${glibcxx_cv_func__modff_use+set} != xset; then
62390     if test "${glibcxx_cv_func__modff_use+set}" = set; then
62391   echo $ECHO_N "(cached) $ECHO_C" >&6
62392 else
62393
62394
62395
62396       ac_ext=cc
62397 ac_cpp='$CXXCPP $CPPFLAGS'
62398 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62399 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62400 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62401
62402       cat >conftest.$ac_ext <<_ACEOF
62403 /* confdefs.h.  */
62404 _ACEOF
62405 cat confdefs.h >>conftest.$ac_ext
62406 cat >>conftest.$ac_ext <<_ACEOF
62407 /* end confdefs.h.  */
62408 #include <math.h>
62409 int
62410 main ()
62411 {
62412  _modff(0, 0);
62413   ;
62414   return 0;
62415 }
62416 _ACEOF
62417 rm -f conftest.$ac_objext
62418 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
62419   (eval $ac_compile) 2>conftest.er1
62420   ac_status=$?
62421   grep -v '^ *+' conftest.er1 >conftest.err
62422   rm -f conftest.er1
62423   cat conftest.err >&5
62424   echo "$as_me:$LINENO: \$? = $ac_status" >&5
62425   (exit $ac_status); } &&
62426          { ac_try='test -z "$ac_cxx_werror_flag"
62427                          || test ! -s conftest.err'
62428   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
62429   (eval $ac_try) 2>&5
62430   ac_status=$?
62431   echo "$as_me:$LINENO: \$? = $ac_status" >&5
62432   (exit $ac_status); }; } &&
62433          { ac_try='test -s conftest.$ac_objext'
62434   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
62435   (eval $ac_try) 2>&5
62436   ac_status=$?
62437   echo "$as_me:$LINENO: \$? = $ac_status" >&5
62438   (exit $ac_status); }; }; then
62439   glibcxx_cv_func__modff_use=yes
62440 else
62441   echo "$as_me: failed program was:" >&5
62442 sed 's/^/| /' conftest.$ac_ext >&5
62443
62444 glibcxx_cv_func__modff_use=no
62445 fi
62446 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
62447       ac_ext=c
62448 ac_cpp='$CPP $CPPFLAGS'
62449 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62450 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62451 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62452
62453
62454 fi
62455
62456   fi
62457   echo "$as_me:$LINENO: result: $glibcxx_cv_func__modff_use" >&5
62458 echo "${ECHO_T}$glibcxx_cv_func__modff_use" >&6
62459
62460     if test x$glibcxx_cv_func__modff_use = x"yes"; then
62461
62462 for ac_func in _modff
62463 do
62464 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
62465 echo "$as_me:$LINENO: checking for $ac_func" >&5
62466 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
62467 if eval "test \"\${$as_ac_var+set}\" = set"; then
62468   echo $ECHO_N "(cached) $ECHO_C" >&6
62469 else
62470   if test x$gcc_no_link = xyes; then
62471   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
62472 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
62473    { (exit 1); exit 1; }; }
62474 fi
62475 cat >conftest.$ac_ext <<_ACEOF
62476 /* confdefs.h.  */
62477 _ACEOF
62478 cat confdefs.h >>conftest.$ac_ext
62479 cat >>conftest.$ac_ext <<_ACEOF
62480 /* end confdefs.h.  */
62481 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
62482    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
62483 #define $ac_func innocuous_$ac_func
62484
62485 /* System header to define __stub macros and hopefully few prototypes,
62486     which can conflict with char $ac_func (); below.
62487     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
62488     <limits.h> exists even on freestanding compilers.  */
62489
62490 #ifdef __STDC__
62491 # include <limits.h>
62492 #else
62493 # include <assert.h>
62494 #endif
62495
62496 #undef $ac_func
62497
62498 /* Override any gcc2 internal prototype to avoid an error.  */
62499 #ifdef __cplusplus
62500 extern "C"
62501 {
62502 #endif
62503 /* We use char because int might match the return type of a gcc2
62504    builtin and then its argument prototype would still apply.  */
62505 char $ac_func ();
62506 /* The GNU C library defines this for functions which it implements
62507     to always fail with ENOSYS.  Some functions are actually named
62508     something starting with __ and the normal name is an alias.  */
62509 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
62510 choke me
62511 #else
62512 char (*f) () = $ac_func;
62513 #endif
62514 #ifdef __cplusplus
62515 }
62516 #endif
62517
62518 int
62519 main ()
62520 {
62521 return f != $ac_func;
62522   ;
62523   return 0;
62524 }
62525 _ACEOF
62526 rm -f conftest.$ac_objext conftest$ac_exeext
62527 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
62528   (eval $ac_link) 2>conftest.er1
62529   ac_status=$?
62530   grep -v '^ *+' conftest.er1 >conftest.err
62531   rm -f conftest.er1
62532   cat conftest.err >&5
62533   echo "$as_me:$LINENO: \$? = $ac_status" >&5
62534   (exit $ac_status); } &&
62535          { ac_try='test -z "$ac_c_werror_flag"
62536                          || test ! -s conftest.err'
62537   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
62538   (eval $ac_try) 2>&5
62539   ac_status=$?
62540   echo "$as_me:$LINENO: \$? = $ac_status" >&5
62541   (exit $ac_status); }; } &&
62542          { ac_try='test -s conftest$ac_exeext'
62543   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
62544   (eval $ac_try) 2>&5
62545   ac_status=$?
62546   echo "$as_me:$LINENO: \$? = $ac_status" >&5
62547   (exit $ac_status); }; }; then
62548   eval "$as_ac_var=yes"
62549 else
62550   echo "$as_me: failed program was:" >&5
62551 sed 's/^/| /' conftest.$ac_ext >&5
62552
62553 eval "$as_ac_var=no"
62554 fi
62555 rm -f conftest.err conftest.$ac_objext \
62556       conftest$ac_exeext conftest.$ac_ext
62557 fi
62558 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
62559 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
62560 if test `eval echo '${'$as_ac_var'}'` = yes; then
62561   cat >>confdefs.h <<_ACEOF
62562 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
62563 _ACEOF
62564
62565 fi
62566 done
62567
62568     fi
62569   fi
62570
62571
62572
62573
62574
62575
62576   echo "$as_me:$LINENO: checking for modf declaration" >&5
62577 echo $ECHO_N "checking for modf declaration... $ECHO_C" >&6
62578   if test x${glibcxx_cv_func_modf_use+set} != xset; then
62579     if test "${glibcxx_cv_func_modf_use+set}" = set; then
62580   echo $ECHO_N "(cached) $ECHO_C" >&6
62581 else
62582
62583
62584
62585       ac_ext=cc
62586 ac_cpp='$CXXCPP $CPPFLAGS'
62587 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62588 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62589 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62590
62591       cat >conftest.$ac_ext <<_ACEOF
62592 /* confdefs.h.  */
62593 _ACEOF
62594 cat confdefs.h >>conftest.$ac_ext
62595 cat >>conftest.$ac_ext <<_ACEOF
62596 /* end confdefs.h.  */
62597 #include <math.h>
62598 int
62599 main ()
62600 {
62601  modf(0, 0);
62602   ;
62603   return 0;
62604 }
62605 _ACEOF
62606 rm -f conftest.$ac_objext
62607 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
62608   (eval $ac_compile) 2>conftest.er1
62609   ac_status=$?
62610   grep -v '^ *+' conftest.er1 >conftest.err
62611   rm -f conftest.er1
62612   cat conftest.err >&5
62613   echo "$as_me:$LINENO: \$? = $ac_status" >&5
62614   (exit $ac_status); } &&
62615          { ac_try='test -z "$ac_cxx_werror_flag"
62616                          || test ! -s conftest.err'
62617   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
62618   (eval $ac_try) 2>&5
62619   ac_status=$?
62620   echo "$as_me:$LINENO: \$? = $ac_status" >&5
62621   (exit $ac_status); }; } &&
62622          { ac_try='test -s conftest.$ac_objext'
62623   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
62624   (eval $ac_try) 2>&5
62625   ac_status=$?
62626   echo "$as_me:$LINENO: \$? = $ac_status" >&5
62627   (exit $ac_status); }; }; then
62628   glibcxx_cv_func_modf_use=yes
62629 else
62630   echo "$as_me: failed program was:" >&5
62631 sed 's/^/| /' conftest.$ac_ext >&5
62632
62633 glibcxx_cv_func_modf_use=no
62634 fi
62635 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
62636       ac_ext=c
62637 ac_cpp='$CPP $CPPFLAGS'
62638 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62639 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62640 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62641
62642
62643 fi
62644
62645   fi
62646   echo "$as_me:$LINENO: result: $glibcxx_cv_func_modf_use" >&5
62647 echo "${ECHO_T}$glibcxx_cv_func_modf_use" >&6
62648
62649   if test x$glibcxx_cv_func_modf_use = x"yes"; then
62650
62651 for ac_func in modf
62652 do
62653 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
62654 echo "$as_me:$LINENO: checking for $ac_func" >&5
62655 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
62656 if eval "test \"\${$as_ac_var+set}\" = set"; then
62657   echo $ECHO_N "(cached) $ECHO_C" >&6
62658 else
62659   if test x$gcc_no_link = xyes; then
62660   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
62661 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
62662    { (exit 1); exit 1; }; }
62663 fi
62664 cat >conftest.$ac_ext <<_ACEOF
62665 /* confdefs.h.  */
62666 _ACEOF
62667 cat confdefs.h >>conftest.$ac_ext
62668 cat >>conftest.$ac_ext <<_ACEOF
62669 /* end confdefs.h.  */
62670 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
62671    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
62672 #define $ac_func innocuous_$ac_func
62673
62674 /* System header to define __stub macros and hopefully few prototypes,
62675     which can conflict with char $ac_func (); below.
62676     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
62677     <limits.h> exists even on freestanding compilers.  */
62678
62679 #ifdef __STDC__
62680 # include <limits.h>
62681 #else
62682 # include <assert.h>
62683 #endif
62684
62685 #undef $ac_func
62686
62687 /* Override any gcc2 internal prototype to avoid an error.  */
62688 #ifdef __cplusplus
62689 extern "C"
62690 {
62691 #endif
62692 /* We use char because int might match the return type of a gcc2
62693    builtin and then its argument prototype would still apply.  */
62694 char $ac_func ();
62695 /* The GNU C library defines this for functions which it implements
62696     to always fail with ENOSYS.  Some functions are actually named
62697     something starting with __ and the normal name is an alias.  */
62698 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
62699 choke me
62700 #else
62701 char (*f) () = $ac_func;
62702 #endif
62703 #ifdef __cplusplus
62704 }
62705 #endif
62706
62707 int
62708 main ()
62709 {
62710 return f != $ac_func;
62711   ;
62712   return 0;
62713 }
62714 _ACEOF
62715 rm -f conftest.$ac_objext conftest$ac_exeext
62716 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
62717   (eval $ac_link) 2>conftest.er1
62718   ac_status=$?
62719   grep -v '^ *+' conftest.er1 >conftest.err
62720   rm -f conftest.er1
62721   cat conftest.err >&5
62722   echo "$as_me:$LINENO: \$? = $ac_status" >&5
62723   (exit $ac_status); } &&
62724          { ac_try='test -z "$ac_c_werror_flag"
62725                          || test ! -s conftest.err'
62726   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
62727   (eval $ac_try) 2>&5
62728   ac_status=$?
62729   echo "$as_me:$LINENO: \$? = $ac_status" >&5
62730   (exit $ac_status); }; } &&
62731          { ac_try='test -s conftest$ac_exeext'
62732   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
62733   (eval $ac_try) 2>&5
62734   ac_status=$?
62735   echo "$as_me:$LINENO: \$? = $ac_status" >&5
62736   (exit $ac_status); }; }; then
62737   eval "$as_ac_var=yes"
62738 else
62739   echo "$as_me: failed program was:" >&5
62740 sed 's/^/| /' conftest.$ac_ext >&5
62741
62742 eval "$as_ac_var=no"
62743 fi
62744 rm -f conftest.err conftest.$ac_objext \
62745       conftest$ac_exeext conftest.$ac_ext
62746 fi
62747 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
62748 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
62749 if test `eval echo '${'$as_ac_var'}'` = yes; then
62750   cat >>confdefs.h <<_ACEOF
62751 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
62752 _ACEOF
62753
62754 fi
62755 done
62756
62757   else
62758
62759   echo "$as_me:$LINENO: checking for _modf declaration" >&5
62760 echo $ECHO_N "checking for _modf declaration... $ECHO_C" >&6
62761   if test x${glibcxx_cv_func__modf_use+set} != xset; then
62762     if test "${glibcxx_cv_func__modf_use+set}" = set; then
62763   echo $ECHO_N "(cached) $ECHO_C" >&6
62764 else
62765
62766
62767
62768       ac_ext=cc
62769 ac_cpp='$CXXCPP $CPPFLAGS'
62770 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62771 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62772 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62773
62774       cat >conftest.$ac_ext <<_ACEOF
62775 /* confdefs.h.  */
62776 _ACEOF
62777 cat confdefs.h >>conftest.$ac_ext
62778 cat >>conftest.$ac_ext <<_ACEOF
62779 /* end confdefs.h.  */
62780 #include <math.h>
62781 int
62782 main ()
62783 {
62784  _modf(0, 0);
62785   ;
62786   return 0;
62787 }
62788 _ACEOF
62789 rm -f conftest.$ac_objext
62790 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
62791   (eval $ac_compile) 2>conftest.er1
62792   ac_status=$?
62793   grep -v '^ *+' conftest.er1 >conftest.err
62794   rm -f conftest.er1
62795   cat conftest.err >&5
62796   echo "$as_me:$LINENO: \$? = $ac_status" >&5
62797   (exit $ac_status); } &&
62798          { ac_try='test -z "$ac_cxx_werror_flag"
62799                          || test ! -s conftest.err'
62800   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
62801   (eval $ac_try) 2>&5
62802   ac_status=$?
62803   echo "$as_me:$LINENO: \$? = $ac_status" >&5
62804   (exit $ac_status); }; } &&
62805          { ac_try='test -s conftest.$ac_objext'
62806   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
62807   (eval $ac_try) 2>&5
62808   ac_status=$?
62809   echo "$as_me:$LINENO: \$? = $ac_status" >&5
62810   (exit $ac_status); }; }; then
62811   glibcxx_cv_func__modf_use=yes
62812 else
62813   echo "$as_me: failed program was:" >&5
62814 sed 's/^/| /' conftest.$ac_ext >&5
62815
62816 glibcxx_cv_func__modf_use=no
62817 fi
62818 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
62819       ac_ext=c
62820 ac_cpp='$CPP $CPPFLAGS'
62821 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62822 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62823 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62824
62825
62826 fi
62827
62828   fi
62829   echo "$as_me:$LINENO: result: $glibcxx_cv_func__modf_use" >&5
62830 echo "${ECHO_T}$glibcxx_cv_func__modf_use" >&6
62831
62832     if test x$glibcxx_cv_func__modf_use = x"yes"; then
62833
62834 for ac_func in _modf
62835 do
62836 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
62837 echo "$as_me:$LINENO: checking for $ac_func" >&5
62838 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
62839 if eval "test \"\${$as_ac_var+set}\" = set"; then
62840   echo $ECHO_N "(cached) $ECHO_C" >&6
62841 else
62842   if test x$gcc_no_link = xyes; then
62843   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
62844 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
62845    { (exit 1); exit 1; }; }
62846 fi
62847 cat >conftest.$ac_ext <<_ACEOF
62848 /* confdefs.h.  */
62849 _ACEOF
62850 cat confdefs.h >>conftest.$ac_ext
62851 cat >>conftest.$ac_ext <<_ACEOF
62852 /* end confdefs.h.  */
62853 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
62854    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
62855 #define $ac_func innocuous_$ac_func
62856
62857 /* System header to define __stub macros and hopefully few prototypes,
62858     which can conflict with char $ac_func (); below.
62859     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
62860     <limits.h> exists even on freestanding compilers.  */
62861
62862 #ifdef __STDC__
62863 # include <limits.h>
62864 #else
62865 # include <assert.h>
62866 #endif
62867
62868 #undef $ac_func
62869
62870 /* Override any gcc2 internal prototype to avoid an error.  */
62871 #ifdef __cplusplus
62872 extern "C"
62873 {
62874 #endif
62875 /* We use char because int might match the return type of a gcc2
62876    builtin and then its argument prototype would still apply.  */
62877 char $ac_func ();
62878 /* The GNU C library defines this for functions which it implements
62879     to always fail with ENOSYS.  Some functions are actually named
62880     something starting with __ and the normal name is an alias.  */
62881 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
62882 choke me
62883 #else
62884 char (*f) () = $ac_func;
62885 #endif
62886 #ifdef __cplusplus
62887 }
62888 #endif
62889
62890 int
62891 main ()
62892 {
62893 return f != $ac_func;
62894   ;
62895   return 0;
62896 }
62897 _ACEOF
62898 rm -f conftest.$ac_objext conftest$ac_exeext
62899 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
62900   (eval $ac_link) 2>conftest.er1
62901   ac_status=$?
62902   grep -v '^ *+' conftest.er1 >conftest.err
62903   rm -f conftest.er1
62904   cat conftest.err >&5
62905   echo "$as_me:$LINENO: \$? = $ac_status" >&5
62906   (exit $ac_status); } &&
62907          { ac_try='test -z "$ac_c_werror_flag"
62908                          || test ! -s conftest.err'
62909   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
62910   (eval $ac_try) 2>&5
62911   ac_status=$?
62912   echo "$as_me:$LINENO: \$? = $ac_status" >&5
62913   (exit $ac_status); }; } &&
62914          { ac_try='test -s conftest$ac_exeext'
62915   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
62916   (eval $ac_try) 2>&5
62917   ac_status=$?
62918   echo "$as_me:$LINENO: \$? = $ac_status" >&5
62919   (exit $ac_status); }; }; then
62920   eval "$as_ac_var=yes"
62921 else
62922   echo "$as_me: failed program was:" >&5
62923 sed 's/^/| /' conftest.$ac_ext >&5
62924
62925 eval "$as_ac_var=no"
62926 fi
62927 rm -f conftest.err conftest.$ac_objext \
62928       conftest$ac_exeext conftest.$ac_ext
62929 fi
62930 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
62931 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
62932 if test `eval echo '${'$as_ac_var'}'` = yes; then
62933   cat >>confdefs.h <<_ACEOF
62934 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
62935 _ACEOF
62936
62937 fi
62938 done
62939
62940     fi
62941   fi
62942
62943
62944
62945
62946
62947
62948   echo "$as_me:$LINENO: checking for powf declaration" >&5
62949 echo $ECHO_N "checking for powf declaration... $ECHO_C" >&6
62950   if test x${glibcxx_cv_func_powf_use+set} != xset; then
62951     if test "${glibcxx_cv_func_powf_use+set}" = set; then
62952   echo $ECHO_N "(cached) $ECHO_C" >&6
62953 else
62954
62955
62956
62957       ac_ext=cc
62958 ac_cpp='$CXXCPP $CPPFLAGS'
62959 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62960 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62961 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62962
62963       cat >conftest.$ac_ext <<_ACEOF
62964 /* confdefs.h.  */
62965 _ACEOF
62966 cat confdefs.h >>conftest.$ac_ext
62967 cat >>conftest.$ac_ext <<_ACEOF
62968 /* end confdefs.h.  */
62969 #include <math.h>
62970 int
62971 main ()
62972 {
62973  powf(0, 0);
62974   ;
62975   return 0;
62976 }
62977 _ACEOF
62978 rm -f conftest.$ac_objext
62979 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
62980   (eval $ac_compile) 2>conftest.er1
62981   ac_status=$?
62982   grep -v '^ *+' conftest.er1 >conftest.err
62983   rm -f conftest.er1
62984   cat conftest.err >&5
62985   echo "$as_me:$LINENO: \$? = $ac_status" >&5
62986   (exit $ac_status); } &&
62987          { ac_try='test -z "$ac_cxx_werror_flag"
62988                          || test ! -s conftest.err'
62989   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
62990   (eval $ac_try) 2>&5
62991   ac_status=$?
62992   echo "$as_me:$LINENO: \$? = $ac_status" >&5
62993   (exit $ac_status); }; } &&
62994          { ac_try='test -s conftest.$ac_objext'
62995   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
62996   (eval $ac_try) 2>&5
62997   ac_status=$?
62998   echo "$as_me:$LINENO: \$? = $ac_status" >&5
62999   (exit $ac_status); }; }; then
63000   glibcxx_cv_func_powf_use=yes
63001 else
63002   echo "$as_me: failed program was:" >&5
63003 sed 's/^/| /' conftest.$ac_ext >&5
63004
63005 glibcxx_cv_func_powf_use=no
63006 fi
63007 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
63008       ac_ext=c
63009 ac_cpp='$CPP $CPPFLAGS'
63010 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63011 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63012 ac_compiler_gnu=$ac_cv_c_compiler_gnu
63013
63014
63015 fi
63016
63017   fi
63018   echo "$as_me:$LINENO: result: $glibcxx_cv_func_powf_use" >&5
63019 echo "${ECHO_T}$glibcxx_cv_func_powf_use" >&6
63020
63021   if test x$glibcxx_cv_func_powf_use = x"yes"; then
63022
63023 for ac_func in powf
63024 do
63025 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
63026 echo "$as_me:$LINENO: checking for $ac_func" >&5
63027 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
63028 if eval "test \"\${$as_ac_var+set}\" = set"; then
63029   echo $ECHO_N "(cached) $ECHO_C" >&6
63030 else
63031   if test x$gcc_no_link = xyes; then
63032   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
63033 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
63034    { (exit 1); exit 1; }; }
63035 fi
63036 cat >conftest.$ac_ext <<_ACEOF
63037 /* confdefs.h.  */
63038 _ACEOF
63039 cat confdefs.h >>conftest.$ac_ext
63040 cat >>conftest.$ac_ext <<_ACEOF
63041 /* end confdefs.h.  */
63042 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
63043    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
63044 #define $ac_func innocuous_$ac_func
63045
63046 /* System header to define __stub macros and hopefully few prototypes,
63047     which can conflict with char $ac_func (); below.
63048     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
63049     <limits.h> exists even on freestanding compilers.  */
63050
63051 #ifdef __STDC__
63052 # include <limits.h>
63053 #else
63054 # include <assert.h>
63055 #endif
63056
63057 #undef $ac_func
63058
63059 /* Override any gcc2 internal prototype to avoid an error.  */
63060 #ifdef __cplusplus
63061 extern "C"
63062 {
63063 #endif
63064 /* We use char because int might match the return type of a gcc2
63065    builtin and then its argument prototype would still apply.  */
63066 char $ac_func ();
63067 /* The GNU C library defines this for functions which it implements
63068     to always fail with ENOSYS.  Some functions are actually named
63069     something starting with __ and the normal name is an alias.  */
63070 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
63071 choke me
63072 #else
63073 char (*f) () = $ac_func;
63074 #endif
63075 #ifdef __cplusplus
63076 }
63077 #endif
63078
63079 int
63080 main ()
63081 {
63082 return f != $ac_func;
63083   ;
63084   return 0;
63085 }
63086 _ACEOF
63087 rm -f conftest.$ac_objext conftest$ac_exeext
63088 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
63089   (eval $ac_link) 2>conftest.er1
63090   ac_status=$?
63091   grep -v '^ *+' conftest.er1 >conftest.err
63092   rm -f conftest.er1
63093   cat conftest.err >&5
63094   echo "$as_me:$LINENO: \$? = $ac_status" >&5
63095   (exit $ac_status); } &&
63096          { ac_try='test -z "$ac_c_werror_flag"
63097                          || test ! -s conftest.err'
63098   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
63099   (eval $ac_try) 2>&5
63100   ac_status=$?
63101   echo "$as_me:$LINENO: \$? = $ac_status" >&5
63102   (exit $ac_status); }; } &&
63103          { ac_try='test -s conftest$ac_exeext'
63104   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
63105   (eval $ac_try) 2>&5
63106   ac_status=$?
63107   echo "$as_me:$LINENO: \$? = $ac_status" >&5
63108   (exit $ac_status); }; }; then
63109   eval "$as_ac_var=yes"
63110 else
63111   echo "$as_me: failed program was:" >&5
63112 sed 's/^/| /' conftest.$ac_ext >&5
63113
63114 eval "$as_ac_var=no"
63115 fi
63116 rm -f conftest.err conftest.$ac_objext \
63117       conftest$ac_exeext conftest.$ac_ext
63118 fi
63119 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
63120 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
63121 if test `eval echo '${'$as_ac_var'}'` = yes; then
63122   cat >>confdefs.h <<_ACEOF
63123 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
63124 _ACEOF
63125
63126 fi
63127 done
63128
63129   else
63130
63131   echo "$as_me:$LINENO: checking for _powf declaration" >&5
63132 echo $ECHO_N "checking for _powf declaration... $ECHO_C" >&6
63133   if test x${glibcxx_cv_func__powf_use+set} != xset; then
63134     if test "${glibcxx_cv_func__powf_use+set}" = set; then
63135   echo $ECHO_N "(cached) $ECHO_C" >&6
63136 else
63137
63138
63139
63140       ac_ext=cc
63141 ac_cpp='$CXXCPP $CPPFLAGS'
63142 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63143 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63144 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63145
63146       cat >conftest.$ac_ext <<_ACEOF
63147 /* confdefs.h.  */
63148 _ACEOF
63149 cat confdefs.h >>conftest.$ac_ext
63150 cat >>conftest.$ac_ext <<_ACEOF
63151 /* end confdefs.h.  */
63152 #include <math.h>
63153 int
63154 main ()
63155 {
63156  _powf(0, 0);
63157   ;
63158   return 0;
63159 }
63160 _ACEOF
63161 rm -f conftest.$ac_objext
63162 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
63163   (eval $ac_compile) 2>conftest.er1
63164   ac_status=$?
63165   grep -v '^ *+' conftest.er1 >conftest.err
63166   rm -f conftest.er1
63167   cat conftest.err >&5
63168   echo "$as_me:$LINENO: \$? = $ac_status" >&5
63169   (exit $ac_status); } &&
63170          { ac_try='test -z "$ac_cxx_werror_flag"
63171                          || test ! -s conftest.err'
63172   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
63173   (eval $ac_try) 2>&5
63174   ac_status=$?
63175   echo "$as_me:$LINENO: \$? = $ac_status" >&5
63176   (exit $ac_status); }; } &&
63177          { ac_try='test -s conftest.$ac_objext'
63178   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
63179   (eval $ac_try) 2>&5
63180   ac_status=$?
63181   echo "$as_me:$LINENO: \$? = $ac_status" >&5
63182   (exit $ac_status); }; }; then
63183   glibcxx_cv_func__powf_use=yes
63184 else
63185   echo "$as_me: failed program was:" >&5
63186 sed 's/^/| /' conftest.$ac_ext >&5
63187
63188 glibcxx_cv_func__powf_use=no
63189 fi
63190 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
63191       ac_ext=c
63192 ac_cpp='$CPP $CPPFLAGS'
63193 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63194 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63195 ac_compiler_gnu=$ac_cv_c_compiler_gnu
63196
63197
63198 fi
63199
63200   fi
63201   echo "$as_me:$LINENO: result: $glibcxx_cv_func__powf_use" >&5
63202 echo "${ECHO_T}$glibcxx_cv_func__powf_use" >&6
63203
63204     if test x$glibcxx_cv_func__powf_use = x"yes"; then
63205
63206 for ac_func in _powf
63207 do
63208 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
63209 echo "$as_me:$LINENO: checking for $ac_func" >&5
63210 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
63211 if eval "test \"\${$as_ac_var+set}\" = set"; then
63212   echo $ECHO_N "(cached) $ECHO_C" >&6
63213 else
63214   if test x$gcc_no_link = xyes; then
63215   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
63216 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
63217    { (exit 1); exit 1; }; }
63218 fi
63219 cat >conftest.$ac_ext <<_ACEOF
63220 /* confdefs.h.  */
63221 _ACEOF
63222 cat confdefs.h >>conftest.$ac_ext
63223 cat >>conftest.$ac_ext <<_ACEOF
63224 /* end confdefs.h.  */
63225 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
63226    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
63227 #define $ac_func innocuous_$ac_func
63228
63229 /* System header to define __stub macros and hopefully few prototypes,
63230     which can conflict with char $ac_func (); below.
63231     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
63232     <limits.h> exists even on freestanding compilers.  */
63233
63234 #ifdef __STDC__
63235 # include <limits.h>
63236 #else
63237 # include <assert.h>
63238 #endif
63239
63240 #undef $ac_func
63241
63242 /* Override any gcc2 internal prototype to avoid an error.  */
63243 #ifdef __cplusplus
63244 extern "C"
63245 {
63246 #endif
63247 /* We use char because int might match the return type of a gcc2
63248    builtin and then its argument prototype would still apply.  */
63249 char $ac_func ();
63250 /* The GNU C library defines this for functions which it implements
63251     to always fail with ENOSYS.  Some functions are actually named
63252     something starting with __ and the normal name is an alias.  */
63253 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
63254 choke me
63255 #else
63256 char (*f) () = $ac_func;
63257 #endif
63258 #ifdef __cplusplus
63259 }
63260 #endif
63261
63262 int
63263 main ()
63264 {
63265 return f != $ac_func;
63266   ;
63267   return 0;
63268 }
63269 _ACEOF
63270 rm -f conftest.$ac_objext conftest$ac_exeext
63271 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
63272   (eval $ac_link) 2>conftest.er1
63273   ac_status=$?
63274   grep -v '^ *+' conftest.er1 >conftest.err
63275   rm -f conftest.er1
63276   cat conftest.err >&5
63277   echo "$as_me:$LINENO: \$? = $ac_status" >&5
63278   (exit $ac_status); } &&
63279          { ac_try='test -z "$ac_c_werror_flag"
63280                          || test ! -s conftest.err'
63281   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
63282   (eval $ac_try) 2>&5
63283   ac_status=$?
63284   echo "$as_me:$LINENO: \$? = $ac_status" >&5
63285   (exit $ac_status); }; } &&
63286          { ac_try='test -s conftest$ac_exeext'
63287   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
63288   (eval $ac_try) 2>&5
63289   ac_status=$?
63290   echo "$as_me:$LINENO: \$? = $ac_status" >&5
63291   (exit $ac_status); }; }; then
63292   eval "$as_ac_var=yes"
63293 else
63294   echo "$as_me: failed program was:" >&5
63295 sed 's/^/| /' conftest.$ac_ext >&5
63296
63297 eval "$as_ac_var=no"
63298 fi
63299 rm -f conftest.err conftest.$ac_objext \
63300       conftest$ac_exeext conftest.$ac_ext
63301 fi
63302 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
63303 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
63304 if test `eval echo '${'$as_ac_var'}'` = yes; then
63305   cat >>confdefs.h <<_ACEOF
63306 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
63307 _ACEOF
63308
63309 fi
63310 done
63311
63312     fi
63313   fi
63314
63315
63316
63317
63318
63319
63320   echo "$as_me:$LINENO: checking for sqrtf declaration" >&5
63321 echo $ECHO_N "checking for sqrtf declaration... $ECHO_C" >&6
63322   if test x${glibcxx_cv_func_sqrtf_use+set} != xset; then
63323     if test "${glibcxx_cv_func_sqrtf_use+set}" = set; then
63324   echo $ECHO_N "(cached) $ECHO_C" >&6
63325 else
63326
63327
63328
63329       ac_ext=cc
63330 ac_cpp='$CXXCPP $CPPFLAGS'
63331 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63332 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63333 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63334
63335       cat >conftest.$ac_ext <<_ACEOF
63336 /* confdefs.h.  */
63337 _ACEOF
63338 cat confdefs.h >>conftest.$ac_ext
63339 cat >>conftest.$ac_ext <<_ACEOF
63340 /* end confdefs.h.  */
63341 #include <math.h>
63342                       #ifdef HAVE_IEEEFP_H
63343                       #include <ieeefp.h>
63344                       #endif
63345
63346 int
63347 main ()
63348 {
63349  sqrtf(0);
63350   ;
63351   return 0;
63352 }
63353 _ACEOF
63354 rm -f conftest.$ac_objext
63355 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
63356   (eval $ac_compile) 2>conftest.er1
63357   ac_status=$?
63358   grep -v '^ *+' conftest.er1 >conftest.err
63359   rm -f conftest.er1
63360   cat conftest.err >&5
63361   echo "$as_me:$LINENO: \$? = $ac_status" >&5
63362   (exit $ac_status); } &&
63363          { ac_try='test -z "$ac_cxx_werror_flag"
63364                          || test ! -s conftest.err'
63365   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
63366   (eval $ac_try) 2>&5
63367   ac_status=$?
63368   echo "$as_me:$LINENO: \$? = $ac_status" >&5
63369   (exit $ac_status); }; } &&
63370          { ac_try='test -s conftest.$ac_objext'
63371   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
63372   (eval $ac_try) 2>&5
63373   ac_status=$?
63374   echo "$as_me:$LINENO: \$? = $ac_status" >&5
63375   (exit $ac_status); }; }; then
63376   glibcxx_cv_func_sqrtf_use=yes
63377 else
63378   echo "$as_me: failed program was:" >&5
63379 sed 's/^/| /' conftest.$ac_ext >&5
63380
63381 glibcxx_cv_func_sqrtf_use=no
63382 fi
63383 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
63384       ac_ext=c
63385 ac_cpp='$CPP $CPPFLAGS'
63386 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63387 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63388 ac_compiler_gnu=$ac_cv_c_compiler_gnu
63389
63390
63391 fi
63392
63393   fi
63394   echo "$as_me:$LINENO: result: $glibcxx_cv_func_sqrtf_use" >&5
63395 echo "${ECHO_T}$glibcxx_cv_func_sqrtf_use" >&6
63396
63397   if test x$glibcxx_cv_func_sqrtf_use = x"yes"; then
63398
63399 for ac_func in sqrtf
63400 do
63401 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
63402 echo "$as_me:$LINENO: checking for $ac_func" >&5
63403 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
63404 if eval "test \"\${$as_ac_var+set}\" = set"; then
63405   echo $ECHO_N "(cached) $ECHO_C" >&6
63406 else
63407   if test x$gcc_no_link = xyes; then
63408   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
63409 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
63410    { (exit 1); exit 1; }; }
63411 fi
63412 cat >conftest.$ac_ext <<_ACEOF
63413 /* confdefs.h.  */
63414 _ACEOF
63415 cat confdefs.h >>conftest.$ac_ext
63416 cat >>conftest.$ac_ext <<_ACEOF
63417 /* end confdefs.h.  */
63418 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
63419    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
63420 #define $ac_func innocuous_$ac_func
63421
63422 /* System header to define __stub macros and hopefully few prototypes,
63423     which can conflict with char $ac_func (); below.
63424     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
63425     <limits.h> exists even on freestanding compilers.  */
63426
63427 #ifdef __STDC__
63428 # include <limits.h>
63429 #else
63430 # include <assert.h>
63431 #endif
63432
63433 #undef $ac_func
63434
63435 /* Override any gcc2 internal prototype to avoid an error.  */
63436 #ifdef __cplusplus
63437 extern "C"
63438 {
63439 #endif
63440 /* We use char because int might match the return type of a gcc2
63441    builtin and then its argument prototype would still apply.  */
63442 char $ac_func ();
63443 /* The GNU C library defines this for functions which it implements
63444     to always fail with ENOSYS.  Some functions are actually named
63445     something starting with __ and the normal name is an alias.  */
63446 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
63447 choke me
63448 #else
63449 char (*f) () = $ac_func;
63450 #endif
63451 #ifdef __cplusplus
63452 }
63453 #endif
63454
63455 int
63456 main ()
63457 {
63458 return f != $ac_func;
63459   ;
63460   return 0;
63461 }
63462 _ACEOF
63463 rm -f conftest.$ac_objext conftest$ac_exeext
63464 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
63465   (eval $ac_link) 2>conftest.er1
63466   ac_status=$?
63467   grep -v '^ *+' conftest.er1 >conftest.err
63468   rm -f conftest.er1
63469   cat conftest.err >&5
63470   echo "$as_me:$LINENO: \$? = $ac_status" >&5
63471   (exit $ac_status); } &&
63472          { ac_try='test -z "$ac_c_werror_flag"
63473                          || test ! -s conftest.err'
63474   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
63475   (eval $ac_try) 2>&5
63476   ac_status=$?
63477   echo "$as_me:$LINENO: \$? = $ac_status" >&5
63478   (exit $ac_status); }; } &&
63479          { ac_try='test -s conftest$ac_exeext'
63480   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
63481   (eval $ac_try) 2>&5
63482   ac_status=$?
63483   echo "$as_me:$LINENO: \$? = $ac_status" >&5
63484   (exit $ac_status); }; }; then
63485   eval "$as_ac_var=yes"
63486 else
63487   echo "$as_me: failed program was:" >&5
63488 sed 's/^/| /' conftest.$ac_ext >&5
63489
63490 eval "$as_ac_var=no"
63491 fi
63492 rm -f conftest.err conftest.$ac_objext \
63493       conftest$ac_exeext conftest.$ac_ext
63494 fi
63495 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
63496 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
63497 if test `eval echo '${'$as_ac_var'}'` = yes; then
63498   cat >>confdefs.h <<_ACEOF
63499 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
63500 _ACEOF
63501
63502 fi
63503 done
63504
63505   else
63506
63507   echo "$as_me:$LINENO: checking for _sqrtf declaration" >&5
63508 echo $ECHO_N "checking for _sqrtf declaration... $ECHO_C" >&6
63509   if test x${glibcxx_cv_func__sqrtf_use+set} != xset; then
63510     if test "${glibcxx_cv_func__sqrtf_use+set}" = set; then
63511   echo $ECHO_N "(cached) $ECHO_C" >&6
63512 else
63513
63514
63515
63516       ac_ext=cc
63517 ac_cpp='$CXXCPP $CPPFLAGS'
63518 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63519 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63520 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63521
63522       cat >conftest.$ac_ext <<_ACEOF
63523 /* confdefs.h.  */
63524 _ACEOF
63525 cat confdefs.h >>conftest.$ac_ext
63526 cat >>conftest.$ac_ext <<_ACEOF
63527 /* end confdefs.h.  */
63528 #include <math.h>
63529                       #ifdef HAVE_IEEEFP_H
63530                       #include <ieeefp.h>
63531                       #endif
63532
63533 int
63534 main ()
63535 {
63536  _sqrtf(0);
63537   ;
63538   return 0;
63539 }
63540 _ACEOF
63541 rm -f conftest.$ac_objext
63542 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
63543   (eval $ac_compile) 2>conftest.er1
63544   ac_status=$?
63545   grep -v '^ *+' conftest.er1 >conftest.err
63546   rm -f conftest.er1
63547   cat conftest.err >&5
63548   echo "$as_me:$LINENO: \$? = $ac_status" >&5
63549   (exit $ac_status); } &&
63550          { ac_try='test -z "$ac_cxx_werror_flag"
63551                          || test ! -s conftest.err'
63552   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
63553   (eval $ac_try) 2>&5
63554   ac_status=$?
63555   echo "$as_me:$LINENO: \$? = $ac_status" >&5
63556   (exit $ac_status); }; } &&
63557          { ac_try='test -s conftest.$ac_objext'
63558   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
63559   (eval $ac_try) 2>&5
63560   ac_status=$?
63561   echo "$as_me:$LINENO: \$? = $ac_status" >&5
63562   (exit $ac_status); }; }; then
63563   glibcxx_cv_func__sqrtf_use=yes
63564 else
63565   echo "$as_me: failed program was:" >&5
63566 sed 's/^/| /' conftest.$ac_ext >&5
63567
63568 glibcxx_cv_func__sqrtf_use=no
63569 fi
63570 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
63571       ac_ext=c
63572 ac_cpp='$CPP $CPPFLAGS'
63573 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63574 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63575 ac_compiler_gnu=$ac_cv_c_compiler_gnu
63576
63577
63578 fi
63579
63580   fi
63581   echo "$as_me:$LINENO: result: $glibcxx_cv_func__sqrtf_use" >&5
63582 echo "${ECHO_T}$glibcxx_cv_func__sqrtf_use" >&6
63583
63584     if test x$glibcxx_cv_func__sqrtf_use = x"yes"; then
63585
63586 for ac_func in _sqrtf
63587 do
63588 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
63589 echo "$as_me:$LINENO: checking for $ac_func" >&5
63590 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
63591 if eval "test \"\${$as_ac_var+set}\" = set"; then
63592   echo $ECHO_N "(cached) $ECHO_C" >&6
63593 else
63594   if test x$gcc_no_link = xyes; then
63595   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
63596 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
63597    { (exit 1); exit 1; }; }
63598 fi
63599 cat >conftest.$ac_ext <<_ACEOF
63600 /* confdefs.h.  */
63601 _ACEOF
63602 cat confdefs.h >>conftest.$ac_ext
63603 cat >>conftest.$ac_ext <<_ACEOF
63604 /* end confdefs.h.  */
63605 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
63606    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
63607 #define $ac_func innocuous_$ac_func
63608
63609 /* System header to define __stub macros and hopefully few prototypes,
63610     which can conflict with char $ac_func (); below.
63611     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
63612     <limits.h> exists even on freestanding compilers.  */
63613
63614 #ifdef __STDC__
63615 # include <limits.h>
63616 #else
63617 # include <assert.h>
63618 #endif
63619
63620 #undef $ac_func
63621
63622 /* Override any gcc2 internal prototype to avoid an error.  */
63623 #ifdef __cplusplus
63624 extern "C"
63625 {
63626 #endif
63627 /* We use char because int might match the return type of a gcc2
63628    builtin and then its argument prototype would still apply.  */
63629 char $ac_func ();
63630 /* The GNU C library defines this for functions which it implements
63631     to always fail with ENOSYS.  Some functions are actually named
63632     something starting with __ and the normal name is an alias.  */
63633 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
63634 choke me
63635 #else
63636 char (*f) () = $ac_func;
63637 #endif
63638 #ifdef __cplusplus
63639 }
63640 #endif
63641
63642 int
63643 main ()
63644 {
63645 return f != $ac_func;
63646   ;
63647   return 0;
63648 }
63649 _ACEOF
63650 rm -f conftest.$ac_objext conftest$ac_exeext
63651 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
63652   (eval $ac_link) 2>conftest.er1
63653   ac_status=$?
63654   grep -v '^ *+' conftest.er1 >conftest.err
63655   rm -f conftest.er1
63656   cat conftest.err >&5
63657   echo "$as_me:$LINENO: \$? = $ac_status" >&5
63658   (exit $ac_status); } &&
63659          { ac_try='test -z "$ac_c_werror_flag"
63660                          || test ! -s conftest.err'
63661   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
63662   (eval $ac_try) 2>&5
63663   ac_status=$?
63664   echo "$as_me:$LINENO: \$? = $ac_status" >&5
63665   (exit $ac_status); }; } &&
63666          { ac_try='test -s conftest$ac_exeext'
63667   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
63668   (eval $ac_try) 2>&5
63669   ac_status=$?
63670   echo "$as_me:$LINENO: \$? = $ac_status" >&5
63671   (exit $ac_status); }; }; then
63672   eval "$as_ac_var=yes"
63673 else
63674   echo "$as_me: failed program was:" >&5
63675 sed 's/^/| /' conftest.$ac_ext >&5
63676
63677 eval "$as_ac_var=no"
63678 fi
63679 rm -f conftest.err conftest.$ac_objext \
63680       conftest$ac_exeext conftest.$ac_ext
63681 fi
63682 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
63683 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
63684 if test `eval echo '${'$as_ac_var'}'` = yes; then
63685   cat >>confdefs.h <<_ACEOF
63686 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
63687 _ACEOF
63688
63689 fi
63690 done
63691
63692     fi
63693   fi
63694
63695
63696
63697
63698
63699
63700   echo "$as_me:$LINENO: checking for sincosf declaration" >&5
63701 echo $ECHO_N "checking for sincosf declaration... $ECHO_C" >&6
63702   if test x${glibcxx_cv_func_sincosf_use+set} != xset; then
63703     if test "${glibcxx_cv_func_sincosf_use+set}" = set; then
63704   echo $ECHO_N "(cached) $ECHO_C" >&6
63705 else
63706
63707
63708
63709       ac_ext=cc
63710 ac_cpp='$CXXCPP $CPPFLAGS'
63711 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63712 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63713 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63714
63715       cat >conftest.$ac_ext <<_ACEOF
63716 /* confdefs.h.  */
63717 _ACEOF
63718 cat confdefs.h >>conftest.$ac_ext
63719 cat >>conftest.$ac_ext <<_ACEOF
63720 /* end confdefs.h.  */
63721 #include <math.h>
63722 int
63723 main ()
63724 {
63725  sincosf(0, 0, 0);
63726   ;
63727   return 0;
63728 }
63729 _ACEOF
63730 rm -f conftest.$ac_objext
63731 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
63732   (eval $ac_compile) 2>conftest.er1
63733   ac_status=$?
63734   grep -v '^ *+' conftest.er1 >conftest.err
63735   rm -f conftest.er1
63736   cat conftest.err >&5
63737   echo "$as_me:$LINENO: \$? = $ac_status" >&5
63738   (exit $ac_status); } &&
63739          { ac_try='test -z "$ac_cxx_werror_flag"
63740                          || test ! -s conftest.err'
63741   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
63742   (eval $ac_try) 2>&5
63743   ac_status=$?
63744   echo "$as_me:$LINENO: \$? = $ac_status" >&5
63745   (exit $ac_status); }; } &&
63746          { ac_try='test -s conftest.$ac_objext'
63747   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
63748   (eval $ac_try) 2>&5
63749   ac_status=$?
63750   echo "$as_me:$LINENO: \$? = $ac_status" >&5
63751   (exit $ac_status); }; }; then
63752   glibcxx_cv_func_sincosf_use=yes
63753 else
63754   echo "$as_me: failed program was:" >&5
63755 sed 's/^/| /' conftest.$ac_ext >&5
63756
63757 glibcxx_cv_func_sincosf_use=no
63758 fi
63759 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
63760       ac_ext=c
63761 ac_cpp='$CPP $CPPFLAGS'
63762 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63763 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63764 ac_compiler_gnu=$ac_cv_c_compiler_gnu
63765
63766
63767 fi
63768
63769   fi
63770   echo "$as_me:$LINENO: result: $glibcxx_cv_func_sincosf_use" >&5
63771 echo "${ECHO_T}$glibcxx_cv_func_sincosf_use" >&6
63772
63773   if test x$glibcxx_cv_func_sincosf_use = x"yes"; then
63774
63775 for ac_func in sincosf
63776 do
63777 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
63778 echo "$as_me:$LINENO: checking for $ac_func" >&5
63779 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
63780 if eval "test \"\${$as_ac_var+set}\" = set"; then
63781   echo $ECHO_N "(cached) $ECHO_C" >&6
63782 else
63783   if test x$gcc_no_link = xyes; then
63784   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
63785 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
63786    { (exit 1); exit 1; }; }
63787 fi
63788 cat >conftest.$ac_ext <<_ACEOF
63789 /* confdefs.h.  */
63790 _ACEOF
63791 cat confdefs.h >>conftest.$ac_ext
63792 cat >>conftest.$ac_ext <<_ACEOF
63793 /* end confdefs.h.  */
63794 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
63795    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
63796 #define $ac_func innocuous_$ac_func
63797
63798 /* System header to define __stub macros and hopefully few prototypes,
63799     which can conflict with char $ac_func (); below.
63800     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
63801     <limits.h> exists even on freestanding compilers.  */
63802
63803 #ifdef __STDC__
63804 # include <limits.h>
63805 #else
63806 # include <assert.h>
63807 #endif
63808
63809 #undef $ac_func
63810
63811 /* Override any gcc2 internal prototype to avoid an error.  */
63812 #ifdef __cplusplus
63813 extern "C"
63814 {
63815 #endif
63816 /* We use char because int might match the return type of a gcc2
63817    builtin and then its argument prototype would still apply.  */
63818 char $ac_func ();
63819 /* The GNU C library defines this for functions which it implements
63820     to always fail with ENOSYS.  Some functions are actually named
63821     something starting with __ and the normal name is an alias.  */
63822 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
63823 choke me
63824 #else
63825 char (*f) () = $ac_func;
63826 #endif
63827 #ifdef __cplusplus
63828 }
63829 #endif
63830
63831 int
63832 main ()
63833 {
63834 return f != $ac_func;
63835   ;
63836   return 0;
63837 }
63838 _ACEOF
63839 rm -f conftest.$ac_objext conftest$ac_exeext
63840 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
63841   (eval $ac_link) 2>conftest.er1
63842   ac_status=$?
63843   grep -v '^ *+' conftest.er1 >conftest.err
63844   rm -f conftest.er1
63845   cat conftest.err >&5
63846   echo "$as_me:$LINENO: \$? = $ac_status" >&5
63847   (exit $ac_status); } &&
63848          { ac_try='test -z "$ac_c_werror_flag"
63849                          || test ! -s conftest.err'
63850   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
63851   (eval $ac_try) 2>&5
63852   ac_status=$?
63853   echo "$as_me:$LINENO: \$? = $ac_status" >&5
63854   (exit $ac_status); }; } &&
63855          { ac_try='test -s conftest$ac_exeext'
63856   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
63857   (eval $ac_try) 2>&5
63858   ac_status=$?
63859   echo "$as_me:$LINENO: \$? = $ac_status" >&5
63860   (exit $ac_status); }; }; then
63861   eval "$as_ac_var=yes"
63862 else
63863   echo "$as_me: failed program was:" >&5
63864 sed 's/^/| /' conftest.$ac_ext >&5
63865
63866 eval "$as_ac_var=no"
63867 fi
63868 rm -f conftest.err conftest.$ac_objext \
63869       conftest$ac_exeext conftest.$ac_ext
63870 fi
63871 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
63872 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
63873 if test `eval echo '${'$as_ac_var'}'` = yes; then
63874   cat >>confdefs.h <<_ACEOF
63875 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
63876 _ACEOF
63877
63878 fi
63879 done
63880
63881   else
63882
63883   echo "$as_me:$LINENO: checking for _sincosf declaration" >&5
63884 echo $ECHO_N "checking for _sincosf declaration... $ECHO_C" >&6
63885   if test x${glibcxx_cv_func__sincosf_use+set} != xset; then
63886     if test "${glibcxx_cv_func__sincosf_use+set}" = set; then
63887   echo $ECHO_N "(cached) $ECHO_C" >&6
63888 else
63889
63890
63891
63892       ac_ext=cc
63893 ac_cpp='$CXXCPP $CPPFLAGS'
63894 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63895 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63896 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63897
63898       cat >conftest.$ac_ext <<_ACEOF
63899 /* confdefs.h.  */
63900 _ACEOF
63901 cat confdefs.h >>conftest.$ac_ext
63902 cat >>conftest.$ac_ext <<_ACEOF
63903 /* end confdefs.h.  */
63904 #include <math.h>
63905 int
63906 main ()
63907 {
63908  _sincosf(0, 0, 0);
63909   ;
63910   return 0;
63911 }
63912 _ACEOF
63913 rm -f conftest.$ac_objext
63914 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
63915   (eval $ac_compile) 2>conftest.er1
63916   ac_status=$?
63917   grep -v '^ *+' conftest.er1 >conftest.err
63918   rm -f conftest.er1
63919   cat conftest.err >&5
63920   echo "$as_me:$LINENO: \$? = $ac_status" >&5
63921   (exit $ac_status); } &&
63922          { ac_try='test -z "$ac_cxx_werror_flag"
63923                          || test ! -s conftest.err'
63924   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
63925   (eval $ac_try) 2>&5
63926   ac_status=$?
63927   echo "$as_me:$LINENO: \$? = $ac_status" >&5
63928   (exit $ac_status); }; } &&
63929          { ac_try='test -s conftest.$ac_objext'
63930   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
63931   (eval $ac_try) 2>&5
63932   ac_status=$?
63933   echo "$as_me:$LINENO: \$? = $ac_status" >&5
63934   (exit $ac_status); }; }; then
63935   glibcxx_cv_func__sincosf_use=yes
63936 else
63937   echo "$as_me: failed program was:" >&5
63938 sed 's/^/| /' conftest.$ac_ext >&5
63939
63940 glibcxx_cv_func__sincosf_use=no
63941 fi
63942 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
63943       ac_ext=c
63944 ac_cpp='$CPP $CPPFLAGS'
63945 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63946 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63947 ac_compiler_gnu=$ac_cv_c_compiler_gnu
63948
63949
63950 fi
63951
63952   fi
63953   echo "$as_me:$LINENO: result: $glibcxx_cv_func__sincosf_use" >&5
63954 echo "${ECHO_T}$glibcxx_cv_func__sincosf_use" >&6
63955
63956     if test x$glibcxx_cv_func__sincosf_use = x"yes"; then
63957
63958 for ac_func in _sincosf
63959 do
63960 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
63961 echo "$as_me:$LINENO: checking for $ac_func" >&5
63962 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
63963 if eval "test \"\${$as_ac_var+set}\" = set"; then
63964   echo $ECHO_N "(cached) $ECHO_C" >&6
63965 else
63966   if test x$gcc_no_link = xyes; then
63967   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
63968 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
63969    { (exit 1); exit 1; }; }
63970 fi
63971 cat >conftest.$ac_ext <<_ACEOF
63972 /* confdefs.h.  */
63973 _ACEOF
63974 cat confdefs.h >>conftest.$ac_ext
63975 cat >>conftest.$ac_ext <<_ACEOF
63976 /* end confdefs.h.  */
63977 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
63978    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
63979 #define $ac_func innocuous_$ac_func
63980
63981 /* System header to define __stub macros and hopefully few prototypes,
63982     which can conflict with char $ac_func (); below.
63983     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
63984     <limits.h> exists even on freestanding compilers.  */
63985
63986 #ifdef __STDC__
63987 # include <limits.h>
63988 #else
63989 # include <assert.h>
63990 #endif
63991
63992 #undef $ac_func
63993
63994 /* Override any gcc2 internal prototype to avoid an error.  */
63995 #ifdef __cplusplus
63996 extern "C"
63997 {
63998 #endif
63999 /* We use char because int might match the return type of a gcc2
64000    builtin and then its argument prototype would still apply.  */
64001 char $ac_func ();
64002 /* The GNU C library defines this for functions which it implements
64003     to always fail with ENOSYS.  Some functions are actually named
64004     something starting with __ and the normal name is an alias.  */
64005 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
64006 choke me
64007 #else
64008 char (*f) () = $ac_func;
64009 #endif
64010 #ifdef __cplusplus
64011 }
64012 #endif
64013
64014 int
64015 main ()
64016 {
64017 return f != $ac_func;
64018   ;
64019   return 0;
64020 }
64021 _ACEOF
64022 rm -f conftest.$ac_objext conftest$ac_exeext
64023 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
64024   (eval $ac_link) 2>conftest.er1
64025   ac_status=$?
64026   grep -v '^ *+' conftest.er1 >conftest.err
64027   rm -f conftest.er1
64028   cat conftest.err >&5
64029   echo "$as_me:$LINENO: \$? = $ac_status" >&5
64030   (exit $ac_status); } &&
64031          { ac_try='test -z "$ac_c_werror_flag"
64032                          || test ! -s conftest.err'
64033   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
64034   (eval $ac_try) 2>&5
64035   ac_status=$?
64036   echo "$as_me:$LINENO: \$? = $ac_status" >&5
64037   (exit $ac_status); }; } &&
64038          { ac_try='test -s conftest$ac_exeext'
64039   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
64040   (eval $ac_try) 2>&5
64041   ac_status=$?
64042   echo "$as_me:$LINENO: \$? = $ac_status" >&5
64043   (exit $ac_status); }; }; then
64044   eval "$as_ac_var=yes"
64045 else
64046   echo "$as_me: failed program was:" >&5
64047 sed 's/^/| /' conftest.$ac_ext >&5
64048
64049 eval "$as_ac_var=no"
64050 fi
64051 rm -f conftest.err conftest.$ac_objext \
64052       conftest$ac_exeext conftest.$ac_ext
64053 fi
64054 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
64055 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
64056 if test `eval echo '${'$as_ac_var'}'` = yes; then
64057   cat >>confdefs.h <<_ACEOF
64058 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
64059 _ACEOF
64060
64061 fi
64062 done
64063
64064     fi
64065   fi
64066
64067
64068
64069
64070
64071
64072   echo "$as_me:$LINENO: checking for finitef declaration" >&5
64073 echo $ECHO_N "checking for finitef declaration... $ECHO_C" >&6
64074   if test x${glibcxx_cv_func_finitef_use+set} != xset; then
64075     if test "${glibcxx_cv_func_finitef_use+set}" = set; then
64076   echo $ECHO_N "(cached) $ECHO_C" >&6
64077 else
64078
64079
64080
64081       ac_ext=cc
64082 ac_cpp='$CXXCPP $CPPFLAGS'
64083 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64084 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64085 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
64086
64087       cat >conftest.$ac_ext <<_ACEOF
64088 /* confdefs.h.  */
64089 _ACEOF
64090 cat confdefs.h >>conftest.$ac_ext
64091 cat >>conftest.$ac_ext <<_ACEOF
64092 /* end confdefs.h.  */
64093 #include <math.h>
64094                       #ifdef HAVE_IEEEFP_H
64095                       #include <ieeefp.h>
64096                       #endif
64097
64098 int
64099 main ()
64100 {
64101  finitef(0);
64102   ;
64103   return 0;
64104 }
64105 _ACEOF
64106 rm -f conftest.$ac_objext
64107 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
64108   (eval $ac_compile) 2>conftest.er1
64109   ac_status=$?
64110   grep -v '^ *+' conftest.er1 >conftest.err
64111   rm -f conftest.er1
64112   cat conftest.err >&5
64113   echo "$as_me:$LINENO: \$? = $ac_status" >&5
64114   (exit $ac_status); } &&
64115          { ac_try='test -z "$ac_cxx_werror_flag"
64116                          || test ! -s conftest.err'
64117   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
64118   (eval $ac_try) 2>&5
64119   ac_status=$?
64120   echo "$as_me:$LINENO: \$? = $ac_status" >&5
64121   (exit $ac_status); }; } &&
64122          { ac_try='test -s conftest.$ac_objext'
64123   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
64124   (eval $ac_try) 2>&5
64125   ac_status=$?
64126   echo "$as_me:$LINENO: \$? = $ac_status" >&5
64127   (exit $ac_status); }; }; then
64128   glibcxx_cv_func_finitef_use=yes
64129 else
64130   echo "$as_me: failed program was:" >&5
64131 sed 's/^/| /' conftest.$ac_ext >&5
64132
64133 glibcxx_cv_func_finitef_use=no
64134 fi
64135 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
64136       ac_ext=c
64137 ac_cpp='$CPP $CPPFLAGS'
64138 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64139 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64140 ac_compiler_gnu=$ac_cv_c_compiler_gnu
64141
64142
64143 fi
64144
64145   fi
64146   echo "$as_me:$LINENO: result: $glibcxx_cv_func_finitef_use" >&5
64147 echo "${ECHO_T}$glibcxx_cv_func_finitef_use" >&6
64148
64149   if test x$glibcxx_cv_func_finitef_use = x"yes"; then
64150
64151 for ac_func in finitef
64152 do
64153 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
64154 echo "$as_me:$LINENO: checking for $ac_func" >&5
64155 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
64156 if eval "test \"\${$as_ac_var+set}\" = set"; then
64157   echo $ECHO_N "(cached) $ECHO_C" >&6
64158 else
64159   if test x$gcc_no_link = xyes; then
64160   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
64161 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
64162    { (exit 1); exit 1; }; }
64163 fi
64164 cat >conftest.$ac_ext <<_ACEOF
64165 /* confdefs.h.  */
64166 _ACEOF
64167 cat confdefs.h >>conftest.$ac_ext
64168 cat >>conftest.$ac_ext <<_ACEOF
64169 /* end confdefs.h.  */
64170 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
64171    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
64172 #define $ac_func innocuous_$ac_func
64173
64174 /* System header to define __stub macros and hopefully few prototypes,
64175     which can conflict with char $ac_func (); below.
64176     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
64177     <limits.h> exists even on freestanding compilers.  */
64178
64179 #ifdef __STDC__
64180 # include <limits.h>
64181 #else
64182 # include <assert.h>
64183 #endif
64184
64185 #undef $ac_func
64186
64187 /* Override any gcc2 internal prototype to avoid an error.  */
64188 #ifdef __cplusplus
64189 extern "C"
64190 {
64191 #endif
64192 /* We use char because int might match the return type of a gcc2
64193    builtin and then its argument prototype would still apply.  */
64194 char $ac_func ();
64195 /* The GNU C library defines this for functions which it implements
64196     to always fail with ENOSYS.  Some functions are actually named
64197     something starting with __ and the normal name is an alias.  */
64198 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
64199 choke me
64200 #else
64201 char (*f) () = $ac_func;
64202 #endif
64203 #ifdef __cplusplus
64204 }
64205 #endif
64206
64207 int
64208 main ()
64209 {
64210 return f != $ac_func;
64211   ;
64212   return 0;
64213 }
64214 _ACEOF
64215 rm -f conftest.$ac_objext conftest$ac_exeext
64216 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
64217   (eval $ac_link) 2>conftest.er1
64218   ac_status=$?
64219   grep -v '^ *+' conftest.er1 >conftest.err
64220   rm -f conftest.er1
64221   cat conftest.err >&5
64222   echo "$as_me:$LINENO: \$? = $ac_status" >&5
64223   (exit $ac_status); } &&
64224          { ac_try='test -z "$ac_c_werror_flag"
64225                          || test ! -s conftest.err'
64226   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
64227   (eval $ac_try) 2>&5
64228   ac_status=$?
64229   echo "$as_me:$LINENO: \$? = $ac_status" >&5
64230   (exit $ac_status); }; } &&
64231          { ac_try='test -s conftest$ac_exeext'
64232   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
64233   (eval $ac_try) 2>&5
64234   ac_status=$?
64235   echo "$as_me:$LINENO: \$? = $ac_status" >&5
64236   (exit $ac_status); }; }; then
64237   eval "$as_ac_var=yes"
64238 else
64239   echo "$as_me: failed program was:" >&5
64240 sed 's/^/| /' conftest.$ac_ext >&5
64241
64242 eval "$as_ac_var=no"
64243 fi
64244 rm -f conftest.err conftest.$ac_objext \
64245       conftest$ac_exeext conftest.$ac_ext
64246 fi
64247 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
64248 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
64249 if test `eval echo '${'$as_ac_var'}'` = yes; then
64250   cat >>confdefs.h <<_ACEOF
64251 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
64252 _ACEOF
64253
64254 fi
64255 done
64256
64257   else
64258
64259   echo "$as_me:$LINENO: checking for _finitef declaration" >&5
64260 echo $ECHO_N "checking for _finitef declaration... $ECHO_C" >&6
64261   if test x${glibcxx_cv_func__finitef_use+set} != xset; then
64262     if test "${glibcxx_cv_func__finitef_use+set}" = set; then
64263   echo $ECHO_N "(cached) $ECHO_C" >&6
64264 else
64265
64266
64267
64268       ac_ext=cc
64269 ac_cpp='$CXXCPP $CPPFLAGS'
64270 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64271 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64272 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
64273
64274       cat >conftest.$ac_ext <<_ACEOF
64275 /* confdefs.h.  */
64276 _ACEOF
64277 cat confdefs.h >>conftest.$ac_ext
64278 cat >>conftest.$ac_ext <<_ACEOF
64279 /* end confdefs.h.  */
64280 #include <math.h>
64281                       #ifdef HAVE_IEEEFP_H
64282                       #include <ieeefp.h>
64283                       #endif
64284
64285 int
64286 main ()
64287 {
64288  _finitef(0);
64289   ;
64290   return 0;
64291 }
64292 _ACEOF
64293 rm -f conftest.$ac_objext
64294 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
64295   (eval $ac_compile) 2>conftest.er1
64296   ac_status=$?
64297   grep -v '^ *+' conftest.er1 >conftest.err
64298   rm -f conftest.er1
64299   cat conftest.err >&5
64300   echo "$as_me:$LINENO: \$? = $ac_status" >&5
64301   (exit $ac_status); } &&
64302          { ac_try='test -z "$ac_cxx_werror_flag"
64303                          || test ! -s conftest.err'
64304   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
64305   (eval $ac_try) 2>&5
64306   ac_status=$?
64307   echo "$as_me:$LINENO: \$? = $ac_status" >&5
64308   (exit $ac_status); }; } &&
64309          { ac_try='test -s conftest.$ac_objext'
64310   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
64311   (eval $ac_try) 2>&5
64312   ac_status=$?
64313   echo "$as_me:$LINENO: \$? = $ac_status" >&5
64314   (exit $ac_status); }; }; then
64315   glibcxx_cv_func__finitef_use=yes
64316 else
64317   echo "$as_me: failed program was:" >&5
64318 sed 's/^/| /' conftest.$ac_ext >&5
64319
64320 glibcxx_cv_func__finitef_use=no
64321 fi
64322 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
64323       ac_ext=c
64324 ac_cpp='$CPP $CPPFLAGS'
64325 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64326 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64327 ac_compiler_gnu=$ac_cv_c_compiler_gnu
64328
64329
64330 fi
64331
64332   fi
64333   echo "$as_me:$LINENO: result: $glibcxx_cv_func__finitef_use" >&5
64334 echo "${ECHO_T}$glibcxx_cv_func__finitef_use" >&6
64335
64336     if test x$glibcxx_cv_func__finitef_use = x"yes"; then
64337
64338 for ac_func in _finitef
64339 do
64340 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
64341 echo "$as_me:$LINENO: checking for $ac_func" >&5
64342 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
64343 if eval "test \"\${$as_ac_var+set}\" = set"; then
64344   echo $ECHO_N "(cached) $ECHO_C" >&6
64345 else
64346   if test x$gcc_no_link = xyes; then
64347   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
64348 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
64349    { (exit 1); exit 1; }; }
64350 fi
64351 cat >conftest.$ac_ext <<_ACEOF
64352 /* confdefs.h.  */
64353 _ACEOF
64354 cat confdefs.h >>conftest.$ac_ext
64355 cat >>conftest.$ac_ext <<_ACEOF
64356 /* end confdefs.h.  */
64357 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
64358    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
64359 #define $ac_func innocuous_$ac_func
64360
64361 /* System header to define __stub macros and hopefully few prototypes,
64362     which can conflict with char $ac_func (); below.
64363     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
64364     <limits.h> exists even on freestanding compilers.  */
64365
64366 #ifdef __STDC__
64367 # include <limits.h>
64368 #else
64369 # include <assert.h>
64370 #endif
64371
64372 #undef $ac_func
64373
64374 /* Override any gcc2 internal prototype to avoid an error.  */
64375 #ifdef __cplusplus
64376 extern "C"
64377 {
64378 #endif
64379 /* We use char because int might match the return type of a gcc2
64380    builtin and then its argument prototype would still apply.  */
64381 char $ac_func ();
64382 /* The GNU C library defines this for functions which it implements
64383     to always fail with ENOSYS.  Some functions are actually named
64384     something starting with __ and the normal name is an alias.  */
64385 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
64386 choke me
64387 #else
64388 char (*f) () = $ac_func;
64389 #endif
64390 #ifdef __cplusplus
64391 }
64392 #endif
64393
64394 int
64395 main ()
64396 {
64397 return f != $ac_func;
64398   ;
64399   return 0;
64400 }
64401 _ACEOF
64402 rm -f conftest.$ac_objext conftest$ac_exeext
64403 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
64404   (eval $ac_link) 2>conftest.er1
64405   ac_status=$?
64406   grep -v '^ *+' conftest.er1 >conftest.err
64407   rm -f conftest.er1
64408   cat conftest.err >&5
64409   echo "$as_me:$LINENO: \$? = $ac_status" >&5
64410   (exit $ac_status); } &&
64411          { ac_try='test -z "$ac_c_werror_flag"
64412                          || test ! -s conftest.err'
64413   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
64414   (eval $ac_try) 2>&5
64415   ac_status=$?
64416   echo "$as_me:$LINENO: \$? = $ac_status" >&5
64417   (exit $ac_status); }; } &&
64418          { ac_try='test -s conftest$ac_exeext'
64419   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
64420   (eval $ac_try) 2>&5
64421   ac_status=$?
64422   echo "$as_me:$LINENO: \$? = $ac_status" >&5
64423   (exit $ac_status); }; }; then
64424   eval "$as_ac_var=yes"
64425 else
64426   echo "$as_me: failed program was:" >&5
64427 sed 's/^/| /' conftest.$ac_ext >&5
64428
64429 eval "$as_ac_var=no"
64430 fi
64431 rm -f conftest.err conftest.$ac_objext \
64432       conftest$ac_exeext conftest.$ac_ext
64433 fi
64434 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
64435 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
64436 if test `eval echo '${'$as_ac_var'}'` = yes; then
64437   cat >>confdefs.h <<_ACEOF
64438 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
64439 _ACEOF
64440
64441 fi
64442 done
64443
64444     fi
64445   fi
64446
64447
64448
64449
64450
64451
64452     echo "$as_me:$LINENO: checking for long double trig functions" >&5
64453 echo $ECHO_N "checking for long double trig functions... $ECHO_C" >&6
64454   if test "${glibcxx_cv_func_long_double_trig_use+set}" = set; then
64455   echo $ECHO_N "(cached) $ECHO_C" >&6
64456 else
64457
64458
64459
64460     ac_ext=cc
64461 ac_cpp='$CXXCPP $CPPFLAGS'
64462 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64463 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64464 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
64465
64466     cat >conftest.$ac_ext <<_ACEOF
64467 /* confdefs.h.  */
64468 _ACEOF
64469 cat confdefs.h >>conftest.$ac_ext
64470 cat >>conftest.$ac_ext <<_ACEOF
64471 /* end confdefs.h.  */
64472 #include <math.h>
64473 int
64474 main ()
64475 {
64476 acosl (0); asinl (0); atanl (0); cosl (0); sinl (0); tanl (0); coshl (0); sinhl (0); tanhl (0);
64477   ;
64478   return 0;
64479 }
64480 _ACEOF
64481 rm -f conftest.$ac_objext
64482 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
64483   (eval $ac_compile) 2>conftest.er1
64484   ac_status=$?
64485   grep -v '^ *+' conftest.er1 >conftest.err
64486   rm -f conftest.er1
64487   cat conftest.err >&5
64488   echo "$as_me:$LINENO: \$? = $ac_status" >&5
64489   (exit $ac_status); } &&
64490          { ac_try='test -z "$ac_cxx_werror_flag"
64491                          || test ! -s conftest.err'
64492   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
64493   (eval $ac_try) 2>&5
64494   ac_status=$?
64495   echo "$as_me:$LINENO: \$? = $ac_status" >&5
64496   (exit $ac_status); }; } &&
64497          { ac_try='test -s conftest.$ac_objext'
64498   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
64499   (eval $ac_try) 2>&5
64500   ac_status=$?
64501   echo "$as_me:$LINENO: \$? = $ac_status" >&5
64502   (exit $ac_status); }; }; then
64503   glibcxx_cv_func_long_double_trig_use=yes
64504 else
64505   echo "$as_me: failed program was:" >&5
64506 sed 's/^/| /' conftest.$ac_ext >&5
64507
64508 glibcxx_cv_func_long_double_trig_use=no
64509 fi
64510 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
64511     ac_ext=c
64512 ac_cpp='$CPP $CPPFLAGS'
64513 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64514 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64515 ac_compiler_gnu=$ac_cv_c_compiler_gnu
64516
64517 fi
64518
64519   echo "$as_me:$LINENO: result: $glibcxx_cv_func_long_double_trig_use" >&5
64520 echo "${ECHO_T}$glibcxx_cv_func_long_double_trig_use" >&6
64521   if test x$glibcxx_cv_func_long_double_trig_use = x"yes"; then
64522
64523
64524
64525
64526
64527
64528
64529
64530
64531 for ac_func in acosl asinl atanl cosl sinl tanl coshl sinhl tanhl
64532 do
64533 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
64534 echo "$as_me:$LINENO: checking for $ac_func" >&5
64535 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
64536 if eval "test \"\${$as_ac_var+set}\" = set"; then
64537   echo $ECHO_N "(cached) $ECHO_C" >&6
64538 else
64539   if test x$gcc_no_link = xyes; then
64540   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
64541 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
64542    { (exit 1); exit 1; }; }
64543 fi
64544 cat >conftest.$ac_ext <<_ACEOF
64545 /* confdefs.h.  */
64546 _ACEOF
64547 cat confdefs.h >>conftest.$ac_ext
64548 cat >>conftest.$ac_ext <<_ACEOF
64549 /* end confdefs.h.  */
64550 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
64551    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
64552 #define $ac_func innocuous_$ac_func
64553
64554 /* System header to define __stub macros and hopefully few prototypes,
64555     which can conflict with char $ac_func (); below.
64556     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
64557     <limits.h> exists even on freestanding compilers.  */
64558
64559 #ifdef __STDC__
64560 # include <limits.h>
64561 #else
64562 # include <assert.h>
64563 #endif
64564
64565 #undef $ac_func
64566
64567 /* Override any gcc2 internal prototype to avoid an error.  */
64568 #ifdef __cplusplus
64569 extern "C"
64570 {
64571 #endif
64572 /* We use char because int might match the return type of a gcc2
64573    builtin and then its argument prototype would still apply.  */
64574 char $ac_func ();
64575 /* The GNU C library defines this for functions which it implements
64576     to always fail with ENOSYS.  Some functions are actually named
64577     something starting with __ and the normal name is an alias.  */
64578 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
64579 choke me
64580 #else
64581 char (*f) () = $ac_func;
64582 #endif
64583 #ifdef __cplusplus
64584 }
64585 #endif
64586
64587 int
64588 main ()
64589 {
64590 return f != $ac_func;
64591   ;
64592   return 0;
64593 }
64594 _ACEOF
64595 rm -f conftest.$ac_objext conftest$ac_exeext
64596 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
64597   (eval $ac_link) 2>conftest.er1
64598   ac_status=$?
64599   grep -v '^ *+' conftest.er1 >conftest.err
64600   rm -f conftest.er1
64601   cat conftest.err >&5
64602   echo "$as_me:$LINENO: \$? = $ac_status" >&5
64603   (exit $ac_status); } &&
64604          { ac_try='test -z "$ac_c_werror_flag"
64605                          || test ! -s conftest.err'
64606   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
64607   (eval $ac_try) 2>&5
64608   ac_status=$?
64609   echo "$as_me:$LINENO: \$? = $ac_status" >&5
64610   (exit $ac_status); }; } &&
64611          { ac_try='test -s conftest$ac_exeext'
64612   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
64613   (eval $ac_try) 2>&5
64614   ac_status=$?
64615   echo "$as_me:$LINENO: \$? = $ac_status" >&5
64616   (exit $ac_status); }; }; then
64617   eval "$as_ac_var=yes"
64618 else
64619   echo "$as_me: failed program was:" >&5
64620 sed 's/^/| /' conftest.$ac_ext >&5
64621
64622 eval "$as_ac_var=no"
64623 fi
64624 rm -f conftest.err conftest.$ac_objext \
64625       conftest$ac_exeext conftest.$ac_ext
64626 fi
64627 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
64628 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
64629 if test `eval echo '${'$as_ac_var'}'` = yes; then
64630   cat >>confdefs.h <<_ACEOF
64631 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
64632 _ACEOF
64633
64634 fi
64635 done
64636
64637   else
64638     echo "$as_me:$LINENO: checking for _long double trig functions" >&5
64639 echo $ECHO_N "checking for _long double trig functions... $ECHO_C" >&6
64640     if test "${glibcxx_cv_func__long_double_trig_use+set}" = set; then
64641   echo $ECHO_N "(cached) $ECHO_C" >&6
64642 else
64643
64644
64645
64646       ac_ext=cc
64647 ac_cpp='$CXXCPP $CPPFLAGS'
64648 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64649 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64650 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
64651
64652       cat >conftest.$ac_ext <<_ACEOF
64653 /* confdefs.h.  */
64654 _ACEOF
64655 cat confdefs.h >>conftest.$ac_ext
64656 cat >>conftest.$ac_ext <<_ACEOF
64657 /* end confdefs.h.  */
64658 #include <math.h>
64659 int
64660 main ()
64661 {
64662 _acosl (0); _asinl (0); _atanl (0); _cosl (0); _sinl (0); _tanl (0); _coshl (0); _sinhl (0); _tanhl (0);
64663   ;
64664   return 0;
64665 }
64666 _ACEOF
64667 rm -f conftest.$ac_objext
64668 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
64669   (eval $ac_compile) 2>conftest.er1
64670   ac_status=$?
64671   grep -v '^ *+' conftest.er1 >conftest.err
64672   rm -f conftest.er1
64673   cat conftest.err >&5
64674   echo "$as_me:$LINENO: \$? = $ac_status" >&5
64675   (exit $ac_status); } &&
64676          { ac_try='test -z "$ac_cxx_werror_flag"
64677                          || test ! -s conftest.err'
64678   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
64679   (eval $ac_try) 2>&5
64680   ac_status=$?
64681   echo "$as_me:$LINENO: \$? = $ac_status" >&5
64682   (exit $ac_status); }; } &&
64683          { ac_try='test -s conftest.$ac_objext'
64684   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
64685   (eval $ac_try) 2>&5
64686   ac_status=$?
64687   echo "$as_me:$LINENO: \$? = $ac_status" >&5
64688   (exit $ac_status); }; }; then
64689   glibcxx_cv_func__long_double_trig_use=yes
64690 else
64691   echo "$as_me: failed program was:" >&5
64692 sed 's/^/| /' conftest.$ac_ext >&5
64693
64694 glibcxx_cv_func__long_double_trig_use=no
64695 fi
64696 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
64697       ac_ext=c
64698 ac_cpp='$CPP $CPPFLAGS'
64699 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64700 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64701 ac_compiler_gnu=$ac_cv_c_compiler_gnu
64702
64703 fi
64704
64705     echo "$as_me:$LINENO: result: $glibcxx_cv_func__long_double_trig_use" >&5
64706 echo "${ECHO_T}$glibcxx_cv_func__long_double_trig_use" >&6
64707     if test x$glibcxx_cv_func__long_double_trig_use = x"yes"; then
64708
64709
64710
64711
64712
64713
64714
64715
64716
64717 for ac_func in _acosl _asinl _atanl _cosl _sinl _tanl _coshl _sinhl _tanhl
64718 do
64719 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
64720 echo "$as_me:$LINENO: checking for $ac_func" >&5
64721 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
64722 if eval "test \"\${$as_ac_var+set}\" = set"; then
64723   echo $ECHO_N "(cached) $ECHO_C" >&6
64724 else
64725   if test x$gcc_no_link = xyes; then
64726   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
64727 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
64728    { (exit 1); exit 1; }; }
64729 fi
64730 cat >conftest.$ac_ext <<_ACEOF
64731 /* confdefs.h.  */
64732 _ACEOF
64733 cat confdefs.h >>conftest.$ac_ext
64734 cat >>conftest.$ac_ext <<_ACEOF
64735 /* end confdefs.h.  */
64736 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
64737    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
64738 #define $ac_func innocuous_$ac_func
64739
64740 /* System header to define __stub macros and hopefully few prototypes,
64741     which can conflict with char $ac_func (); below.
64742     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
64743     <limits.h> exists even on freestanding compilers.  */
64744
64745 #ifdef __STDC__
64746 # include <limits.h>
64747 #else
64748 # include <assert.h>
64749 #endif
64750
64751 #undef $ac_func
64752
64753 /* Override any gcc2 internal prototype to avoid an error.  */
64754 #ifdef __cplusplus
64755 extern "C"
64756 {
64757 #endif
64758 /* We use char because int might match the return type of a gcc2
64759    builtin and then its argument prototype would still apply.  */
64760 char $ac_func ();
64761 /* The GNU C library defines this for functions which it implements
64762     to always fail with ENOSYS.  Some functions are actually named
64763     something starting with __ and the normal name is an alias.  */
64764 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
64765 choke me
64766 #else
64767 char (*f) () = $ac_func;
64768 #endif
64769 #ifdef __cplusplus
64770 }
64771 #endif
64772
64773 int
64774 main ()
64775 {
64776 return f != $ac_func;
64777   ;
64778   return 0;
64779 }
64780 _ACEOF
64781 rm -f conftest.$ac_objext conftest$ac_exeext
64782 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
64783   (eval $ac_link) 2>conftest.er1
64784   ac_status=$?
64785   grep -v '^ *+' conftest.er1 >conftest.err
64786   rm -f conftest.er1
64787   cat conftest.err >&5
64788   echo "$as_me:$LINENO: \$? = $ac_status" >&5
64789   (exit $ac_status); } &&
64790          { ac_try='test -z "$ac_c_werror_flag"
64791                          || test ! -s conftest.err'
64792   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
64793   (eval $ac_try) 2>&5
64794   ac_status=$?
64795   echo "$as_me:$LINENO: \$? = $ac_status" >&5
64796   (exit $ac_status); }; } &&
64797          { ac_try='test -s conftest$ac_exeext'
64798   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
64799   (eval $ac_try) 2>&5
64800   ac_status=$?
64801   echo "$as_me:$LINENO: \$? = $ac_status" >&5
64802   (exit $ac_status); }; }; then
64803   eval "$as_ac_var=yes"
64804 else
64805   echo "$as_me: failed program was:" >&5
64806 sed 's/^/| /' conftest.$ac_ext >&5
64807
64808 eval "$as_ac_var=no"
64809 fi
64810 rm -f conftest.err conftest.$ac_objext \
64811       conftest$ac_exeext conftest.$ac_ext
64812 fi
64813 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
64814 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
64815 if test `eval echo '${'$as_ac_var'}'` = yes; then
64816   cat >>confdefs.h <<_ACEOF
64817 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
64818 _ACEOF
64819
64820 fi
64821 done
64822
64823     fi
64824   fi
64825
64826
64827
64828
64829
64830
64831
64832
64833
64834
64835
64836
64837
64838
64839     echo "$as_me:$LINENO: checking for long double round functions" >&5
64840 echo $ECHO_N "checking for long double round functions... $ECHO_C" >&6
64841   if test "${glibcxx_cv_func_long_double_round_use+set}" = set; then
64842   echo $ECHO_N "(cached) $ECHO_C" >&6
64843 else
64844
64845
64846
64847     ac_ext=cc
64848 ac_cpp='$CXXCPP $CPPFLAGS'
64849 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64850 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64851 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
64852
64853     cat >conftest.$ac_ext <<_ACEOF
64854 /* confdefs.h.  */
64855 _ACEOF
64856 cat confdefs.h >>conftest.$ac_ext
64857 cat >>conftest.$ac_ext <<_ACEOF
64858 /* end confdefs.h.  */
64859 #include <math.h>
64860 int
64861 main ()
64862 {
64863 ceill (0); floorl (0);
64864   ;
64865   return 0;
64866 }
64867 _ACEOF
64868 rm -f conftest.$ac_objext
64869 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
64870   (eval $ac_compile) 2>conftest.er1
64871   ac_status=$?
64872   grep -v '^ *+' conftest.er1 >conftest.err
64873   rm -f conftest.er1
64874   cat conftest.err >&5
64875   echo "$as_me:$LINENO: \$? = $ac_status" >&5
64876   (exit $ac_status); } &&
64877          { ac_try='test -z "$ac_cxx_werror_flag"
64878                          || test ! -s conftest.err'
64879   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
64880   (eval $ac_try) 2>&5
64881   ac_status=$?
64882   echo "$as_me:$LINENO: \$? = $ac_status" >&5
64883   (exit $ac_status); }; } &&
64884          { ac_try='test -s conftest.$ac_objext'
64885   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
64886   (eval $ac_try) 2>&5
64887   ac_status=$?
64888   echo "$as_me:$LINENO: \$? = $ac_status" >&5
64889   (exit $ac_status); }; }; then
64890   glibcxx_cv_func_long_double_round_use=yes
64891 else
64892   echo "$as_me: failed program was:" >&5
64893 sed 's/^/| /' conftest.$ac_ext >&5
64894
64895 glibcxx_cv_func_long_double_round_use=no
64896 fi
64897 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
64898     ac_ext=c
64899 ac_cpp='$CPP $CPPFLAGS'
64900 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64901 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64902 ac_compiler_gnu=$ac_cv_c_compiler_gnu
64903
64904 fi
64905
64906   echo "$as_me:$LINENO: result: $glibcxx_cv_func_long_double_round_use" >&5
64907 echo "${ECHO_T}$glibcxx_cv_func_long_double_round_use" >&6
64908   if test x$glibcxx_cv_func_long_double_round_use = x"yes"; then
64909
64910
64911 for ac_func in ceill floorl
64912 do
64913 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
64914 echo "$as_me:$LINENO: checking for $ac_func" >&5
64915 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
64916 if eval "test \"\${$as_ac_var+set}\" = set"; then
64917   echo $ECHO_N "(cached) $ECHO_C" >&6
64918 else
64919   if test x$gcc_no_link = xyes; then
64920   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
64921 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
64922    { (exit 1); exit 1; }; }
64923 fi
64924 cat >conftest.$ac_ext <<_ACEOF
64925 /* confdefs.h.  */
64926 _ACEOF
64927 cat confdefs.h >>conftest.$ac_ext
64928 cat >>conftest.$ac_ext <<_ACEOF
64929 /* end confdefs.h.  */
64930 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
64931    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
64932 #define $ac_func innocuous_$ac_func
64933
64934 /* System header to define __stub macros and hopefully few prototypes,
64935     which can conflict with char $ac_func (); below.
64936     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
64937     <limits.h> exists even on freestanding compilers.  */
64938
64939 #ifdef __STDC__
64940 # include <limits.h>
64941 #else
64942 # include <assert.h>
64943 #endif
64944
64945 #undef $ac_func
64946
64947 /* Override any gcc2 internal prototype to avoid an error.  */
64948 #ifdef __cplusplus
64949 extern "C"
64950 {
64951 #endif
64952 /* We use char because int might match the return type of a gcc2
64953    builtin and then its argument prototype would still apply.  */
64954 char $ac_func ();
64955 /* The GNU C library defines this for functions which it implements
64956     to always fail with ENOSYS.  Some functions are actually named
64957     something starting with __ and the normal name is an alias.  */
64958 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
64959 choke me
64960 #else
64961 char (*f) () = $ac_func;
64962 #endif
64963 #ifdef __cplusplus
64964 }
64965 #endif
64966
64967 int
64968 main ()
64969 {
64970 return f != $ac_func;
64971   ;
64972   return 0;
64973 }
64974 _ACEOF
64975 rm -f conftest.$ac_objext conftest$ac_exeext
64976 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
64977   (eval $ac_link) 2>conftest.er1
64978   ac_status=$?
64979   grep -v '^ *+' conftest.er1 >conftest.err
64980   rm -f conftest.er1
64981   cat conftest.err >&5
64982   echo "$as_me:$LINENO: \$? = $ac_status" >&5
64983   (exit $ac_status); } &&
64984          { ac_try='test -z "$ac_c_werror_flag"
64985                          || test ! -s conftest.err'
64986   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
64987   (eval $ac_try) 2>&5
64988   ac_status=$?
64989   echo "$as_me:$LINENO: \$? = $ac_status" >&5
64990   (exit $ac_status); }; } &&
64991          { ac_try='test -s conftest$ac_exeext'
64992   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
64993   (eval $ac_try) 2>&5
64994   ac_status=$?
64995   echo "$as_me:$LINENO: \$? = $ac_status" >&5
64996   (exit $ac_status); }; }; then
64997   eval "$as_ac_var=yes"
64998 else
64999   echo "$as_me: failed program was:" >&5
65000 sed 's/^/| /' conftest.$ac_ext >&5
65001
65002 eval "$as_ac_var=no"
65003 fi
65004 rm -f conftest.err conftest.$ac_objext \
65005       conftest$ac_exeext conftest.$ac_ext
65006 fi
65007 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
65008 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
65009 if test `eval echo '${'$as_ac_var'}'` = yes; then
65010   cat >>confdefs.h <<_ACEOF
65011 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
65012 _ACEOF
65013
65014 fi
65015 done
65016
65017   else
65018     echo "$as_me:$LINENO: checking for _long double round functions" >&5
65019 echo $ECHO_N "checking for _long double round functions... $ECHO_C" >&6
65020     if test "${glibcxx_cv_func__long_double_round_use+set}" = set; then
65021   echo $ECHO_N "(cached) $ECHO_C" >&6
65022 else
65023
65024
65025
65026       ac_ext=cc
65027 ac_cpp='$CXXCPP $CPPFLAGS'
65028 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65029 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65030 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
65031
65032       cat >conftest.$ac_ext <<_ACEOF
65033 /* confdefs.h.  */
65034 _ACEOF
65035 cat confdefs.h >>conftest.$ac_ext
65036 cat >>conftest.$ac_ext <<_ACEOF
65037 /* end confdefs.h.  */
65038 #include <math.h>
65039 int
65040 main ()
65041 {
65042 _ceill (0); _floorl (0);
65043   ;
65044   return 0;
65045 }
65046 _ACEOF
65047 rm -f conftest.$ac_objext
65048 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
65049   (eval $ac_compile) 2>conftest.er1
65050   ac_status=$?
65051   grep -v '^ *+' conftest.er1 >conftest.err
65052   rm -f conftest.er1
65053   cat conftest.err >&5
65054   echo "$as_me:$LINENO: \$? = $ac_status" >&5
65055   (exit $ac_status); } &&
65056          { ac_try='test -z "$ac_cxx_werror_flag"
65057                          || test ! -s conftest.err'
65058   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
65059   (eval $ac_try) 2>&5
65060   ac_status=$?
65061   echo "$as_me:$LINENO: \$? = $ac_status" >&5
65062   (exit $ac_status); }; } &&
65063          { ac_try='test -s conftest.$ac_objext'
65064   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
65065   (eval $ac_try) 2>&5
65066   ac_status=$?
65067   echo "$as_me:$LINENO: \$? = $ac_status" >&5
65068   (exit $ac_status); }; }; then
65069   glibcxx_cv_func__long_double_round_use=yes
65070 else
65071   echo "$as_me: failed program was:" >&5
65072 sed 's/^/| /' conftest.$ac_ext >&5
65073
65074 glibcxx_cv_func__long_double_round_use=no
65075 fi
65076 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
65077       ac_ext=c
65078 ac_cpp='$CPP $CPPFLAGS'
65079 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65080 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65081 ac_compiler_gnu=$ac_cv_c_compiler_gnu
65082
65083 fi
65084
65085     echo "$as_me:$LINENO: result: $glibcxx_cv_func__long_double_round_use" >&5
65086 echo "${ECHO_T}$glibcxx_cv_func__long_double_round_use" >&6
65087     if test x$glibcxx_cv_func__long_double_round_use = x"yes"; then
65088
65089
65090 for ac_func in _ceill _floorl
65091 do
65092 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
65093 echo "$as_me:$LINENO: checking for $ac_func" >&5
65094 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
65095 if eval "test \"\${$as_ac_var+set}\" = set"; then
65096   echo $ECHO_N "(cached) $ECHO_C" >&6
65097 else
65098   if test x$gcc_no_link = xyes; then
65099   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
65100 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
65101    { (exit 1); exit 1; }; }
65102 fi
65103 cat >conftest.$ac_ext <<_ACEOF
65104 /* confdefs.h.  */
65105 _ACEOF
65106 cat confdefs.h >>conftest.$ac_ext
65107 cat >>conftest.$ac_ext <<_ACEOF
65108 /* end confdefs.h.  */
65109 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
65110    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
65111 #define $ac_func innocuous_$ac_func
65112
65113 /* System header to define __stub macros and hopefully few prototypes,
65114     which can conflict with char $ac_func (); below.
65115     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
65116     <limits.h> exists even on freestanding compilers.  */
65117
65118 #ifdef __STDC__
65119 # include <limits.h>
65120 #else
65121 # include <assert.h>
65122 #endif
65123
65124 #undef $ac_func
65125
65126 /* Override any gcc2 internal prototype to avoid an error.  */
65127 #ifdef __cplusplus
65128 extern "C"
65129 {
65130 #endif
65131 /* We use char because int might match the return type of a gcc2
65132    builtin and then its argument prototype would still apply.  */
65133 char $ac_func ();
65134 /* The GNU C library defines this for functions which it implements
65135     to always fail with ENOSYS.  Some functions are actually named
65136     something starting with __ and the normal name is an alias.  */
65137 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
65138 choke me
65139 #else
65140 char (*f) () = $ac_func;
65141 #endif
65142 #ifdef __cplusplus
65143 }
65144 #endif
65145
65146 int
65147 main ()
65148 {
65149 return f != $ac_func;
65150   ;
65151   return 0;
65152 }
65153 _ACEOF
65154 rm -f conftest.$ac_objext conftest$ac_exeext
65155 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
65156   (eval $ac_link) 2>conftest.er1
65157   ac_status=$?
65158   grep -v '^ *+' conftest.er1 >conftest.err
65159   rm -f conftest.er1
65160   cat conftest.err >&5
65161   echo "$as_me:$LINENO: \$? = $ac_status" >&5
65162   (exit $ac_status); } &&
65163          { ac_try='test -z "$ac_c_werror_flag"
65164                          || test ! -s conftest.err'
65165   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
65166   (eval $ac_try) 2>&5
65167   ac_status=$?
65168   echo "$as_me:$LINENO: \$? = $ac_status" >&5
65169   (exit $ac_status); }; } &&
65170          { ac_try='test -s conftest$ac_exeext'
65171   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
65172   (eval $ac_try) 2>&5
65173   ac_status=$?
65174   echo "$as_me:$LINENO: \$? = $ac_status" >&5
65175   (exit $ac_status); }; }; then
65176   eval "$as_ac_var=yes"
65177 else
65178   echo "$as_me: failed program was:" >&5
65179 sed 's/^/| /' conftest.$ac_ext >&5
65180
65181 eval "$as_ac_var=no"
65182 fi
65183 rm -f conftest.err conftest.$ac_objext \
65184       conftest$ac_exeext conftest.$ac_ext
65185 fi
65186 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
65187 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
65188 if test `eval echo '${'$as_ac_var'}'` = yes; then
65189   cat >>confdefs.h <<_ACEOF
65190 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
65191 _ACEOF
65192
65193 fi
65194 done
65195
65196     fi
65197   fi
65198
65199
65200
65201
65202
65203
65204
65205
65206   echo "$as_me:$LINENO: checking for isnanl declaration" >&5
65207 echo $ECHO_N "checking for isnanl declaration... $ECHO_C" >&6
65208   if test x${glibcxx_cv_func_isnanl_use+set} != xset; then
65209     if test "${glibcxx_cv_func_isnanl_use+set}" = set; then
65210   echo $ECHO_N "(cached) $ECHO_C" >&6
65211 else
65212
65213
65214
65215       ac_ext=cc
65216 ac_cpp='$CXXCPP $CPPFLAGS'
65217 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65218 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65219 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
65220
65221       cat >conftest.$ac_ext <<_ACEOF
65222 /* confdefs.h.  */
65223 _ACEOF
65224 cat confdefs.h >>conftest.$ac_ext
65225 cat >>conftest.$ac_ext <<_ACEOF
65226 /* end confdefs.h.  */
65227 #include <math.h>
65228                       #ifdef HAVE_IEEEFP_H
65229                       #include <ieeefp.h>
65230                       #endif
65231
65232 int
65233 main ()
65234 {
65235  isnanl(0);
65236   ;
65237   return 0;
65238 }
65239 _ACEOF
65240 rm -f conftest.$ac_objext
65241 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
65242   (eval $ac_compile) 2>conftest.er1
65243   ac_status=$?
65244   grep -v '^ *+' conftest.er1 >conftest.err
65245   rm -f conftest.er1
65246   cat conftest.err >&5
65247   echo "$as_me:$LINENO: \$? = $ac_status" >&5
65248   (exit $ac_status); } &&
65249          { ac_try='test -z "$ac_cxx_werror_flag"
65250                          || test ! -s conftest.err'
65251   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
65252   (eval $ac_try) 2>&5
65253   ac_status=$?
65254   echo "$as_me:$LINENO: \$? = $ac_status" >&5
65255   (exit $ac_status); }; } &&
65256          { ac_try='test -s conftest.$ac_objext'
65257   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
65258   (eval $ac_try) 2>&5
65259   ac_status=$?
65260   echo "$as_me:$LINENO: \$? = $ac_status" >&5
65261   (exit $ac_status); }; }; then
65262   glibcxx_cv_func_isnanl_use=yes
65263 else
65264   echo "$as_me: failed program was:" >&5
65265 sed 's/^/| /' conftest.$ac_ext >&5
65266
65267 glibcxx_cv_func_isnanl_use=no
65268 fi
65269 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
65270       ac_ext=c
65271 ac_cpp='$CPP $CPPFLAGS'
65272 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65273 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65274 ac_compiler_gnu=$ac_cv_c_compiler_gnu
65275
65276
65277 fi
65278
65279   fi
65280   echo "$as_me:$LINENO: result: $glibcxx_cv_func_isnanl_use" >&5
65281 echo "${ECHO_T}$glibcxx_cv_func_isnanl_use" >&6
65282
65283   if test x$glibcxx_cv_func_isnanl_use = x"yes"; then
65284
65285 for ac_func in isnanl
65286 do
65287 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
65288 echo "$as_me:$LINENO: checking for $ac_func" >&5
65289 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
65290 if eval "test \"\${$as_ac_var+set}\" = set"; then
65291   echo $ECHO_N "(cached) $ECHO_C" >&6
65292 else
65293   if test x$gcc_no_link = xyes; then
65294   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
65295 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
65296    { (exit 1); exit 1; }; }
65297 fi
65298 cat >conftest.$ac_ext <<_ACEOF
65299 /* confdefs.h.  */
65300 _ACEOF
65301 cat confdefs.h >>conftest.$ac_ext
65302 cat >>conftest.$ac_ext <<_ACEOF
65303 /* end confdefs.h.  */
65304 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
65305    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
65306 #define $ac_func innocuous_$ac_func
65307
65308 /* System header to define __stub macros and hopefully few prototypes,
65309     which can conflict with char $ac_func (); below.
65310     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
65311     <limits.h> exists even on freestanding compilers.  */
65312
65313 #ifdef __STDC__
65314 # include <limits.h>
65315 #else
65316 # include <assert.h>
65317 #endif
65318
65319 #undef $ac_func
65320
65321 /* Override any gcc2 internal prototype to avoid an error.  */
65322 #ifdef __cplusplus
65323 extern "C"
65324 {
65325 #endif
65326 /* We use char because int might match the return type of a gcc2
65327    builtin and then its argument prototype would still apply.  */
65328 char $ac_func ();
65329 /* The GNU C library defines this for functions which it implements
65330     to always fail with ENOSYS.  Some functions are actually named
65331     something starting with __ and the normal name is an alias.  */
65332 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
65333 choke me
65334 #else
65335 char (*f) () = $ac_func;
65336 #endif
65337 #ifdef __cplusplus
65338 }
65339 #endif
65340
65341 int
65342 main ()
65343 {
65344 return f != $ac_func;
65345   ;
65346   return 0;
65347 }
65348 _ACEOF
65349 rm -f conftest.$ac_objext conftest$ac_exeext
65350 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
65351   (eval $ac_link) 2>conftest.er1
65352   ac_status=$?
65353   grep -v '^ *+' conftest.er1 >conftest.err
65354   rm -f conftest.er1
65355   cat conftest.err >&5
65356   echo "$as_me:$LINENO: \$? = $ac_status" >&5
65357   (exit $ac_status); } &&
65358          { ac_try='test -z "$ac_c_werror_flag"
65359                          || test ! -s conftest.err'
65360   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
65361   (eval $ac_try) 2>&5
65362   ac_status=$?
65363   echo "$as_me:$LINENO: \$? = $ac_status" >&5
65364   (exit $ac_status); }; } &&
65365          { ac_try='test -s conftest$ac_exeext'
65366   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
65367   (eval $ac_try) 2>&5
65368   ac_status=$?
65369   echo "$as_me:$LINENO: \$? = $ac_status" >&5
65370   (exit $ac_status); }; }; then
65371   eval "$as_ac_var=yes"
65372 else
65373   echo "$as_me: failed program was:" >&5
65374 sed 's/^/| /' conftest.$ac_ext >&5
65375
65376 eval "$as_ac_var=no"
65377 fi
65378 rm -f conftest.err conftest.$ac_objext \
65379       conftest$ac_exeext conftest.$ac_ext
65380 fi
65381 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
65382 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
65383 if test `eval echo '${'$as_ac_var'}'` = yes; then
65384   cat >>confdefs.h <<_ACEOF
65385 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
65386 _ACEOF
65387
65388 fi
65389 done
65390
65391   else
65392
65393   echo "$as_me:$LINENO: checking for _isnanl declaration" >&5
65394 echo $ECHO_N "checking for _isnanl declaration... $ECHO_C" >&6
65395   if test x${glibcxx_cv_func__isnanl_use+set} != xset; then
65396     if test "${glibcxx_cv_func__isnanl_use+set}" = set; then
65397   echo $ECHO_N "(cached) $ECHO_C" >&6
65398 else
65399
65400
65401
65402       ac_ext=cc
65403 ac_cpp='$CXXCPP $CPPFLAGS'
65404 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65405 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65406 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
65407
65408       cat >conftest.$ac_ext <<_ACEOF
65409 /* confdefs.h.  */
65410 _ACEOF
65411 cat confdefs.h >>conftest.$ac_ext
65412 cat >>conftest.$ac_ext <<_ACEOF
65413 /* end confdefs.h.  */
65414 #include <math.h>
65415                       #ifdef HAVE_IEEEFP_H
65416                       #include <ieeefp.h>
65417                       #endif
65418
65419 int
65420 main ()
65421 {
65422  _isnanl(0);
65423   ;
65424   return 0;
65425 }
65426 _ACEOF
65427 rm -f conftest.$ac_objext
65428 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
65429   (eval $ac_compile) 2>conftest.er1
65430   ac_status=$?
65431   grep -v '^ *+' conftest.er1 >conftest.err
65432   rm -f conftest.er1
65433   cat conftest.err >&5
65434   echo "$as_me:$LINENO: \$? = $ac_status" >&5
65435   (exit $ac_status); } &&
65436          { ac_try='test -z "$ac_cxx_werror_flag"
65437                          || test ! -s conftest.err'
65438   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
65439   (eval $ac_try) 2>&5
65440   ac_status=$?
65441   echo "$as_me:$LINENO: \$? = $ac_status" >&5
65442   (exit $ac_status); }; } &&
65443          { ac_try='test -s conftest.$ac_objext'
65444   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
65445   (eval $ac_try) 2>&5
65446   ac_status=$?
65447   echo "$as_me:$LINENO: \$? = $ac_status" >&5
65448   (exit $ac_status); }; }; then
65449   glibcxx_cv_func__isnanl_use=yes
65450 else
65451   echo "$as_me: failed program was:" >&5
65452 sed 's/^/| /' conftest.$ac_ext >&5
65453
65454 glibcxx_cv_func__isnanl_use=no
65455 fi
65456 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
65457       ac_ext=c
65458 ac_cpp='$CPP $CPPFLAGS'
65459 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65460 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65461 ac_compiler_gnu=$ac_cv_c_compiler_gnu
65462
65463
65464 fi
65465
65466   fi
65467   echo "$as_me:$LINENO: result: $glibcxx_cv_func__isnanl_use" >&5
65468 echo "${ECHO_T}$glibcxx_cv_func__isnanl_use" >&6
65469
65470     if test x$glibcxx_cv_func__isnanl_use = x"yes"; then
65471
65472 for ac_func in _isnanl
65473 do
65474 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
65475 echo "$as_me:$LINENO: checking for $ac_func" >&5
65476 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
65477 if eval "test \"\${$as_ac_var+set}\" = set"; then
65478   echo $ECHO_N "(cached) $ECHO_C" >&6
65479 else
65480   if test x$gcc_no_link = xyes; then
65481   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
65482 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
65483    { (exit 1); exit 1; }; }
65484 fi
65485 cat >conftest.$ac_ext <<_ACEOF
65486 /* confdefs.h.  */
65487 _ACEOF
65488 cat confdefs.h >>conftest.$ac_ext
65489 cat >>conftest.$ac_ext <<_ACEOF
65490 /* end confdefs.h.  */
65491 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
65492    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
65493 #define $ac_func innocuous_$ac_func
65494
65495 /* System header to define __stub macros and hopefully few prototypes,
65496     which can conflict with char $ac_func (); below.
65497     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
65498     <limits.h> exists even on freestanding compilers.  */
65499
65500 #ifdef __STDC__
65501 # include <limits.h>
65502 #else
65503 # include <assert.h>
65504 #endif
65505
65506 #undef $ac_func
65507
65508 /* Override any gcc2 internal prototype to avoid an error.  */
65509 #ifdef __cplusplus
65510 extern "C"
65511 {
65512 #endif
65513 /* We use char because int might match the return type of a gcc2
65514    builtin and then its argument prototype would still apply.  */
65515 char $ac_func ();
65516 /* The GNU C library defines this for functions which it implements
65517     to always fail with ENOSYS.  Some functions are actually named
65518     something starting with __ and the normal name is an alias.  */
65519 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
65520 choke me
65521 #else
65522 char (*f) () = $ac_func;
65523 #endif
65524 #ifdef __cplusplus
65525 }
65526 #endif
65527
65528 int
65529 main ()
65530 {
65531 return f != $ac_func;
65532   ;
65533   return 0;
65534 }
65535 _ACEOF
65536 rm -f conftest.$ac_objext conftest$ac_exeext
65537 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
65538   (eval $ac_link) 2>conftest.er1
65539   ac_status=$?
65540   grep -v '^ *+' conftest.er1 >conftest.err
65541   rm -f conftest.er1
65542   cat conftest.err >&5
65543   echo "$as_me:$LINENO: \$? = $ac_status" >&5
65544   (exit $ac_status); } &&
65545          { ac_try='test -z "$ac_c_werror_flag"
65546                          || test ! -s conftest.err'
65547   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
65548   (eval $ac_try) 2>&5
65549   ac_status=$?
65550   echo "$as_me:$LINENO: \$? = $ac_status" >&5
65551   (exit $ac_status); }; } &&
65552          { ac_try='test -s conftest$ac_exeext'
65553   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
65554   (eval $ac_try) 2>&5
65555   ac_status=$?
65556   echo "$as_me:$LINENO: \$? = $ac_status" >&5
65557   (exit $ac_status); }; }; then
65558   eval "$as_ac_var=yes"
65559 else
65560   echo "$as_me: failed program was:" >&5
65561 sed 's/^/| /' conftest.$ac_ext >&5
65562
65563 eval "$as_ac_var=no"
65564 fi
65565 rm -f conftest.err conftest.$ac_objext \
65566       conftest$ac_exeext conftest.$ac_ext
65567 fi
65568 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
65569 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
65570 if test `eval echo '${'$as_ac_var'}'` = yes; then
65571   cat >>confdefs.h <<_ACEOF
65572 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
65573 _ACEOF
65574
65575 fi
65576 done
65577
65578     fi
65579   fi
65580
65581
65582
65583
65584
65585
65586   echo "$as_me:$LINENO: checking for isinfl declaration" >&5
65587 echo $ECHO_N "checking for isinfl declaration... $ECHO_C" >&6
65588   if test x${glibcxx_cv_func_isinfl_use+set} != xset; then
65589     if test "${glibcxx_cv_func_isinfl_use+set}" = set; then
65590   echo $ECHO_N "(cached) $ECHO_C" >&6
65591 else
65592
65593
65594
65595       ac_ext=cc
65596 ac_cpp='$CXXCPP $CPPFLAGS'
65597 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65598 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65599 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
65600
65601       cat >conftest.$ac_ext <<_ACEOF
65602 /* confdefs.h.  */
65603 _ACEOF
65604 cat confdefs.h >>conftest.$ac_ext
65605 cat >>conftest.$ac_ext <<_ACEOF
65606 /* end confdefs.h.  */
65607 #include <math.h>
65608                       #ifdef HAVE_IEEEFP_H
65609                       #include <ieeefp.h>
65610                       #endif
65611
65612 int
65613 main ()
65614 {
65615  isinfl(0);
65616   ;
65617   return 0;
65618 }
65619 _ACEOF
65620 rm -f conftest.$ac_objext
65621 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
65622   (eval $ac_compile) 2>conftest.er1
65623   ac_status=$?
65624   grep -v '^ *+' conftest.er1 >conftest.err
65625   rm -f conftest.er1
65626   cat conftest.err >&5
65627   echo "$as_me:$LINENO: \$? = $ac_status" >&5
65628   (exit $ac_status); } &&
65629          { ac_try='test -z "$ac_cxx_werror_flag"
65630                          || test ! -s conftest.err'
65631   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
65632   (eval $ac_try) 2>&5
65633   ac_status=$?
65634   echo "$as_me:$LINENO: \$? = $ac_status" >&5
65635   (exit $ac_status); }; } &&
65636          { ac_try='test -s conftest.$ac_objext'
65637   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
65638   (eval $ac_try) 2>&5
65639   ac_status=$?
65640   echo "$as_me:$LINENO: \$? = $ac_status" >&5
65641   (exit $ac_status); }; }; then
65642   glibcxx_cv_func_isinfl_use=yes
65643 else
65644   echo "$as_me: failed program was:" >&5
65645 sed 's/^/| /' conftest.$ac_ext >&5
65646
65647 glibcxx_cv_func_isinfl_use=no
65648 fi
65649 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
65650       ac_ext=c
65651 ac_cpp='$CPP $CPPFLAGS'
65652 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65653 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65654 ac_compiler_gnu=$ac_cv_c_compiler_gnu
65655
65656
65657 fi
65658
65659   fi
65660   echo "$as_me:$LINENO: result: $glibcxx_cv_func_isinfl_use" >&5
65661 echo "${ECHO_T}$glibcxx_cv_func_isinfl_use" >&6
65662
65663   if test x$glibcxx_cv_func_isinfl_use = x"yes"; then
65664
65665 for ac_func in isinfl
65666 do
65667 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
65668 echo "$as_me:$LINENO: checking for $ac_func" >&5
65669 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
65670 if eval "test \"\${$as_ac_var+set}\" = set"; then
65671   echo $ECHO_N "(cached) $ECHO_C" >&6
65672 else
65673   if test x$gcc_no_link = xyes; then
65674   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
65675 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
65676    { (exit 1); exit 1; }; }
65677 fi
65678 cat >conftest.$ac_ext <<_ACEOF
65679 /* confdefs.h.  */
65680 _ACEOF
65681 cat confdefs.h >>conftest.$ac_ext
65682 cat >>conftest.$ac_ext <<_ACEOF
65683 /* end confdefs.h.  */
65684 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
65685    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
65686 #define $ac_func innocuous_$ac_func
65687
65688 /* System header to define __stub macros and hopefully few prototypes,
65689     which can conflict with char $ac_func (); below.
65690     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
65691     <limits.h> exists even on freestanding compilers.  */
65692
65693 #ifdef __STDC__
65694 # include <limits.h>
65695 #else
65696 # include <assert.h>
65697 #endif
65698
65699 #undef $ac_func
65700
65701 /* Override any gcc2 internal prototype to avoid an error.  */
65702 #ifdef __cplusplus
65703 extern "C"
65704 {
65705 #endif
65706 /* We use char because int might match the return type of a gcc2
65707    builtin and then its argument prototype would still apply.  */
65708 char $ac_func ();
65709 /* The GNU C library defines this for functions which it implements
65710     to always fail with ENOSYS.  Some functions are actually named
65711     something starting with __ and the normal name is an alias.  */
65712 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
65713 choke me
65714 #else
65715 char (*f) () = $ac_func;
65716 #endif
65717 #ifdef __cplusplus
65718 }
65719 #endif
65720
65721 int
65722 main ()
65723 {
65724 return f != $ac_func;
65725   ;
65726   return 0;
65727 }
65728 _ACEOF
65729 rm -f conftest.$ac_objext conftest$ac_exeext
65730 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
65731   (eval $ac_link) 2>conftest.er1
65732   ac_status=$?
65733   grep -v '^ *+' conftest.er1 >conftest.err
65734   rm -f conftest.er1
65735   cat conftest.err >&5
65736   echo "$as_me:$LINENO: \$? = $ac_status" >&5
65737   (exit $ac_status); } &&
65738          { ac_try='test -z "$ac_c_werror_flag"
65739                          || test ! -s conftest.err'
65740   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
65741   (eval $ac_try) 2>&5
65742   ac_status=$?
65743   echo "$as_me:$LINENO: \$? = $ac_status" >&5
65744   (exit $ac_status); }; } &&
65745          { ac_try='test -s conftest$ac_exeext'
65746   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
65747   (eval $ac_try) 2>&5
65748   ac_status=$?
65749   echo "$as_me:$LINENO: \$? = $ac_status" >&5
65750   (exit $ac_status); }; }; then
65751   eval "$as_ac_var=yes"
65752 else
65753   echo "$as_me: failed program was:" >&5
65754 sed 's/^/| /' conftest.$ac_ext >&5
65755
65756 eval "$as_ac_var=no"
65757 fi
65758 rm -f conftest.err conftest.$ac_objext \
65759       conftest$ac_exeext conftest.$ac_ext
65760 fi
65761 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
65762 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
65763 if test `eval echo '${'$as_ac_var'}'` = yes; then
65764   cat >>confdefs.h <<_ACEOF
65765 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
65766 _ACEOF
65767
65768 fi
65769 done
65770
65771   else
65772
65773   echo "$as_me:$LINENO: checking for _isinfl declaration" >&5
65774 echo $ECHO_N "checking for _isinfl declaration... $ECHO_C" >&6
65775   if test x${glibcxx_cv_func__isinfl_use+set} != xset; then
65776     if test "${glibcxx_cv_func__isinfl_use+set}" = set; then
65777   echo $ECHO_N "(cached) $ECHO_C" >&6
65778 else
65779
65780
65781
65782       ac_ext=cc
65783 ac_cpp='$CXXCPP $CPPFLAGS'
65784 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65785 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65786 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
65787
65788       cat >conftest.$ac_ext <<_ACEOF
65789 /* confdefs.h.  */
65790 _ACEOF
65791 cat confdefs.h >>conftest.$ac_ext
65792 cat >>conftest.$ac_ext <<_ACEOF
65793 /* end confdefs.h.  */
65794 #include <math.h>
65795                       #ifdef HAVE_IEEEFP_H
65796                       #include <ieeefp.h>
65797                       #endif
65798
65799 int
65800 main ()
65801 {
65802  _isinfl(0);
65803   ;
65804   return 0;
65805 }
65806 _ACEOF
65807 rm -f conftest.$ac_objext
65808 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
65809   (eval $ac_compile) 2>conftest.er1
65810   ac_status=$?
65811   grep -v '^ *+' conftest.er1 >conftest.err
65812   rm -f conftest.er1
65813   cat conftest.err >&5
65814   echo "$as_me:$LINENO: \$? = $ac_status" >&5
65815   (exit $ac_status); } &&
65816          { ac_try='test -z "$ac_cxx_werror_flag"
65817                          || test ! -s conftest.err'
65818   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
65819   (eval $ac_try) 2>&5
65820   ac_status=$?
65821   echo "$as_me:$LINENO: \$? = $ac_status" >&5
65822   (exit $ac_status); }; } &&
65823          { ac_try='test -s conftest.$ac_objext'
65824   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
65825   (eval $ac_try) 2>&5
65826   ac_status=$?
65827   echo "$as_me:$LINENO: \$? = $ac_status" >&5
65828   (exit $ac_status); }; }; then
65829   glibcxx_cv_func__isinfl_use=yes
65830 else
65831   echo "$as_me: failed program was:" >&5
65832 sed 's/^/| /' conftest.$ac_ext >&5
65833
65834 glibcxx_cv_func__isinfl_use=no
65835 fi
65836 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
65837       ac_ext=c
65838 ac_cpp='$CPP $CPPFLAGS'
65839 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65840 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65841 ac_compiler_gnu=$ac_cv_c_compiler_gnu
65842
65843
65844 fi
65845
65846   fi
65847   echo "$as_me:$LINENO: result: $glibcxx_cv_func__isinfl_use" >&5
65848 echo "${ECHO_T}$glibcxx_cv_func__isinfl_use" >&6
65849
65850     if test x$glibcxx_cv_func__isinfl_use = x"yes"; then
65851
65852 for ac_func in _isinfl
65853 do
65854 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
65855 echo "$as_me:$LINENO: checking for $ac_func" >&5
65856 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
65857 if eval "test \"\${$as_ac_var+set}\" = set"; then
65858   echo $ECHO_N "(cached) $ECHO_C" >&6
65859 else
65860   if test x$gcc_no_link = xyes; then
65861   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
65862 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
65863    { (exit 1); exit 1; }; }
65864 fi
65865 cat >conftest.$ac_ext <<_ACEOF
65866 /* confdefs.h.  */
65867 _ACEOF
65868 cat confdefs.h >>conftest.$ac_ext
65869 cat >>conftest.$ac_ext <<_ACEOF
65870 /* end confdefs.h.  */
65871 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
65872    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
65873 #define $ac_func innocuous_$ac_func
65874
65875 /* System header to define __stub macros and hopefully few prototypes,
65876     which can conflict with char $ac_func (); below.
65877     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
65878     <limits.h> exists even on freestanding compilers.  */
65879
65880 #ifdef __STDC__
65881 # include <limits.h>
65882 #else
65883 # include <assert.h>
65884 #endif
65885
65886 #undef $ac_func
65887
65888 /* Override any gcc2 internal prototype to avoid an error.  */
65889 #ifdef __cplusplus
65890 extern "C"
65891 {
65892 #endif
65893 /* We use char because int might match the return type of a gcc2
65894    builtin and then its argument prototype would still apply.  */
65895 char $ac_func ();
65896 /* The GNU C library defines this for functions which it implements
65897     to always fail with ENOSYS.  Some functions are actually named
65898     something starting with __ and the normal name is an alias.  */
65899 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
65900 choke me
65901 #else
65902 char (*f) () = $ac_func;
65903 #endif
65904 #ifdef __cplusplus
65905 }
65906 #endif
65907
65908 int
65909 main ()
65910 {
65911 return f != $ac_func;
65912   ;
65913   return 0;
65914 }
65915 _ACEOF
65916 rm -f conftest.$ac_objext conftest$ac_exeext
65917 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
65918   (eval $ac_link) 2>conftest.er1
65919   ac_status=$?
65920   grep -v '^ *+' conftest.er1 >conftest.err
65921   rm -f conftest.er1
65922   cat conftest.err >&5
65923   echo "$as_me:$LINENO: \$? = $ac_status" >&5
65924   (exit $ac_status); } &&
65925          { ac_try='test -z "$ac_c_werror_flag"
65926                          || test ! -s conftest.err'
65927   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
65928   (eval $ac_try) 2>&5
65929   ac_status=$?
65930   echo "$as_me:$LINENO: \$? = $ac_status" >&5
65931   (exit $ac_status); }; } &&
65932          { ac_try='test -s conftest$ac_exeext'
65933   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
65934   (eval $ac_try) 2>&5
65935   ac_status=$?
65936   echo "$as_me:$LINENO: \$? = $ac_status" >&5
65937   (exit $ac_status); }; }; then
65938   eval "$as_ac_var=yes"
65939 else
65940   echo "$as_me: failed program was:" >&5
65941 sed 's/^/| /' conftest.$ac_ext >&5
65942
65943 eval "$as_ac_var=no"
65944 fi
65945 rm -f conftest.err conftest.$ac_objext \
65946       conftest$ac_exeext conftest.$ac_ext
65947 fi
65948 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
65949 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
65950 if test `eval echo '${'$as_ac_var'}'` = yes; then
65951   cat >>confdefs.h <<_ACEOF
65952 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
65953 _ACEOF
65954
65955 fi
65956 done
65957
65958     fi
65959   fi
65960
65961
65962
65963
65964
65965
65966   echo "$as_me:$LINENO: checking for copysignl declaration" >&5
65967 echo $ECHO_N "checking for copysignl declaration... $ECHO_C" >&6
65968   if test x${glibcxx_cv_func_copysignl_use+set} != xset; then
65969     if test "${glibcxx_cv_func_copysignl_use+set}" = set; then
65970   echo $ECHO_N "(cached) $ECHO_C" >&6
65971 else
65972
65973
65974
65975       ac_ext=cc
65976 ac_cpp='$CXXCPP $CPPFLAGS'
65977 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65978 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65979 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
65980
65981       cat >conftest.$ac_ext <<_ACEOF
65982 /* confdefs.h.  */
65983 _ACEOF
65984 cat confdefs.h >>conftest.$ac_ext
65985 cat >>conftest.$ac_ext <<_ACEOF
65986 /* end confdefs.h.  */
65987 #include <math.h>
65988 int
65989 main ()
65990 {
65991  copysignl(0, 0);
65992   ;
65993   return 0;
65994 }
65995 _ACEOF
65996 rm -f conftest.$ac_objext
65997 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
65998   (eval $ac_compile) 2>conftest.er1
65999   ac_status=$?
66000   grep -v '^ *+' conftest.er1 >conftest.err
66001   rm -f conftest.er1
66002   cat conftest.err >&5
66003   echo "$as_me:$LINENO: \$? = $ac_status" >&5
66004   (exit $ac_status); } &&
66005          { ac_try='test -z "$ac_cxx_werror_flag"
66006                          || test ! -s conftest.err'
66007   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
66008   (eval $ac_try) 2>&5
66009   ac_status=$?
66010   echo "$as_me:$LINENO: \$? = $ac_status" >&5
66011   (exit $ac_status); }; } &&
66012          { ac_try='test -s conftest.$ac_objext'
66013   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
66014   (eval $ac_try) 2>&5
66015   ac_status=$?
66016   echo "$as_me:$LINENO: \$? = $ac_status" >&5
66017   (exit $ac_status); }; }; then
66018   glibcxx_cv_func_copysignl_use=yes
66019 else
66020   echo "$as_me: failed program was:" >&5
66021 sed 's/^/| /' conftest.$ac_ext >&5
66022
66023 glibcxx_cv_func_copysignl_use=no
66024 fi
66025 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
66026       ac_ext=c
66027 ac_cpp='$CPP $CPPFLAGS'
66028 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66029 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66030 ac_compiler_gnu=$ac_cv_c_compiler_gnu
66031
66032
66033 fi
66034
66035   fi
66036   echo "$as_me:$LINENO: result: $glibcxx_cv_func_copysignl_use" >&5
66037 echo "${ECHO_T}$glibcxx_cv_func_copysignl_use" >&6
66038
66039   if test x$glibcxx_cv_func_copysignl_use = x"yes"; then
66040
66041 for ac_func in copysignl
66042 do
66043 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
66044 echo "$as_me:$LINENO: checking for $ac_func" >&5
66045 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
66046 if eval "test \"\${$as_ac_var+set}\" = set"; then
66047   echo $ECHO_N "(cached) $ECHO_C" >&6
66048 else
66049   if test x$gcc_no_link = xyes; then
66050   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
66051 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
66052    { (exit 1); exit 1; }; }
66053 fi
66054 cat >conftest.$ac_ext <<_ACEOF
66055 /* confdefs.h.  */
66056 _ACEOF
66057 cat confdefs.h >>conftest.$ac_ext
66058 cat >>conftest.$ac_ext <<_ACEOF
66059 /* end confdefs.h.  */
66060 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
66061    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
66062 #define $ac_func innocuous_$ac_func
66063
66064 /* System header to define __stub macros and hopefully few prototypes,
66065     which can conflict with char $ac_func (); below.
66066     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
66067     <limits.h> exists even on freestanding compilers.  */
66068
66069 #ifdef __STDC__
66070 # include <limits.h>
66071 #else
66072 # include <assert.h>
66073 #endif
66074
66075 #undef $ac_func
66076
66077 /* Override any gcc2 internal prototype to avoid an error.  */
66078 #ifdef __cplusplus
66079 extern "C"
66080 {
66081 #endif
66082 /* We use char because int might match the return type of a gcc2
66083    builtin and then its argument prototype would still apply.  */
66084 char $ac_func ();
66085 /* The GNU C library defines this for functions which it implements
66086     to always fail with ENOSYS.  Some functions are actually named
66087     something starting with __ and the normal name is an alias.  */
66088 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
66089 choke me
66090 #else
66091 char (*f) () = $ac_func;
66092 #endif
66093 #ifdef __cplusplus
66094 }
66095 #endif
66096
66097 int
66098 main ()
66099 {
66100 return f != $ac_func;
66101   ;
66102   return 0;
66103 }
66104 _ACEOF
66105 rm -f conftest.$ac_objext conftest$ac_exeext
66106 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
66107   (eval $ac_link) 2>conftest.er1
66108   ac_status=$?
66109   grep -v '^ *+' conftest.er1 >conftest.err
66110   rm -f conftest.er1
66111   cat conftest.err >&5
66112   echo "$as_me:$LINENO: \$? = $ac_status" >&5
66113   (exit $ac_status); } &&
66114          { ac_try='test -z "$ac_c_werror_flag"
66115                          || test ! -s conftest.err'
66116   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
66117   (eval $ac_try) 2>&5
66118   ac_status=$?
66119   echo "$as_me:$LINENO: \$? = $ac_status" >&5
66120   (exit $ac_status); }; } &&
66121          { ac_try='test -s conftest$ac_exeext'
66122   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
66123   (eval $ac_try) 2>&5
66124   ac_status=$?
66125   echo "$as_me:$LINENO: \$? = $ac_status" >&5
66126   (exit $ac_status); }; }; then
66127   eval "$as_ac_var=yes"
66128 else
66129   echo "$as_me: failed program was:" >&5
66130 sed 's/^/| /' conftest.$ac_ext >&5
66131
66132 eval "$as_ac_var=no"
66133 fi
66134 rm -f conftest.err conftest.$ac_objext \
66135       conftest$ac_exeext conftest.$ac_ext
66136 fi
66137 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
66138 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
66139 if test `eval echo '${'$as_ac_var'}'` = yes; then
66140   cat >>confdefs.h <<_ACEOF
66141 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
66142 _ACEOF
66143
66144 fi
66145 done
66146
66147   else
66148
66149   echo "$as_me:$LINENO: checking for _copysignl declaration" >&5
66150 echo $ECHO_N "checking for _copysignl declaration... $ECHO_C" >&6
66151   if test x${glibcxx_cv_func__copysignl_use+set} != xset; then
66152     if test "${glibcxx_cv_func__copysignl_use+set}" = set; then
66153   echo $ECHO_N "(cached) $ECHO_C" >&6
66154 else
66155
66156
66157
66158       ac_ext=cc
66159 ac_cpp='$CXXCPP $CPPFLAGS'
66160 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66161 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66162 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
66163
66164       cat >conftest.$ac_ext <<_ACEOF
66165 /* confdefs.h.  */
66166 _ACEOF
66167 cat confdefs.h >>conftest.$ac_ext
66168 cat >>conftest.$ac_ext <<_ACEOF
66169 /* end confdefs.h.  */
66170 #include <math.h>
66171 int
66172 main ()
66173 {
66174  _copysignl(0, 0);
66175   ;
66176   return 0;
66177 }
66178 _ACEOF
66179 rm -f conftest.$ac_objext
66180 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
66181   (eval $ac_compile) 2>conftest.er1
66182   ac_status=$?
66183   grep -v '^ *+' conftest.er1 >conftest.err
66184   rm -f conftest.er1
66185   cat conftest.err >&5
66186   echo "$as_me:$LINENO: \$? = $ac_status" >&5
66187   (exit $ac_status); } &&
66188          { ac_try='test -z "$ac_cxx_werror_flag"
66189                          || test ! -s conftest.err'
66190   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
66191   (eval $ac_try) 2>&5
66192   ac_status=$?
66193   echo "$as_me:$LINENO: \$? = $ac_status" >&5
66194   (exit $ac_status); }; } &&
66195          { ac_try='test -s conftest.$ac_objext'
66196   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
66197   (eval $ac_try) 2>&5
66198   ac_status=$?
66199   echo "$as_me:$LINENO: \$? = $ac_status" >&5
66200   (exit $ac_status); }; }; then
66201   glibcxx_cv_func__copysignl_use=yes
66202 else
66203   echo "$as_me: failed program was:" >&5
66204 sed 's/^/| /' conftest.$ac_ext >&5
66205
66206 glibcxx_cv_func__copysignl_use=no
66207 fi
66208 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
66209       ac_ext=c
66210 ac_cpp='$CPP $CPPFLAGS'
66211 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66212 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66213 ac_compiler_gnu=$ac_cv_c_compiler_gnu
66214
66215
66216 fi
66217
66218   fi
66219   echo "$as_me:$LINENO: result: $glibcxx_cv_func__copysignl_use" >&5
66220 echo "${ECHO_T}$glibcxx_cv_func__copysignl_use" >&6
66221
66222     if test x$glibcxx_cv_func__copysignl_use = x"yes"; then
66223
66224 for ac_func in _copysignl
66225 do
66226 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
66227 echo "$as_me:$LINENO: checking for $ac_func" >&5
66228 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
66229 if eval "test \"\${$as_ac_var+set}\" = set"; then
66230   echo $ECHO_N "(cached) $ECHO_C" >&6
66231 else
66232   if test x$gcc_no_link = xyes; then
66233   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
66234 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
66235    { (exit 1); exit 1; }; }
66236 fi
66237 cat >conftest.$ac_ext <<_ACEOF
66238 /* confdefs.h.  */
66239 _ACEOF
66240 cat confdefs.h >>conftest.$ac_ext
66241 cat >>conftest.$ac_ext <<_ACEOF
66242 /* end confdefs.h.  */
66243 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
66244    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
66245 #define $ac_func innocuous_$ac_func
66246
66247 /* System header to define __stub macros and hopefully few prototypes,
66248     which can conflict with char $ac_func (); below.
66249     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
66250     <limits.h> exists even on freestanding compilers.  */
66251
66252 #ifdef __STDC__
66253 # include <limits.h>
66254 #else
66255 # include <assert.h>
66256 #endif
66257
66258 #undef $ac_func
66259
66260 /* Override any gcc2 internal prototype to avoid an error.  */
66261 #ifdef __cplusplus
66262 extern "C"
66263 {
66264 #endif
66265 /* We use char because int might match the return type of a gcc2
66266    builtin and then its argument prototype would still apply.  */
66267 char $ac_func ();
66268 /* The GNU C library defines this for functions which it implements
66269     to always fail with ENOSYS.  Some functions are actually named
66270     something starting with __ and the normal name is an alias.  */
66271 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
66272 choke me
66273 #else
66274 char (*f) () = $ac_func;
66275 #endif
66276 #ifdef __cplusplus
66277 }
66278 #endif
66279
66280 int
66281 main ()
66282 {
66283 return f != $ac_func;
66284   ;
66285   return 0;
66286 }
66287 _ACEOF
66288 rm -f conftest.$ac_objext conftest$ac_exeext
66289 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
66290   (eval $ac_link) 2>conftest.er1
66291   ac_status=$?
66292   grep -v '^ *+' conftest.er1 >conftest.err
66293   rm -f conftest.er1
66294   cat conftest.err >&5
66295   echo "$as_me:$LINENO: \$? = $ac_status" >&5
66296   (exit $ac_status); } &&
66297          { ac_try='test -z "$ac_c_werror_flag"
66298                          || test ! -s conftest.err'
66299   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
66300   (eval $ac_try) 2>&5
66301   ac_status=$?
66302   echo "$as_me:$LINENO: \$? = $ac_status" >&5
66303   (exit $ac_status); }; } &&
66304          { ac_try='test -s conftest$ac_exeext'
66305   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
66306   (eval $ac_try) 2>&5
66307   ac_status=$?
66308   echo "$as_me:$LINENO: \$? = $ac_status" >&5
66309   (exit $ac_status); }; }; then
66310   eval "$as_ac_var=yes"
66311 else
66312   echo "$as_me: failed program was:" >&5
66313 sed 's/^/| /' conftest.$ac_ext >&5
66314
66315 eval "$as_ac_var=no"
66316 fi
66317 rm -f conftest.err conftest.$ac_objext \
66318       conftest$ac_exeext conftest.$ac_ext
66319 fi
66320 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
66321 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
66322 if test `eval echo '${'$as_ac_var'}'` = yes; then
66323   cat >>confdefs.h <<_ACEOF
66324 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
66325 _ACEOF
66326
66327 fi
66328 done
66329
66330     fi
66331   fi
66332
66333
66334
66335
66336
66337
66338   echo "$as_me:$LINENO: checking for atan2l declaration" >&5
66339 echo $ECHO_N "checking for atan2l declaration... $ECHO_C" >&6
66340   if test x${glibcxx_cv_func_atan2l_use+set} != xset; then
66341     if test "${glibcxx_cv_func_atan2l_use+set}" = set; then
66342   echo $ECHO_N "(cached) $ECHO_C" >&6
66343 else
66344
66345
66346
66347       ac_ext=cc
66348 ac_cpp='$CXXCPP $CPPFLAGS'
66349 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66350 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66351 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
66352
66353       cat >conftest.$ac_ext <<_ACEOF
66354 /* confdefs.h.  */
66355 _ACEOF
66356 cat confdefs.h >>conftest.$ac_ext
66357 cat >>conftest.$ac_ext <<_ACEOF
66358 /* end confdefs.h.  */
66359 #include <math.h>
66360 int
66361 main ()
66362 {
66363  atan2l(0, 0);
66364   ;
66365   return 0;
66366 }
66367 _ACEOF
66368 rm -f conftest.$ac_objext
66369 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
66370   (eval $ac_compile) 2>conftest.er1
66371   ac_status=$?
66372   grep -v '^ *+' conftest.er1 >conftest.err
66373   rm -f conftest.er1
66374   cat conftest.err >&5
66375   echo "$as_me:$LINENO: \$? = $ac_status" >&5
66376   (exit $ac_status); } &&
66377          { ac_try='test -z "$ac_cxx_werror_flag"
66378                          || test ! -s conftest.err'
66379   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
66380   (eval $ac_try) 2>&5
66381   ac_status=$?
66382   echo "$as_me:$LINENO: \$? = $ac_status" >&5
66383   (exit $ac_status); }; } &&
66384          { ac_try='test -s conftest.$ac_objext'
66385   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
66386   (eval $ac_try) 2>&5
66387   ac_status=$?
66388   echo "$as_me:$LINENO: \$? = $ac_status" >&5
66389   (exit $ac_status); }; }; then
66390   glibcxx_cv_func_atan2l_use=yes
66391 else
66392   echo "$as_me: failed program was:" >&5
66393 sed 's/^/| /' conftest.$ac_ext >&5
66394
66395 glibcxx_cv_func_atan2l_use=no
66396 fi
66397 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
66398       ac_ext=c
66399 ac_cpp='$CPP $CPPFLAGS'
66400 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66401 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66402 ac_compiler_gnu=$ac_cv_c_compiler_gnu
66403
66404
66405 fi
66406
66407   fi
66408   echo "$as_me:$LINENO: result: $glibcxx_cv_func_atan2l_use" >&5
66409 echo "${ECHO_T}$glibcxx_cv_func_atan2l_use" >&6
66410
66411   if test x$glibcxx_cv_func_atan2l_use = x"yes"; then
66412
66413 for ac_func in atan2l
66414 do
66415 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
66416 echo "$as_me:$LINENO: checking for $ac_func" >&5
66417 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
66418 if eval "test \"\${$as_ac_var+set}\" = set"; then
66419   echo $ECHO_N "(cached) $ECHO_C" >&6
66420 else
66421   if test x$gcc_no_link = xyes; then
66422   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
66423 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
66424    { (exit 1); exit 1; }; }
66425 fi
66426 cat >conftest.$ac_ext <<_ACEOF
66427 /* confdefs.h.  */
66428 _ACEOF
66429 cat confdefs.h >>conftest.$ac_ext
66430 cat >>conftest.$ac_ext <<_ACEOF
66431 /* end confdefs.h.  */
66432 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
66433    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
66434 #define $ac_func innocuous_$ac_func
66435
66436 /* System header to define __stub macros and hopefully few prototypes,
66437     which can conflict with char $ac_func (); below.
66438     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
66439     <limits.h> exists even on freestanding compilers.  */
66440
66441 #ifdef __STDC__
66442 # include <limits.h>
66443 #else
66444 # include <assert.h>
66445 #endif
66446
66447 #undef $ac_func
66448
66449 /* Override any gcc2 internal prototype to avoid an error.  */
66450 #ifdef __cplusplus
66451 extern "C"
66452 {
66453 #endif
66454 /* We use char because int might match the return type of a gcc2
66455    builtin and then its argument prototype would still apply.  */
66456 char $ac_func ();
66457 /* The GNU C library defines this for functions which it implements
66458     to always fail with ENOSYS.  Some functions are actually named
66459     something starting with __ and the normal name is an alias.  */
66460 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
66461 choke me
66462 #else
66463 char (*f) () = $ac_func;
66464 #endif
66465 #ifdef __cplusplus
66466 }
66467 #endif
66468
66469 int
66470 main ()
66471 {
66472 return f != $ac_func;
66473   ;
66474   return 0;
66475 }
66476 _ACEOF
66477 rm -f conftest.$ac_objext conftest$ac_exeext
66478 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
66479   (eval $ac_link) 2>conftest.er1
66480   ac_status=$?
66481   grep -v '^ *+' conftest.er1 >conftest.err
66482   rm -f conftest.er1
66483   cat conftest.err >&5
66484   echo "$as_me:$LINENO: \$? = $ac_status" >&5
66485   (exit $ac_status); } &&
66486          { ac_try='test -z "$ac_c_werror_flag"
66487                          || test ! -s conftest.err'
66488   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
66489   (eval $ac_try) 2>&5
66490   ac_status=$?
66491   echo "$as_me:$LINENO: \$? = $ac_status" >&5
66492   (exit $ac_status); }; } &&
66493          { ac_try='test -s conftest$ac_exeext'
66494   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
66495   (eval $ac_try) 2>&5
66496   ac_status=$?
66497   echo "$as_me:$LINENO: \$? = $ac_status" >&5
66498   (exit $ac_status); }; }; then
66499   eval "$as_ac_var=yes"
66500 else
66501   echo "$as_me: failed program was:" >&5
66502 sed 's/^/| /' conftest.$ac_ext >&5
66503
66504 eval "$as_ac_var=no"
66505 fi
66506 rm -f conftest.err conftest.$ac_objext \
66507       conftest$ac_exeext conftest.$ac_ext
66508 fi
66509 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
66510 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
66511 if test `eval echo '${'$as_ac_var'}'` = yes; then
66512   cat >>confdefs.h <<_ACEOF
66513 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
66514 _ACEOF
66515
66516 fi
66517 done
66518
66519   else
66520
66521   echo "$as_me:$LINENO: checking for _atan2l declaration" >&5
66522 echo $ECHO_N "checking for _atan2l declaration... $ECHO_C" >&6
66523   if test x${glibcxx_cv_func__atan2l_use+set} != xset; then
66524     if test "${glibcxx_cv_func__atan2l_use+set}" = set; then
66525   echo $ECHO_N "(cached) $ECHO_C" >&6
66526 else
66527
66528
66529
66530       ac_ext=cc
66531 ac_cpp='$CXXCPP $CPPFLAGS'
66532 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66533 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66534 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
66535
66536       cat >conftest.$ac_ext <<_ACEOF
66537 /* confdefs.h.  */
66538 _ACEOF
66539 cat confdefs.h >>conftest.$ac_ext
66540 cat >>conftest.$ac_ext <<_ACEOF
66541 /* end confdefs.h.  */
66542 #include <math.h>
66543 int
66544 main ()
66545 {
66546  _atan2l(0, 0);
66547   ;
66548   return 0;
66549 }
66550 _ACEOF
66551 rm -f conftest.$ac_objext
66552 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
66553   (eval $ac_compile) 2>conftest.er1
66554   ac_status=$?
66555   grep -v '^ *+' conftest.er1 >conftest.err
66556   rm -f conftest.er1
66557   cat conftest.err >&5
66558   echo "$as_me:$LINENO: \$? = $ac_status" >&5
66559   (exit $ac_status); } &&
66560          { ac_try='test -z "$ac_cxx_werror_flag"
66561                          || test ! -s conftest.err'
66562   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
66563   (eval $ac_try) 2>&5
66564   ac_status=$?
66565   echo "$as_me:$LINENO: \$? = $ac_status" >&5
66566   (exit $ac_status); }; } &&
66567          { ac_try='test -s conftest.$ac_objext'
66568   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
66569   (eval $ac_try) 2>&5
66570   ac_status=$?
66571   echo "$as_me:$LINENO: \$? = $ac_status" >&5
66572   (exit $ac_status); }; }; then
66573   glibcxx_cv_func__atan2l_use=yes
66574 else
66575   echo "$as_me: failed program was:" >&5
66576 sed 's/^/| /' conftest.$ac_ext >&5
66577
66578 glibcxx_cv_func__atan2l_use=no
66579 fi
66580 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
66581       ac_ext=c
66582 ac_cpp='$CPP $CPPFLAGS'
66583 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66584 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66585 ac_compiler_gnu=$ac_cv_c_compiler_gnu
66586
66587
66588 fi
66589
66590   fi
66591   echo "$as_me:$LINENO: result: $glibcxx_cv_func__atan2l_use" >&5
66592 echo "${ECHO_T}$glibcxx_cv_func__atan2l_use" >&6
66593
66594     if test x$glibcxx_cv_func__atan2l_use = x"yes"; then
66595
66596 for ac_func in _atan2l
66597 do
66598 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
66599 echo "$as_me:$LINENO: checking for $ac_func" >&5
66600 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
66601 if eval "test \"\${$as_ac_var+set}\" = set"; then
66602   echo $ECHO_N "(cached) $ECHO_C" >&6
66603 else
66604   if test x$gcc_no_link = xyes; then
66605   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
66606 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
66607    { (exit 1); exit 1; }; }
66608 fi
66609 cat >conftest.$ac_ext <<_ACEOF
66610 /* confdefs.h.  */
66611 _ACEOF
66612 cat confdefs.h >>conftest.$ac_ext
66613 cat >>conftest.$ac_ext <<_ACEOF
66614 /* end confdefs.h.  */
66615 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
66616    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
66617 #define $ac_func innocuous_$ac_func
66618
66619 /* System header to define __stub macros and hopefully few prototypes,
66620     which can conflict with char $ac_func (); below.
66621     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
66622     <limits.h> exists even on freestanding compilers.  */
66623
66624 #ifdef __STDC__
66625 # include <limits.h>
66626 #else
66627 # include <assert.h>
66628 #endif
66629
66630 #undef $ac_func
66631
66632 /* Override any gcc2 internal prototype to avoid an error.  */
66633 #ifdef __cplusplus
66634 extern "C"
66635 {
66636 #endif
66637 /* We use char because int might match the return type of a gcc2
66638    builtin and then its argument prototype would still apply.  */
66639 char $ac_func ();
66640 /* The GNU C library defines this for functions which it implements
66641     to always fail with ENOSYS.  Some functions are actually named
66642     something starting with __ and the normal name is an alias.  */
66643 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
66644 choke me
66645 #else
66646 char (*f) () = $ac_func;
66647 #endif
66648 #ifdef __cplusplus
66649 }
66650 #endif
66651
66652 int
66653 main ()
66654 {
66655 return f != $ac_func;
66656   ;
66657   return 0;
66658 }
66659 _ACEOF
66660 rm -f conftest.$ac_objext conftest$ac_exeext
66661 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
66662   (eval $ac_link) 2>conftest.er1
66663   ac_status=$?
66664   grep -v '^ *+' conftest.er1 >conftest.err
66665   rm -f conftest.er1
66666   cat conftest.err >&5
66667   echo "$as_me:$LINENO: \$? = $ac_status" >&5
66668   (exit $ac_status); } &&
66669          { ac_try='test -z "$ac_c_werror_flag"
66670                          || test ! -s conftest.err'
66671   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
66672   (eval $ac_try) 2>&5
66673   ac_status=$?
66674   echo "$as_me:$LINENO: \$? = $ac_status" >&5
66675   (exit $ac_status); }; } &&
66676          { ac_try='test -s conftest$ac_exeext'
66677   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
66678   (eval $ac_try) 2>&5
66679   ac_status=$?
66680   echo "$as_me:$LINENO: \$? = $ac_status" >&5
66681   (exit $ac_status); }; }; then
66682   eval "$as_ac_var=yes"
66683 else
66684   echo "$as_me: failed program was:" >&5
66685 sed 's/^/| /' conftest.$ac_ext >&5
66686
66687 eval "$as_ac_var=no"
66688 fi
66689 rm -f conftest.err conftest.$ac_objext \
66690       conftest$ac_exeext conftest.$ac_ext
66691 fi
66692 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
66693 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
66694 if test `eval echo '${'$as_ac_var'}'` = yes; then
66695   cat >>confdefs.h <<_ACEOF
66696 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
66697 _ACEOF
66698
66699 fi
66700 done
66701
66702     fi
66703   fi
66704
66705
66706
66707
66708
66709
66710   echo "$as_me:$LINENO: checking for expl declaration" >&5
66711 echo $ECHO_N "checking for expl declaration... $ECHO_C" >&6
66712   if test x${glibcxx_cv_func_expl_use+set} != xset; then
66713     if test "${glibcxx_cv_func_expl_use+set}" = set; then
66714   echo $ECHO_N "(cached) $ECHO_C" >&6
66715 else
66716
66717
66718
66719       ac_ext=cc
66720 ac_cpp='$CXXCPP $CPPFLAGS'
66721 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66722 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66723 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
66724
66725       cat >conftest.$ac_ext <<_ACEOF
66726 /* confdefs.h.  */
66727 _ACEOF
66728 cat confdefs.h >>conftest.$ac_ext
66729 cat >>conftest.$ac_ext <<_ACEOF
66730 /* end confdefs.h.  */
66731 #include <math.h>
66732                       #ifdef HAVE_IEEEFP_H
66733                       #include <ieeefp.h>
66734                       #endif
66735
66736 int
66737 main ()
66738 {
66739  expl(0);
66740   ;
66741   return 0;
66742 }
66743 _ACEOF
66744 rm -f conftest.$ac_objext
66745 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
66746   (eval $ac_compile) 2>conftest.er1
66747   ac_status=$?
66748   grep -v '^ *+' conftest.er1 >conftest.err
66749   rm -f conftest.er1
66750   cat conftest.err >&5
66751   echo "$as_me:$LINENO: \$? = $ac_status" >&5
66752   (exit $ac_status); } &&
66753          { ac_try='test -z "$ac_cxx_werror_flag"
66754                          || test ! -s conftest.err'
66755   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
66756   (eval $ac_try) 2>&5
66757   ac_status=$?
66758   echo "$as_me:$LINENO: \$? = $ac_status" >&5
66759   (exit $ac_status); }; } &&
66760          { ac_try='test -s conftest.$ac_objext'
66761   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
66762   (eval $ac_try) 2>&5
66763   ac_status=$?
66764   echo "$as_me:$LINENO: \$? = $ac_status" >&5
66765   (exit $ac_status); }; }; then
66766   glibcxx_cv_func_expl_use=yes
66767 else
66768   echo "$as_me: failed program was:" >&5
66769 sed 's/^/| /' conftest.$ac_ext >&5
66770
66771 glibcxx_cv_func_expl_use=no
66772 fi
66773 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
66774       ac_ext=c
66775 ac_cpp='$CPP $CPPFLAGS'
66776 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66777 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66778 ac_compiler_gnu=$ac_cv_c_compiler_gnu
66779
66780
66781 fi
66782
66783   fi
66784   echo "$as_me:$LINENO: result: $glibcxx_cv_func_expl_use" >&5
66785 echo "${ECHO_T}$glibcxx_cv_func_expl_use" >&6
66786
66787   if test x$glibcxx_cv_func_expl_use = x"yes"; then
66788
66789 for ac_func in expl
66790 do
66791 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
66792 echo "$as_me:$LINENO: checking for $ac_func" >&5
66793 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
66794 if eval "test \"\${$as_ac_var+set}\" = set"; then
66795   echo $ECHO_N "(cached) $ECHO_C" >&6
66796 else
66797   if test x$gcc_no_link = xyes; then
66798   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
66799 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
66800    { (exit 1); exit 1; }; }
66801 fi
66802 cat >conftest.$ac_ext <<_ACEOF
66803 /* confdefs.h.  */
66804 _ACEOF
66805 cat confdefs.h >>conftest.$ac_ext
66806 cat >>conftest.$ac_ext <<_ACEOF
66807 /* end confdefs.h.  */
66808 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
66809    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
66810 #define $ac_func innocuous_$ac_func
66811
66812 /* System header to define __stub macros and hopefully few prototypes,
66813     which can conflict with char $ac_func (); below.
66814     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
66815     <limits.h> exists even on freestanding compilers.  */
66816
66817 #ifdef __STDC__
66818 # include <limits.h>
66819 #else
66820 # include <assert.h>
66821 #endif
66822
66823 #undef $ac_func
66824
66825 /* Override any gcc2 internal prototype to avoid an error.  */
66826 #ifdef __cplusplus
66827 extern "C"
66828 {
66829 #endif
66830 /* We use char because int might match the return type of a gcc2
66831    builtin and then its argument prototype would still apply.  */
66832 char $ac_func ();
66833 /* The GNU C library defines this for functions which it implements
66834     to always fail with ENOSYS.  Some functions are actually named
66835     something starting with __ and the normal name is an alias.  */
66836 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
66837 choke me
66838 #else
66839 char (*f) () = $ac_func;
66840 #endif
66841 #ifdef __cplusplus
66842 }
66843 #endif
66844
66845 int
66846 main ()
66847 {
66848 return f != $ac_func;
66849   ;
66850   return 0;
66851 }
66852 _ACEOF
66853 rm -f conftest.$ac_objext conftest$ac_exeext
66854 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
66855   (eval $ac_link) 2>conftest.er1
66856   ac_status=$?
66857   grep -v '^ *+' conftest.er1 >conftest.err
66858   rm -f conftest.er1
66859   cat conftest.err >&5
66860   echo "$as_me:$LINENO: \$? = $ac_status" >&5
66861   (exit $ac_status); } &&
66862          { ac_try='test -z "$ac_c_werror_flag"
66863                          || test ! -s conftest.err'
66864   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
66865   (eval $ac_try) 2>&5
66866   ac_status=$?
66867   echo "$as_me:$LINENO: \$? = $ac_status" >&5
66868   (exit $ac_status); }; } &&
66869          { ac_try='test -s conftest$ac_exeext'
66870   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
66871   (eval $ac_try) 2>&5
66872   ac_status=$?
66873   echo "$as_me:$LINENO: \$? = $ac_status" >&5
66874   (exit $ac_status); }; }; then
66875   eval "$as_ac_var=yes"
66876 else
66877   echo "$as_me: failed program was:" >&5
66878 sed 's/^/| /' conftest.$ac_ext >&5
66879
66880 eval "$as_ac_var=no"
66881 fi
66882 rm -f conftest.err conftest.$ac_objext \
66883       conftest$ac_exeext conftest.$ac_ext
66884 fi
66885 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
66886 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
66887 if test `eval echo '${'$as_ac_var'}'` = yes; then
66888   cat >>confdefs.h <<_ACEOF
66889 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
66890 _ACEOF
66891
66892 fi
66893 done
66894
66895   else
66896
66897   echo "$as_me:$LINENO: checking for _expl declaration" >&5
66898 echo $ECHO_N "checking for _expl declaration... $ECHO_C" >&6
66899   if test x${glibcxx_cv_func__expl_use+set} != xset; then
66900     if test "${glibcxx_cv_func__expl_use+set}" = set; then
66901   echo $ECHO_N "(cached) $ECHO_C" >&6
66902 else
66903
66904
66905
66906       ac_ext=cc
66907 ac_cpp='$CXXCPP $CPPFLAGS'
66908 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66909 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66910 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
66911
66912       cat >conftest.$ac_ext <<_ACEOF
66913 /* confdefs.h.  */
66914 _ACEOF
66915 cat confdefs.h >>conftest.$ac_ext
66916 cat >>conftest.$ac_ext <<_ACEOF
66917 /* end confdefs.h.  */
66918 #include <math.h>
66919                       #ifdef HAVE_IEEEFP_H
66920                       #include <ieeefp.h>
66921                       #endif
66922
66923 int
66924 main ()
66925 {
66926  _expl(0);
66927   ;
66928   return 0;
66929 }
66930 _ACEOF
66931 rm -f conftest.$ac_objext
66932 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
66933   (eval $ac_compile) 2>conftest.er1
66934   ac_status=$?
66935   grep -v '^ *+' conftest.er1 >conftest.err
66936   rm -f conftest.er1
66937   cat conftest.err >&5
66938   echo "$as_me:$LINENO: \$? = $ac_status" >&5
66939   (exit $ac_status); } &&
66940          { ac_try='test -z "$ac_cxx_werror_flag"
66941                          || test ! -s conftest.err'
66942   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
66943   (eval $ac_try) 2>&5
66944   ac_status=$?
66945   echo "$as_me:$LINENO: \$? = $ac_status" >&5
66946   (exit $ac_status); }; } &&
66947          { ac_try='test -s conftest.$ac_objext'
66948   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
66949   (eval $ac_try) 2>&5
66950   ac_status=$?
66951   echo "$as_me:$LINENO: \$? = $ac_status" >&5
66952   (exit $ac_status); }; }; then
66953   glibcxx_cv_func__expl_use=yes
66954 else
66955   echo "$as_me: failed program was:" >&5
66956 sed 's/^/| /' conftest.$ac_ext >&5
66957
66958 glibcxx_cv_func__expl_use=no
66959 fi
66960 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
66961       ac_ext=c
66962 ac_cpp='$CPP $CPPFLAGS'
66963 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66964 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66965 ac_compiler_gnu=$ac_cv_c_compiler_gnu
66966
66967
66968 fi
66969
66970   fi
66971   echo "$as_me:$LINENO: result: $glibcxx_cv_func__expl_use" >&5
66972 echo "${ECHO_T}$glibcxx_cv_func__expl_use" >&6
66973
66974     if test x$glibcxx_cv_func__expl_use = x"yes"; then
66975
66976 for ac_func in _expl
66977 do
66978 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
66979 echo "$as_me:$LINENO: checking for $ac_func" >&5
66980 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
66981 if eval "test \"\${$as_ac_var+set}\" = set"; then
66982   echo $ECHO_N "(cached) $ECHO_C" >&6
66983 else
66984   if test x$gcc_no_link = xyes; then
66985   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
66986 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
66987    { (exit 1); exit 1; }; }
66988 fi
66989 cat >conftest.$ac_ext <<_ACEOF
66990 /* confdefs.h.  */
66991 _ACEOF
66992 cat confdefs.h >>conftest.$ac_ext
66993 cat >>conftest.$ac_ext <<_ACEOF
66994 /* end confdefs.h.  */
66995 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
66996    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
66997 #define $ac_func innocuous_$ac_func
66998
66999 /* System header to define __stub macros and hopefully few prototypes,
67000     which can conflict with char $ac_func (); below.
67001     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
67002     <limits.h> exists even on freestanding compilers.  */
67003
67004 #ifdef __STDC__
67005 # include <limits.h>
67006 #else
67007 # include <assert.h>
67008 #endif
67009
67010 #undef $ac_func
67011
67012 /* Override any gcc2 internal prototype to avoid an error.  */
67013 #ifdef __cplusplus
67014 extern "C"
67015 {
67016 #endif
67017 /* We use char because int might match the return type of a gcc2
67018    builtin and then its argument prototype would still apply.  */
67019 char $ac_func ();
67020 /* The GNU C library defines this for functions which it implements
67021     to always fail with ENOSYS.  Some functions are actually named
67022     something starting with __ and the normal name is an alias.  */
67023 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
67024 choke me
67025 #else
67026 char (*f) () = $ac_func;
67027 #endif
67028 #ifdef __cplusplus
67029 }
67030 #endif
67031
67032 int
67033 main ()
67034 {
67035 return f != $ac_func;
67036   ;
67037   return 0;
67038 }
67039 _ACEOF
67040 rm -f conftest.$ac_objext conftest$ac_exeext
67041 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
67042   (eval $ac_link) 2>conftest.er1
67043   ac_status=$?
67044   grep -v '^ *+' conftest.er1 >conftest.err
67045   rm -f conftest.er1
67046   cat conftest.err >&5
67047   echo "$as_me:$LINENO: \$? = $ac_status" >&5
67048   (exit $ac_status); } &&
67049          { ac_try='test -z "$ac_c_werror_flag"
67050                          || test ! -s conftest.err'
67051   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
67052   (eval $ac_try) 2>&5
67053   ac_status=$?
67054   echo "$as_me:$LINENO: \$? = $ac_status" >&5
67055   (exit $ac_status); }; } &&
67056          { ac_try='test -s conftest$ac_exeext'
67057   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
67058   (eval $ac_try) 2>&5
67059   ac_status=$?
67060   echo "$as_me:$LINENO: \$? = $ac_status" >&5
67061   (exit $ac_status); }; }; then
67062   eval "$as_ac_var=yes"
67063 else
67064   echo "$as_me: failed program was:" >&5
67065 sed 's/^/| /' conftest.$ac_ext >&5
67066
67067 eval "$as_ac_var=no"
67068 fi
67069 rm -f conftest.err conftest.$ac_objext \
67070       conftest$ac_exeext conftest.$ac_ext
67071 fi
67072 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
67073 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
67074 if test `eval echo '${'$as_ac_var'}'` = yes; then
67075   cat >>confdefs.h <<_ACEOF
67076 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
67077 _ACEOF
67078
67079 fi
67080 done
67081
67082     fi
67083   fi
67084
67085
67086
67087
67088
67089
67090   echo "$as_me:$LINENO: checking for fabsl declaration" >&5
67091 echo $ECHO_N "checking for fabsl declaration... $ECHO_C" >&6
67092   if test x${glibcxx_cv_func_fabsl_use+set} != xset; then
67093     if test "${glibcxx_cv_func_fabsl_use+set}" = set; then
67094   echo $ECHO_N "(cached) $ECHO_C" >&6
67095 else
67096
67097
67098
67099       ac_ext=cc
67100 ac_cpp='$CXXCPP $CPPFLAGS'
67101 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67102 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67103 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
67104
67105       cat >conftest.$ac_ext <<_ACEOF
67106 /* confdefs.h.  */
67107 _ACEOF
67108 cat confdefs.h >>conftest.$ac_ext
67109 cat >>conftest.$ac_ext <<_ACEOF
67110 /* end confdefs.h.  */
67111 #include <math.h>
67112                       #ifdef HAVE_IEEEFP_H
67113                       #include <ieeefp.h>
67114                       #endif
67115
67116 int
67117 main ()
67118 {
67119  fabsl(0);
67120   ;
67121   return 0;
67122 }
67123 _ACEOF
67124 rm -f conftest.$ac_objext
67125 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
67126   (eval $ac_compile) 2>conftest.er1
67127   ac_status=$?
67128   grep -v '^ *+' conftest.er1 >conftest.err
67129   rm -f conftest.er1
67130   cat conftest.err >&5
67131   echo "$as_me:$LINENO: \$? = $ac_status" >&5
67132   (exit $ac_status); } &&
67133          { ac_try='test -z "$ac_cxx_werror_flag"
67134                          || test ! -s conftest.err'
67135   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
67136   (eval $ac_try) 2>&5
67137   ac_status=$?
67138   echo "$as_me:$LINENO: \$? = $ac_status" >&5
67139   (exit $ac_status); }; } &&
67140          { ac_try='test -s conftest.$ac_objext'
67141   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
67142   (eval $ac_try) 2>&5
67143   ac_status=$?
67144   echo "$as_me:$LINENO: \$? = $ac_status" >&5
67145   (exit $ac_status); }; }; then
67146   glibcxx_cv_func_fabsl_use=yes
67147 else
67148   echo "$as_me: failed program was:" >&5
67149 sed 's/^/| /' conftest.$ac_ext >&5
67150
67151 glibcxx_cv_func_fabsl_use=no
67152 fi
67153 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
67154       ac_ext=c
67155 ac_cpp='$CPP $CPPFLAGS'
67156 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67157 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67158 ac_compiler_gnu=$ac_cv_c_compiler_gnu
67159
67160
67161 fi
67162
67163   fi
67164   echo "$as_me:$LINENO: result: $glibcxx_cv_func_fabsl_use" >&5
67165 echo "${ECHO_T}$glibcxx_cv_func_fabsl_use" >&6
67166
67167   if test x$glibcxx_cv_func_fabsl_use = x"yes"; then
67168
67169 for ac_func in fabsl
67170 do
67171 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
67172 echo "$as_me:$LINENO: checking for $ac_func" >&5
67173 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
67174 if eval "test \"\${$as_ac_var+set}\" = set"; then
67175   echo $ECHO_N "(cached) $ECHO_C" >&6
67176 else
67177   if test x$gcc_no_link = xyes; then
67178   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
67179 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
67180    { (exit 1); exit 1; }; }
67181 fi
67182 cat >conftest.$ac_ext <<_ACEOF
67183 /* confdefs.h.  */
67184 _ACEOF
67185 cat confdefs.h >>conftest.$ac_ext
67186 cat >>conftest.$ac_ext <<_ACEOF
67187 /* end confdefs.h.  */
67188 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
67189    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
67190 #define $ac_func innocuous_$ac_func
67191
67192 /* System header to define __stub macros and hopefully few prototypes,
67193     which can conflict with char $ac_func (); below.
67194     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
67195     <limits.h> exists even on freestanding compilers.  */
67196
67197 #ifdef __STDC__
67198 # include <limits.h>
67199 #else
67200 # include <assert.h>
67201 #endif
67202
67203 #undef $ac_func
67204
67205 /* Override any gcc2 internal prototype to avoid an error.  */
67206 #ifdef __cplusplus
67207 extern "C"
67208 {
67209 #endif
67210 /* We use char because int might match the return type of a gcc2
67211    builtin and then its argument prototype would still apply.  */
67212 char $ac_func ();
67213 /* The GNU C library defines this for functions which it implements
67214     to always fail with ENOSYS.  Some functions are actually named
67215     something starting with __ and the normal name is an alias.  */
67216 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
67217 choke me
67218 #else
67219 char (*f) () = $ac_func;
67220 #endif
67221 #ifdef __cplusplus
67222 }
67223 #endif
67224
67225 int
67226 main ()
67227 {
67228 return f != $ac_func;
67229   ;
67230   return 0;
67231 }
67232 _ACEOF
67233 rm -f conftest.$ac_objext conftest$ac_exeext
67234 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
67235   (eval $ac_link) 2>conftest.er1
67236   ac_status=$?
67237   grep -v '^ *+' conftest.er1 >conftest.err
67238   rm -f conftest.er1
67239   cat conftest.err >&5
67240   echo "$as_me:$LINENO: \$? = $ac_status" >&5
67241   (exit $ac_status); } &&
67242          { ac_try='test -z "$ac_c_werror_flag"
67243                          || test ! -s conftest.err'
67244   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
67245   (eval $ac_try) 2>&5
67246   ac_status=$?
67247   echo "$as_me:$LINENO: \$? = $ac_status" >&5
67248   (exit $ac_status); }; } &&
67249          { ac_try='test -s conftest$ac_exeext'
67250   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
67251   (eval $ac_try) 2>&5
67252   ac_status=$?
67253   echo "$as_me:$LINENO: \$? = $ac_status" >&5
67254   (exit $ac_status); }; }; then
67255   eval "$as_ac_var=yes"
67256 else
67257   echo "$as_me: failed program was:" >&5
67258 sed 's/^/| /' conftest.$ac_ext >&5
67259
67260 eval "$as_ac_var=no"
67261 fi
67262 rm -f conftest.err conftest.$ac_objext \
67263       conftest$ac_exeext conftest.$ac_ext
67264 fi
67265 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
67266 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
67267 if test `eval echo '${'$as_ac_var'}'` = yes; then
67268   cat >>confdefs.h <<_ACEOF
67269 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
67270 _ACEOF
67271
67272 fi
67273 done
67274
67275   else
67276
67277   echo "$as_me:$LINENO: checking for _fabsl declaration" >&5
67278 echo $ECHO_N "checking for _fabsl declaration... $ECHO_C" >&6
67279   if test x${glibcxx_cv_func__fabsl_use+set} != xset; then
67280     if test "${glibcxx_cv_func__fabsl_use+set}" = set; then
67281   echo $ECHO_N "(cached) $ECHO_C" >&6
67282 else
67283
67284
67285
67286       ac_ext=cc
67287 ac_cpp='$CXXCPP $CPPFLAGS'
67288 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67289 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67290 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
67291
67292       cat >conftest.$ac_ext <<_ACEOF
67293 /* confdefs.h.  */
67294 _ACEOF
67295 cat confdefs.h >>conftest.$ac_ext
67296 cat >>conftest.$ac_ext <<_ACEOF
67297 /* end confdefs.h.  */
67298 #include <math.h>
67299                       #ifdef HAVE_IEEEFP_H
67300                       #include <ieeefp.h>
67301                       #endif
67302
67303 int
67304 main ()
67305 {
67306  _fabsl(0);
67307   ;
67308   return 0;
67309 }
67310 _ACEOF
67311 rm -f conftest.$ac_objext
67312 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
67313   (eval $ac_compile) 2>conftest.er1
67314   ac_status=$?
67315   grep -v '^ *+' conftest.er1 >conftest.err
67316   rm -f conftest.er1
67317   cat conftest.err >&5
67318   echo "$as_me:$LINENO: \$? = $ac_status" >&5
67319   (exit $ac_status); } &&
67320          { ac_try='test -z "$ac_cxx_werror_flag"
67321                          || test ! -s conftest.err'
67322   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
67323   (eval $ac_try) 2>&5
67324   ac_status=$?
67325   echo "$as_me:$LINENO: \$? = $ac_status" >&5
67326   (exit $ac_status); }; } &&
67327          { ac_try='test -s conftest.$ac_objext'
67328   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
67329   (eval $ac_try) 2>&5
67330   ac_status=$?
67331   echo "$as_me:$LINENO: \$? = $ac_status" >&5
67332   (exit $ac_status); }; }; then
67333   glibcxx_cv_func__fabsl_use=yes
67334 else
67335   echo "$as_me: failed program was:" >&5
67336 sed 's/^/| /' conftest.$ac_ext >&5
67337
67338 glibcxx_cv_func__fabsl_use=no
67339 fi
67340 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
67341       ac_ext=c
67342 ac_cpp='$CPP $CPPFLAGS'
67343 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67344 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67345 ac_compiler_gnu=$ac_cv_c_compiler_gnu
67346
67347
67348 fi
67349
67350   fi
67351   echo "$as_me:$LINENO: result: $glibcxx_cv_func__fabsl_use" >&5
67352 echo "${ECHO_T}$glibcxx_cv_func__fabsl_use" >&6
67353
67354     if test x$glibcxx_cv_func__fabsl_use = x"yes"; then
67355
67356 for ac_func in _fabsl
67357 do
67358 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
67359 echo "$as_me:$LINENO: checking for $ac_func" >&5
67360 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
67361 if eval "test \"\${$as_ac_var+set}\" = set"; then
67362   echo $ECHO_N "(cached) $ECHO_C" >&6
67363 else
67364   if test x$gcc_no_link = xyes; then
67365   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
67366 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
67367    { (exit 1); exit 1; }; }
67368 fi
67369 cat >conftest.$ac_ext <<_ACEOF
67370 /* confdefs.h.  */
67371 _ACEOF
67372 cat confdefs.h >>conftest.$ac_ext
67373 cat >>conftest.$ac_ext <<_ACEOF
67374 /* end confdefs.h.  */
67375 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
67376    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
67377 #define $ac_func innocuous_$ac_func
67378
67379 /* System header to define __stub macros and hopefully few prototypes,
67380     which can conflict with char $ac_func (); below.
67381     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
67382     <limits.h> exists even on freestanding compilers.  */
67383
67384 #ifdef __STDC__
67385 # include <limits.h>
67386 #else
67387 # include <assert.h>
67388 #endif
67389
67390 #undef $ac_func
67391
67392 /* Override any gcc2 internal prototype to avoid an error.  */
67393 #ifdef __cplusplus
67394 extern "C"
67395 {
67396 #endif
67397 /* We use char because int might match the return type of a gcc2
67398    builtin and then its argument prototype would still apply.  */
67399 char $ac_func ();
67400 /* The GNU C library defines this for functions which it implements
67401     to always fail with ENOSYS.  Some functions are actually named
67402     something starting with __ and the normal name is an alias.  */
67403 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
67404 choke me
67405 #else
67406 char (*f) () = $ac_func;
67407 #endif
67408 #ifdef __cplusplus
67409 }
67410 #endif
67411
67412 int
67413 main ()
67414 {
67415 return f != $ac_func;
67416   ;
67417   return 0;
67418 }
67419 _ACEOF
67420 rm -f conftest.$ac_objext conftest$ac_exeext
67421 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
67422   (eval $ac_link) 2>conftest.er1
67423   ac_status=$?
67424   grep -v '^ *+' conftest.er1 >conftest.err
67425   rm -f conftest.er1
67426   cat conftest.err >&5
67427   echo "$as_me:$LINENO: \$? = $ac_status" >&5
67428   (exit $ac_status); } &&
67429          { ac_try='test -z "$ac_c_werror_flag"
67430                          || test ! -s conftest.err'
67431   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
67432   (eval $ac_try) 2>&5
67433   ac_status=$?
67434   echo "$as_me:$LINENO: \$? = $ac_status" >&5
67435   (exit $ac_status); }; } &&
67436          { ac_try='test -s conftest$ac_exeext'
67437   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
67438   (eval $ac_try) 2>&5
67439   ac_status=$?
67440   echo "$as_me:$LINENO: \$? = $ac_status" >&5
67441   (exit $ac_status); }; }; then
67442   eval "$as_ac_var=yes"
67443 else
67444   echo "$as_me: failed program was:" >&5
67445 sed 's/^/| /' conftest.$ac_ext >&5
67446
67447 eval "$as_ac_var=no"
67448 fi
67449 rm -f conftest.err conftest.$ac_objext \
67450       conftest$ac_exeext conftest.$ac_ext
67451 fi
67452 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
67453 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
67454 if test `eval echo '${'$as_ac_var'}'` = yes; then
67455   cat >>confdefs.h <<_ACEOF
67456 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
67457 _ACEOF
67458
67459 fi
67460 done
67461
67462     fi
67463   fi
67464
67465
67466
67467
67468
67469
67470   echo "$as_me:$LINENO: checking for fmodl declaration" >&5
67471 echo $ECHO_N "checking for fmodl declaration... $ECHO_C" >&6
67472   if test x${glibcxx_cv_func_fmodl_use+set} != xset; then
67473     if test "${glibcxx_cv_func_fmodl_use+set}" = set; then
67474   echo $ECHO_N "(cached) $ECHO_C" >&6
67475 else
67476
67477
67478
67479       ac_ext=cc
67480 ac_cpp='$CXXCPP $CPPFLAGS'
67481 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67482 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67483 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
67484
67485       cat >conftest.$ac_ext <<_ACEOF
67486 /* confdefs.h.  */
67487 _ACEOF
67488 cat confdefs.h >>conftest.$ac_ext
67489 cat >>conftest.$ac_ext <<_ACEOF
67490 /* end confdefs.h.  */
67491 #include <math.h>
67492 int
67493 main ()
67494 {
67495  fmodl(0, 0);
67496   ;
67497   return 0;
67498 }
67499 _ACEOF
67500 rm -f conftest.$ac_objext
67501 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
67502   (eval $ac_compile) 2>conftest.er1
67503   ac_status=$?
67504   grep -v '^ *+' conftest.er1 >conftest.err
67505   rm -f conftest.er1
67506   cat conftest.err >&5
67507   echo "$as_me:$LINENO: \$? = $ac_status" >&5
67508   (exit $ac_status); } &&
67509          { ac_try='test -z "$ac_cxx_werror_flag"
67510                          || test ! -s conftest.err'
67511   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
67512   (eval $ac_try) 2>&5
67513   ac_status=$?
67514   echo "$as_me:$LINENO: \$? = $ac_status" >&5
67515   (exit $ac_status); }; } &&
67516          { ac_try='test -s conftest.$ac_objext'
67517   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
67518   (eval $ac_try) 2>&5
67519   ac_status=$?
67520   echo "$as_me:$LINENO: \$? = $ac_status" >&5
67521   (exit $ac_status); }; }; then
67522   glibcxx_cv_func_fmodl_use=yes
67523 else
67524   echo "$as_me: failed program was:" >&5
67525 sed 's/^/| /' conftest.$ac_ext >&5
67526
67527 glibcxx_cv_func_fmodl_use=no
67528 fi
67529 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
67530       ac_ext=c
67531 ac_cpp='$CPP $CPPFLAGS'
67532 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67533 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67534 ac_compiler_gnu=$ac_cv_c_compiler_gnu
67535
67536
67537 fi
67538
67539   fi
67540   echo "$as_me:$LINENO: result: $glibcxx_cv_func_fmodl_use" >&5
67541 echo "${ECHO_T}$glibcxx_cv_func_fmodl_use" >&6
67542
67543   if test x$glibcxx_cv_func_fmodl_use = x"yes"; then
67544
67545 for ac_func in fmodl
67546 do
67547 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
67548 echo "$as_me:$LINENO: checking for $ac_func" >&5
67549 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
67550 if eval "test \"\${$as_ac_var+set}\" = set"; then
67551   echo $ECHO_N "(cached) $ECHO_C" >&6
67552 else
67553   if test x$gcc_no_link = xyes; then
67554   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
67555 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
67556    { (exit 1); exit 1; }; }
67557 fi
67558 cat >conftest.$ac_ext <<_ACEOF
67559 /* confdefs.h.  */
67560 _ACEOF
67561 cat confdefs.h >>conftest.$ac_ext
67562 cat >>conftest.$ac_ext <<_ACEOF
67563 /* end confdefs.h.  */
67564 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
67565    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
67566 #define $ac_func innocuous_$ac_func
67567
67568 /* System header to define __stub macros and hopefully few prototypes,
67569     which can conflict with char $ac_func (); below.
67570     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
67571     <limits.h> exists even on freestanding compilers.  */
67572
67573 #ifdef __STDC__
67574 # include <limits.h>
67575 #else
67576 # include <assert.h>
67577 #endif
67578
67579 #undef $ac_func
67580
67581 /* Override any gcc2 internal prototype to avoid an error.  */
67582 #ifdef __cplusplus
67583 extern "C"
67584 {
67585 #endif
67586 /* We use char because int might match the return type of a gcc2
67587    builtin and then its argument prototype would still apply.  */
67588 char $ac_func ();
67589 /* The GNU C library defines this for functions which it implements
67590     to always fail with ENOSYS.  Some functions are actually named
67591     something starting with __ and the normal name is an alias.  */
67592 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
67593 choke me
67594 #else
67595 char (*f) () = $ac_func;
67596 #endif
67597 #ifdef __cplusplus
67598 }
67599 #endif
67600
67601 int
67602 main ()
67603 {
67604 return f != $ac_func;
67605   ;
67606   return 0;
67607 }
67608 _ACEOF
67609 rm -f conftest.$ac_objext conftest$ac_exeext
67610 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
67611   (eval $ac_link) 2>conftest.er1
67612   ac_status=$?
67613   grep -v '^ *+' conftest.er1 >conftest.err
67614   rm -f conftest.er1
67615   cat conftest.err >&5
67616   echo "$as_me:$LINENO: \$? = $ac_status" >&5
67617   (exit $ac_status); } &&
67618          { ac_try='test -z "$ac_c_werror_flag"
67619                          || test ! -s conftest.err'
67620   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
67621   (eval $ac_try) 2>&5
67622   ac_status=$?
67623   echo "$as_me:$LINENO: \$? = $ac_status" >&5
67624   (exit $ac_status); }; } &&
67625          { ac_try='test -s conftest$ac_exeext'
67626   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
67627   (eval $ac_try) 2>&5
67628   ac_status=$?
67629   echo "$as_me:$LINENO: \$? = $ac_status" >&5
67630   (exit $ac_status); }; }; then
67631   eval "$as_ac_var=yes"
67632 else
67633   echo "$as_me: failed program was:" >&5
67634 sed 's/^/| /' conftest.$ac_ext >&5
67635
67636 eval "$as_ac_var=no"
67637 fi
67638 rm -f conftest.err conftest.$ac_objext \
67639       conftest$ac_exeext conftest.$ac_ext
67640 fi
67641 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
67642 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
67643 if test `eval echo '${'$as_ac_var'}'` = yes; then
67644   cat >>confdefs.h <<_ACEOF
67645 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
67646 _ACEOF
67647
67648 fi
67649 done
67650
67651   else
67652
67653   echo "$as_me:$LINENO: checking for _fmodl declaration" >&5
67654 echo $ECHO_N "checking for _fmodl declaration... $ECHO_C" >&6
67655   if test x${glibcxx_cv_func__fmodl_use+set} != xset; then
67656     if test "${glibcxx_cv_func__fmodl_use+set}" = set; then
67657   echo $ECHO_N "(cached) $ECHO_C" >&6
67658 else
67659
67660
67661
67662       ac_ext=cc
67663 ac_cpp='$CXXCPP $CPPFLAGS'
67664 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67665 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67666 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
67667
67668       cat >conftest.$ac_ext <<_ACEOF
67669 /* confdefs.h.  */
67670 _ACEOF
67671 cat confdefs.h >>conftest.$ac_ext
67672 cat >>conftest.$ac_ext <<_ACEOF
67673 /* end confdefs.h.  */
67674 #include <math.h>
67675 int
67676 main ()
67677 {
67678  _fmodl(0, 0);
67679   ;
67680   return 0;
67681 }
67682 _ACEOF
67683 rm -f conftest.$ac_objext
67684 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
67685   (eval $ac_compile) 2>conftest.er1
67686   ac_status=$?
67687   grep -v '^ *+' conftest.er1 >conftest.err
67688   rm -f conftest.er1
67689   cat conftest.err >&5
67690   echo "$as_me:$LINENO: \$? = $ac_status" >&5
67691   (exit $ac_status); } &&
67692          { ac_try='test -z "$ac_cxx_werror_flag"
67693                          || test ! -s conftest.err'
67694   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
67695   (eval $ac_try) 2>&5
67696   ac_status=$?
67697   echo "$as_me:$LINENO: \$? = $ac_status" >&5
67698   (exit $ac_status); }; } &&
67699          { ac_try='test -s conftest.$ac_objext'
67700   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
67701   (eval $ac_try) 2>&5
67702   ac_status=$?
67703   echo "$as_me:$LINENO: \$? = $ac_status" >&5
67704   (exit $ac_status); }; }; then
67705   glibcxx_cv_func__fmodl_use=yes
67706 else
67707   echo "$as_me: failed program was:" >&5
67708 sed 's/^/| /' conftest.$ac_ext >&5
67709
67710 glibcxx_cv_func__fmodl_use=no
67711 fi
67712 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
67713       ac_ext=c
67714 ac_cpp='$CPP $CPPFLAGS'
67715 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67716 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67717 ac_compiler_gnu=$ac_cv_c_compiler_gnu
67718
67719
67720 fi
67721
67722   fi
67723   echo "$as_me:$LINENO: result: $glibcxx_cv_func__fmodl_use" >&5
67724 echo "${ECHO_T}$glibcxx_cv_func__fmodl_use" >&6
67725
67726     if test x$glibcxx_cv_func__fmodl_use = x"yes"; then
67727
67728 for ac_func in _fmodl
67729 do
67730 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
67731 echo "$as_me:$LINENO: checking for $ac_func" >&5
67732 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
67733 if eval "test \"\${$as_ac_var+set}\" = set"; then
67734   echo $ECHO_N "(cached) $ECHO_C" >&6
67735 else
67736   if test x$gcc_no_link = xyes; then
67737   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
67738 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
67739    { (exit 1); exit 1; }; }
67740 fi
67741 cat >conftest.$ac_ext <<_ACEOF
67742 /* confdefs.h.  */
67743 _ACEOF
67744 cat confdefs.h >>conftest.$ac_ext
67745 cat >>conftest.$ac_ext <<_ACEOF
67746 /* end confdefs.h.  */
67747 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
67748    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
67749 #define $ac_func innocuous_$ac_func
67750
67751 /* System header to define __stub macros and hopefully few prototypes,
67752     which can conflict with char $ac_func (); below.
67753     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
67754     <limits.h> exists even on freestanding compilers.  */
67755
67756 #ifdef __STDC__
67757 # include <limits.h>
67758 #else
67759 # include <assert.h>
67760 #endif
67761
67762 #undef $ac_func
67763
67764 /* Override any gcc2 internal prototype to avoid an error.  */
67765 #ifdef __cplusplus
67766 extern "C"
67767 {
67768 #endif
67769 /* We use char because int might match the return type of a gcc2
67770    builtin and then its argument prototype would still apply.  */
67771 char $ac_func ();
67772 /* The GNU C library defines this for functions which it implements
67773     to always fail with ENOSYS.  Some functions are actually named
67774     something starting with __ and the normal name is an alias.  */
67775 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
67776 choke me
67777 #else
67778 char (*f) () = $ac_func;
67779 #endif
67780 #ifdef __cplusplus
67781 }
67782 #endif
67783
67784 int
67785 main ()
67786 {
67787 return f != $ac_func;
67788   ;
67789   return 0;
67790 }
67791 _ACEOF
67792 rm -f conftest.$ac_objext conftest$ac_exeext
67793 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
67794   (eval $ac_link) 2>conftest.er1
67795   ac_status=$?
67796   grep -v '^ *+' conftest.er1 >conftest.err
67797   rm -f conftest.er1
67798   cat conftest.err >&5
67799   echo "$as_me:$LINENO: \$? = $ac_status" >&5
67800   (exit $ac_status); } &&
67801          { ac_try='test -z "$ac_c_werror_flag"
67802                          || test ! -s conftest.err'
67803   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
67804   (eval $ac_try) 2>&5
67805   ac_status=$?
67806   echo "$as_me:$LINENO: \$? = $ac_status" >&5
67807   (exit $ac_status); }; } &&
67808          { ac_try='test -s conftest$ac_exeext'
67809   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
67810   (eval $ac_try) 2>&5
67811   ac_status=$?
67812   echo "$as_me:$LINENO: \$? = $ac_status" >&5
67813   (exit $ac_status); }; }; then
67814   eval "$as_ac_var=yes"
67815 else
67816   echo "$as_me: failed program was:" >&5
67817 sed 's/^/| /' conftest.$ac_ext >&5
67818
67819 eval "$as_ac_var=no"
67820 fi
67821 rm -f conftest.err conftest.$ac_objext \
67822       conftest$ac_exeext conftest.$ac_ext
67823 fi
67824 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
67825 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
67826 if test `eval echo '${'$as_ac_var'}'` = yes; then
67827   cat >>confdefs.h <<_ACEOF
67828 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
67829 _ACEOF
67830
67831 fi
67832 done
67833
67834     fi
67835   fi
67836
67837
67838
67839
67840
67841
67842   echo "$as_me:$LINENO: checking for frexpl declaration" >&5
67843 echo $ECHO_N "checking for frexpl declaration... $ECHO_C" >&6
67844   if test x${glibcxx_cv_func_frexpl_use+set} != xset; then
67845     if test "${glibcxx_cv_func_frexpl_use+set}" = set; then
67846   echo $ECHO_N "(cached) $ECHO_C" >&6
67847 else
67848
67849
67850
67851       ac_ext=cc
67852 ac_cpp='$CXXCPP $CPPFLAGS'
67853 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67854 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67855 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
67856
67857       cat >conftest.$ac_ext <<_ACEOF
67858 /* confdefs.h.  */
67859 _ACEOF
67860 cat confdefs.h >>conftest.$ac_ext
67861 cat >>conftest.$ac_ext <<_ACEOF
67862 /* end confdefs.h.  */
67863 #include <math.h>
67864 int
67865 main ()
67866 {
67867  frexpl(0, 0);
67868   ;
67869   return 0;
67870 }
67871 _ACEOF
67872 rm -f conftest.$ac_objext
67873 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
67874   (eval $ac_compile) 2>conftest.er1
67875   ac_status=$?
67876   grep -v '^ *+' conftest.er1 >conftest.err
67877   rm -f conftest.er1
67878   cat conftest.err >&5
67879   echo "$as_me:$LINENO: \$? = $ac_status" >&5
67880   (exit $ac_status); } &&
67881          { ac_try='test -z "$ac_cxx_werror_flag"
67882                          || test ! -s conftest.err'
67883   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
67884   (eval $ac_try) 2>&5
67885   ac_status=$?
67886   echo "$as_me:$LINENO: \$? = $ac_status" >&5
67887   (exit $ac_status); }; } &&
67888          { ac_try='test -s conftest.$ac_objext'
67889   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
67890   (eval $ac_try) 2>&5
67891   ac_status=$?
67892   echo "$as_me:$LINENO: \$? = $ac_status" >&5
67893   (exit $ac_status); }; }; then
67894   glibcxx_cv_func_frexpl_use=yes
67895 else
67896   echo "$as_me: failed program was:" >&5
67897 sed 's/^/| /' conftest.$ac_ext >&5
67898
67899 glibcxx_cv_func_frexpl_use=no
67900 fi
67901 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
67902       ac_ext=c
67903 ac_cpp='$CPP $CPPFLAGS'
67904 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67905 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67906 ac_compiler_gnu=$ac_cv_c_compiler_gnu
67907
67908
67909 fi
67910
67911   fi
67912   echo "$as_me:$LINENO: result: $glibcxx_cv_func_frexpl_use" >&5
67913 echo "${ECHO_T}$glibcxx_cv_func_frexpl_use" >&6
67914
67915   if test x$glibcxx_cv_func_frexpl_use = x"yes"; then
67916
67917 for ac_func in frexpl
67918 do
67919 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
67920 echo "$as_me:$LINENO: checking for $ac_func" >&5
67921 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
67922 if eval "test \"\${$as_ac_var+set}\" = set"; then
67923   echo $ECHO_N "(cached) $ECHO_C" >&6
67924 else
67925   if test x$gcc_no_link = xyes; then
67926   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
67927 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
67928    { (exit 1); exit 1; }; }
67929 fi
67930 cat >conftest.$ac_ext <<_ACEOF
67931 /* confdefs.h.  */
67932 _ACEOF
67933 cat confdefs.h >>conftest.$ac_ext
67934 cat >>conftest.$ac_ext <<_ACEOF
67935 /* end confdefs.h.  */
67936 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
67937    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
67938 #define $ac_func innocuous_$ac_func
67939
67940 /* System header to define __stub macros and hopefully few prototypes,
67941     which can conflict with char $ac_func (); below.
67942     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
67943     <limits.h> exists even on freestanding compilers.  */
67944
67945 #ifdef __STDC__
67946 # include <limits.h>
67947 #else
67948 # include <assert.h>
67949 #endif
67950
67951 #undef $ac_func
67952
67953 /* Override any gcc2 internal prototype to avoid an error.  */
67954 #ifdef __cplusplus
67955 extern "C"
67956 {
67957 #endif
67958 /* We use char because int might match the return type of a gcc2
67959    builtin and then its argument prototype would still apply.  */
67960 char $ac_func ();
67961 /* The GNU C library defines this for functions which it implements
67962     to always fail with ENOSYS.  Some functions are actually named
67963     something starting with __ and the normal name is an alias.  */
67964 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
67965 choke me
67966 #else
67967 char (*f) () = $ac_func;
67968 #endif
67969 #ifdef __cplusplus
67970 }
67971 #endif
67972
67973 int
67974 main ()
67975 {
67976 return f != $ac_func;
67977   ;
67978   return 0;
67979 }
67980 _ACEOF
67981 rm -f conftest.$ac_objext conftest$ac_exeext
67982 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
67983   (eval $ac_link) 2>conftest.er1
67984   ac_status=$?
67985   grep -v '^ *+' conftest.er1 >conftest.err
67986   rm -f conftest.er1
67987   cat conftest.err >&5
67988   echo "$as_me:$LINENO: \$? = $ac_status" >&5
67989   (exit $ac_status); } &&
67990          { ac_try='test -z "$ac_c_werror_flag"
67991                          || test ! -s conftest.err'
67992   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
67993   (eval $ac_try) 2>&5
67994   ac_status=$?
67995   echo "$as_me:$LINENO: \$? = $ac_status" >&5
67996   (exit $ac_status); }; } &&
67997          { ac_try='test -s conftest$ac_exeext'
67998   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
67999   (eval $ac_try) 2>&5
68000   ac_status=$?
68001   echo "$as_me:$LINENO: \$? = $ac_status" >&5
68002   (exit $ac_status); }; }; then
68003   eval "$as_ac_var=yes"
68004 else
68005   echo "$as_me: failed program was:" >&5
68006 sed 's/^/| /' conftest.$ac_ext >&5
68007
68008 eval "$as_ac_var=no"
68009 fi
68010 rm -f conftest.err conftest.$ac_objext \
68011       conftest$ac_exeext conftest.$ac_ext
68012 fi
68013 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
68014 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
68015 if test `eval echo '${'$as_ac_var'}'` = yes; then
68016   cat >>confdefs.h <<_ACEOF
68017 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
68018 _ACEOF
68019
68020 fi
68021 done
68022
68023   else
68024
68025   echo "$as_me:$LINENO: checking for _frexpl declaration" >&5
68026 echo $ECHO_N "checking for _frexpl declaration... $ECHO_C" >&6
68027   if test x${glibcxx_cv_func__frexpl_use+set} != xset; then
68028     if test "${glibcxx_cv_func__frexpl_use+set}" = set; then
68029   echo $ECHO_N "(cached) $ECHO_C" >&6
68030 else
68031
68032
68033
68034       ac_ext=cc
68035 ac_cpp='$CXXCPP $CPPFLAGS'
68036 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68037 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68038 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
68039
68040       cat >conftest.$ac_ext <<_ACEOF
68041 /* confdefs.h.  */
68042 _ACEOF
68043 cat confdefs.h >>conftest.$ac_ext
68044 cat >>conftest.$ac_ext <<_ACEOF
68045 /* end confdefs.h.  */
68046 #include <math.h>
68047 int
68048 main ()
68049 {
68050  _frexpl(0, 0);
68051   ;
68052   return 0;
68053 }
68054 _ACEOF
68055 rm -f conftest.$ac_objext
68056 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
68057   (eval $ac_compile) 2>conftest.er1
68058   ac_status=$?
68059   grep -v '^ *+' conftest.er1 >conftest.err
68060   rm -f conftest.er1
68061   cat conftest.err >&5
68062   echo "$as_me:$LINENO: \$? = $ac_status" >&5
68063   (exit $ac_status); } &&
68064          { ac_try='test -z "$ac_cxx_werror_flag"
68065                          || test ! -s conftest.err'
68066   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
68067   (eval $ac_try) 2>&5
68068   ac_status=$?
68069   echo "$as_me:$LINENO: \$? = $ac_status" >&5
68070   (exit $ac_status); }; } &&
68071          { ac_try='test -s conftest.$ac_objext'
68072   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
68073   (eval $ac_try) 2>&5
68074   ac_status=$?
68075   echo "$as_me:$LINENO: \$? = $ac_status" >&5
68076   (exit $ac_status); }; }; then
68077   glibcxx_cv_func__frexpl_use=yes
68078 else
68079   echo "$as_me: failed program was:" >&5
68080 sed 's/^/| /' conftest.$ac_ext >&5
68081
68082 glibcxx_cv_func__frexpl_use=no
68083 fi
68084 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
68085       ac_ext=c
68086 ac_cpp='$CPP $CPPFLAGS'
68087 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68088 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68089 ac_compiler_gnu=$ac_cv_c_compiler_gnu
68090
68091
68092 fi
68093
68094   fi
68095   echo "$as_me:$LINENO: result: $glibcxx_cv_func__frexpl_use" >&5
68096 echo "${ECHO_T}$glibcxx_cv_func__frexpl_use" >&6
68097
68098     if test x$glibcxx_cv_func__frexpl_use = x"yes"; then
68099
68100 for ac_func in _frexpl
68101 do
68102 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
68103 echo "$as_me:$LINENO: checking for $ac_func" >&5
68104 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
68105 if eval "test \"\${$as_ac_var+set}\" = set"; then
68106   echo $ECHO_N "(cached) $ECHO_C" >&6
68107 else
68108   if test x$gcc_no_link = xyes; then
68109   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
68110 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
68111    { (exit 1); exit 1; }; }
68112 fi
68113 cat >conftest.$ac_ext <<_ACEOF
68114 /* confdefs.h.  */
68115 _ACEOF
68116 cat confdefs.h >>conftest.$ac_ext
68117 cat >>conftest.$ac_ext <<_ACEOF
68118 /* end confdefs.h.  */
68119 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
68120    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
68121 #define $ac_func innocuous_$ac_func
68122
68123 /* System header to define __stub macros and hopefully few prototypes,
68124     which can conflict with char $ac_func (); below.
68125     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
68126     <limits.h> exists even on freestanding compilers.  */
68127
68128 #ifdef __STDC__
68129 # include <limits.h>
68130 #else
68131 # include <assert.h>
68132 #endif
68133
68134 #undef $ac_func
68135
68136 /* Override any gcc2 internal prototype to avoid an error.  */
68137 #ifdef __cplusplus
68138 extern "C"
68139 {
68140 #endif
68141 /* We use char because int might match the return type of a gcc2
68142    builtin and then its argument prototype would still apply.  */
68143 char $ac_func ();
68144 /* The GNU C library defines this for functions which it implements
68145     to always fail with ENOSYS.  Some functions are actually named
68146     something starting with __ and the normal name is an alias.  */
68147 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
68148 choke me
68149 #else
68150 char (*f) () = $ac_func;
68151 #endif
68152 #ifdef __cplusplus
68153 }
68154 #endif
68155
68156 int
68157 main ()
68158 {
68159 return f != $ac_func;
68160   ;
68161   return 0;
68162 }
68163 _ACEOF
68164 rm -f conftest.$ac_objext conftest$ac_exeext
68165 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
68166   (eval $ac_link) 2>conftest.er1
68167   ac_status=$?
68168   grep -v '^ *+' conftest.er1 >conftest.err
68169   rm -f conftest.er1
68170   cat conftest.err >&5
68171   echo "$as_me:$LINENO: \$? = $ac_status" >&5
68172   (exit $ac_status); } &&
68173          { ac_try='test -z "$ac_c_werror_flag"
68174                          || test ! -s conftest.err'
68175   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
68176   (eval $ac_try) 2>&5
68177   ac_status=$?
68178   echo "$as_me:$LINENO: \$? = $ac_status" >&5
68179   (exit $ac_status); }; } &&
68180          { ac_try='test -s conftest$ac_exeext'
68181   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
68182   (eval $ac_try) 2>&5
68183   ac_status=$?
68184   echo "$as_me:$LINENO: \$? = $ac_status" >&5
68185   (exit $ac_status); }; }; then
68186   eval "$as_ac_var=yes"
68187 else
68188   echo "$as_me: failed program was:" >&5
68189 sed 's/^/| /' conftest.$ac_ext >&5
68190
68191 eval "$as_ac_var=no"
68192 fi
68193 rm -f conftest.err conftest.$ac_objext \
68194       conftest$ac_exeext conftest.$ac_ext
68195 fi
68196 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
68197 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
68198 if test `eval echo '${'$as_ac_var'}'` = yes; then
68199   cat >>confdefs.h <<_ACEOF
68200 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
68201 _ACEOF
68202
68203 fi
68204 done
68205
68206     fi
68207   fi
68208
68209
68210
68211
68212
68213
68214   echo "$as_me:$LINENO: checking for hypotl declaration" >&5
68215 echo $ECHO_N "checking for hypotl declaration... $ECHO_C" >&6
68216   if test x${glibcxx_cv_func_hypotl_use+set} != xset; then
68217     if test "${glibcxx_cv_func_hypotl_use+set}" = set; then
68218   echo $ECHO_N "(cached) $ECHO_C" >&6
68219 else
68220
68221
68222
68223       ac_ext=cc
68224 ac_cpp='$CXXCPP $CPPFLAGS'
68225 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68226 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68227 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
68228
68229       cat >conftest.$ac_ext <<_ACEOF
68230 /* confdefs.h.  */
68231 _ACEOF
68232 cat confdefs.h >>conftest.$ac_ext
68233 cat >>conftest.$ac_ext <<_ACEOF
68234 /* end confdefs.h.  */
68235 #include <math.h>
68236 int
68237 main ()
68238 {
68239  hypotl(0, 0);
68240   ;
68241   return 0;
68242 }
68243 _ACEOF
68244 rm -f conftest.$ac_objext
68245 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
68246   (eval $ac_compile) 2>conftest.er1
68247   ac_status=$?
68248   grep -v '^ *+' conftest.er1 >conftest.err
68249   rm -f conftest.er1
68250   cat conftest.err >&5
68251   echo "$as_me:$LINENO: \$? = $ac_status" >&5
68252   (exit $ac_status); } &&
68253          { ac_try='test -z "$ac_cxx_werror_flag"
68254                          || test ! -s conftest.err'
68255   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
68256   (eval $ac_try) 2>&5
68257   ac_status=$?
68258   echo "$as_me:$LINENO: \$? = $ac_status" >&5
68259   (exit $ac_status); }; } &&
68260          { ac_try='test -s conftest.$ac_objext'
68261   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
68262   (eval $ac_try) 2>&5
68263   ac_status=$?
68264   echo "$as_me:$LINENO: \$? = $ac_status" >&5
68265   (exit $ac_status); }; }; then
68266   glibcxx_cv_func_hypotl_use=yes
68267 else
68268   echo "$as_me: failed program was:" >&5
68269 sed 's/^/| /' conftest.$ac_ext >&5
68270
68271 glibcxx_cv_func_hypotl_use=no
68272 fi
68273 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
68274       ac_ext=c
68275 ac_cpp='$CPP $CPPFLAGS'
68276 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68277 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68278 ac_compiler_gnu=$ac_cv_c_compiler_gnu
68279
68280
68281 fi
68282
68283   fi
68284   echo "$as_me:$LINENO: result: $glibcxx_cv_func_hypotl_use" >&5
68285 echo "${ECHO_T}$glibcxx_cv_func_hypotl_use" >&6
68286
68287   if test x$glibcxx_cv_func_hypotl_use = x"yes"; then
68288
68289 for ac_func in hypotl
68290 do
68291 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
68292 echo "$as_me:$LINENO: checking for $ac_func" >&5
68293 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
68294 if eval "test \"\${$as_ac_var+set}\" = set"; then
68295   echo $ECHO_N "(cached) $ECHO_C" >&6
68296 else
68297   if test x$gcc_no_link = xyes; then
68298   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
68299 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
68300    { (exit 1); exit 1; }; }
68301 fi
68302 cat >conftest.$ac_ext <<_ACEOF
68303 /* confdefs.h.  */
68304 _ACEOF
68305 cat confdefs.h >>conftest.$ac_ext
68306 cat >>conftest.$ac_ext <<_ACEOF
68307 /* end confdefs.h.  */
68308 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
68309    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
68310 #define $ac_func innocuous_$ac_func
68311
68312 /* System header to define __stub macros and hopefully few prototypes,
68313     which can conflict with char $ac_func (); below.
68314     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
68315     <limits.h> exists even on freestanding compilers.  */
68316
68317 #ifdef __STDC__
68318 # include <limits.h>
68319 #else
68320 # include <assert.h>
68321 #endif
68322
68323 #undef $ac_func
68324
68325 /* Override any gcc2 internal prototype to avoid an error.  */
68326 #ifdef __cplusplus
68327 extern "C"
68328 {
68329 #endif
68330 /* We use char because int might match the return type of a gcc2
68331    builtin and then its argument prototype would still apply.  */
68332 char $ac_func ();
68333 /* The GNU C library defines this for functions which it implements
68334     to always fail with ENOSYS.  Some functions are actually named
68335     something starting with __ and the normal name is an alias.  */
68336 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
68337 choke me
68338 #else
68339 char (*f) () = $ac_func;
68340 #endif
68341 #ifdef __cplusplus
68342 }
68343 #endif
68344
68345 int
68346 main ()
68347 {
68348 return f != $ac_func;
68349   ;
68350   return 0;
68351 }
68352 _ACEOF
68353 rm -f conftest.$ac_objext conftest$ac_exeext
68354 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
68355   (eval $ac_link) 2>conftest.er1
68356   ac_status=$?
68357   grep -v '^ *+' conftest.er1 >conftest.err
68358   rm -f conftest.er1
68359   cat conftest.err >&5
68360   echo "$as_me:$LINENO: \$? = $ac_status" >&5
68361   (exit $ac_status); } &&
68362          { ac_try='test -z "$ac_c_werror_flag"
68363                          || test ! -s conftest.err'
68364   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
68365   (eval $ac_try) 2>&5
68366   ac_status=$?
68367   echo "$as_me:$LINENO: \$? = $ac_status" >&5
68368   (exit $ac_status); }; } &&
68369          { ac_try='test -s conftest$ac_exeext'
68370   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
68371   (eval $ac_try) 2>&5
68372   ac_status=$?
68373   echo "$as_me:$LINENO: \$? = $ac_status" >&5
68374   (exit $ac_status); }; }; then
68375   eval "$as_ac_var=yes"
68376 else
68377   echo "$as_me: failed program was:" >&5
68378 sed 's/^/| /' conftest.$ac_ext >&5
68379
68380 eval "$as_ac_var=no"
68381 fi
68382 rm -f conftest.err conftest.$ac_objext \
68383       conftest$ac_exeext conftest.$ac_ext
68384 fi
68385 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
68386 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
68387 if test `eval echo '${'$as_ac_var'}'` = yes; then
68388   cat >>confdefs.h <<_ACEOF
68389 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
68390 _ACEOF
68391
68392 fi
68393 done
68394
68395   else
68396
68397   echo "$as_me:$LINENO: checking for _hypotl declaration" >&5
68398 echo $ECHO_N "checking for _hypotl declaration... $ECHO_C" >&6
68399   if test x${glibcxx_cv_func__hypotl_use+set} != xset; then
68400     if test "${glibcxx_cv_func__hypotl_use+set}" = set; then
68401   echo $ECHO_N "(cached) $ECHO_C" >&6
68402 else
68403
68404
68405
68406       ac_ext=cc
68407 ac_cpp='$CXXCPP $CPPFLAGS'
68408 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68409 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68410 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
68411
68412       cat >conftest.$ac_ext <<_ACEOF
68413 /* confdefs.h.  */
68414 _ACEOF
68415 cat confdefs.h >>conftest.$ac_ext
68416 cat >>conftest.$ac_ext <<_ACEOF
68417 /* end confdefs.h.  */
68418 #include <math.h>
68419 int
68420 main ()
68421 {
68422  _hypotl(0, 0);
68423   ;
68424   return 0;
68425 }
68426 _ACEOF
68427 rm -f conftest.$ac_objext
68428 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
68429   (eval $ac_compile) 2>conftest.er1
68430   ac_status=$?
68431   grep -v '^ *+' conftest.er1 >conftest.err
68432   rm -f conftest.er1
68433   cat conftest.err >&5
68434   echo "$as_me:$LINENO: \$? = $ac_status" >&5
68435   (exit $ac_status); } &&
68436          { ac_try='test -z "$ac_cxx_werror_flag"
68437                          || test ! -s conftest.err'
68438   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
68439   (eval $ac_try) 2>&5
68440   ac_status=$?
68441   echo "$as_me:$LINENO: \$? = $ac_status" >&5
68442   (exit $ac_status); }; } &&
68443          { ac_try='test -s conftest.$ac_objext'
68444   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
68445   (eval $ac_try) 2>&5
68446   ac_status=$?
68447   echo "$as_me:$LINENO: \$? = $ac_status" >&5
68448   (exit $ac_status); }; }; then
68449   glibcxx_cv_func__hypotl_use=yes
68450 else
68451   echo "$as_me: failed program was:" >&5
68452 sed 's/^/| /' conftest.$ac_ext >&5
68453
68454 glibcxx_cv_func__hypotl_use=no
68455 fi
68456 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
68457       ac_ext=c
68458 ac_cpp='$CPP $CPPFLAGS'
68459 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68460 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68461 ac_compiler_gnu=$ac_cv_c_compiler_gnu
68462
68463
68464 fi
68465
68466   fi
68467   echo "$as_me:$LINENO: result: $glibcxx_cv_func__hypotl_use" >&5
68468 echo "${ECHO_T}$glibcxx_cv_func__hypotl_use" >&6
68469
68470     if test x$glibcxx_cv_func__hypotl_use = x"yes"; then
68471
68472 for ac_func in _hypotl
68473 do
68474 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
68475 echo "$as_me:$LINENO: checking for $ac_func" >&5
68476 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
68477 if eval "test \"\${$as_ac_var+set}\" = set"; then
68478   echo $ECHO_N "(cached) $ECHO_C" >&6
68479 else
68480   if test x$gcc_no_link = xyes; then
68481   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
68482 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
68483    { (exit 1); exit 1; }; }
68484 fi
68485 cat >conftest.$ac_ext <<_ACEOF
68486 /* confdefs.h.  */
68487 _ACEOF
68488 cat confdefs.h >>conftest.$ac_ext
68489 cat >>conftest.$ac_ext <<_ACEOF
68490 /* end confdefs.h.  */
68491 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
68492    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
68493 #define $ac_func innocuous_$ac_func
68494
68495 /* System header to define __stub macros and hopefully few prototypes,
68496     which can conflict with char $ac_func (); below.
68497     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
68498     <limits.h> exists even on freestanding compilers.  */
68499
68500 #ifdef __STDC__
68501 # include <limits.h>
68502 #else
68503 # include <assert.h>
68504 #endif
68505
68506 #undef $ac_func
68507
68508 /* Override any gcc2 internal prototype to avoid an error.  */
68509 #ifdef __cplusplus
68510 extern "C"
68511 {
68512 #endif
68513 /* We use char because int might match the return type of a gcc2
68514    builtin and then its argument prototype would still apply.  */
68515 char $ac_func ();
68516 /* The GNU C library defines this for functions which it implements
68517     to always fail with ENOSYS.  Some functions are actually named
68518     something starting with __ and the normal name is an alias.  */
68519 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
68520 choke me
68521 #else
68522 char (*f) () = $ac_func;
68523 #endif
68524 #ifdef __cplusplus
68525 }
68526 #endif
68527
68528 int
68529 main ()
68530 {
68531 return f != $ac_func;
68532   ;
68533   return 0;
68534 }
68535 _ACEOF
68536 rm -f conftest.$ac_objext conftest$ac_exeext
68537 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
68538   (eval $ac_link) 2>conftest.er1
68539   ac_status=$?
68540   grep -v '^ *+' conftest.er1 >conftest.err
68541   rm -f conftest.er1
68542   cat conftest.err >&5
68543   echo "$as_me:$LINENO: \$? = $ac_status" >&5
68544   (exit $ac_status); } &&
68545          { ac_try='test -z "$ac_c_werror_flag"
68546                          || test ! -s conftest.err'
68547   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
68548   (eval $ac_try) 2>&5
68549   ac_status=$?
68550   echo "$as_me:$LINENO: \$? = $ac_status" >&5
68551   (exit $ac_status); }; } &&
68552          { ac_try='test -s conftest$ac_exeext'
68553   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
68554   (eval $ac_try) 2>&5
68555   ac_status=$?
68556   echo "$as_me:$LINENO: \$? = $ac_status" >&5
68557   (exit $ac_status); }; }; then
68558   eval "$as_ac_var=yes"
68559 else
68560   echo "$as_me: failed program was:" >&5
68561 sed 's/^/| /' conftest.$ac_ext >&5
68562
68563 eval "$as_ac_var=no"
68564 fi
68565 rm -f conftest.err conftest.$ac_objext \
68566       conftest$ac_exeext conftest.$ac_ext
68567 fi
68568 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
68569 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
68570 if test `eval echo '${'$as_ac_var'}'` = yes; then
68571   cat >>confdefs.h <<_ACEOF
68572 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
68573 _ACEOF
68574
68575 fi
68576 done
68577
68578     fi
68579   fi
68580
68581
68582
68583
68584
68585
68586   echo "$as_me:$LINENO: checking for ldexpl declaration" >&5
68587 echo $ECHO_N "checking for ldexpl declaration... $ECHO_C" >&6
68588   if test x${glibcxx_cv_func_ldexpl_use+set} != xset; then
68589     if test "${glibcxx_cv_func_ldexpl_use+set}" = set; then
68590   echo $ECHO_N "(cached) $ECHO_C" >&6
68591 else
68592
68593
68594
68595       ac_ext=cc
68596 ac_cpp='$CXXCPP $CPPFLAGS'
68597 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68598 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68599 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
68600
68601       cat >conftest.$ac_ext <<_ACEOF
68602 /* confdefs.h.  */
68603 _ACEOF
68604 cat confdefs.h >>conftest.$ac_ext
68605 cat >>conftest.$ac_ext <<_ACEOF
68606 /* end confdefs.h.  */
68607 #include <math.h>
68608 int
68609 main ()
68610 {
68611  ldexpl(0, 0);
68612   ;
68613   return 0;
68614 }
68615 _ACEOF
68616 rm -f conftest.$ac_objext
68617 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
68618   (eval $ac_compile) 2>conftest.er1
68619   ac_status=$?
68620   grep -v '^ *+' conftest.er1 >conftest.err
68621   rm -f conftest.er1
68622   cat conftest.err >&5
68623   echo "$as_me:$LINENO: \$? = $ac_status" >&5
68624   (exit $ac_status); } &&
68625          { ac_try='test -z "$ac_cxx_werror_flag"
68626                          || test ! -s conftest.err'
68627   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
68628   (eval $ac_try) 2>&5
68629   ac_status=$?
68630   echo "$as_me:$LINENO: \$? = $ac_status" >&5
68631   (exit $ac_status); }; } &&
68632          { ac_try='test -s conftest.$ac_objext'
68633   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
68634   (eval $ac_try) 2>&5
68635   ac_status=$?
68636   echo "$as_me:$LINENO: \$? = $ac_status" >&5
68637   (exit $ac_status); }; }; then
68638   glibcxx_cv_func_ldexpl_use=yes
68639 else
68640   echo "$as_me: failed program was:" >&5
68641 sed 's/^/| /' conftest.$ac_ext >&5
68642
68643 glibcxx_cv_func_ldexpl_use=no
68644 fi
68645 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
68646       ac_ext=c
68647 ac_cpp='$CPP $CPPFLAGS'
68648 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68649 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68650 ac_compiler_gnu=$ac_cv_c_compiler_gnu
68651
68652
68653 fi
68654
68655   fi
68656   echo "$as_me:$LINENO: result: $glibcxx_cv_func_ldexpl_use" >&5
68657 echo "${ECHO_T}$glibcxx_cv_func_ldexpl_use" >&6
68658
68659   if test x$glibcxx_cv_func_ldexpl_use = x"yes"; then
68660
68661 for ac_func in ldexpl
68662 do
68663 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
68664 echo "$as_me:$LINENO: checking for $ac_func" >&5
68665 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
68666 if eval "test \"\${$as_ac_var+set}\" = set"; then
68667   echo $ECHO_N "(cached) $ECHO_C" >&6
68668 else
68669   if test x$gcc_no_link = xyes; then
68670   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
68671 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
68672    { (exit 1); exit 1; }; }
68673 fi
68674 cat >conftest.$ac_ext <<_ACEOF
68675 /* confdefs.h.  */
68676 _ACEOF
68677 cat confdefs.h >>conftest.$ac_ext
68678 cat >>conftest.$ac_ext <<_ACEOF
68679 /* end confdefs.h.  */
68680 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
68681    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
68682 #define $ac_func innocuous_$ac_func
68683
68684 /* System header to define __stub macros and hopefully few prototypes,
68685     which can conflict with char $ac_func (); below.
68686     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
68687     <limits.h> exists even on freestanding compilers.  */
68688
68689 #ifdef __STDC__
68690 # include <limits.h>
68691 #else
68692 # include <assert.h>
68693 #endif
68694
68695 #undef $ac_func
68696
68697 /* Override any gcc2 internal prototype to avoid an error.  */
68698 #ifdef __cplusplus
68699 extern "C"
68700 {
68701 #endif
68702 /* We use char because int might match the return type of a gcc2
68703    builtin and then its argument prototype would still apply.  */
68704 char $ac_func ();
68705 /* The GNU C library defines this for functions which it implements
68706     to always fail with ENOSYS.  Some functions are actually named
68707     something starting with __ and the normal name is an alias.  */
68708 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
68709 choke me
68710 #else
68711 char (*f) () = $ac_func;
68712 #endif
68713 #ifdef __cplusplus
68714 }
68715 #endif
68716
68717 int
68718 main ()
68719 {
68720 return f != $ac_func;
68721   ;
68722   return 0;
68723 }
68724 _ACEOF
68725 rm -f conftest.$ac_objext conftest$ac_exeext
68726 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
68727   (eval $ac_link) 2>conftest.er1
68728   ac_status=$?
68729   grep -v '^ *+' conftest.er1 >conftest.err
68730   rm -f conftest.er1
68731   cat conftest.err >&5
68732   echo "$as_me:$LINENO: \$? = $ac_status" >&5
68733   (exit $ac_status); } &&
68734          { ac_try='test -z "$ac_c_werror_flag"
68735                          || test ! -s conftest.err'
68736   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
68737   (eval $ac_try) 2>&5
68738   ac_status=$?
68739   echo "$as_me:$LINENO: \$? = $ac_status" >&5
68740   (exit $ac_status); }; } &&
68741          { ac_try='test -s conftest$ac_exeext'
68742   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
68743   (eval $ac_try) 2>&5
68744   ac_status=$?
68745   echo "$as_me:$LINENO: \$? = $ac_status" >&5
68746   (exit $ac_status); }; }; then
68747   eval "$as_ac_var=yes"
68748 else
68749   echo "$as_me: failed program was:" >&5
68750 sed 's/^/| /' conftest.$ac_ext >&5
68751
68752 eval "$as_ac_var=no"
68753 fi
68754 rm -f conftest.err conftest.$ac_objext \
68755       conftest$ac_exeext conftest.$ac_ext
68756 fi
68757 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
68758 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
68759 if test `eval echo '${'$as_ac_var'}'` = yes; then
68760   cat >>confdefs.h <<_ACEOF
68761 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
68762 _ACEOF
68763
68764 fi
68765 done
68766
68767   else
68768
68769   echo "$as_me:$LINENO: checking for _ldexpl declaration" >&5
68770 echo $ECHO_N "checking for _ldexpl declaration... $ECHO_C" >&6
68771   if test x${glibcxx_cv_func__ldexpl_use+set} != xset; then
68772     if test "${glibcxx_cv_func__ldexpl_use+set}" = set; then
68773   echo $ECHO_N "(cached) $ECHO_C" >&6
68774 else
68775
68776
68777
68778       ac_ext=cc
68779 ac_cpp='$CXXCPP $CPPFLAGS'
68780 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68781 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68782 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
68783
68784       cat >conftest.$ac_ext <<_ACEOF
68785 /* confdefs.h.  */
68786 _ACEOF
68787 cat confdefs.h >>conftest.$ac_ext
68788 cat >>conftest.$ac_ext <<_ACEOF
68789 /* end confdefs.h.  */
68790 #include <math.h>
68791 int
68792 main ()
68793 {
68794  _ldexpl(0, 0);
68795   ;
68796   return 0;
68797 }
68798 _ACEOF
68799 rm -f conftest.$ac_objext
68800 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
68801   (eval $ac_compile) 2>conftest.er1
68802   ac_status=$?
68803   grep -v '^ *+' conftest.er1 >conftest.err
68804   rm -f conftest.er1
68805   cat conftest.err >&5
68806   echo "$as_me:$LINENO: \$? = $ac_status" >&5
68807   (exit $ac_status); } &&
68808          { ac_try='test -z "$ac_cxx_werror_flag"
68809                          || test ! -s conftest.err'
68810   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
68811   (eval $ac_try) 2>&5
68812   ac_status=$?
68813   echo "$as_me:$LINENO: \$? = $ac_status" >&5
68814   (exit $ac_status); }; } &&
68815          { ac_try='test -s conftest.$ac_objext'
68816   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
68817   (eval $ac_try) 2>&5
68818   ac_status=$?
68819   echo "$as_me:$LINENO: \$? = $ac_status" >&5
68820   (exit $ac_status); }; }; then
68821   glibcxx_cv_func__ldexpl_use=yes
68822 else
68823   echo "$as_me: failed program was:" >&5
68824 sed 's/^/| /' conftest.$ac_ext >&5
68825
68826 glibcxx_cv_func__ldexpl_use=no
68827 fi
68828 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
68829       ac_ext=c
68830 ac_cpp='$CPP $CPPFLAGS'
68831 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68832 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68833 ac_compiler_gnu=$ac_cv_c_compiler_gnu
68834
68835
68836 fi
68837
68838   fi
68839   echo "$as_me:$LINENO: result: $glibcxx_cv_func__ldexpl_use" >&5
68840 echo "${ECHO_T}$glibcxx_cv_func__ldexpl_use" >&6
68841
68842     if test x$glibcxx_cv_func__ldexpl_use = x"yes"; then
68843
68844 for ac_func in _ldexpl
68845 do
68846 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
68847 echo "$as_me:$LINENO: checking for $ac_func" >&5
68848 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
68849 if eval "test \"\${$as_ac_var+set}\" = set"; then
68850   echo $ECHO_N "(cached) $ECHO_C" >&6
68851 else
68852   if test x$gcc_no_link = xyes; then
68853   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
68854 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
68855    { (exit 1); exit 1; }; }
68856 fi
68857 cat >conftest.$ac_ext <<_ACEOF
68858 /* confdefs.h.  */
68859 _ACEOF
68860 cat confdefs.h >>conftest.$ac_ext
68861 cat >>conftest.$ac_ext <<_ACEOF
68862 /* end confdefs.h.  */
68863 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
68864    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
68865 #define $ac_func innocuous_$ac_func
68866
68867 /* System header to define __stub macros and hopefully few prototypes,
68868     which can conflict with char $ac_func (); below.
68869     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
68870     <limits.h> exists even on freestanding compilers.  */
68871
68872 #ifdef __STDC__
68873 # include <limits.h>
68874 #else
68875 # include <assert.h>
68876 #endif
68877
68878 #undef $ac_func
68879
68880 /* Override any gcc2 internal prototype to avoid an error.  */
68881 #ifdef __cplusplus
68882 extern "C"
68883 {
68884 #endif
68885 /* We use char because int might match the return type of a gcc2
68886    builtin and then its argument prototype would still apply.  */
68887 char $ac_func ();
68888 /* The GNU C library defines this for functions which it implements
68889     to always fail with ENOSYS.  Some functions are actually named
68890     something starting with __ and the normal name is an alias.  */
68891 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
68892 choke me
68893 #else
68894 char (*f) () = $ac_func;
68895 #endif
68896 #ifdef __cplusplus
68897 }
68898 #endif
68899
68900 int
68901 main ()
68902 {
68903 return f != $ac_func;
68904   ;
68905   return 0;
68906 }
68907 _ACEOF
68908 rm -f conftest.$ac_objext conftest$ac_exeext
68909 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
68910   (eval $ac_link) 2>conftest.er1
68911   ac_status=$?
68912   grep -v '^ *+' conftest.er1 >conftest.err
68913   rm -f conftest.er1
68914   cat conftest.err >&5
68915   echo "$as_me:$LINENO: \$? = $ac_status" >&5
68916   (exit $ac_status); } &&
68917          { ac_try='test -z "$ac_c_werror_flag"
68918                          || test ! -s conftest.err'
68919   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
68920   (eval $ac_try) 2>&5
68921   ac_status=$?
68922   echo "$as_me:$LINENO: \$? = $ac_status" >&5
68923   (exit $ac_status); }; } &&
68924          { ac_try='test -s conftest$ac_exeext'
68925   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
68926   (eval $ac_try) 2>&5
68927   ac_status=$?
68928   echo "$as_me:$LINENO: \$? = $ac_status" >&5
68929   (exit $ac_status); }; }; then
68930   eval "$as_ac_var=yes"
68931 else
68932   echo "$as_me: failed program was:" >&5
68933 sed 's/^/| /' conftest.$ac_ext >&5
68934
68935 eval "$as_ac_var=no"
68936 fi
68937 rm -f conftest.err conftest.$ac_objext \
68938       conftest$ac_exeext conftest.$ac_ext
68939 fi
68940 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
68941 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
68942 if test `eval echo '${'$as_ac_var'}'` = yes; then
68943   cat >>confdefs.h <<_ACEOF
68944 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
68945 _ACEOF
68946
68947 fi
68948 done
68949
68950     fi
68951   fi
68952
68953
68954
68955
68956
68957
68958   echo "$as_me:$LINENO: checking for logl declaration" >&5
68959 echo $ECHO_N "checking for logl declaration... $ECHO_C" >&6
68960   if test x${glibcxx_cv_func_logl_use+set} != xset; then
68961     if test "${glibcxx_cv_func_logl_use+set}" = set; then
68962   echo $ECHO_N "(cached) $ECHO_C" >&6
68963 else
68964
68965
68966
68967       ac_ext=cc
68968 ac_cpp='$CXXCPP $CPPFLAGS'
68969 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68970 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68971 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
68972
68973       cat >conftest.$ac_ext <<_ACEOF
68974 /* confdefs.h.  */
68975 _ACEOF
68976 cat confdefs.h >>conftest.$ac_ext
68977 cat >>conftest.$ac_ext <<_ACEOF
68978 /* end confdefs.h.  */
68979 #include <math.h>
68980                       #ifdef HAVE_IEEEFP_H
68981                       #include <ieeefp.h>
68982                       #endif
68983
68984 int
68985 main ()
68986 {
68987  logl(0);
68988   ;
68989   return 0;
68990 }
68991 _ACEOF
68992 rm -f conftest.$ac_objext
68993 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
68994   (eval $ac_compile) 2>conftest.er1
68995   ac_status=$?
68996   grep -v '^ *+' conftest.er1 >conftest.err
68997   rm -f conftest.er1
68998   cat conftest.err >&5
68999   echo "$as_me:$LINENO: \$? = $ac_status" >&5
69000   (exit $ac_status); } &&
69001          { ac_try='test -z "$ac_cxx_werror_flag"
69002                          || test ! -s conftest.err'
69003   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
69004   (eval $ac_try) 2>&5
69005   ac_status=$?
69006   echo "$as_me:$LINENO: \$? = $ac_status" >&5
69007   (exit $ac_status); }; } &&
69008          { ac_try='test -s conftest.$ac_objext'
69009   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
69010   (eval $ac_try) 2>&5
69011   ac_status=$?
69012   echo "$as_me:$LINENO: \$? = $ac_status" >&5
69013   (exit $ac_status); }; }; then
69014   glibcxx_cv_func_logl_use=yes
69015 else
69016   echo "$as_me: failed program was:" >&5
69017 sed 's/^/| /' conftest.$ac_ext >&5
69018
69019 glibcxx_cv_func_logl_use=no
69020 fi
69021 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
69022       ac_ext=c
69023 ac_cpp='$CPP $CPPFLAGS'
69024 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69025 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69026 ac_compiler_gnu=$ac_cv_c_compiler_gnu
69027
69028
69029 fi
69030
69031   fi
69032   echo "$as_me:$LINENO: result: $glibcxx_cv_func_logl_use" >&5
69033 echo "${ECHO_T}$glibcxx_cv_func_logl_use" >&6
69034
69035   if test x$glibcxx_cv_func_logl_use = x"yes"; then
69036
69037 for ac_func in logl
69038 do
69039 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
69040 echo "$as_me:$LINENO: checking for $ac_func" >&5
69041 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
69042 if eval "test \"\${$as_ac_var+set}\" = set"; then
69043   echo $ECHO_N "(cached) $ECHO_C" >&6
69044 else
69045   if test x$gcc_no_link = xyes; then
69046   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
69047 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
69048    { (exit 1); exit 1; }; }
69049 fi
69050 cat >conftest.$ac_ext <<_ACEOF
69051 /* confdefs.h.  */
69052 _ACEOF
69053 cat confdefs.h >>conftest.$ac_ext
69054 cat >>conftest.$ac_ext <<_ACEOF
69055 /* end confdefs.h.  */
69056 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
69057    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
69058 #define $ac_func innocuous_$ac_func
69059
69060 /* System header to define __stub macros and hopefully few prototypes,
69061     which can conflict with char $ac_func (); below.
69062     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
69063     <limits.h> exists even on freestanding compilers.  */
69064
69065 #ifdef __STDC__
69066 # include <limits.h>
69067 #else
69068 # include <assert.h>
69069 #endif
69070
69071 #undef $ac_func
69072
69073 /* Override any gcc2 internal prototype to avoid an error.  */
69074 #ifdef __cplusplus
69075 extern "C"
69076 {
69077 #endif
69078 /* We use char because int might match the return type of a gcc2
69079    builtin and then its argument prototype would still apply.  */
69080 char $ac_func ();
69081 /* The GNU C library defines this for functions which it implements
69082     to always fail with ENOSYS.  Some functions are actually named
69083     something starting with __ and the normal name is an alias.  */
69084 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
69085 choke me
69086 #else
69087 char (*f) () = $ac_func;
69088 #endif
69089 #ifdef __cplusplus
69090 }
69091 #endif
69092
69093 int
69094 main ()
69095 {
69096 return f != $ac_func;
69097   ;
69098   return 0;
69099 }
69100 _ACEOF
69101 rm -f conftest.$ac_objext conftest$ac_exeext
69102 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
69103   (eval $ac_link) 2>conftest.er1
69104   ac_status=$?
69105   grep -v '^ *+' conftest.er1 >conftest.err
69106   rm -f conftest.er1
69107   cat conftest.err >&5
69108   echo "$as_me:$LINENO: \$? = $ac_status" >&5
69109   (exit $ac_status); } &&
69110          { ac_try='test -z "$ac_c_werror_flag"
69111                          || test ! -s conftest.err'
69112   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
69113   (eval $ac_try) 2>&5
69114   ac_status=$?
69115   echo "$as_me:$LINENO: \$? = $ac_status" >&5
69116   (exit $ac_status); }; } &&
69117          { ac_try='test -s conftest$ac_exeext'
69118   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
69119   (eval $ac_try) 2>&5
69120   ac_status=$?
69121   echo "$as_me:$LINENO: \$? = $ac_status" >&5
69122   (exit $ac_status); }; }; then
69123   eval "$as_ac_var=yes"
69124 else
69125   echo "$as_me: failed program was:" >&5
69126 sed 's/^/| /' conftest.$ac_ext >&5
69127
69128 eval "$as_ac_var=no"
69129 fi
69130 rm -f conftest.err conftest.$ac_objext \
69131       conftest$ac_exeext conftest.$ac_ext
69132 fi
69133 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
69134 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
69135 if test `eval echo '${'$as_ac_var'}'` = yes; then
69136   cat >>confdefs.h <<_ACEOF
69137 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
69138 _ACEOF
69139
69140 fi
69141 done
69142
69143   else
69144
69145   echo "$as_me:$LINENO: checking for _logl declaration" >&5
69146 echo $ECHO_N "checking for _logl declaration... $ECHO_C" >&6
69147   if test x${glibcxx_cv_func__logl_use+set} != xset; then
69148     if test "${glibcxx_cv_func__logl_use+set}" = set; then
69149   echo $ECHO_N "(cached) $ECHO_C" >&6
69150 else
69151
69152
69153
69154       ac_ext=cc
69155 ac_cpp='$CXXCPP $CPPFLAGS'
69156 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69157 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69158 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
69159
69160       cat >conftest.$ac_ext <<_ACEOF
69161 /* confdefs.h.  */
69162 _ACEOF
69163 cat confdefs.h >>conftest.$ac_ext
69164 cat >>conftest.$ac_ext <<_ACEOF
69165 /* end confdefs.h.  */
69166 #include <math.h>
69167                       #ifdef HAVE_IEEEFP_H
69168                       #include <ieeefp.h>
69169                       #endif
69170
69171 int
69172 main ()
69173 {
69174  _logl(0);
69175   ;
69176   return 0;
69177 }
69178 _ACEOF
69179 rm -f conftest.$ac_objext
69180 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
69181   (eval $ac_compile) 2>conftest.er1
69182   ac_status=$?
69183   grep -v '^ *+' conftest.er1 >conftest.err
69184   rm -f conftest.er1
69185   cat conftest.err >&5
69186   echo "$as_me:$LINENO: \$? = $ac_status" >&5
69187   (exit $ac_status); } &&
69188          { ac_try='test -z "$ac_cxx_werror_flag"
69189                          || test ! -s conftest.err'
69190   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
69191   (eval $ac_try) 2>&5
69192   ac_status=$?
69193   echo "$as_me:$LINENO: \$? = $ac_status" >&5
69194   (exit $ac_status); }; } &&
69195          { ac_try='test -s conftest.$ac_objext'
69196   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
69197   (eval $ac_try) 2>&5
69198   ac_status=$?
69199   echo "$as_me:$LINENO: \$? = $ac_status" >&5
69200   (exit $ac_status); }; }; then
69201   glibcxx_cv_func__logl_use=yes
69202 else
69203   echo "$as_me: failed program was:" >&5
69204 sed 's/^/| /' conftest.$ac_ext >&5
69205
69206 glibcxx_cv_func__logl_use=no
69207 fi
69208 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
69209       ac_ext=c
69210 ac_cpp='$CPP $CPPFLAGS'
69211 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69212 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69213 ac_compiler_gnu=$ac_cv_c_compiler_gnu
69214
69215
69216 fi
69217
69218   fi
69219   echo "$as_me:$LINENO: result: $glibcxx_cv_func__logl_use" >&5
69220 echo "${ECHO_T}$glibcxx_cv_func__logl_use" >&6
69221
69222     if test x$glibcxx_cv_func__logl_use = x"yes"; then
69223
69224 for ac_func in _logl
69225 do
69226 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
69227 echo "$as_me:$LINENO: checking for $ac_func" >&5
69228 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
69229 if eval "test \"\${$as_ac_var+set}\" = set"; then
69230   echo $ECHO_N "(cached) $ECHO_C" >&6
69231 else
69232   if test x$gcc_no_link = xyes; then
69233   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
69234 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
69235    { (exit 1); exit 1; }; }
69236 fi
69237 cat >conftest.$ac_ext <<_ACEOF
69238 /* confdefs.h.  */
69239 _ACEOF
69240 cat confdefs.h >>conftest.$ac_ext
69241 cat >>conftest.$ac_ext <<_ACEOF
69242 /* end confdefs.h.  */
69243 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
69244    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
69245 #define $ac_func innocuous_$ac_func
69246
69247 /* System header to define __stub macros and hopefully few prototypes,
69248     which can conflict with char $ac_func (); below.
69249     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
69250     <limits.h> exists even on freestanding compilers.  */
69251
69252 #ifdef __STDC__
69253 # include <limits.h>
69254 #else
69255 # include <assert.h>
69256 #endif
69257
69258 #undef $ac_func
69259
69260 /* Override any gcc2 internal prototype to avoid an error.  */
69261 #ifdef __cplusplus
69262 extern "C"
69263 {
69264 #endif
69265 /* We use char because int might match the return type of a gcc2
69266    builtin and then its argument prototype would still apply.  */
69267 char $ac_func ();
69268 /* The GNU C library defines this for functions which it implements
69269     to always fail with ENOSYS.  Some functions are actually named
69270     something starting with __ and the normal name is an alias.  */
69271 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
69272 choke me
69273 #else
69274 char (*f) () = $ac_func;
69275 #endif
69276 #ifdef __cplusplus
69277 }
69278 #endif
69279
69280 int
69281 main ()
69282 {
69283 return f != $ac_func;
69284   ;
69285   return 0;
69286 }
69287 _ACEOF
69288 rm -f conftest.$ac_objext conftest$ac_exeext
69289 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
69290   (eval $ac_link) 2>conftest.er1
69291   ac_status=$?
69292   grep -v '^ *+' conftest.er1 >conftest.err
69293   rm -f conftest.er1
69294   cat conftest.err >&5
69295   echo "$as_me:$LINENO: \$? = $ac_status" >&5
69296   (exit $ac_status); } &&
69297          { ac_try='test -z "$ac_c_werror_flag"
69298                          || test ! -s conftest.err'
69299   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
69300   (eval $ac_try) 2>&5
69301   ac_status=$?
69302   echo "$as_me:$LINENO: \$? = $ac_status" >&5
69303   (exit $ac_status); }; } &&
69304          { ac_try='test -s conftest$ac_exeext'
69305   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
69306   (eval $ac_try) 2>&5
69307   ac_status=$?
69308   echo "$as_me:$LINENO: \$? = $ac_status" >&5
69309   (exit $ac_status); }; }; then
69310   eval "$as_ac_var=yes"
69311 else
69312   echo "$as_me: failed program was:" >&5
69313 sed 's/^/| /' conftest.$ac_ext >&5
69314
69315 eval "$as_ac_var=no"
69316 fi
69317 rm -f conftest.err conftest.$ac_objext \
69318       conftest$ac_exeext conftest.$ac_ext
69319 fi
69320 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
69321 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
69322 if test `eval echo '${'$as_ac_var'}'` = yes; then
69323   cat >>confdefs.h <<_ACEOF
69324 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
69325 _ACEOF
69326
69327 fi
69328 done
69329
69330     fi
69331   fi
69332
69333
69334
69335
69336
69337
69338   echo "$as_me:$LINENO: checking for log10l declaration" >&5
69339 echo $ECHO_N "checking for log10l declaration... $ECHO_C" >&6
69340   if test x${glibcxx_cv_func_log10l_use+set} != xset; then
69341     if test "${glibcxx_cv_func_log10l_use+set}" = set; then
69342   echo $ECHO_N "(cached) $ECHO_C" >&6
69343 else
69344
69345
69346
69347       ac_ext=cc
69348 ac_cpp='$CXXCPP $CPPFLAGS'
69349 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69350 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69351 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
69352
69353       cat >conftest.$ac_ext <<_ACEOF
69354 /* confdefs.h.  */
69355 _ACEOF
69356 cat confdefs.h >>conftest.$ac_ext
69357 cat >>conftest.$ac_ext <<_ACEOF
69358 /* end confdefs.h.  */
69359 #include <math.h>
69360                       #ifdef HAVE_IEEEFP_H
69361                       #include <ieeefp.h>
69362                       #endif
69363
69364 int
69365 main ()
69366 {
69367  log10l(0);
69368   ;
69369   return 0;
69370 }
69371 _ACEOF
69372 rm -f conftest.$ac_objext
69373 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
69374   (eval $ac_compile) 2>conftest.er1
69375   ac_status=$?
69376   grep -v '^ *+' conftest.er1 >conftest.err
69377   rm -f conftest.er1
69378   cat conftest.err >&5
69379   echo "$as_me:$LINENO: \$? = $ac_status" >&5
69380   (exit $ac_status); } &&
69381          { ac_try='test -z "$ac_cxx_werror_flag"
69382                          || test ! -s conftest.err'
69383   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
69384   (eval $ac_try) 2>&5
69385   ac_status=$?
69386   echo "$as_me:$LINENO: \$? = $ac_status" >&5
69387   (exit $ac_status); }; } &&
69388          { ac_try='test -s conftest.$ac_objext'
69389   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
69390   (eval $ac_try) 2>&5
69391   ac_status=$?
69392   echo "$as_me:$LINENO: \$? = $ac_status" >&5
69393   (exit $ac_status); }; }; then
69394   glibcxx_cv_func_log10l_use=yes
69395 else
69396   echo "$as_me: failed program was:" >&5
69397 sed 's/^/| /' conftest.$ac_ext >&5
69398
69399 glibcxx_cv_func_log10l_use=no
69400 fi
69401 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
69402       ac_ext=c
69403 ac_cpp='$CPP $CPPFLAGS'
69404 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69405 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69406 ac_compiler_gnu=$ac_cv_c_compiler_gnu
69407
69408
69409 fi
69410
69411   fi
69412   echo "$as_me:$LINENO: result: $glibcxx_cv_func_log10l_use" >&5
69413 echo "${ECHO_T}$glibcxx_cv_func_log10l_use" >&6
69414
69415   if test x$glibcxx_cv_func_log10l_use = x"yes"; then
69416
69417 for ac_func in log10l
69418 do
69419 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
69420 echo "$as_me:$LINENO: checking for $ac_func" >&5
69421 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
69422 if eval "test \"\${$as_ac_var+set}\" = set"; then
69423   echo $ECHO_N "(cached) $ECHO_C" >&6
69424 else
69425   if test x$gcc_no_link = xyes; then
69426   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
69427 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
69428    { (exit 1); exit 1; }; }
69429 fi
69430 cat >conftest.$ac_ext <<_ACEOF
69431 /* confdefs.h.  */
69432 _ACEOF
69433 cat confdefs.h >>conftest.$ac_ext
69434 cat >>conftest.$ac_ext <<_ACEOF
69435 /* end confdefs.h.  */
69436 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
69437    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
69438 #define $ac_func innocuous_$ac_func
69439
69440 /* System header to define __stub macros and hopefully few prototypes,
69441     which can conflict with char $ac_func (); below.
69442     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
69443     <limits.h> exists even on freestanding compilers.  */
69444
69445 #ifdef __STDC__
69446 # include <limits.h>
69447 #else
69448 # include <assert.h>
69449 #endif
69450
69451 #undef $ac_func
69452
69453 /* Override any gcc2 internal prototype to avoid an error.  */
69454 #ifdef __cplusplus
69455 extern "C"
69456 {
69457 #endif
69458 /* We use char because int might match the return type of a gcc2
69459    builtin and then its argument prototype would still apply.  */
69460 char $ac_func ();
69461 /* The GNU C library defines this for functions which it implements
69462     to always fail with ENOSYS.  Some functions are actually named
69463     something starting with __ and the normal name is an alias.  */
69464 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
69465 choke me
69466 #else
69467 char (*f) () = $ac_func;
69468 #endif
69469 #ifdef __cplusplus
69470 }
69471 #endif
69472
69473 int
69474 main ()
69475 {
69476 return f != $ac_func;
69477   ;
69478   return 0;
69479 }
69480 _ACEOF
69481 rm -f conftest.$ac_objext conftest$ac_exeext
69482 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
69483   (eval $ac_link) 2>conftest.er1
69484   ac_status=$?
69485   grep -v '^ *+' conftest.er1 >conftest.err
69486   rm -f conftest.er1
69487   cat conftest.err >&5
69488   echo "$as_me:$LINENO: \$? = $ac_status" >&5
69489   (exit $ac_status); } &&
69490          { ac_try='test -z "$ac_c_werror_flag"
69491                          || test ! -s conftest.err'
69492   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
69493   (eval $ac_try) 2>&5
69494   ac_status=$?
69495   echo "$as_me:$LINENO: \$? = $ac_status" >&5
69496   (exit $ac_status); }; } &&
69497          { ac_try='test -s conftest$ac_exeext'
69498   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
69499   (eval $ac_try) 2>&5
69500   ac_status=$?
69501   echo "$as_me:$LINENO: \$? = $ac_status" >&5
69502   (exit $ac_status); }; }; then
69503   eval "$as_ac_var=yes"
69504 else
69505   echo "$as_me: failed program was:" >&5
69506 sed 's/^/| /' conftest.$ac_ext >&5
69507
69508 eval "$as_ac_var=no"
69509 fi
69510 rm -f conftest.err conftest.$ac_objext \
69511       conftest$ac_exeext conftest.$ac_ext
69512 fi
69513 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
69514 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
69515 if test `eval echo '${'$as_ac_var'}'` = yes; then
69516   cat >>confdefs.h <<_ACEOF
69517 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
69518 _ACEOF
69519
69520 fi
69521 done
69522
69523   else
69524
69525   echo "$as_me:$LINENO: checking for _log10l declaration" >&5
69526 echo $ECHO_N "checking for _log10l declaration... $ECHO_C" >&6
69527   if test x${glibcxx_cv_func__log10l_use+set} != xset; then
69528     if test "${glibcxx_cv_func__log10l_use+set}" = set; then
69529   echo $ECHO_N "(cached) $ECHO_C" >&6
69530 else
69531
69532
69533
69534       ac_ext=cc
69535 ac_cpp='$CXXCPP $CPPFLAGS'
69536 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69537 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69538 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
69539
69540       cat >conftest.$ac_ext <<_ACEOF
69541 /* confdefs.h.  */
69542 _ACEOF
69543 cat confdefs.h >>conftest.$ac_ext
69544 cat >>conftest.$ac_ext <<_ACEOF
69545 /* end confdefs.h.  */
69546 #include <math.h>
69547                       #ifdef HAVE_IEEEFP_H
69548                       #include <ieeefp.h>
69549                       #endif
69550
69551 int
69552 main ()
69553 {
69554  _log10l(0);
69555   ;
69556   return 0;
69557 }
69558 _ACEOF
69559 rm -f conftest.$ac_objext
69560 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
69561   (eval $ac_compile) 2>conftest.er1
69562   ac_status=$?
69563   grep -v '^ *+' conftest.er1 >conftest.err
69564   rm -f conftest.er1
69565   cat conftest.err >&5
69566   echo "$as_me:$LINENO: \$? = $ac_status" >&5
69567   (exit $ac_status); } &&
69568          { ac_try='test -z "$ac_cxx_werror_flag"
69569                          || test ! -s conftest.err'
69570   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
69571   (eval $ac_try) 2>&5
69572   ac_status=$?
69573   echo "$as_me:$LINENO: \$? = $ac_status" >&5
69574   (exit $ac_status); }; } &&
69575          { ac_try='test -s conftest.$ac_objext'
69576   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
69577   (eval $ac_try) 2>&5
69578   ac_status=$?
69579   echo "$as_me:$LINENO: \$? = $ac_status" >&5
69580   (exit $ac_status); }; }; then
69581   glibcxx_cv_func__log10l_use=yes
69582 else
69583   echo "$as_me: failed program was:" >&5
69584 sed 's/^/| /' conftest.$ac_ext >&5
69585
69586 glibcxx_cv_func__log10l_use=no
69587 fi
69588 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
69589       ac_ext=c
69590 ac_cpp='$CPP $CPPFLAGS'
69591 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69592 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69593 ac_compiler_gnu=$ac_cv_c_compiler_gnu
69594
69595
69596 fi
69597
69598   fi
69599   echo "$as_me:$LINENO: result: $glibcxx_cv_func__log10l_use" >&5
69600 echo "${ECHO_T}$glibcxx_cv_func__log10l_use" >&6
69601
69602     if test x$glibcxx_cv_func__log10l_use = x"yes"; then
69603
69604 for ac_func in _log10l
69605 do
69606 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
69607 echo "$as_me:$LINENO: checking for $ac_func" >&5
69608 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
69609 if eval "test \"\${$as_ac_var+set}\" = set"; then
69610   echo $ECHO_N "(cached) $ECHO_C" >&6
69611 else
69612   if test x$gcc_no_link = xyes; then
69613   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
69614 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
69615    { (exit 1); exit 1; }; }
69616 fi
69617 cat >conftest.$ac_ext <<_ACEOF
69618 /* confdefs.h.  */
69619 _ACEOF
69620 cat confdefs.h >>conftest.$ac_ext
69621 cat >>conftest.$ac_ext <<_ACEOF
69622 /* end confdefs.h.  */
69623 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
69624    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
69625 #define $ac_func innocuous_$ac_func
69626
69627 /* System header to define __stub macros and hopefully few prototypes,
69628     which can conflict with char $ac_func (); below.
69629     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
69630     <limits.h> exists even on freestanding compilers.  */
69631
69632 #ifdef __STDC__
69633 # include <limits.h>
69634 #else
69635 # include <assert.h>
69636 #endif
69637
69638 #undef $ac_func
69639
69640 /* Override any gcc2 internal prototype to avoid an error.  */
69641 #ifdef __cplusplus
69642 extern "C"
69643 {
69644 #endif
69645 /* We use char because int might match the return type of a gcc2
69646    builtin and then its argument prototype would still apply.  */
69647 char $ac_func ();
69648 /* The GNU C library defines this for functions which it implements
69649     to always fail with ENOSYS.  Some functions are actually named
69650     something starting with __ and the normal name is an alias.  */
69651 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
69652 choke me
69653 #else
69654 char (*f) () = $ac_func;
69655 #endif
69656 #ifdef __cplusplus
69657 }
69658 #endif
69659
69660 int
69661 main ()
69662 {
69663 return f != $ac_func;
69664   ;
69665   return 0;
69666 }
69667 _ACEOF
69668 rm -f conftest.$ac_objext conftest$ac_exeext
69669 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
69670   (eval $ac_link) 2>conftest.er1
69671   ac_status=$?
69672   grep -v '^ *+' conftest.er1 >conftest.err
69673   rm -f conftest.er1
69674   cat conftest.err >&5
69675   echo "$as_me:$LINENO: \$? = $ac_status" >&5
69676   (exit $ac_status); } &&
69677          { ac_try='test -z "$ac_c_werror_flag"
69678                          || test ! -s conftest.err'
69679   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
69680   (eval $ac_try) 2>&5
69681   ac_status=$?
69682   echo "$as_me:$LINENO: \$? = $ac_status" >&5
69683   (exit $ac_status); }; } &&
69684          { ac_try='test -s conftest$ac_exeext'
69685   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
69686   (eval $ac_try) 2>&5
69687   ac_status=$?
69688   echo "$as_me:$LINENO: \$? = $ac_status" >&5
69689   (exit $ac_status); }; }; then
69690   eval "$as_ac_var=yes"
69691 else
69692   echo "$as_me: failed program was:" >&5
69693 sed 's/^/| /' conftest.$ac_ext >&5
69694
69695 eval "$as_ac_var=no"
69696 fi
69697 rm -f conftest.err conftest.$ac_objext \
69698       conftest$ac_exeext conftest.$ac_ext
69699 fi
69700 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
69701 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
69702 if test `eval echo '${'$as_ac_var'}'` = yes; then
69703   cat >>confdefs.h <<_ACEOF
69704 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
69705 _ACEOF
69706
69707 fi
69708 done
69709
69710     fi
69711   fi
69712
69713
69714
69715
69716
69717
69718   echo "$as_me:$LINENO: checking for modfl declaration" >&5
69719 echo $ECHO_N "checking for modfl declaration... $ECHO_C" >&6
69720   if test x${glibcxx_cv_func_modfl_use+set} != xset; then
69721     if test "${glibcxx_cv_func_modfl_use+set}" = set; then
69722   echo $ECHO_N "(cached) $ECHO_C" >&6
69723 else
69724
69725
69726
69727       ac_ext=cc
69728 ac_cpp='$CXXCPP $CPPFLAGS'
69729 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69730 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69731 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
69732
69733       cat >conftest.$ac_ext <<_ACEOF
69734 /* confdefs.h.  */
69735 _ACEOF
69736 cat confdefs.h >>conftest.$ac_ext
69737 cat >>conftest.$ac_ext <<_ACEOF
69738 /* end confdefs.h.  */
69739 #include <math.h>
69740 int
69741 main ()
69742 {
69743  modfl(0, 0);
69744   ;
69745   return 0;
69746 }
69747 _ACEOF
69748 rm -f conftest.$ac_objext
69749 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
69750   (eval $ac_compile) 2>conftest.er1
69751   ac_status=$?
69752   grep -v '^ *+' conftest.er1 >conftest.err
69753   rm -f conftest.er1
69754   cat conftest.err >&5
69755   echo "$as_me:$LINENO: \$? = $ac_status" >&5
69756   (exit $ac_status); } &&
69757          { ac_try='test -z "$ac_cxx_werror_flag"
69758                          || test ! -s conftest.err'
69759   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
69760   (eval $ac_try) 2>&5
69761   ac_status=$?
69762   echo "$as_me:$LINENO: \$? = $ac_status" >&5
69763   (exit $ac_status); }; } &&
69764          { ac_try='test -s conftest.$ac_objext'
69765   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
69766   (eval $ac_try) 2>&5
69767   ac_status=$?
69768   echo "$as_me:$LINENO: \$? = $ac_status" >&5
69769   (exit $ac_status); }; }; then
69770   glibcxx_cv_func_modfl_use=yes
69771 else
69772   echo "$as_me: failed program was:" >&5
69773 sed 's/^/| /' conftest.$ac_ext >&5
69774
69775 glibcxx_cv_func_modfl_use=no
69776 fi
69777 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
69778       ac_ext=c
69779 ac_cpp='$CPP $CPPFLAGS'
69780 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69781 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69782 ac_compiler_gnu=$ac_cv_c_compiler_gnu
69783
69784
69785 fi
69786
69787   fi
69788   echo "$as_me:$LINENO: result: $glibcxx_cv_func_modfl_use" >&5
69789 echo "${ECHO_T}$glibcxx_cv_func_modfl_use" >&6
69790
69791   if test x$glibcxx_cv_func_modfl_use = x"yes"; then
69792
69793 for ac_func in modfl
69794 do
69795 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
69796 echo "$as_me:$LINENO: checking for $ac_func" >&5
69797 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
69798 if eval "test \"\${$as_ac_var+set}\" = set"; then
69799   echo $ECHO_N "(cached) $ECHO_C" >&6
69800 else
69801   if test x$gcc_no_link = xyes; then
69802   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
69803 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
69804    { (exit 1); exit 1; }; }
69805 fi
69806 cat >conftest.$ac_ext <<_ACEOF
69807 /* confdefs.h.  */
69808 _ACEOF
69809 cat confdefs.h >>conftest.$ac_ext
69810 cat >>conftest.$ac_ext <<_ACEOF
69811 /* end confdefs.h.  */
69812 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
69813    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
69814 #define $ac_func innocuous_$ac_func
69815
69816 /* System header to define __stub macros and hopefully few prototypes,
69817     which can conflict with char $ac_func (); below.
69818     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
69819     <limits.h> exists even on freestanding compilers.  */
69820
69821 #ifdef __STDC__
69822 # include <limits.h>
69823 #else
69824 # include <assert.h>
69825 #endif
69826
69827 #undef $ac_func
69828
69829 /* Override any gcc2 internal prototype to avoid an error.  */
69830 #ifdef __cplusplus
69831 extern "C"
69832 {
69833 #endif
69834 /* We use char because int might match the return type of a gcc2
69835    builtin and then its argument prototype would still apply.  */
69836 char $ac_func ();
69837 /* The GNU C library defines this for functions which it implements
69838     to always fail with ENOSYS.  Some functions are actually named
69839     something starting with __ and the normal name is an alias.  */
69840 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
69841 choke me
69842 #else
69843 char (*f) () = $ac_func;
69844 #endif
69845 #ifdef __cplusplus
69846 }
69847 #endif
69848
69849 int
69850 main ()
69851 {
69852 return f != $ac_func;
69853   ;
69854   return 0;
69855 }
69856 _ACEOF
69857 rm -f conftest.$ac_objext conftest$ac_exeext
69858 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
69859   (eval $ac_link) 2>conftest.er1
69860   ac_status=$?
69861   grep -v '^ *+' conftest.er1 >conftest.err
69862   rm -f conftest.er1
69863   cat conftest.err >&5
69864   echo "$as_me:$LINENO: \$? = $ac_status" >&5
69865   (exit $ac_status); } &&
69866          { ac_try='test -z "$ac_c_werror_flag"
69867                          || test ! -s conftest.err'
69868   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
69869   (eval $ac_try) 2>&5
69870   ac_status=$?
69871   echo "$as_me:$LINENO: \$? = $ac_status" >&5
69872   (exit $ac_status); }; } &&
69873          { ac_try='test -s conftest$ac_exeext'
69874   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
69875   (eval $ac_try) 2>&5
69876   ac_status=$?
69877   echo "$as_me:$LINENO: \$? = $ac_status" >&5
69878   (exit $ac_status); }; }; then
69879   eval "$as_ac_var=yes"
69880 else
69881   echo "$as_me: failed program was:" >&5
69882 sed 's/^/| /' conftest.$ac_ext >&5
69883
69884 eval "$as_ac_var=no"
69885 fi
69886 rm -f conftest.err conftest.$ac_objext \
69887       conftest$ac_exeext conftest.$ac_ext
69888 fi
69889 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
69890 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
69891 if test `eval echo '${'$as_ac_var'}'` = yes; then
69892   cat >>confdefs.h <<_ACEOF
69893 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
69894 _ACEOF
69895
69896 fi
69897 done
69898
69899   else
69900
69901   echo "$as_me:$LINENO: checking for _modfl declaration" >&5
69902 echo $ECHO_N "checking for _modfl declaration... $ECHO_C" >&6
69903   if test x${glibcxx_cv_func__modfl_use+set} != xset; then
69904     if test "${glibcxx_cv_func__modfl_use+set}" = set; then
69905   echo $ECHO_N "(cached) $ECHO_C" >&6
69906 else
69907
69908
69909
69910       ac_ext=cc
69911 ac_cpp='$CXXCPP $CPPFLAGS'
69912 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69913 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69914 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
69915
69916       cat >conftest.$ac_ext <<_ACEOF
69917 /* confdefs.h.  */
69918 _ACEOF
69919 cat confdefs.h >>conftest.$ac_ext
69920 cat >>conftest.$ac_ext <<_ACEOF
69921 /* end confdefs.h.  */
69922 #include <math.h>
69923 int
69924 main ()
69925 {
69926  _modfl(0, 0);
69927   ;
69928   return 0;
69929 }
69930 _ACEOF
69931 rm -f conftest.$ac_objext
69932 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
69933   (eval $ac_compile) 2>conftest.er1
69934   ac_status=$?
69935   grep -v '^ *+' conftest.er1 >conftest.err
69936   rm -f conftest.er1
69937   cat conftest.err >&5
69938   echo "$as_me:$LINENO: \$? = $ac_status" >&5
69939   (exit $ac_status); } &&
69940          { ac_try='test -z "$ac_cxx_werror_flag"
69941                          || test ! -s conftest.err'
69942   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
69943   (eval $ac_try) 2>&5
69944   ac_status=$?
69945   echo "$as_me:$LINENO: \$? = $ac_status" >&5
69946   (exit $ac_status); }; } &&
69947          { ac_try='test -s conftest.$ac_objext'
69948   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
69949   (eval $ac_try) 2>&5
69950   ac_status=$?
69951   echo "$as_me:$LINENO: \$? = $ac_status" >&5
69952   (exit $ac_status); }; }; then
69953   glibcxx_cv_func__modfl_use=yes
69954 else
69955   echo "$as_me: failed program was:" >&5
69956 sed 's/^/| /' conftest.$ac_ext >&5
69957
69958 glibcxx_cv_func__modfl_use=no
69959 fi
69960 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
69961       ac_ext=c
69962 ac_cpp='$CPP $CPPFLAGS'
69963 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69964 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69965 ac_compiler_gnu=$ac_cv_c_compiler_gnu
69966
69967
69968 fi
69969
69970   fi
69971   echo "$as_me:$LINENO: result: $glibcxx_cv_func__modfl_use" >&5
69972 echo "${ECHO_T}$glibcxx_cv_func__modfl_use" >&6
69973
69974     if test x$glibcxx_cv_func__modfl_use = x"yes"; then
69975
69976 for ac_func in _modfl
69977 do
69978 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
69979 echo "$as_me:$LINENO: checking for $ac_func" >&5
69980 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
69981 if eval "test \"\${$as_ac_var+set}\" = set"; then
69982   echo $ECHO_N "(cached) $ECHO_C" >&6
69983 else
69984   if test x$gcc_no_link = xyes; then
69985   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
69986 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
69987    { (exit 1); exit 1; }; }
69988 fi
69989 cat >conftest.$ac_ext <<_ACEOF
69990 /* confdefs.h.  */
69991 _ACEOF
69992 cat confdefs.h >>conftest.$ac_ext
69993 cat >>conftest.$ac_ext <<_ACEOF
69994 /* end confdefs.h.  */
69995 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
69996    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
69997 #define $ac_func innocuous_$ac_func
69998
69999 /* System header to define __stub macros and hopefully few prototypes,
70000     which can conflict with char $ac_func (); below.
70001     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
70002     <limits.h> exists even on freestanding compilers.  */
70003
70004 #ifdef __STDC__
70005 # include <limits.h>
70006 #else
70007 # include <assert.h>
70008 #endif
70009
70010 #undef $ac_func
70011
70012 /* Override any gcc2 internal prototype to avoid an error.  */
70013 #ifdef __cplusplus
70014 extern "C"
70015 {
70016 #endif
70017 /* We use char because int might match the return type of a gcc2
70018    builtin and then its argument prototype would still apply.  */
70019 char $ac_func ();
70020 /* The GNU C library defines this for functions which it implements
70021     to always fail with ENOSYS.  Some functions are actually named
70022     something starting with __ and the normal name is an alias.  */
70023 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
70024 choke me
70025 #else
70026 char (*f) () = $ac_func;
70027 #endif
70028 #ifdef __cplusplus
70029 }
70030 #endif
70031
70032 int
70033 main ()
70034 {
70035 return f != $ac_func;
70036   ;
70037   return 0;
70038 }
70039 _ACEOF
70040 rm -f conftest.$ac_objext conftest$ac_exeext
70041 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
70042   (eval $ac_link) 2>conftest.er1
70043   ac_status=$?
70044   grep -v '^ *+' conftest.er1 >conftest.err
70045   rm -f conftest.er1
70046   cat conftest.err >&5
70047   echo "$as_me:$LINENO: \$? = $ac_status" >&5
70048   (exit $ac_status); } &&
70049          { ac_try='test -z "$ac_c_werror_flag"
70050                          || test ! -s conftest.err'
70051   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
70052   (eval $ac_try) 2>&5
70053   ac_status=$?
70054   echo "$as_me:$LINENO: \$? = $ac_status" >&5
70055   (exit $ac_status); }; } &&
70056          { ac_try='test -s conftest$ac_exeext'
70057   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
70058   (eval $ac_try) 2>&5
70059   ac_status=$?
70060   echo "$as_me:$LINENO: \$? = $ac_status" >&5
70061   (exit $ac_status); }; }; then
70062   eval "$as_ac_var=yes"
70063 else
70064   echo "$as_me: failed program was:" >&5
70065 sed 's/^/| /' conftest.$ac_ext >&5
70066
70067 eval "$as_ac_var=no"
70068 fi
70069 rm -f conftest.err conftest.$ac_objext \
70070       conftest$ac_exeext conftest.$ac_ext
70071 fi
70072 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
70073 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
70074 if test `eval echo '${'$as_ac_var'}'` = yes; then
70075   cat >>confdefs.h <<_ACEOF
70076 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
70077 _ACEOF
70078
70079 fi
70080 done
70081
70082     fi
70083   fi
70084
70085
70086
70087
70088
70089
70090   echo "$as_me:$LINENO: checking for powl declaration" >&5
70091 echo $ECHO_N "checking for powl declaration... $ECHO_C" >&6
70092   if test x${glibcxx_cv_func_powl_use+set} != xset; then
70093     if test "${glibcxx_cv_func_powl_use+set}" = set; then
70094   echo $ECHO_N "(cached) $ECHO_C" >&6
70095 else
70096
70097
70098
70099       ac_ext=cc
70100 ac_cpp='$CXXCPP $CPPFLAGS'
70101 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70102 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70103 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
70104
70105       cat >conftest.$ac_ext <<_ACEOF
70106 /* confdefs.h.  */
70107 _ACEOF
70108 cat confdefs.h >>conftest.$ac_ext
70109 cat >>conftest.$ac_ext <<_ACEOF
70110 /* end confdefs.h.  */
70111 #include <math.h>
70112 int
70113 main ()
70114 {
70115  powl(0, 0);
70116   ;
70117   return 0;
70118 }
70119 _ACEOF
70120 rm -f conftest.$ac_objext
70121 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
70122   (eval $ac_compile) 2>conftest.er1
70123   ac_status=$?
70124   grep -v '^ *+' conftest.er1 >conftest.err
70125   rm -f conftest.er1
70126   cat conftest.err >&5
70127   echo "$as_me:$LINENO: \$? = $ac_status" >&5
70128   (exit $ac_status); } &&
70129          { ac_try='test -z "$ac_cxx_werror_flag"
70130                          || test ! -s conftest.err'
70131   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
70132   (eval $ac_try) 2>&5
70133   ac_status=$?
70134   echo "$as_me:$LINENO: \$? = $ac_status" >&5
70135   (exit $ac_status); }; } &&
70136          { ac_try='test -s conftest.$ac_objext'
70137   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
70138   (eval $ac_try) 2>&5
70139   ac_status=$?
70140   echo "$as_me:$LINENO: \$? = $ac_status" >&5
70141   (exit $ac_status); }; }; then
70142   glibcxx_cv_func_powl_use=yes
70143 else
70144   echo "$as_me: failed program was:" >&5
70145 sed 's/^/| /' conftest.$ac_ext >&5
70146
70147 glibcxx_cv_func_powl_use=no
70148 fi
70149 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
70150       ac_ext=c
70151 ac_cpp='$CPP $CPPFLAGS'
70152 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70153 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70154 ac_compiler_gnu=$ac_cv_c_compiler_gnu
70155
70156
70157 fi
70158
70159   fi
70160   echo "$as_me:$LINENO: result: $glibcxx_cv_func_powl_use" >&5
70161 echo "${ECHO_T}$glibcxx_cv_func_powl_use" >&6
70162
70163   if test x$glibcxx_cv_func_powl_use = x"yes"; then
70164
70165 for ac_func in powl
70166 do
70167 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
70168 echo "$as_me:$LINENO: checking for $ac_func" >&5
70169 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
70170 if eval "test \"\${$as_ac_var+set}\" = set"; then
70171   echo $ECHO_N "(cached) $ECHO_C" >&6
70172 else
70173   if test x$gcc_no_link = xyes; then
70174   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
70175 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
70176    { (exit 1); exit 1; }; }
70177 fi
70178 cat >conftest.$ac_ext <<_ACEOF
70179 /* confdefs.h.  */
70180 _ACEOF
70181 cat confdefs.h >>conftest.$ac_ext
70182 cat >>conftest.$ac_ext <<_ACEOF
70183 /* end confdefs.h.  */
70184 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
70185    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
70186 #define $ac_func innocuous_$ac_func
70187
70188 /* System header to define __stub macros and hopefully few prototypes,
70189     which can conflict with char $ac_func (); below.
70190     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
70191     <limits.h> exists even on freestanding compilers.  */
70192
70193 #ifdef __STDC__
70194 # include <limits.h>
70195 #else
70196 # include <assert.h>
70197 #endif
70198
70199 #undef $ac_func
70200
70201 /* Override any gcc2 internal prototype to avoid an error.  */
70202 #ifdef __cplusplus
70203 extern "C"
70204 {
70205 #endif
70206 /* We use char because int might match the return type of a gcc2
70207    builtin and then its argument prototype would still apply.  */
70208 char $ac_func ();
70209 /* The GNU C library defines this for functions which it implements
70210     to always fail with ENOSYS.  Some functions are actually named
70211     something starting with __ and the normal name is an alias.  */
70212 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
70213 choke me
70214 #else
70215 char (*f) () = $ac_func;
70216 #endif
70217 #ifdef __cplusplus
70218 }
70219 #endif
70220
70221 int
70222 main ()
70223 {
70224 return f != $ac_func;
70225   ;
70226   return 0;
70227 }
70228 _ACEOF
70229 rm -f conftest.$ac_objext conftest$ac_exeext
70230 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
70231   (eval $ac_link) 2>conftest.er1
70232   ac_status=$?
70233   grep -v '^ *+' conftest.er1 >conftest.err
70234   rm -f conftest.er1
70235   cat conftest.err >&5
70236   echo "$as_me:$LINENO: \$? = $ac_status" >&5
70237   (exit $ac_status); } &&
70238          { ac_try='test -z "$ac_c_werror_flag"
70239                          || test ! -s conftest.err'
70240   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
70241   (eval $ac_try) 2>&5
70242   ac_status=$?
70243   echo "$as_me:$LINENO: \$? = $ac_status" >&5
70244   (exit $ac_status); }; } &&
70245          { ac_try='test -s conftest$ac_exeext'
70246   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
70247   (eval $ac_try) 2>&5
70248   ac_status=$?
70249   echo "$as_me:$LINENO: \$? = $ac_status" >&5
70250   (exit $ac_status); }; }; then
70251   eval "$as_ac_var=yes"
70252 else
70253   echo "$as_me: failed program was:" >&5
70254 sed 's/^/| /' conftest.$ac_ext >&5
70255
70256 eval "$as_ac_var=no"
70257 fi
70258 rm -f conftest.err conftest.$ac_objext \
70259       conftest$ac_exeext conftest.$ac_ext
70260 fi
70261 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
70262 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
70263 if test `eval echo '${'$as_ac_var'}'` = yes; then
70264   cat >>confdefs.h <<_ACEOF
70265 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
70266 _ACEOF
70267
70268 fi
70269 done
70270
70271   else
70272
70273   echo "$as_me:$LINENO: checking for _powl declaration" >&5
70274 echo $ECHO_N "checking for _powl declaration... $ECHO_C" >&6
70275   if test x${glibcxx_cv_func__powl_use+set} != xset; then
70276     if test "${glibcxx_cv_func__powl_use+set}" = set; then
70277   echo $ECHO_N "(cached) $ECHO_C" >&6
70278 else
70279
70280
70281
70282       ac_ext=cc
70283 ac_cpp='$CXXCPP $CPPFLAGS'
70284 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70285 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70286 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
70287
70288       cat >conftest.$ac_ext <<_ACEOF
70289 /* confdefs.h.  */
70290 _ACEOF
70291 cat confdefs.h >>conftest.$ac_ext
70292 cat >>conftest.$ac_ext <<_ACEOF
70293 /* end confdefs.h.  */
70294 #include <math.h>
70295 int
70296 main ()
70297 {
70298  _powl(0, 0);
70299   ;
70300   return 0;
70301 }
70302 _ACEOF
70303 rm -f conftest.$ac_objext
70304 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
70305   (eval $ac_compile) 2>conftest.er1
70306   ac_status=$?
70307   grep -v '^ *+' conftest.er1 >conftest.err
70308   rm -f conftest.er1
70309   cat conftest.err >&5
70310   echo "$as_me:$LINENO: \$? = $ac_status" >&5
70311   (exit $ac_status); } &&
70312          { ac_try='test -z "$ac_cxx_werror_flag"
70313                          || test ! -s conftest.err'
70314   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
70315   (eval $ac_try) 2>&5
70316   ac_status=$?
70317   echo "$as_me:$LINENO: \$? = $ac_status" >&5
70318   (exit $ac_status); }; } &&
70319          { ac_try='test -s conftest.$ac_objext'
70320   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
70321   (eval $ac_try) 2>&5
70322   ac_status=$?
70323   echo "$as_me:$LINENO: \$? = $ac_status" >&5
70324   (exit $ac_status); }; }; then
70325   glibcxx_cv_func__powl_use=yes
70326 else
70327   echo "$as_me: failed program was:" >&5
70328 sed 's/^/| /' conftest.$ac_ext >&5
70329
70330 glibcxx_cv_func__powl_use=no
70331 fi
70332 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
70333       ac_ext=c
70334 ac_cpp='$CPP $CPPFLAGS'
70335 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70336 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70337 ac_compiler_gnu=$ac_cv_c_compiler_gnu
70338
70339
70340 fi
70341
70342   fi
70343   echo "$as_me:$LINENO: result: $glibcxx_cv_func__powl_use" >&5
70344 echo "${ECHO_T}$glibcxx_cv_func__powl_use" >&6
70345
70346     if test x$glibcxx_cv_func__powl_use = x"yes"; then
70347
70348 for ac_func in _powl
70349 do
70350 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
70351 echo "$as_me:$LINENO: checking for $ac_func" >&5
70352 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
70353 if eval "test \"\${$as_ac_var+set}\" = set"; then
70354   echo $ECHO_N "(cached) $ECHO_C" >&6
70355 else
70356   if test x$gcc_no_link = xyes; then
70357   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
70358 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
70359    { (exit 1); exit 1; }; }
70360 fi
70361 cat >conftest.$ac_ext <<_ACEOF
70362 /* confdefs.h.  */
70363 _ACEOF
70364 cat confdefs.h >>conftest.$ac_ext
70365 cat >>conftest.$ac_ext <<_ACEOF
70366 /* end confdefs.h.  */
70367 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
70368    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
70369 #define $ac_func innocuous_$ac_func
70370
70371 /* System header to define __stub macros and hopefully few prototypes,
70372     which can conflict with char $ac_func (); below.
70373     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
70374     <limits.h> exists even on freestanding compilers.  */
70375
70376 #ifdef __STDC__
70377 # include <limits.h>
70378 #else
70379 # include <assert.h>
70380 #endif
70381
70382 #undef $ac_func
70383
70384 /* Override any gcc2 internal prototype to avoid an error.  */
70385 #ifdef __cplusplus
70386 extern "C"
70387 {
70388 #endif
70389 /* We use char because int might match the return type of a gcc2
70390    builtin and then its argument prototype would still apply.  */
70391 char $ac_func ();
70392 /* The GNU C library defines this for functions which it implements
70393     to always fail with ENOSYS.  Some functions are actually named
70394     something starting with __ and the normal name is an alias.  */
70395 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
70396 choke me
70397 #else
70398 char (*f) () = $ac_func;
70399 #endif
70400 #ifdef __cplusplus
70401 }
70402 #endif
70403
70404 int
70405 main ()
70406 {
70407 return f != $ac_func;
70408   ;
70409   return 0;
70410 }
70411 _ACEOF
70412 rm -f conftest.$ac_objext conftest$ac_exeext
70413 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
70414   (eval $ac_link) 2>conftest.er1
70415   ac_status=$?
70416   grep -v '^ *+' conftest.er1 >conftest.err
70417   rm -f conftest.er1
70418   cat conftest.err >&5
70419   echo "$as_me:$LINENO: \$? = $ac_status" >&5
70420   (exit $ac_status); } &&
70421          { ac_try='test -z "$ac_c_werror_flag"
70422                          || test ! -s conftest.err'
70423   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
70424   (eval $ac_try) 2>&5
70425   ac_status=$?
70426   echo "$as_me:$LINENO: \$? = $ac_status" >&5
70427   (exit $ac_status); }; } &&
70428          { ac_try='test -s conftest$ac_exeext'
70429   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
70430   (eval $ac_try) 2>&5
70431   ac_status=$?
70432   echo "$as_me:$LINENO: \$? = $ac_status" >&5
70433   (exit $ac_status); }; }; then
70434   eval "$as_ac_var=yes"
70435 else
70436   echo "$as_me: failed program was:" >&5
70437 sed 's/^/| /' conftest.$ac_ext >&5
70438
70439 eval "$as_ac_var=no"
70440 fi
70441 rm -f conftest.err conftest.$ac_objext \
70442       conftest$ac_exeext conftest.$ac_ext
70443 fi
70444 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
70445 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
70446 if test `eval echo '${'$as_ac_var'}'` = yes; then
70447   cat >>confdefs.h <<_ACEOF
70448 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
70449 _ACEOF
70450
70451 fi
70452 done
70453
70454     fi
70455   fi
70456
70457
70458
70459
70460
70461
70462   echo "$as_me:$LINENO: checking for sqrtl declaration" >&5
70463 echo $ECHO_N "checking for sqrtl declaration... $ECHO_C" >&6
70464   if test x${glibcxx_cv_func_sqrtl_use+set} != xset; then
70465     if test "${glibcxx_cv_func_sqrtl_use+set}" = set; then
70466   echo $ECHO_N "(cached) $ECHO_C" >&6
70467 else
70468
70469
70470
70471       ac_ext=cc
70472 ac_cpp='$CXXCPP $CPPFLAGS'
70473 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70474 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70475 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
70476
70477       cat >conftest.$ac_ext <<_ACEOF
70478 /* confdefs.h.  */
70479 _ACEOF
70480 cat confdefs.h >>conftest.$ac_ext
70481 cat >>conftest.$ac_ext <<_ACEOF
70482 /* end confdefs.h.  */
70483 #include <math.h>
70484                       #ifdef HAVE_IEEEFP_H
70485                       #include <ieeefp.h>
70486                       #endif
70487
70488 int
70489 main ()
70490 {
70491  sqrtl(0);
70492   ;
70493   return 0;
70494 }
70495 _ACEOF
70496 rm -f conftest.$ac_objext
70497 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
70498   (eval $ac_compile) 2>conftest.er1
70499   ac_status=$?
70500   grep -v '^ *+' conftest.er1 >conftest.err
70501   rm -f conftest.er1
70502   cat conftest.err >&5
70503   echo "$as_me:$LINENO: \$? = $ac_status" >&5
70504   (exit $ac_status); } &&
70505          { ac_try='test -z "$ac_cxx_werror_flag"
70506                          || test ! -s conftest.err'
70507   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
70508   (eval $ac_try) 2>&5
70509   ac_status=$?
70510   echo "$as_me:$LINENO: \$? = $ac_status" >&5
70511   (exit $ac_status); }; } &&
70512          { ac_try='test -s conftest.$ac_objext'
70513   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
70514   (eval $ac_try) 2>&5
70515   ac_status=$?
70516   echo "$as_me:$LINENO: \$? = $ac_status" >&5
70517   (exit $ac_status); }; }; then
70518   glibcxx_cv_func_sqrtl_use=yes
70519 else
70520   echo "$as_me: failed program was:" >&5
70521 sed 's/^/| /' conftest.$ac_ext >&5
70522
70523 glibcxx_cv_func_sqrtl_use=no
70524 fi
70525 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
70526       ac_ext=c
70527 ac_cpp='$CPP $CPPFLAGS'
70528 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70529 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70530 ac_compiler_gnu=$ac_cv_c_compiler_gnu
70531
70532
70533 fi
70534
70535   fi
70536   echo "$as_me:$LINENO: result: $glibcxx_cv_func_sqrtl_use" >&5
70537 echo "${ECHO_T}$glibcxx_cv_func_sqrtl_use" >&6
70538
70539   if test x$glibcxx_cv_func_sqrtl_use = x"yes"; then
70540
70541 for ac_func in sqrtl
70542 do
70543 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
70544 echo "$as_me:$LINENO: checking for $ac_func" >&5
70545 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
70546 if eval "test \"\${$as_ac_var+set}\" = set"; then
70547   echo $ECHO_N "(cached) $ECHO_C" >&6
70548 else
70549   if test x$gcc_no_link = xyes; then
70550   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
70551 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
70552    { (exit 1); exit 1; }; }
70553 fi
70554 cat >conftest.$ac_ext <<_ACEOF
70555 /* confdefs.h.  */
70556 _ACEOF
70557 cat confdefs.h >>conftest.$ac_ext
70558 cat >>conftest.$ac_ext <<_ACEOF
70559 /* end confdefs.h.  */
70560 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
70561    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
70562 #define $ac_func innocuous_$ac_func
70563
70564 /* System header to define __stub macros and hopefully few prototypes,
70565     which can conflict with char $ac_func (); below.
70566     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
70567     <limits.h> exists even on freestanding compilers.  */
70568
70569 #ifdef __STDC__
70570 # include <limits.h>
70571 #else
70572 # include <assert.h>
70573 #endif
70574
70575 #undef $ac_func
70576
70577 /* Override any gcc2 internal prototype to avoid an error.  */
70578 #ifdef __cplusplus
70579 extern "C"
70580 {
70581 #endif
70582 /* We use char because int might match the return type of a gcc2
70583    builtin and then its argument prototype would still apply.  */
70584 char $ac_func ();
70585 /* The GNU C library defines this for functions which it implements
70586     to always fail with ENOSYS.  Some functions are actually named
70587     something starting with __ and the normal name is an alias.  */
70588 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
70589 choke me
70590 #else
70591 char (*f) () = $ac_func;
70592 #endif
70593 #ifdef __cplusplus
70594 }
70595 #endif
70596
70597 int
70598 main ()
70599 {
70600 return f != $ac_func;
70601   ;
70602   return 0;
70603 }
70604 _ACEOF
70605 rm -f conftest.$ac_objext conftest$ac_exeext
70606 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
70607   (eval $ac_link) 2>conftest.er1
70608   ac_status=$?
70609   grep -v '^ *+' conftest.er1 >conftest.err
70610   rm -f conftest.er1
70611   cat conftest.err >&5
70612   echo "$as_me:$LINENO: \$? = $ac_status" >&5
70613   (exit $ac_status); } &&
70614          { ac_try='test -z "$ac_c_werror_flag"
70615                          || test ! -s conftest.err'
70616   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
70617   (eval $ac_try) 2>&5
70618   ac_status=$?
70619   echo "$as_me:$LINENO: \$? = $ac_status" >&5
70620   (exit $ac_status); }; } &&
70621          { ac_try='test -s conftest$ac_exeext'
70622   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
70623   (eval $ac_try) 2>&5
70624   ac_status=$?
70625   echo "$as_me:$LINENO: \$? = $ac_status" >&5
70626   (exit $ac_status); }; }; then
70627   eval "$as_ac_var=yes"
70628 else
70629   echo "$as_me: failed program was:" >&5
70630 sed 's/^/| /' conftest.$ac_ext >&5
70631
70632 eval "$as_ac_var=no"
70633 fi
70634 rm -f conftest.err conftest.$ac_objext \
70635       conftest$ac_exeext conftest.$ac_ext
70636 fi
70637 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
70638 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
70639 if test `eval echo '${'$as_ac_var'}'` = yes; then
70640   cat >>confdefs.h <<_ACEOF
70641 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
70642 _ACEOF
70643
70644 fi
70645 done
70646
70647   else
70648
70649   echo "$as_me:$LINENO: checking for _sqrtl declaration" >&5
70650 echo $ECHO_N "checking for _sqrtl declaration... $ECHO_C" >&6
70651   if test x${glibcxx_cv_func__sqrtl_use+set} != xset; then
70652     if test "${glibcxx_cv_func__sqrtl_use+set}" = set; then
70653   echo $ECHO_N "(cached) $ECHO_C" >&6
70654 else
70655
70656
70657
70658       ac_ext=cc
70659 ac_cpp='$CXXCPP $CPPFLAGS'
70660 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70661 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70662 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
70663
70664       cat >conftest.$ac_ext <<_ACEOF
70665 /* confdefs.h.  */
70666 _ACEOF
70667 cat confdefs.h >>conftest.$ac_ext
70668 cat >>conftest.$ac_ext <<_ACEOF
70669 /* end confdefs.h.  */
70670 #include <math.h>
70671                       #ifdef HAVE_IEEEFP_H
70672                       #include <ieeefp.h>
70673                       #endif
70674
70675 int
70676 main ()
70677 {
70678  _sqrtl(0);
70679   ;
70680   return 0;
70681 }
70682 _ACEOF
70683 rm -f conftest.$ac_objext
70684 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
70685   (eval $ac_compile) 2>conftest.er1
70686   ac_status=$?
70687   grep -v '^ *+' conftest.er1 >conftest.err
70688   rm -f conftest.er1
70689   cat conftest.err >&5
70690   echo "$as_me:$LINENO: \$? = $ac_status" >&5
70691   (exit $ac_status); } &&
70692          { ac_try='test -z "$ac_cxx_werror_flag"
70693                          || test ! -s conftest.err'
70694   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
70695   (eval $ac_try) 2>&5
70696   ac_status=$?
70697   echo "$as_me:$LINENO: \$? = $ac_status" >&5
70698   (exit $ac_status); }; } &&
70699          { ac_try='test -s conftest.$ac_objext'
70700   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
70701   (eval $ac_try) 2>&5
70702   ac_status=$?
70703   echo "$as_me:$LINENO: \$? = $ac_status" >&5
70704   (exit $ac_status); }; }; then
70705   glibcxx_cv_func__sqrtl_use=yes
70706 else
70707   echo "$as_me: failed program was:" >&5
70708 sed 's/^/| /' conftest.$ac_ext >&5
70709
70710 glibcxx_cv_func__sqrtl_use=no
70711 fi
70712 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
70713       ac_ext=c
70714 ac_cpp='$CPP $CPPFLAGS'
70715 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70716 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70717 ac_compiler_gnu=$ac_cv_c_compiler_gnu
70718
70719
70720 fi
70721
70722   fi
70723   echo "$as_me:$LINENO: result: $glibcxx_cv_func__sqrtl_use" >&5
70724 echo "${ECHO_T}$glibcxx_cv_func__sqrtl_use" >&6
70725
70726     if test x$glibcxx_cv_func__sqrtl_use = x"yes"; then
70727
70728 for ac_func in _sqrtl
70729 do
70730 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
70731 echo "$as_me:$LINENO: checking for $ac_func" >&5
70732 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
70733 if eval "test \"\${$as_ac_var+set}\" = set"; then
70734   echo $ECHO_N "(cached) $ECHO_C" >&6
70735 else
70736   if test x$gcc_no_link = xyes; then
70737   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
70738 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
70739    { (exit 1); exit 1; }; }
70740 fi
70741 cat >conftest.$ac_ext <<_ACEOF
70742 /* confdefs.h.  */
70743 _ACEOF
70744 cat confdefs.h >>conftest.$ac_ext
70745 cat >>conftest.$ac_ext <<_ACEOF
70746 /* end confdefs.h.  */
70747 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
70748    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
70749 #define $ac_func innocuous_$ac_func
70750
70751 /* System header to define __stub macros and hopefully few prototypes,
70752     which can conflict with char $ac_func (); below.
70753     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
70754     <limits.h> exists even on freestanding compilers.  */
70755
70756 #ifdef __STDC__
70757 # include <limits.h>
70758 #else
70759 # include <assert.h>
70760 #endif
70761
70762 #undef $ac_func
70763
70764 /* Override any gcc2 internal prototype to avoid an error.  */
70765 #ifdef __cplusplus
70766 extern "C"
70767 {
70768 #endif
70769 /* We use char because int might match the return type of a gcc2
70770    builtin and then its argument prototype would still apply.  */
70771 char $ac_func ();
70772 /* The GNU C library defines this for functions which it implements
70773     to always fail with ENOSYS.  Some functions are actually named
70774     something starting with __ and the normal name is an alias.  */
70775 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
70776 choke me
70777 #else
70778 char (*f) () = $ac_func;
70779 #endif
70780 #ifdef __cplusplus
70781 }
70782 #endif
70783
70784 int
70785 main ()
70786 {
70787 return f != $ac_func;
70788   ;
70789   return 0;
70790 }
70791 _ACEOF
70792 rm -f conftest.$ac_objext conftest$ac_exeext
70793 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
70794   (eval $ac_link) 2>conftest.er1
70795   ac_status=$?
70796   grep -v '^ *+' conftest.er1 >conftest.err
70797   rm -f conftest.er1
70798   cat conftest.err >&5
70799   echo "$as_me:$LINENO: \$? = $ac_status" >&5
70800   (exit $ac_status); } &&
70801          { ac_try='test -z "$ac_c_werror_flag"
70802                          || test ! -s conftest.err'
70803   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
70804   (eval $ac_try) 2>&5
70805   ac_status=$?
70806   echo "$as_me:$LINENO: \$? = $ac_status" >&5
70807   (exit $ac_status); }; } &&
70808          { ac_try='test -s conftest$ac_exeext'
70809   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
70810   (eval $ac_try) 2>&5
70811   ac_status=$?
70812   echo "$as_me:$LINENO: \$? = $ac_status" >&5
70813   (exit $ac_status); }; }; then
70814   eval "$as_ac_var=yes"
70815 else
70816   echo "$as_me: failed program was:" >&5
70817 sed 's/^/| /' conftest.$ac_ext >&5
70818
70819 eval "$as_ac_var=no"
70820 fi
70821 rm -f conftest.err conftest.$ac_objext \
70822       conftest$ac_exeext conftest.$ac_ext
70823 fi
70824 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
70825 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
70826 if test `eval echo '${'$as_ac_var'}'` = yes; then
70827   cat >>confdefs.h <<_ACEOF
70828 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
70829 _ACEOF
70830
70831 fi
70832 done
70833
70834     fi
70835   fi
70836
70837
70838
70839
70840
70841
70842   echo "$as_me:$LINENO: checking for sincosl declaration" >&5
70843 echo $ECHO_N "checking for sincosl declaration... $ECHO_C" >&6
70844   if test x${glibcxx_cv_func_sincosl_use+set} != xset; then
70845     if test "${glibcxx_cv_func_sincosl_use+set}" = set; then
70846   echo $ECHO_N "(cached) $ECHO_C" >&6
70847 else
70848
70849
70850
70851       ac_ext=cc
70852 ac_cpp='$CXXCPP $CPPFLAGS'
70853 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70854 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70855 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
70856
70857       cat >conftest.$ac_ext <<_ACEOF
70858 /* confdefs.h.  */
70859 _ACEOF
70860 cat confdefs.h >>conftest.$ac_ext
70861 cat >>conftest.$ac_ext <<_ACEOF
70862 /* end confdefs.h.  */
70863 #include <math.h>
70864 int
70865 main ()
70866 {
70867  sincosl(0, 0, 0);
70868   ;
70869   return 0;
70870 }
70871 _ACEOF
70872 rm -f conftest.$ac_objext
70873 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
70874   (eval $ac_compile) 2>conftest.er1
70875   ac_status=$?
70876   grep -v '^ *+' conftest.er1 >conftest.err
70877   rm -f conftest.er1
70878   cat conftest.err >&5
70879   echo "$as_me:$LINENO: \$? = $ac_status" >&5
70880   (exit $ac_status); } &&
70881          { ac_try='test -z "$ac_cxx_werror_flag"
70882                          || test ! -s conftest.err'
70883   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
70884   (eval $ac_try) 2>&5
70885   ac_status=$?
70886   echo "$as_me:$LINENO: \$? = $ac_status" >&5
70887   (exit $ac_status); }; } &&
70888          { ac_try='test -s conftest.$ac_objext'
70889   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
70890   (eval $ac_try) 2>&5
70891   ac_status=$?
70892   echo "$as_me:$LINENO: \$? = $ac_status" >&5
70893   (exit $ac_status); }; }; then
70894   glibcxx_cv_func_sincosl_use=yes
70895 else
70896   echo "$as_me: failed program was:" >&5
70897 sed 's/^/| /' conftest.$ac_ext >&5
70898
70899 glibcxx_cv_func_sincosl_use=no
70900 fi
70901 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
70902       ac_ext=c
70903 ac_cpp='$CPP $CPPFLAGS'
70904 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70905 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70906 ac_compiler_gnu=$ac_cv_c_compiler_gnu
70907
70908
70909 fi
70910
70911   fi
70912   echo "$as_me:$LINENO: result: $glibcxx_cv_func_sincosl_use" >&5
70913 echo "${ECHO_T}$glibcxx_cv_func_sincosl_use" >&6
70914
70915   if test x$glibcxx_cv_func_sincosl_use = x"yes"; then
70916
70917 for ac_func in sincosl
70918 do
70919 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
70920 echo "$as_me:$LINENO: checking for $ac_func" >&5
70921 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
70922 if eval "test \"\${$as_ac_var+set}\" = set"; then
70923   echo $ECHO_N "(cached) $ECHO_C" >&6
70924 else
70925   if test x$gcc_no_link = xyes; then
70926   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
70927 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
70928    { (exit 1); exit 1; }; }
70929 fi
70930 cat >conftest.$ac_ext <<_ACEOF
70931 /* confdefs.h.  */
70932 _ACEOF
70933 cat confdefs.h >>conftest.$ac_ext
70934 cat >>conftest.$ac_ext <<_ACEOF
70935 /* end confdefs.h.  */
70936 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
70937    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
70938 #define $ac_func innocuous_$ac_func
70939
70940 /* System header to define __stub macros and hopefully few prototypes,
70941     which can conflict with char $ac_func (); below.
70942     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
70943     <limits.h> exists even on freestanding compilers.  */
70944
70945 #ifdef __STDC__
70946 # include <limits.h>
70947 #else
70948 # include <assert.h>
70949 #endif
70950
70951 #undef $ac_func
70952
70953 /* Override any gcc2 internal prototype to avoid an error.  */
70954 #ifdef __cplusplus
70955 extern "C"
70956 {
70957 #endif
70958 /* We use char because int might match the return type of a gcc2
70959    builtin and then its argument prototype would still apply.  */
70960 char $ac_func ();
70961 /* The GNU C library defines this for functions which it implements
70962     to always fail with ENOSYS.  Some functions are actually named
70963     something starting with __ and the normal name is an alias.  */
70964 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
70965 choke me
70966 #else
70967 char (*f) () = $ac_func;
70968 #endif
70969 #ifdef __cplusplus
70970 }
70971 #endif
70972
70973 int
70974 main ()
70975 {
70976 return f != $ac_func;
70977   ;
70978   return 0;
70979 }
70980 _ACEOF
70981 rm -f conftest.$ac_objext conftest$ac_exeext
70982 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
70983   (eval $ac_link) 2>conftest.er1
70984   ac_status=$?
70985   grep -v '^ *+' conftest.er1 >conftest.err
70986   rm -f conftest.er1
70987   cat conftest.err >&5
70988   echo "$as_me:$LINENO: \$? = $ac_status" >&5
70989   (exit $ac_status); } &&
70990          { ac_try='test -z "$ac_c_werror_flag"
70991                          || test ! -s conftest.err'
70992   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
70993   (eval $ac_try) 2>&5
70994   ac_status=$?
70995   echo "$as_me:$LINENO: \$? = $ac_status" >&5
70996   (exit $ac_status); }; } &&
70997          { ac_try='test -s conftest$ac_exeext'
70998   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
70999   (eval $ac_try) 2>&5
71000   ac_status=$?
71001   echo "$as_me:$LINENO: \$? = $ac_status" >&5
71002   (exit $ac_status); }; }; then
71003   eval "$as_ac_var=yes"
71004 else
71005   echo "$as_me: failed program was:" >&5
71006 sed 's/^/| /' conftest.$ac_ext >&5
71007
71008 eval "$as_ac_var=no"
71009 fi
71010 rm -f conftest.err conftest.$ac_objext \
71011       conftest$ac_exeext conftest.$ac_ext
71012 fi
71013 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
71014 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
71015 if test `eval echo '${'$as_ac_var'}'` = yes; then
71016   cat >>confdefs.h <<_ACEOF
71017 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
71018 _ACEOF
71019
71020 fi
71021 done
71022
71023   else
71024
71025   echo "$as_me:$LINENO: checking for _sincosl declaration" >&5
71026 echo $ECHO_N "checking for _sincosl declaration... $ECHO_C" >&6
71027   if test x${glibcxx_cv_func__sincosl_use+set} != xset; then
71028     if test "${glibcxx_cv_func__sincosl_use+set}" = set; then
71029   echo $ECHO_N "(cached) $ECHO_C" >&6
71030 else
71031
71032
71033
71034       ac_ext=cc
71035 ac_cpp='$CXXCPP $CPPFLAGS'
71036 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71037 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71038 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
71039
71040       cat >conftest.$ac_ext <<_ACEOF
71041 /* confdefs.h.  */
71042 _ACEOF
71043 cat confdefs.h >>conftest.$ac_ext
71044 cat >>conftest.$ac_ext <<_ACEOF
71045 /* end confdefs.h.  */
71046 #include <math.h>
71047 int
71048 main ()
71049 {
71050  _sincosl(0, 0, 0);
71051   ;
71052   return 0;
71053 }
71054 _ACEOF
71055 rm -f conftest.$ac_objext
71056 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
71057   (eval $ac_compile) 2>conftest.er1
71058   ac_status=$?
71059   grep -v '^ *+' conftest.er1 >conftest.err
71060   rm -f conftest.er1
71061   cat conftest.err >&5
71062   echo "$as_me:$LINENO: \$? = $ac_status" >&5
71063   (exit $ac_status); } &&
71064          { ac_try='test -z "$ac_cxx_werror_flag"
71065                          || test ! -s conftest.err'
71066   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
71067   (eval $ac_try) 2>&5
71068   ac_status=$?
71069   echo "$as_me:$LINENO: \$? = $ac_status" >&5
71070   (exit $ac_status); }; } &&
71071          { ac_try='test -s conftest.$ac_objext'
71072   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
71073   (eval $ac_try) 2>&5
71074   ac_status=$?
71075   echo "$as_me:$LINENO: \$? = $ac_status" >&5
71076   (exit $ac_status); }; }; then
71077   glibcxx_cv_func__sincosl_use=yes
71078 else
71079   echo "$as_me: failed program was:" >&5
71080 sed 's/^/| /' conftest.$ac_ext >&5
71081
71082 glibcxx_cv_func__sincosl_use=no
71083 fi
71084 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
71085       ac_ext=c
71086 ac_cpp='$CPP $CPPFLAGS'
71087 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71088 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71089 ac_compiler_gnu=$ac_cv_c_compiler_gnu
71090
71091
71092 fi
71093
71094   fi
71095   echo "$as_me:$LINENO: result: $glibcxx_cv_func__sincosl_use" >&5
71096 echo "${ECHO_T}$glibcxx_cv_func__sincosl_use" >&6
71097
71098     if test x$glibcxx_cv_func__sincosl_use = x"yes"; then
71099
71100 for ac_func in _sincosl
71101 do
71102 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
71103 echo "$as_me:$LINENO: checking for $ac_func" >&5
71104 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
71105 if eval "test \"\${$as_ac_var+set}\" = set"; then
71106   echo $ECHO_N "(cached) $ECHO_C" >&6
71107 else
71108   if test x$gcc_no_link = xyes; then
71109   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
71110 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
71111    { (exit 1); exit 1; }; }
71112 fi
71113 cat >conftest.$ac_ext <<_ACEOF
71114 /* confdefs.h.  */
71115 _ACEOF
71116 cat confdefs.h >>conftest.$ac_ext
71117 cat >>conftest.$ac_ext <<_ACEOF
71118 /* end confdefs.h.  */
71119 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
71120    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
71121 #define $ac_func innocuous_$ac_func
71122
71123 /* System header to define __stub macros and hopefully few prototypes,
71124     which can conflict with char $ac_func (); below.
71125     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
71126     <limits.h> exists even on freestanding compilers.  */
71127
71128 #ifdef __STDC__
71129 # include <limits.h>
71130 #else
71131 # include <assert.h>
71132 #endif
71133
71134 #undef $ac_func
71135
71136 /* Override any gcc2 internal prototype to avoid an error.  */
71137 #ifdef __cplusplus
71138 extern "C"
71139 {
71140 #endif
71141 /* We use char because int might match the return type of a gcc2
71142    builtin and then its argument prototype would still apply.  */
71143 char $ac_func ();
71144 /* The GNU C library defines this for functions which it implements
71145     to always fail with ENOSYS.  Some functions are actually named
71146     something starting with __ and the normal name is an alias.  */
71147 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
71148 choke me
71149 #else
71150 char (*f) () = $ac_func;
71151 #endif
71152 #ifdef __cplusplus
71153 }
71154 #endif
71155
71156 int
71157 main ()
71158 {
71159 return f != $ac_func;
71160   ;
71161   return 0;
71162 }
71163 _ACEOF
71164 rm -f conftest.$ac_objext conftest$ac_exeext
71165 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
71166   (eval $ac_link) 2>conftest.er1
71167   ac_status=$?
71168   grep -v '^ *+' conftest.er1 >conftest.err
71169   rm -f conftest.er1
71170   cat conftest.err >&5
71171   echo "$as_me:$LINENO: \$? = $ac_status" >&5
71172   (exit $ac_status); } &&
71173          { ac_try='test -z "$ac_c_werror_flag"
71174                          || test ! -s conftest.err'
71175   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
71176   (eval $ac_try) 2>&5
71177   ac_status=$?
71178   echo "$as_me:$LINENO: \$? = $ac_status" >&5
71179   (exit $ac_status); }; } &&
71180          { ac_try='test -s conftest$ac_exeext'
71181   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
71182   (eval $ac_try) 2>&5
71183   ac_status=$?
71184   echo "$as_me:$LINENO: \$? = $ac_status" >&5
71185   (exit $ac_status); }; }; then
71186   eval "$as_ac_var=yes"
71187 else
71188   echo "$as_me: failed program was:" >&5
71189 sed 's/^/| /' conftest.$ac_ext >&5
71190
71191 eval "$as_ac_var=no"
71192 fi
71193 rm -f conftest.err conftest.$ac_objext \
71194       conftest$ac_exeext conftest.$ac_ext
71195 fi
71196 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
71197 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
71198 if test `eval echo '${'$as_ac_var'}'` = yes; then
71199   cat >>confdefs.h <<_ACEOF
71200 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
71201 _ACEOF
71202
71203 fi
71204 done
71205
71206     fi
71207   fi
71208
71209
71210
71211
71212
71213
71214   echo "$as_me:$LINENO: checking for finitel declaration" >&5
71215 echo $ECHO_N "checking for finitel declaration... $ECHO_C" >&6
71216   if test x${glibcxx_cv_func_finitel_use+set} != xset; then
71217     if test "${glibcxx_cv_func_finitel_use+set}" = set; then
71218   echo $ECHO_N "(cached) $ECHO_C" >&6
71219 else
71220
71221
71222
71223       ac_ext=cc
71224 ac_cpp='$CXXCPP $CPPFLAGS'
71225 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71226 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71227 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
71228
71229       cat >conftest.$ac_ext <<_ACEOF
71230 /* confdefs.h.  */
71231 _ACEOF
71232 cat confdefs.h >>conftest.$ac_ext
71233 cat >>conftest.$ac_ext <<_ACEOF
71234 /* end confdefs.h.  */
71235 #include <math.h>
71236                       #ifdef HAVE_IEEEFP_H
71237                       #include <ieeefp.h>
71238                       #endif
71239
71240 int
71241 main ()
71242 {
71243  finitel(0);
71244   ;
71245   return 0;
71246 }
71247 _ACEOF
71248 rm -f conftest.$ac_objext
71249 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
71250   (eval $ac_compile) 2>conftest.er1
71251   ac_status=$?
71252   grep -v '^ *+' conftest.er1 >conftest.err
71253   rm -f conftest.er1
71254   cat conftest.err >&5
71255   echo "$as_me:$LINENO: \$? = $ac_status" >&5
71256   (exit $ac_status); } &&
71257          { ac_try='test -z "$ac_cxx_werror_flag"
71258                          || test ! -s conftest.err'
71259   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
71260   (eval $ac_try) 2>&5
71261   ac_status=$?
71262   echo "$as_me:$LINENO: \$? = $ac_status" >&5
71263   (exit $ac_status); }; } &&
71264          { ac_try='test -s conftest.$ac_objext'
71265   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
71266   (eval $ac_try) 2>&5
71267   ac_status=$?
71268   echo "$as_me:$LINENO: \$? = $ac_status" >&5
71269   (exit $ac_status); }; }; then
71270   glibcxx_cv_func_finitel_use=yes
71271 else
71272   echo "$as_me: failed program was:" >&5
71273 sed 's/^/| /' conftest.$ac_ext >&5
71274
71275 glibcxx_cv_func_finitel_use=no
71276 fi
71277 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
71278       ac_ext=c
71279 ac_cpp='$CPP $CPPFLAGS'
71280 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71281 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71282 ac_compiler_gnu=$ac_cv_c_compiler_gnu
71283
71284
71285 fi
71286
71287   fi
71288   echo "$as_me:$LINENO: result: $glibcxx_cv_func_finitel_use" >&5
71289 echo "${ECHO_T}$glibcxx_cv_func_finitel_use" >&6
71290
71291   if test x$glibcxx_cv_func_finitel_use = x"yes"; then
71292
71293 for ac_func in finitel
71294 do
71295 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
71296 echo "$as_me:$LINENO: checking for $ac_func" >&5
71297 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
71298 if eval "test \"\${$as_ac_var+set}\" = set"; then
71299   echo $ECHO_N "(cached) $ECHO_C" >&6
71300 else
71301   if test x$gcc_no_link = xyes; then
71302   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
71303 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
71304    { (exit 1); exit 1; }; }
71305 fi
71306 cat >conftest.$ac_ext <<_ACEOF
71307 /* confdefs.h.  */
71308 _ACEOF
71309 cat confdefs.h >>conftest.$ac_ext
71310 cat >>conftest.$ac_ext <<_ACEOF
71311 /* end confdefs.h.  */
71312 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
71313    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
71314 #define $ac_func innocuous_$ac_func
71315
71316 /* System header to define __stub macros and hopefully few prototypes,
71317     which can conflict with char $ac_func (); below.
71318     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
71319     <limits.h> exists even on freestanding compilers.  */
71320
71321 #ifdef __STDC__
71322 # include <limits.h>
71323 #else
71324 # include <assert.h>
71325 #endif
71326
71327 #undef $ac_func
71328
71329 /* Override any gcc2 internal prototype to avoid an error.  */
71330 #ifdef __cplusplus
71331 extern "C"
71332 {
71333 #endif
71334 /* We use char because int might match the return type of a gcc2
71335    builtin and then its argument prototype would still apply.  */
71336 char $ac_func ();
71337 /* The GNU C library defines this for functions which it implements
71338     to always fail with ENOSYS.  Some functions are actually named
71339     something starting with __ and the normal name is an alias.  */
71340 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
71341 choke me
71342 #else
71343 char (*f) () = $ac_func;
71344 #endif
71345 #ifdef __cplusplus
71346 }
71347 #endif
71348
71349 int
71350 main ()
71351 {
71352 return f != $ac_func;
71353   ;
71354   return 0;
71355 }
71356 _ACEOF
71357 rm -f conftest.$ac_objext conftest$ac_exeext
71358 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
71359   (eval $ac_link) 2>conftest.er1
71360   ac_status=$?
71361   grep -v '^ *+' conftest.er1 >conftest.err
71362   rm -f conftest.er1
71363   cat conftest.err >&5
71364   echo "$as_me:$LINENO: \$? = $ac_status" >&5
71365   (exit $ac_status); } &&
71366          { ac_try='test -z "$ac_c_werror_flag"
71367                          || test ! -s conftest.err'
71368   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
71369   (eval $ac_try) 2>&5
71370   ac_status=$?
71371   echo "$as_me:$LINENO: \$? = $ac_status" >&5
71372   (exit $ac_status); }; } &&
71373          { ac_try='test -s conftest$ac_exeext'
71374   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
71375   (eval $ac_try) 2>&5
71376   ac_status=$?
71377   echo "$as_me:$LINENO: \$? = $ac_status" >&5
71378   (exit $ac_status); }; }; then
71379   eval "$as_ac_var=yes"
71380 else
71381   echo "$as_me: failed program was:" >&5
71382 sed 's/^/| /' conftest.$ac_ext >&5
71383
71384 eval "$as_ac_var=no"
71385 fi
71386 rm -f conftest.err conftest.$ac_objext \
71387       conftest$ac_exeext conftest.$ac_ext
71388 fi
71389 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
71390 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
71391 if test `eval echo '${'$as_ac_var'}'` = yes; then
71392   cat >>confdefs.h <<_ACEOF
71393 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
71394 _ACEOF
71395
71396 fi
71397 done
71398
71399   else
71400
71401   echo "$as_me:$LINENO: checking for _finitel declaration" >&5
71402 echo $ECHO_N "checking for _finitel declaration... $ECHO_C" >&6
71403   if test x${glibcxx_cv_func__finitel_use+set} != xset; then
71404     if test "${glibcxx_cv_func__finitel_use+set}" = set; then
71405   echo $ECHO_N "(cached) $ECHO_C" >&6
71406 else
71407
71408
71409
71410       ac_ext=cc
71411 ac_cpp='$CXXCPP $CPPFLAGS'
71412 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71413 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71414 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
71415
71416       cat >conftest.$ac_ext <<_ACEOF
71417 /* confdefs.h.  */
71418 _ACEOF
71419 cat confdefs.h >>conftest.$ac_ext
71420 cat >>conftest.$ac_ext <<_ACEOF
71421 /* end confdefs.h.  */
71422 #include <math.h>
71423                       #ifdef HAVE_IEEEFP_H
71424                       #include <ieeefp.h>
71425                       #endif
71426
71427 int
71428 main ()
71429 {
71430  _finitel(0);
71431   ;
71432   return 0;
71433 }
71434 _ACEOF
71435 rm -f conftest.$ac_objext
71436 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
71437   (eval $ac_compile) 2>conftest.er1
71438   ac_status=$?
71439   grep -v '^ *+' conftest.er1 >conftest.err
71440   rm -f conftest.er1
71441   cat conftest.err >&5
71442   echo "$as_me:$LINENO: \$? = $ac_status" >&5
71443   (exit $ac_status); } &&
71444          { ac_try='test -z "$ac_cxx_werror_flag"
71445                          || test ! -s conftest.err'
71446   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
71447   (eval $ac_try) 2>&5
71448   ac_status=$?
71449   echo "$as_me:$LINENO: \$? = $ac_status" >&5
71450   (exit $ac_status); }; } &&
71451          { ac_try='test -s conftest.$ac_objext'
71452   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
71453   (eval $ac_try) 2>&5
71454   ac_status=$?
71455   echo "$as_me:$LINENO: \$? = $ac_status" >&5
71456   (exit $ac_status); }; }; then
71457   glibcxx_cv_func__finitel_use=yes
71458 else
71459   echo "$as_me: failed program was:" >&5
71460 sed 's/^/| /' conftest.$ac_ext >&5
71461
71462 glibcxx_cv_func__finitel_use=no
71463 fi
71464 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
71465       ac_ext=c
71466 ac_cpp='$CPP $CPPFLAGS'
71467 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71468 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71469 ac_compiler_gnu=$ac_cv_c_compiler_gnu
71470
71471
71472 fi
71473
71474   fi
71475   echo "$as_me:$LINENO: result: $glibcxx_cv_func__finitel_use" >&5
71476 echo "${ECHO_T}$glibcxx_cv_func__finitel_use" >&6
71477
71478     if test x$glibcxx_cv_func__finitel_use = x"yes"; then
71479
71480 for ac_func in _finitel
71481 do
71482 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
71483 echo "$as_me:$LINENO: checking for $ac_func" >&5
71484 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
71485 if eval "test \"\${$as_ac_var+set}\" = set"; then
71486   echo $ECHO_N "(cached) $ECHO_C" >&6
71487 else
71488   if test x$gcc_no_link = xyes; then
71489   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
71490 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
71491    { (exit 1); exit 1; }; }
71492 fi
71493 cat >conftest.$ac_ext <<_ACEOF
71494 /* confdefs.h.  */
71495 _ACEOF
71496 cat confdefs.h >>conftest.$ac_ext
71497 cat >>conftest.$ac_ext <<_ACEOF
71498 /* end confdefs.h.  */
71499 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
71500    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
71501 #define $ac_func innocuous_$ac_func
71502
71503 /* System header to define __stub macros and hopefully few prototypes,
71504     which can conflict with char $ac_func (); below.
71505     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
71506     <limits.h> exists even on freestanding compilers.  */
71507
71508 #ifdef __STDC__
71509 # include <limits.h>
71510 #else
71511 # include <assert.h>
71512 #endif
71513
71514 #undef $ac_func
71515
71516 /* Override any gcc2 internal prototype to avoid an error.  */
71517 #ifdef __cplusplus
71518 extern "C"
71519 {
71520 #endif
71521 /* We use char because int might match the return type of a gcc2
71522    builtin and then its argument prototype would still apply.  */
71523 char $ac_func ();
71524 /* The GNU C library defines this for functions which it implements
71525     to always fail with ENOSYS.  Some functions are actually named
71526     something starting with __ and the normal name is an alias.  */
71527 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
71528 choke me
71529 #else
71530 char (*f) () = $ac_func;
71531 #endif
71532 #ifdef __cplusplus
71533 }
71534 #endif
71535
71536 int
71537 main ()
71538 {
71539 return f != $ac_func;
71540   ;
71541   return 0;
71542 }
71543 _ACEOF
71544 rm -f conftest.$ac_objext conftest$ac_exeext
71545 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
71546   (eval $ac_link) 2>conftest.er1
71547   ac_status=$?
71548   grep -v '^ *+' conftest.er1 >conftest.err
71549   rm -f conftest.er1
71550   cat conftest.err >&5
71551   echo "$as_me:$LINENO: \$? = $ac_status" >&5
71552   (exit $ac_status); } &&
71553          { ac_try='test -z "$ac_c_werror_flag"
71554                          || test ! -s conftest.err'
71555   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
71556   (eval $ac_try) 2>&5
71557   ac_status=$?
71558   echo "$as_me:$LINENO: \$? = $ac_status" >&5
71559   (exit $ac_status); }; } &&
71560          { ac_try='test -s conftest$ac_exeext'
71561   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
71562   (eval $ac_try) 2>&5
71563   ac_status=$?
71564   echo "$as_me:$LINENO: \$? = $ac_status" >&5
71565   (exit $ac_status); }; }; then
71566   eval "$as_ac_var=yes"
71567 else
71568   echo "$as_me: failed program was:" >&5
71569 sed 's/^/| /' conftest.$ac_ext >&5
71570
71571 eval "$as_ac_var=no"
71572 fi
71573 rm -f conftest.err conftest.$ac_objext \
71574       conftest$ac_exeext conftest.$ac_ext
71575 fi
71576 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
71577 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
71578 if test `eval echo '${'$as_ac_var'}'` = yes; then
71579   cat >>confdefs.h <<_ACEOF
71580 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
71581 _ACEOF
71582
71583 fi
71584 done
71585
71586     fi
71587   fi
71588
71589
71590
71591
71592
71593   LIBS="$ac_save_LIBS"
71594   CXXFLAGS="$ac_save_CXXFLAGS"
71595
71596
71597
71598   echo "$as_me:$LINENO: checking for __builtin_abs declaration" >&5
71599 echo $ECHO_N "checking for __builtin_abs declaration... $ECHO_C" >&6
71600   if test x${glibcxx_cv_func___builtin_abs_use+set} != xset; then
71601     if test "${glibcxx_cv_func___builtin_abs_use+set}" = set; then
71602   echo $ECHO_N "(cached) $ECHO_C" >&6
71603 else
71604
71605
71606
71607       ac_ext=cc
71608 ac_cpp='$CXXCPP $CPPFLAGS'
71609 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71610 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71611 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
71612
71613       cat >conftest.$ac_ext <<_ACEOF
71614 /* confdefs.h.  */
71615 _ACEOF
71616 cat confdefs.h >>conftest.$ac_ext
71617 cat >>conftest.$ac_ext <<_ACEOF
71618 /* end confdefs.h.  */
71619 #include <math.h>
71620 int
71621 main ()
71622 {
71623  __builtin_abs(0);
71624   ;
71625   return 0;
71626 }
71627 _ACEOF
71628 rm -f conftest.$ac_objext
71629 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
71630   (eval $ac_compile) 2>conftest.er1
71631   ac_status=$?
71632   grep -v '^ *+' conftest.er1 >conftest.err
71633   rm -f conftest.er1
71634   cat conftest.err >&5
71635   echo "$as_me:$LINENO: \$? = $ac_status" >&5
71636   (exit $ac_status); } &&
71637          { ac_try='test -z "$ac_cxx_werror_flag"
71638                          || test ! -s conftest.err'
71639   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
71640   (eval $ac_try) 2>&5
71641   ac_status=$?
71642   echo "$as_me:$LINENO: \$? = $ac_status" >&5
71643   (exit $ac_status); }; } &&
71644          { ac_try='test -s conftest.$ac_objext'
71645   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
71646   (eval $ac_try) 2>&5
71647   ac_status=$?
71648   echo "$as_me:$LINENO: \$? = $ac_status" >&5
71649   (exit $ac_status); }; }; then
71650   glibcxx_cv_func___builtin_abs_use=yes
71651 else
71652   echo "$as_me: failed program was:" >&5
71653 sed 's/^/| /' conftest.$ac_ext >&5
71654
71655 glibcxx_cv_func___builtin_abs_use=no
71656 fi
71657 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
71658       ac_ext=c
71659 ac_cpp='$CPP $CPPFLAGS'
71660 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71661 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71662 ac_compiler_gnu=$ac_cv_c_compiler_gnu
71663
71664
71665 fi
71666
71667   fi
71668   echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_abs_use" >&5
71669 echo "${ECHO_T}$glibcxx_cv_func___builtin_abs_use" >&6
71670   if test x$glibcxx_cv_func___builtin_abs_use = x"yes"; then
71671     echo "$as_me:$LINENO: checking for __builtin_abs linkage" >&5
71672 echo $ECHO_N "checking for __builtin_abs linkage... $ECHO_C" >&6
71673     if test x${glibcxx_cv_func___builtin_abs_link+set} != xset; then
71674       if test "${glibcxx_cv_func___builtin_abs_link+set}" = set; then
71675   echo $ECHO_N "(cached) $ECHO_C" >&6
71676 else
71677
71678         if test x$gcc_no_link = xyes; then
71679   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
71680 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
71681    { (exit 1); exit 1; }; }
71682 fi
71683 cat >conftest.$ac_ext <<_ACEOF
71684 /* confdefs.h.  */
71685 _ACEOF
71686 cat confdefs.h >>conftest.$ac_ext
71687 cat >>conftest.$ac_ext <<_ACEOF
71688 /* end confdefs.h.  */
71689 #include <math.h>
71690 int
71691 main ()
71692 {
71693  __builtin_abs(0);
71694   ;
71695   return 0;
71696 }
71697 _ACEOF
71698 rm -f conftest.$ac_objext conftest$ac_exeext
71699 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
71700   (eval $ac_link) 2>conftest.er1
71701   ac_status=$?
71702   grep -v '^ *+' conftest.er1 >conftest.err
71703   rm -f conftest.er1
71704   cat conftest.err >&5
71705   echo "$as_me:$LINENO: \$? = $ac_status" >&5
71706   (exit $ac_status); } &&
71707          { ac_try='test -z "$ac_c_werror_flag"
71708                          || test ! -s conftest.err'
71709   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
71710   (eval $ac_try) 2>&5
71711   ac_status=$?
71712   echo "$as_me:$LINENO: \$? = $ac_status" >&5
71713   (exit $ac_status); }; } &&
71714          { ac_try='test -s conftest$ac_exeext'
71715   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
71716   (eval $ac_try) 2>&5
71717   ac_status=$?
71718   echo "$as_me:$LINENO: \$? = $ac_status" >&5
71719   (exit $ac_status); }; }; then
71720   glibcxx_cv_func___builtin_abs_link=yes
71721 else
71722   echo "$as_me: failed program was:" >&5
71723 sed 's/^/| /' conftest.$ac_ext >&5
71724
71725 glibcxx_cv_func___builtin_abs_link=no
71726 fi
71727 rm -f conftest.err conftest.$ac_objext \
71728       conftest$ac_exeext conftest.$ac_ext
71729
71730 fi
71731
71732     fi
71733     echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_abs_link" >&5
71734 echo "${ECHO_T}$glibcxx_cv_func___builtin_abs_link" >&6
71735
71736     if test x$glibcxx_cv_func___builtin_abs_link = x"yes"; then
71737
71738 cat >>confdefs.h <<\_ACEOF
71739 #define HAVE___BUILTIN_ABS 1
71740 _ACEOF
71741
71742     fi
71743
71744   fi
71745
71746
71747   echo "$as_me:$LINENO: checking for __builtin_fabsf declaration" >&5
71748 echo $ECHO_N "checking for __builtin_fabsf declaration... $ECHO_C" >&6
71749   if test x${glibcxx_cv_func___builtin_fabsf_use+set} != xset; then
71750     if test "${glibcxx_cv_func___builtin_fabsf_use+set}" = set; then
71751   echo $ECHO_N "(cached) $ECHO_C" >&6
71752 else
71753
71754
71755
71756       ac_ext=cc
71757 ac_cpp='$CXXCPP $CPPFLAGS'
71758 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71759 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71760 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
71761
71762       cat >conftest.$ac_ext <<_ACEOF
71763 /* confdefs.h.  */
71764 _ACEOF
71765 cat confdefs.h >>conftest.$ac_ext
71766 cat >>conftest.$ac_ext <<_ACEOF
71767 /* end confdefs.h.  */
71768 #include <math.h>
71769 int
71770 main ()
71771 {
71772  __builtin_fabsf(0);
71773   ;
71774   return 0;
71775 }
71776 _ACEOF
71777 rm -f conftest.$ac_objext
71778 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
71779   (eval $ac_compile) 2>conftest.er1
71780   ac_status=$?
71781   grep -v '^ *+' conftest.er1 >conftest.err
71782   rm -f conftest.er1
71783   cat conftest.err >&5
71784   echo "$as_me:$LINENO: \$? = $ac_status" >&5
71785   (exit $ac_status); } &&
71786          { ac_try='test -z "$ac_cxx_werror_flag"
71787                          || test ! -s conftest.err'
71788   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
71789   (eval $ac_try) 2>&5
71790   ac_status=$?
71791   echo "$as_me:$LINENO: \$? = $ac_status" >&5
71792   (exit $ac_status); }; } &&
71793          { ac_try='test -s conftest.$ac_objext'
71794   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
71795   (eval $ac_try) 2>&5
71796   ac_status=$?
71797   echo "$as_me:$LINENO: \$? = $ac_status" >&5
71798   (exit $ac_status); }; }; then
71799   glibcxx_cv_func___builtin_fabsf_use=yes
71800 else
71801   echo "$as_me: failed program was:" >&5
71802 sed 's/^/| /' conftest.$ac_ext >&5
71803
71804 glibcxx_cv_func___builtin_fabsf_use=no
71805 fi
71806 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
71807       ac_ext=c
71808 ac_cpp='$CPP $CPPFLAGS'
71809 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71810 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71811 ac_compiler_gnu=$ac_cv_c_compiler_gnu
71812
71813
71814 fi
71815
71816   fi
71817   echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_fabsf_use" >&5
71818 echo "${ECHO_T}$glibcxx_cv_func___builtin_fabsf_use" >&6
71819   if test x$glibcxx_cv_func___builtin_fabsf_use = x"yes"; then
71820     echo "$as_me:$LINENO: checking for __builtin_fabsf linkage" >&5
71821 echo $ECHO_N "checking for __builtin_fabsf linkage... $ECHO_C" >&6
71822     if test x${glibcxx_cv_func___builtin_fabsf_link+set} != xset; then
71823       if test "${glibcxx_cv_func___builtin_fabsf_link+set}" = set; then
71824   echo $ECHO_N "(cached) $ECHO_C" >&6
71825 else
71826
71827         if test x$gcc_no_link = xyes; then
71828   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
71829 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
71830    { (exit 1); exit 1; }; }
71831 fi
71832 cat >conftest.$ac_ext <<_ACEOF
71833 /* confdefs.h.  */
71834 _ACEOF
71835 cat confdefs.h >>conftest.$ac_ext
71836 cat >>conftest.$ac_ext <<_ACEOF
71837 /* end confdefs.h.  */
71838 #include <math.h>
71839 int
71840 main ()
71841 {
71842  __builtin_fabsf(0);
71843   ;
71844   return 0;
71845 }
71846 _ACEOF
71847 rm -f conftest.$ac_objext conftest$ac_exeext
71848 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
71849   (eval $ac_link) 2>conftest.er1
71850   ac_status=$?
71851   grep -v '^ *+' conftest.er1 >conftest.err
71852   rm -f conftest.er1
71853   cat conftest.err >&5
71854   echo "$as_me:$LINENO: \$? = $ac_status" >&5
71855   (exit $ac_status); } &&
71856          { ac_try='test -z "$ac_c_werror_flag"
71857                          || test ! -s conftest.err'
71858   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
71859   (eval $ac_try) 2>&5
71860   ac_status=$?
71861   echo "$as_me:$LINENO: \$? = $ac_status" >&5
71862   (exit $ac_status); }; } &&
71863          { ac_try='test -s conftest$ac_exeext'
71864   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
71865   (eval $ac_try) 2>&5
71866   ac_status=$?
71867   echo "$as_me:$LINENO: \$? = $ac_status" >&5
71868   (exit $ac_status); }; }; then
71869   glibcxx_cv_func___builtin_fabsf_link=yes
71870 else
71871   echo "$as_me: failed program was:" >&5
71872 sed 's/^/| /' conftest.$ac_ext >&5
71873
71874 glibcxx_cv_func___builtin_fabsf_link=no
71875 fi
71876 rm -f conftest.err conftest.$ac_objext \
71877       conftest$ac_exeext conftest.$ac_ext
71878
71879 fi
71880
71881     fi
71882     echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_fabsf_link" >&5
71883 echo "${ECHO_T}$glibcxx_cv_func___builtin_fabsf_link" >&6
71884
71885     if test x$glibcxx_cv_func___builtin_fabsf_link = x"yes"; then
71886
71887 cat >>confdefs.h <<\_ACEOF
71888 #define HAVE___BUILTIN_FABSF 1
71889 _ACEOF
71890
71891     fi
71892
71893   fi
71894
71895
71896   echo "$as_me:$LINENO: checking for __builtin_fabs declaration" >&5
71897 echo $ECHO_N "checking for __builtin_fabs declaration... $ECHO_C" >&6
71898   if test x${glibcxx_cv_func___builtin_fabs_use+set} != xset; then
71899     if test "${glibcxx_cv_func___builtin_fabs_use+set}" = set; then
71900   echo $ECHO_N "(cached) $ECHO_C" >&6
71901 else
71902
71903
71904
71905       ac_ext=cc
71906 ac_cpp='$CXXCPP $CPPFLAGS'
71907 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71908 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71909 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
71910
71911       cat >conftest.$ac_ext <<_ACEOF
71912 /* confdefs.h.  */
71913 _ACEOF
71914 cat confdefs.h >>conftest.$ac_ext
71915 cat >>conftest.$ac_ext <<_ACEOF
71916 /* end confdefs.h.  */
71917 #include <math.h>
71918 int
71919 main ()
71920 {
71921  __builtin_fabs(0);
71922   ;
71923   return 0;
71924 }
71925 _ACEOF
71926 rm -f conftest.$ac_objext
71927 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
71928   (eval $ac_compile) 2>conftest.er1
71929   ac_status=$?
71930   grep -v '^ *+' conftest.er1 >conftest.err
71931   rm -f conftest.er1
71932   cat conftest.err >&5
71933   echo "$as_me:$LINENO: \$? = $ac_status" >&5
71934   (exit $ac_status); } &&
71935          { ac_try='test -z "$ac_cxx_werror_flag"
71936                          || test ! -s conftest.err'
71937   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
71938   (eval $ac_try) 2>&5
71939   ac_status=$?
71940   echo "$as_me:$LINENO: \$? = $ac_status" >&5
71941   (exit $ac_status); }; } &&
71942          { ac_try='test -s conftest.$ac_objext'
71943   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
71944   (eval $ac_try) 2>&5
71945   ac_status=$?
71946   echo "$as_me:$LINENO: \$? = $ac_status" >&5
71947   (exit $ac_status); }; }; then
71948   glibcxx_cv_func___builtin_fabs_use=yes
71949 else
71950   echo "$as_me: failed program was:" >&5
71951 sed 's/^/| /' conftest.$ac_ext >&5
71952
71953 glibcxx_cv_func___builtin_fabs_use=no
71954 fi
71955 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
71956       ac_ext=c
71957 ac_cpp='$CPP $CPPFLAGS'
71958 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71959 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71960 ac_compiler_gnu=$ac_cv_c_compiler_gnu
71961
71962
71963 fi
71964
71965   fi
71966   echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_fabs_use" >&5
71967 echo "${ECHO_T}$glibcxx_cv_func___builtin_fabs_use" >&6
71968   if test x$glibcxx_cv_func___builtin_fabs_use = x"yes"; then
71969     echo "$as_me:$LINENO: checking for __builtin_fabs linkage" >&5
71970 echo $ECHO_N "checking for __builtin_fabs linkage... $ECHO_C" >&6
71971     if test x${glibcxx_cv_func___builtin_fabs_link+set} != xset; then
71972       if test "${glibcxx_cv_func___builtin_fabs_link+set}" = set; then
71973   echo $ECHO_N "(cached) $ECHO_C" >&6
71974 else
71975
71976         if test x$gcc_no_link = xyes; then
71977   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
71978 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
71979    { (exit 1); exit 1; }; }
71980 fi
71981 cat >conftest.$ac_ext <<_ACEOF
71982 /* confdefs.h.  */
71983 _ACEOF
71984 cat confdefs.h >>conftest.$ac_ext
71985 cat >>conftest.$ac_ext <<_ACEOF
71986 /* end confdefs.h.  */
71987 #include <math.h>
71988 int
71989 main ()
71990 {
71991  __builtin_fabs(0);
71992   ;
71993   return 0;
71994 }
71995 _ACEOF
71996 rm -f conftest.$ac_objext conftest$ac_exeext
71997 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
71998   (eval $ac_link) 2>conftest.er1
71999   ac_status=$?
72000   grep -v '^ *+' conftest.er1 >conftest.err
72001   rm -f conftest.er1
72002   cat conftest.err >&5
72003   echo "$as_me:$LINENO: \$? = $ac_status" >&5
72004   (exit $ac_status); } &&
72005          { ac_try='test -z "$ac_c_werror_flag"
72006                          || test ! -s conftest.err'
72007   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
72008   (eval $ac_try) 2>&5
72009   ac_status=$?
72010   echo "$as_me:$LINENO: \$? = $ac_status" >&5
72011   (exit $ac_status); }; } &&
72012          { ac_try='test -s conftest$ac_exeext'
72013   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
72014   (eval $ac_try) 2>&5
72015   ac_status=$?
72016   echo "$as_me:$LINENO: \$? = $ac_status" >&5
72017   (exit $ac_status); }; }; then
72018   glibcxx_cv_func___builtin_fabs_link=yes
72019 else
72020   echo "$as_me: failed program was:" >&5
72021 sed 's/^/| /' conftest.$ac_ext >&5
72022
72023 glibcxx_cv_func___builtin_fabs_link=no
72024 fi
72025 rm -f conftest.err conftest.$ac_objext \
72026       conftest$ac_exeext conftest.$ac_ext
72027
72028 fi
72029
72030     fi
72031     echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_fabs_link" >&5
72032 echo "${ECHO_T}$glibcxx_cv_func___builtin_fabs_link" >&6
72033
72034     if test x$glibcxx_cv_func___builtin_fabs_link = x"yes"; then
72035
72036 cat >>confdefs.h <<\_ACEOF
72037 #define HAVE___BUILTIN_FABS 1
72038 _ACEOF
72039
72040     fi
72041
72042   fi
72043
72044
72045   echo "$as_me:$LINENO: checking for __builtin_fabsl declaration" >&5
72046 echo $ECHO_N "checking for __builtin_fabsl declaration... $ECHO_C" >&6
72047   if test x${glibcxx_cv_func___builtin_fabsl_use+set} != xset; then
72048     if test "${glibcxx_cv_func___builtin_fabsl_use+set}" = set; then
72049   echo $ECHO_N "(cached) $ECHO_C" >&6
72050 else
72051
72052
72053
72054       ac_ext=cc
72055 ac_cpp='$CXXCPP $CPPFLAGS'
72056 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72057 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72058 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
72059
72060       cat >conftest.$ac_ext <<_ACEOF
72061 /* confdefs.h.  */
72062 _ACEOF
72063 cat confdefs.h >>conftest.$ac_ext
72064 cat >>conftest.$ac_ext <<_ACEOF
72065 /* end confdefs.h.  */
72066 #include <math.h>
72067 int
72068 main ()
72069 {
72070  __builtin_fabsl(0);
72071   ;
72072   return 0;
72073 }
72074 _ACEOF
72075 rm -f conftest.$ac_objext
72076 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
72077   (eval $ac_compile) 2>conftest.er1
72078   ac_status=$?
72079   grep -v '^ *+' conftest.er1 >conftest.err
72080   rm -f conftest.er1
72081   cat conftest.err >&5
72082   echo "$as_me:$LINENO: \$? = $ac_status" >&5
72083   (exit $ac_status); } &&
72084          { ac_try='test -z "$ac_cxx_werror_flag"
72085                          || test ! -s conftest.err'
72086   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
72087   (eval $ac_try) 2>&5
72088   ac_status=$?
72089   echo "$as_me:$LINENO: \$? = $ac_status" >&5
72090   (exit $ac_status); }; } &&
72091          { ac_try='test -s conftest.$ac_objext'
72092   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
72093   (eval $ac_try) 2>&5
72094   ac_status=$?
72095   echo "$as_me:$LINENO: \$? = $ac_status" >&5
72096   (exit $ac_status); }; }; then
72097   glibcxx_cv_func___builtin_fabsl_use=yes
72098 else
72099   echo "$as_me: failed program was:" >&5
72100 sed 's/^/| /' conftest.$ac_ext >&5
72101
72102 glibcxx_cv_func___builtin_fabsl_use=no
72103 fi
72104 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
72105       ac_ext=c
72106 ac_cpp='$CPP $CPPFLAGS'
72107 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72108 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72109 ac_compiler_gnu=$ac_cv_c_compiler_gnu
72110
72111
72112 fi
72113
72114   fi
72115   echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_fabsl_use" >&5
72116 echo "${ECHO_T}$glibcxx_cv_func___builtin_fabsl_use" >&6
72117   if test x$glibcxx_cv_func___builtin_fabsl_use = x"yes"; then
72118     echo "$as_me:$LINENO: checking for __builtin_fabsl linkage" >&5
72119 echo $ECHO_N "checking for __builtin_fabsl linkage... $ECHO_C" >&6
72120     if test x${glibcxx_cv_func___builtin_fabsl_link+set} != xset; then
72121       if test "${glibcxx_cv_func___builtin_fabsl_link+set}" = set; then
72122   echo $ECHO_N "(cached) $ECHO_C" >&6
72123 else
72124
72125         if test x$gcc_no_link = xyes; then
72126   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
72127 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
72128    { (exit 1); exit 1; }; }
72129 fi
72130 cat >conftest.$ac_ext <<_ACEOF
72131 /* confdefs.h.  */
72132 _ACEOF
72133 cat confdefs.h >>conftest.$ac_ext
72134 cat >>conftest.$ac_ext <<_ACEOF
72135 /* end confdefs.h.  */
72136 #include <math.h>
72137 int
72138 main ()
72139 {
72140  __builtin_fabsl(0);
72141   ;
72142   return 0;
72143 }
72144 _ACEOF
72145 rm -f conftest.$ac_objext conftest$ac_exeext
72146 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
72147   (eval $ac_link) 2>conftest.er1
72148   ac_status=$?
72149   grep -v '^ *+' conftest.er1 >conftest.err
72150   rm -f conftest.er1
72151   cat conftest.err >&5
72152   echo "$as_me:$LINENO: \$? = $ac_status" >&5
72153   (exit $ac_status); } &&
72154          { ac_try='test -z "$ac_c_werror_flag"
72155                          || test ! -s conftest.err'
72156   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
72157   (eval $ac_try) 2>&5
72158   ac_status=$?
72159   echo "$as_me:$LINENO: \$? = $ac_status" >&5
72160   (exit $ac_status); }; } &&
72161          { ac_try='test -s conftest$ac_exeext'
72162   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
72163   (eval $ac_try) 2>&5
72164   ac_status=$?
72165   echo "$as_me:$LINENO: \$? = $ac_status" >&5
72166   (exit $ac_status); }; }; then
72167   glibcxx_cv_func___builtin_fabsl_link=yes
72168 else
72169   echo "$as_me: failed program was:" >&5
72170 sed 's/^/| /' conftest.$ac_ext >&5
72171
72172 glibcxx_cv_func___builtin_fabsl_link=no
72173 fi
72174 rm -f conftest.err conftest.$ac_objext \
72175       conftest$ac_exeext conftest.$ac_ext
72176
72177 fi
72178
72179     fi
72180     echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_fabsl_link" >&5
72181 echo "${ECHO_T}$glibcxx_cv_func___builtin_fabsl_link" >&6
72182
72183     if test x$glibcxx_cv_func___builtin_fabsl_link = x"yes"; then
72184
72185 cat >>confdefs.h <<\_ACEOF
72186 #define HAVE___BUILTIN_FABSL 1
72187 _ACEOF
72188
72189     fi
72190
72191   fi
72192
72193
72194   echo "$as_me:$LINENO: checking for __builtin_labs declaration" >&5
72195 echo $ECHO_N "checking for __builtin_labs declaration... $ECHO_C" >&6
72196   if test x${glibcxx_cv_func___builtin_labs_use+set} != xset; then
72197     if test "${glibcxx_cv_func___builtin_labs_use+set}" = set; then
72198   echo $ECHO_N "(cached) $ECHO_C" >&6
72199 else
72200
72201
72202
72203       ac_ext=cc
72204 ac_cpp='$CXXCPP $CPPFLAGS'
72205 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72206 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72207 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
72208
72209       cat >conftest.$ac_ext <<_ACEOF
72210 /* confdefs.h.  */
72211 _ACEOF
72212 cat confdefs.h >>conftest.$ac_ext
72213 cat >>conftest.$ac_ext <<_ACEOF
72214 /* end confdefs.h.  */
72215 #include <math.h>
72216 int
72217 main ()
72218 {
72219  __builtin_labs(0);
72220   ;
72221   return 0;
72222 }
72223 _ACEOF
72224 rm -f conftest.$ac_objext
72225 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
72226   (eval $ac_compile) 2>conftest.er1
72227   ac_status=$?
72228   grep -v '^ *+' conftest.er1 >conftest.err
72229   rm -f conftest.er1
72230   cat conftest.err >&5
72231   echo "$as_me:$LINENO: \$? = $ac_status" >&5
72232   (exit $ac_status); } &&
72233          { ac_try='test -z "$ac_cxx_werror_flag"
72234                          || test ! -s conftest.err'
72235   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
72236   (eval $ac_try) 2>&5
72237   ac_status=$?
72238   echo "$as_me:$LINENO: \$? = $ac_status" >&5
72239   (exit $ac_status); }; } &&
72240          { ac_try='test -s conftest.$ac_objext'
72241   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
72242   (eval $ac_try) 2>&5
72243   ac_status=$?
72244   echo "$as_me:$LINENO: \$? = $ac_status" >&5
72245   (exit $ac_status); }; }; then
72246   glibcxx_cv_func___builtin_labs_use=yes
72247 else
72248   echo "$as_me: failed program was:" >&5
72249 sed 's/^/| /' conftest.$ac_ext >&5
72250
72251 glibcxx_cv_func___builtin_labs_use=no
72252 fi
72253 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
72254       ac_ext=c
72255 ac_cpp='$CPP $CPPFLAGS'
72256 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72257 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72258 ac_compiler_gnu=$ac_cv_c_compiler_gnu
72259
72260
72261 fi
72262
72263   fi
72264   echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_labs_use" >&5
72265 echo "${ECHO_T}$glibcxx_cv_func___builtin_labs_use" >&6
72266   if test x$glibcxx_cv_func___builtin_labs_use = x"yes"; then
72267     echo "$as_me:$LINENO: checking for __builtin_labs linkage" >&5
72268 echo $ECHO_N "checking for __builtin_labs linkage... $ECHO_C" >&6
72269     if test x${glibcxx_cv_func___builtin_labs_link+set} != xset; then
72270       if test "${glibcxx_cv_func___builtin_labs_link+set}" = set; then
72271   echo $ECHO_N "(cached) $ECHO_C" >&6
72272 else
72273
72274         if test x$gcc_no_link = xyes; then
72275   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
72276 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
72277    { (exit 1); exit 1; }; }
72278 fi
72279 cat >conftest.$ac_ext <<_ACEOF
72280 /* confdefs.h.  */
72281 _ACEOF
72282 cat confdefs.h >>conftest.$ac_ext
72283 cat >>conftest.$ac_ext <<_ACEOF
72284 /* end confdefs.h.  */
72285 #include <math.h>
72286 int
72287 main ()
72288 {
72289  __builtin_labs(0);
72290   ;
72291   return 0;
72292 }
72293 _ACEOF
72294 rm -f conftest.$ac_objext conftest$ac_exeext
72295 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
72296   (eval $ac_link) 2>conftest.er1
72297   ac_status=$?
72298   grep -v '^ *+' conftest.er1 >conftest.err
72299   rm -f conftest.er1
72300   cat conftest.err >&5
72301   echo "$as_me:$LINENO: \$? = $ac_status" >&5
72302   (exit $ac_status); } &&
72303          { ac_try='test -z "$ac_c_werror_flag"
72304                          || test ! -s conftest.err'
72305   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
72306   (eval $ac_try) 2>&5
72307   ac_status=$?
72308   echo "$as_me:$LINENO: \$? = $ac_status" >&5
72309   (exit $ac_status); }; } &&
72310          { ac_try='test -s conftest$ac_exeext'
72311   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
72312   (eval $ac_try) 2>&5
72313   ac_status=$?
72314   echo "$as_me:$LINENO: \$? = $ac_status" >&5
72315   (exit $ac_status); }; }; then
72316   glibcxx_cv_func___builtin_labs_link=yes
72317 else
72318   echo "$as_me: failed program was:" >&5
72319 sed 's/^/| /' conftest.$ac_ext >&5
72320
72321 glibcxx_cv_func___builtin_labs_link=no
72322 fi
72323 rm -f conftest.err conftest.$ac_objext \
72324       conftest$ac_exeext conftest.$ac_ext
72325
72326 fi
72327
72328     fi
72329     echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_labs_link" >&5
72330 echo "${ECHO_T}$glibcxx_cv_func___builtin_labs_link" >&6
72331
72332     if test x$glibcxx_cv_func___builtin_labs_link = x"yes"; then
72333
72334 cat >>confdefs.h <<\_ACEOF
72335 #define HAVE___BUILTIN_LABS 1
72336 _ACEOF
72337
72338     fi
72339
72340   fi
72341
72342
72343
72344   echo "$as_me:$LINENO: checking for __builtin_sqrtf declaration" >&5
72345 echo $ECHO_N "checking for __builtin_sqrtf declaration... $ECHO_C" >&6
72346   if test x${glibcxx_cv_func___builtin_sqrtf_use+set} != xset; then
72347     if test "${glibcxx_cv_func___builtin_sqrtf_use+set}" = set; then
72348   echo $ECHO_N "(cached) $ECHO_C" >&6
72349 else
72350
72351
72352
72353       ac_ext=cc
72354 ac_cpp='$CXXCPP $CPPFLAGS'
72355 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72356 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72357 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
72358
72359       cat >conftest.$ac_ext <<_ACEOF
72360 /* confdefs.h.  */
72361 _ACEOF
72362 cat confdefs.h >>conftest.$ac_ext
72363 cat >>conftest.$ac_ext <<_ACEOF
72364 /* end confdefs.h.  */
72365 #include <math.h>
72366 int
72367 main ()
72368 {
72369  __builtin_sqrtf(0);
72370   ;
72371   return 0;
72372 }
72373 _ACEOF
72374 rm -f conftest.$ac_objext
72375 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
72376   (eval $ac_compile) 2>conftest.er1
72377   ac_status=$?
72378   grep -v '^ *+' conftest.er1 >conftest.err
72379   rm -f conftest.er1
72380   cat conftest.err >&5
72381   echo "$as_me:$LINENO: \$? = $ac_status" >&5
72382   (exit $ac_status); } &&
72383          { ac_try='test -z "$ac_cxx_werror_flag"
72384                          || test ! -s conftest.err'
72385   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
72386   (eval $ac_try) 2>&5
72387   ac_status=$?
72388   echo "$as_me:$LINENO: \$? = $ac_status" >&5
72389   (exit $ac_status); }; } &&
72390          { ac_try='test -s conftest.$ac_objext'
72391   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
72392   (eval $ac_try) 2>&5
72393   ac_status=$?
72394   echo "$as_me:$LINENO: \$? = $ac_status" >&5
72395   (exit $ac_status); }; }; then
72396   glibcxx_cv_func___builtin_sqrtf_use=yes
72397 else
72398   echo "$as_me: failed program was:" >&5
72399 sed 's/^/| /' conftest.$ac_ext >&5
72400
72401 glibcxx_cv_func___builtin_sqrtf_use=no
72402 fi
72403 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
72404       ac_ext=c
72405 ac_cpp='$CPP $CPPFLAGS'
72406 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72407 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72408 ac_compiler_gnu=$ac_cv_c_compiler_gnu
72409
72410
72411 fi
72412
72413   fi
72414   echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sqrtf_use" >&5
72415 echo "${ECHO_T}$glibcxx_cv_func___builtin_sqrtf_use" >&6
72416   if test x$glibcxx_cv_func___builtin_sqrtf_use = x"yes"; then
72417     echo "$as_me:$LINENO: checking for __builtin_sqrtf linkage" >&5
72418 echo $ECHO_N "checking for __builtin_sqrtf linkage... $ECHO_C" >&6
72419     if test x${glibcxx_cv_func___builtin_sqrtf_link+set} != xset; then
72420       if test "${glibcxx_cv_func___builtin_sqrtf_link+set}" = set; then
72421   echo $ECHO_N "(cached) $ECHO_C" >&6
72422 else
72423
72424         if test x$gcc_no_link = xyes; then
72425   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
72426 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
72427    { (exit 1); exit 1; }; }
72428 fi
72429 cat >conftest.$ac_ext <<_ACEOF
72430 /* confdefs.h.  */
72431 _ACEOF
72432 cat confdefs.h >>conftest.$ac_ext
72433 cat >>conftest.$ac_ext <<_ACEOF
72434 /* end confdefs.h.  */
72435 #include <math.h>
72436 int
72437 main ()
72438 {
72439  __builtin_sqrtf(0);
72440   ;
72441   return 0;
72442 }
72443 _ACEOF
72444 rm -f conftest.$ac_objext conftest$ac_exeext
72445 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
72446   (eval $ac_link) 2>conftest.er1
72447   ac_status=$?
72448   grep -v '^ *+' conftest.er1 >conftest.err
72449   rm -f conftest.er1
72450   cat conftest.err >&5
72451   echo "$as_me:$LINENO: \$? = $ac_status" >&5
72452   (exit $ac_status); } &&
72453          { ac_try='test -z "$ac_c_werror_flag"
72454                          || test ! -s conftest.err'
72455   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
72456   (eval $ac_try) 2>&5
72457   ac_status=$?
72458   echo "$as_me:$LINENO: \$? = $ac_status" >&5
72459   (exit $ac_status); }; } &&
72460          { ac_try='test -s conftest$ac_exeext'
72461   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
72462   (eval $ac_try) 2>&5
72463   ac_status=$?
72464   echo "$as_me:$LINENO: \$? = $ac_status" >&5
72465   (exit $ac_status); }; }; then
72466   glibcxx_cv_func___builtin_sqrtf_link=yes
72467 else
72468   echo "$as_me: failed program was:" >&5
72469 sed 's/^/| /' conftest.$ac_ext >&5
72470
72471 glibcxx_cv_func___builtin_sqrtf_link=no
72472 fi
72473 rm -f conftest.err conftest.$ac_objext \
72474       conftest$ac_exeext conftest.$ac_ext
72475
72476 fi
72477
72478     fi
72479     echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sqrtf_link" >&5
72480 echo "${ECHO_T}$glibcxx_cv_func___builtin_sqrtf_link" >&6
72481
72482     if test x$glibcxx_cv_func___builtin_sqrtf_link = x"yes"; then
72483
72484 cat >>confdefs.h <<\_ACEOF
72485 #define HAVE___BUILTIN_SQRTF 1
72486 _ACEOF
72487
72488     fi
72489
72490   fi
72491
72492
72493   echo "$as_me:$LINENO: checking for __builtin_sqrt declaration" >&5
72494 echo $ECHO_N "checking for __builtin_sqrt declaration... $ECHO_C" >&6
72495   if test x${glibcxx_cv_func___builtin_sqrt_use+set} != xset; then
72496     if test "${glibcxx_cv_func___builtin_sqrt_use+set}" = set; then
72497   echo $ECHO_N "(cached) $ECHO_C" >&6
72498 else
72499
72500
72501
72502       ac_ext=cc
72503 ac_cpp='$CXXCPP $CPPFLAGS'
72504 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72505 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72506 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
72507
72508       cat >conftest.$ac_ext <<_ACEOF
72509 /* confdefs.h.  */
72510 _ACEOF
72511 cat confdefs.h >>conftest.$ac_ext
72512 cat >>conftest.$ac_ext <<_ACEOF
72513 /* end confdefs.h.  */
72514 #include <math.h>
72515 int
72516 main ()
72517 {
72518  __builtin_sqrt(0);
72519   ;
72520   return 0;
72521 }
72522 _ACEOF
72523 rm -f conftest.$ac_objext
72524 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
72525   (eval $ac_compile) 2>conftest.er1
72526   ac_status=$?
72527   grep -v '^ *+' conftest.er1 >conftest.err
72528   rm -f conftest.er1
72529   cat conftest.err >&5
72530   echo "$as_me:$LINENO: \$? = $ac_status" >&5
72531   (exit $ac_status); } &&
72532          { ac_try='test -z "$ac_cxx_werror_flag"
72533                          || test ! -s conftest.err'
72534   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
72535   (eval $ac_try) 2>&5
72536   ac_status=$?
72537   echo "$as_me:$LINENO: \$? = $ac_status" >&5
72538   (exit $ac_status); }; } &&
72539          { ac_try='test -s conftest.$ac_objext'
72540   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
72541   (eval $ac_try) 2>&5
72542   ac_status=$?
72543   echo "$as_me:$LINENO: \$? = $ac_status" >&5
72544   (exit $ac_status); }; }; then
72545   glibcxx_cv_func___builtin_sqrt_use=yes
72546 else
72547   echo "$as_me: failed program was:" >&5
72548 sed 's/^/| /' conftest.$ac_ext >&5
72549
72550 glibcxx_cv_func___builtin_sqrt_use=no
72551 fi
72552 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
72553       ac_ext=c
72554 ac_cpp='$CPP $CPPFLAGS'
72555 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72556 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72557 ac_compiler_gnu=$ac_cv_c_compiler_gnu
72558
72559
72560 fi
72561
72562   fi
72563   echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sqrt_use" >&5
72564 echo "${ECHO_T}$glibcxx_cv_func___builtin_sqrt_use" >&6
72565   if test x$glibcxx_cv_func___builtin_sqrt_use = x"yes"; then
72566     echo "$as_me:$LINENO: checking for __builtin_sqrt linkage" >&5
72567 echo $ECHO_N "checking for __builtin_sqrt linkage... $ECHO_C" >&6
72568     if test x${glibcxx_cv_func___builtin_sqrt_link+set} != xset; then
72569       if test "${glibcxx_cv_func___builtin_sqrt_link+set}" = set; then
72570   echo $ECHO_N "(cached) $ECHO_C" >&6
72571 else
72572
72573         if test x$gcc_no_link = xyes; then
72574   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
72575 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
72576    { (exit 1); exit 1; }; }
72577 fi
72578 cat >conftest.$ac_ext <<_ACEOF
72579 /* confdefs.h.  */
72580 _ACEOF
72581 cat confdefs.h >>conftest.$ac_ext
72582 cat >>conftest.$ac_ext <<_ACEOF
72583 /* end confdefs.h.  */
72584 #include <math.h>
72585 int
72586 main ()
72587 {
72588  __builtin_sqrt(0);
72589   ;
72590   return 0;
72591 }
72592 _ACEOF
72593 rm -f conftest.$ac_objext conftest$ac_exeext
72594 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
72595   (eval $ac_link) 2>conftest.er1
72596   ac_status=$?
72597   grep -v '^ *+' conftest.er1 >conftest.err
72598   rm -f conftest.er1
72599   cat conftest.err >&5
72600   echo "$as_me:$LINENO: \$? = $ac_status" >&5
72601   (exit $ac_status); } &&
72602          { ac_try='test -z "$ac_c_werror_flag"
72603                          || test ! -s conftest.err'
72604   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
72605   (eval $ac_try) 2>&5
72606   ac_status=$?
72607   echo "$as_me:$LINENO: \$? = $ac_status" >&5
72608   (exit $ac_status); }; } &&
72609          { ac_try='test -s conftest$ac_exeext'
72610   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
72611   (eval $ac_try) 2>&5
72612   ac_status=$?
72613   echo "$as_me:$LINENO: \$? = $ac_status" >&5
72614   (exit $ac_status); }; }; then
72615   glibcxx_cv_func___builtin_sqrt_link=yes
72616 else
72617   echo "$as_me: failed program was:" >&5
72618 sed 's/^/| /' conftest.$ac_ext >&5
72619
72620 glibcxx_cv_func___builtin_sqrt_link=no
72621 fi
72622 rm -f conftest.err conftest.$ac_objext \
72623       conftest$ac_exeext conftest.$ac_ext
72624
72625 fi
72626
72627     fi
72628     echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sqrt_link" >&5
72629 echo "${ECHO_T}$glibcxx_cv_func___builtin_sqrt_link" >&6
72630
72631     if test x$glibcxx_cv_func___builtin_sqrt_link = x"yes"; then
72632
72633 cat >>confdefs.h <<\_ACEOF
72634 #define HAVE___BUILTIN_SQRT 1
72635 _ACEOF
72636
72637     fi
72638
72639   fi
72640
72641
72642   echo "$as_me:$LINENO: checking for __builtin_sqrtl declaration" >&5
72643 echo $ECHO_N "checking for __builtin_sqrtl declaration... $ECHO_C" >&6
72644   if test x${glibcxx_cv_func___builtin_sqrtl_use+set} != xset; then
72645     if test "${glibcxx_cv_func___builtin_sqrtl_use+set}" = set; then
72646   echo $ECHO_N "(cached) $ECHO_C" >&6
72647 else
72648
72649
72650
72651       ac_ext=cc
72652 ac_cpp='$CXXCPP $CPPFLAGS'
72653 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72654 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72655 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
72656
72657       cat >conftest.$ac_ext <<_ACEOF
72658 /* confdefs.h.  */
72659 _ACEOF
72660 cat confdefs.h >>conftest.$ac_ext
72661 cat >>conftest.$ac_ext <<_ACEOF
72662 /* end confdefs.h.  */
72663 #include <math.h>
72664 int
72665 main ()
72666 {
72667  __builtin_sqrtl(0);
72668   ;
72669   return 0;
72670 }
72671 _ACEOF
72672 rm -f conftest.$ac_objext
72673 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
72674   (eval $ac_compile) 2>conftest.er1
72675   ac_status=$?
72676   grep -v '^ *+' conftest.er1 >conftest.err
72677   rm -f conftest.er1
72678   cat conftest.err >&5
72679   echo "$as_me:$LINENO: \$? = $ac_status" >&5
72680   (exit $ac_status); } &&
72681          { ac_try='test -z "$ac_cxx_werror_flag"
72682                          || test ! -s conftest.err'
72683   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
72684   (eval $ac_try) 2>&5
72685   ac_status=$?
72686   echo "$as_me:$LINENO: \$? = $ac_status" >&5
72687   (exit $ac_status); }; } &&
72688          { ac_try='test -s conftest.$ac_objext'
72689   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
72690   (eval $ac_try) 2>&5
72691   ac_status=$?
72692   echo "$as_me:$LINENO: \$? = $ac_status" >&5
72693   (exit $ac_status); }; }; then
72694   glibcxx_cv_func___builtin_sqrtl_use=yes
72695 else
72696   echo "$as_me: failed program was:" >&5
72697 sed 's/^/| /' conftest.$ac_ext >&5
72698
72699 glibcxx_cv_func___builtin_sqrtl_use=no
72700 fi
72701 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
72702       ac_ext=c
72703 ac_cpp='$CPP $CPPFLAGS'
72704 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72705 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72706 ac_compiler_gnu=$ac_cv_c_compiler_gnu
72707
72708
72709 fi
72710
72711   fi
72712   echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sqrtl_use" >&5
72713 echo "${ECHO_T}$glibcxx_cv_func___builtin_sqrtl_use" >&6
72714   if test x$glibcxx_cv_func___builtin_sqrtl_use = x"yes"; then
72715     echo "$as_me:$LINENO: checking for __builtin_sqrtl linkage" >&5
72716 echo $ECHO_N "checking for __builtin_sqrtl linkage... $ECHO_C" >&6
72717     if test x${glibcxx_cv_func___builtin_sqrtl_link+set} != xset; then
72718       if test "${glibcxx_cv_func___builtin_sqrtl_link+set}" = set; then
72719   echo $ECHO_N "(cached) $ECHO_C" >&6
72720 else
72721
72722         if test x$gcc_no_link = xyes; then
72723   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
72724 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
72725    { (exit 1); exit 1; }; }
72726 fi
72727 cat >conftest.$ac_ext <<_ACEOF
72728 /* confdefs.h.  */
72729 _ACEOF
72730 cat confdefs.h >>conftest.$ac_ext
72731 cat >>conftest.$ac_ext <<_ACEOF
72732 /* end confdefs.h.  */
72733 #include <math.h>
72734 int
72735 main ()
72736 {
72737  __builtin_sqrtl(0);
72738   ;
72739   return 0;
72740 }
72741 _ACEOF
72742 rm -f conftest.$ac_objext conftest$ac_exeext
72743 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
72744   (eval $ac_link) 2>conftest.er1
72745   ac_status=$?
72746   grep -v '^ *+' conftest.er1 >conftest.err
72747   rm -f conftest.er1
72748   cat conftest.err >&5
72749   echo "$as_me:$LINENO: \$? = $ac_status" >&5
72750   (exit $ac_status); } &&
72751          { ac_try='test -z "$ac_c_werror_flag"
72752                          || test ! -s conftest.err'
72753   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
72754   (eval $ac_try) 2>&5
72755   ac_status=$?
72756   echo "$as_me:$LINENO: \$? = $ac_status" >&5
72757   (exit $ac_status); }; } &&
72758          { ac_try='test -s conftest$ac_exeext'
72759   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
72760   (eval $ac_try) 2>&5
72761   ac_status=$?
72762   echo "$as_me:$LINENO: \$? = $ac_status" >&5
72763   (exit $ac_status); }; }; then
72764   glibcxx_cv_func___builtin_sqrtl_link=yes
72765 else
72766   echo "$as_me: failed program was:" >&5
72767 sed 's/^/| /' conftest.$ac_ext >&5
72768
72769 glibcxx_cv_func___builtin_sqrtl_link=no
72770 fi
72771 rm -f conftest.err conftest.$ac_objext \
72772       conftest$ac_exeext conftest.$ac_ext
72773
72774 fi
72775
72776     fi
72777     echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sqrtl_link" >&5
72778 echo "${ECHO_T}$glibcxx_cv_func___builtin_sqrtl_link" >&6
72779
72780     if test x$glibcxx_cv_func___builtin_sqrtl_link = x"yes"; then
72781
72782 cat >>confdefs.h <<\_ACEOF
72783 #define HAVE___BUILTIN_SQRTL 1
72784 _ACEOF
72785
72786     fi
72787
72788   fi
72789
72790
72791
72792   echo "$as_me:$LINENO: checking for __builtin_sinf declaration" >&5
72793 echo $ECHO_N "checking for __builtin_sinf declaration... $ECHO_C" >&6
72794   if test x${glibcxx_cv_func___builtin_sinf_use+set} != xset; then
72795     if test "${glibcxx_cv_func___builtin_sinf_use+set}" = set; then
72796   echo $ECHO_N "(cached) $ECHO_C" >&6
72797 else
72798
72799
72800
72801       ac_ext=cc
72802 ac_cpp='$CXXCPP $CPPFLAGS'
72803 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72804 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72805 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
72806
72807       cat >conftest.$ac_ext <<_ACEOF
72808 /* confdefs.h.  */
72809 _ACEOF
72810 cat confdefs.h >>conftest.$ac_ext
72811 cat >>conftest.$ac_ext <<_ACEOF
72812 /* end confdefs.h.  */
72813 #include <math.h>
72814 int
72815 main ()
72816 {
72817  __builtin_sinf(0);
72818   ;
72819   return 0;
72820 }
72821 _ACEOF
72822 rm -f conftest.$ac_objext
72823 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
72824   (eval $ac_compile) 2>conftest.er1
72825   ac_status=$?
72826   grep -v '^ *+' conftest.er1 >conftest.err
72827   rm -f conftest.er1
72828   cat conftest.err >&5
72829   echo "$as_me:$LINENO: \$? = $ac_status" >&5
72830   (exit $ac_status); } &&
72831          { ac_try='test -z "$ac_cxx_werror_flag"
72832                          || test ! -s conftest.err'
72833   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
72834   (eval $ac_try) 2>&5
72835   ac_status=$?
72836   echo "$as_me:$LINENO: \$? = $ac_status" >&5
72837   (exit $ac_status); }; } &&
72838          { ac_try='test -s conftest.$ac_objext'
72839   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
72840   (eval $ac_try) 2>&5
72841   ac_status=$?
72842   echo "$as_me:$LINENO: \$? = $ac_status" >&5
72843   (exit $ac_status); }; }; then
72844   glibcxx_cv_func___builtin_sinf_use=yes
72845 else
72846   echo "$as_me: failed program was:" >&5
72847 sed 's/^/| /' conftest.$ac_ext >&5
72848
72849 glibcxx_cv_func___builtin_sinf_use=no
72850 fi
72851 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
72852       ac_ext=c
72853 ac_cpp='$CPP $CPPFLAGS'
72854 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72855 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72856 ac_compiler_gnu=$ac_cv_c_compiler_gnu
72857
72858
72859 fi
72860
72861   fi
72862   echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sinf_use" >&5
72863 echo "${ECHO_T}$glibcxx_cv_func___builtin_sinf_use" >&6
72864   if test x$glibcxx_cv_func___builtin_sinf_use = x"yes"; then
72865     echo "$as_me:$LINENO: checking for __builtin_sinf linkage" >&5
72866 echo $ECHO_N "checking for __builtin_sinf linkage... $ECHO_C" >&6
72867     if test x${glibcxx_cv_func___builtin_sinf_link+set} != xset; then
72868       if test "${glibcxx_cv_func___builtin_sinf_link+set}" = set; then
72869   echo $ECHO_N "(cached) $ECHO_C" >&6
72870 else
72871
72872         if test x$gcc_no_link = xyes; then
72873   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
72874 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
72875    { (exit 1); exit 1; }; }
72876 fi
72877 cat >conftest.$ac_ext <<_ACEOF
72878 /* confdefs.h.  */
72879 _ACEOF
72880 cat confdefs.h >>conftest.$ac_ext
72881 cat >>conftest.$ac_ext <<_ACEOF
72882 /* end confdefs.h.  */
72883 #include <math.h>
72884 int
72885 main ()
72886 {
72887  __builtin_sinf(0);
72888   ;
72889   return 0;
72890 }
72891 _ACEOF
72892 rm -f conftest.$ac_objext conftest$ac_exeext
72893 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
72894   (eval $ac_link) 2>conftest.er1
72895   ac_status=$?
72896   grep -v '^ *+' conftest.er1 >conftest.err
72897   rm -f conftest.er1
72898   cat conftest.err >&5
72899   echo "$as_me:$LINENO: \$? = $ac_status" >&5
72900   (exit $ac_status); } &&
72901          { ac_try='test -z "$ac_c_werror_flag"
72902                          || test ! -s conftest.err'
72903   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
72904   (eval $ac_try) 2>&5
72905   ac_status=$?
72906   echo "$as_me:$LINENO: \$? = $ac_status" >&5
72907   (exit $ac_status); }; } &&
72908          { ac_try='test -s conftest$ac_exeext'
72909   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
72910   (eval $ac_try) 2>&5
72911   ac_status=$?
72912   echo "$as_me:$LINENO: \$? = $ac_status" >&5
72913   (exit $ac_status); }; }; then
72914   glibcxx_cv_func___builtin_sinf_link=yes
72915 else
72916   echo "$as_me: failed program was:" >&5
72917 sed 's/^/| /' conftest.$ac_ext >&5
72918
72919 glibcxx_cv_func___builtin_sinf_link=no
72920 fi
72921 rm -f conftest.err conftest.$ac_objext \
72922       conftest$ac_exeext conftest.$ac_ext
72923
72924 fi
72925
72926     fi
72927     echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sinf_link" >&5
72928 echo "${ECHO_T}$glibcxx_cv_func___builtin_sinf_link" >&6
72929
72930     if test x$glibcxx_cv_func___builtin_sinf_link = x"yes"; then
72931
72932 cat >>confdefs.h <<\_ACEOF
72933 #define HAVE___BUILTIN_SINF 1
72934 _ACEOF
72935
72936     fi
72937
72938   fi
72939
72940
72941   echo "$as_me:$LINENO: checking for __builtin_sin declaration" >&5
72942 echo $ECHO_N "checking for __builtin_sin declaration... $ECHO_C" >&6
72943   if test x${glibcxx_cv_func___builtin_sin_use+set} != xset; then
72944     if test "${glibcxx_cv_func___builtin_sin_use+set}" = set; then
72945   echo $ECHO_N "(cached) $ECHO_C" >&6
72946 else
72947
72948
72949
72950       ac_ext=cc
72951 ac_cpp='$CXXCPP $CPPFLAGS'
72952 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72953 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72954 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
72955
72956       cat >conftest.$ac_ext <<_ACEOF
72957 /* confdefs.h.  */
72958 _ACEOF
72959 cat confdefs.h >>conftest.$ac_ext
72960 cat >>conftest.$ac_ext <<_ACEOF
72961 /* end confdefs.h.  */
72962 #include <math.h>
72963 int
72964 main ()
72965 {
72966  __builtin_sin(0);
72967   ;
72968   return 0;
72969 }
72970 _ACEOF
72971 rm -f conftest.$ac_objext
72972 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
72973   (eval $ac_compile) 2>conftest.er1
72974   ac_status=$?
72975   grep -v '^ *+' conftest.er1 >conftest.err
72976   rm -f conftest.er1
72977   cat conftest.err >&5
72978   echo "$as_me:$LINENO: \$? = $ac_status" >&5
72979   (exit $ac_status); } &&
72980          { ac_try='test -z "$ac_cxx_werror_flag"
72981                          || test ! -s conftest.err'
72982   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
72983   (eval $ac_try) 2>&5
72984   ac_status=$?
72985   echo "$as_me:$LINENO: \$? = $ac_status" >&5
72986   (exit $ac_status); }; } &&
72987          { ac_try='test -s conftest.$ac_objext'
72988   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
72989   (eval $ac_try) 2>&5
72990   ac_status=$?
72991   echo "$as_me:$LINENO: \$? = $ac_status" >&5
72992   (exit $ac_status); }; }; then
72993   glibcxx_cv_func___builtin_sin_use=yes
72994 else
72995   echo "$as_me: failed program was:" >&5
72996 sed 's/^/| /' conftest.$ac_ext >&5
72997
72998 glibcxx_cv_func___builtin_sin_use=no
72999 fi
73000 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
73001       ac_ext=c
73002 ac_cpp='$CPP $CPPFLAGS'
73003 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73004 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73005 ac_compiler_gnu=$ac_cv_c_compiler_gnu
73006
73007
73008 fi
73009
73010   fi
73011   echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sin_use" >&5
73012 echo "${ECHO_T}$glibcxx_cv_func___builtin_sin_use" >&6
73013   if test x$glibcxx_cv_func___builtin_sin_use = x"yes"; then
73014     echo "$as_me:$LINENO: checking for __builtin_sin linkage" >&5
73015 echo $ECHO_N "checking for __builtin_sin linkage... $ECHO_C" >&6
73016     if test x${glibcxx_cv_func___builtin_sin_link+set} != xset; then
73017       if test "${glibcxx_cv_func___builtin_sin_link+set}" = set; then
73018   echo $ECHO_N "(cached) $ECHO_C" >&6
73019 else
73020
73021         if test x$gcc_no_link = xyes; then
73022   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
73023 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
73024    { (exit 1); exit 1; }; }
73025 fi
73026 cat >conftest.$ac_ext <<_ACEOF
73027 /* confdefs.h.  */
73028 _ACEOF
73029 cat confdefs.h >>conftest.$ac_ext
73030 cat >>conftest.$ac_ext <<_ACEOF
73031 /* end confdefs.h.  */
73032 #include <math.h>
73033 int
73034 main ()
73035 {
73036  __builtin_sin(0);
73037   ;
73038   return 0;
73039 }
73040 _ACEOF
73041 rm -f conftest.$ac_objext conftest$ac_exeext
73042 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
73043   (eval $ac_link) 2>conftest.er1
73044   ac_status=$?
73045   grep -v '^ *+' conftest.er1 >conftest.err
73046   rm -f conftest.er1
73047   cat conftest.err >&5
73048   echo "$as_me:$LINENO: \$? = $ac_status" >&5
73049   (exit $ac_status); } &&
73050          { ac_try='test -z "$ac_c_werror_flag"
73051                          || test ! -s conftest.err'
73052   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
73053   (eval $ac_try) 2>&5
73054   ac_status=$?
73055   echo "$as_me:$LINENO: \$? = $ac_status" >&5
73056   (exit $ac_status); }; } &&
73057          { ac_try='test -s conftest$ac_exeext'
73058   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
73059   (eval $ac_try) 2>&5
73060   ac_status=$?
73061   echo "$as_me:$LINENO: \$? = $ac_status" >&5
73062   (exit $ac_status); }; }; then
73063   glibcxx_cv_func___builtin_sin_link=yes
73064 else
73065   echo "$as_me: failed program was:" >&5
73066 sed 's/^/| /' conftest.$ac_ext >&5
73067
73068 glibcxx_cv_func___builtin_sin_link=no
73069 fi
73070 rm -f conftest.err conftest.$ac_objext \
73071       conftest$ac_exeext conftest.$ac_ext
73072
73073 fi
73074
73075     fi
73076     echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sin_link" >&5
73077 echo "${ECHO_T}$glibcxx_cv_func___builtin_sin_link" >&6
73078
73079     if test x$glibcxx_cv_func___builtin_sin_link = x"yes"; then
73080
73081 cat >>confdefs.h <<\_ACEOF
73082 #define HAVE___BUILTIN_SIN 1
73083 _ACEOF
73084
73085     fi
73086
73087   fi
73088
73089
73090   echo "$as_me:$LINENO: checking for __builtin_sinl declaration" >&5
73091 echo $ECHO_N "checking for __builtin_sinl declaration... $ECHO_C" >&6
73092   if test x${glibcxx_cv_func___builtin_sinl_use+set} != xset; then
73093     if test "${glibcxx_cv_func___builtin_sinl_use+set}" = set; then
73094   echo $ECHO_N "(cached) $ECHO_C" >&6
73095 else
73096
73097
73098
73099       ac_ext=cc
73100 ac_cpp='$CXXCPP $CPPFLAGS'
73101 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73102 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73103 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
73104
73105       cat >conftest.$ac_ext <<_ACEOF
73106 /* confdefs.h.  */
73107 _ACEOF
73108 cat confdefs.h >>conftest.$ac_ext
73109 cat >>conftest.$ac_ext <<_ACEOF
73110 /* end confdefs.h.  */
73111 #include <math.h>
73112 int
73113 main ()
73114 {
73115  __builtin_sinl(0);
73116   ;
73117   return 0;
73118 }
73119 _ACEOF
73120 rm -f conftest.$ac_objext
73121 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
73122   (eval $ac_compile) 2>conftest.er1
73123   ac_status=$?
73124   grep -v '^ *+' conftest.er1 >conftest.err
73125   rm -f conftest.er1
73126   cat conftest.err >&5
73127   echo "$as_me:$LINENO: \$? = $ac_status" >&5
73128   (exit $ac_status); } &&
73129          { ac_try='test -z "$ac_cxx_werror_flag"
73130                          || test ! -s conftest.err'
73131   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
73132   (eval $ac_try) 2>&5
73133   ac_status=$?
73134   echo "$as_me:$LINENO: \$? = $ac_status" >&5
73135   (exit $ac_status); }; } &&
73136          { ac_try='test -s conftest.$ac_objext'
73137   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
73138   (eval $ac_try) 2>&5
73139   ac_status=$?
73140   echo "$as_me:$LINENO: \$? = $ac_status" >&5
73141   (exit $ac_status); }; }; then
73142   glibcxx_cv_func___builtin_sinl_use=yes
73143 else
73144   echo "$as_me: failed program was:" >&5
73145 sed 's/^/| /' conftest.$ac_ext >&5
73146
73147 glibcxx_cv_func___builtin_sinl_use=no
73148 fi
73149 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
73150       ac_ext=c
73151 ac_cpp='$CPP $CPPFLAGS'
73152 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73153 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73154 ac_compiler_gnu=$ac_cv_c_compiler_gnu
73155
73156
73157 fi
73158
73159   fi
73160   echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sinl_use" >&5
73161 echo "${ECHO_T}$glibcxx_cv_func___builtin_sinl_use" >&6
73162   if test x$glibcxx_cv_func___builtin_sinl_use = x"yes"; then
73163     echo "$as_me:$LINENO: checking for __builtin_sinl linkage" >&5
73164 echo $ECHO_N "checking for __builtin_sinl linkage... $ECHO_C" >&6
73165     if test x${glibcxx_cv_func___builtin_sinl_link+set} != xset; then
73166       if test "${glibcxx_cv_func___builtin_sinl_link+set}" = set; then
73167   echo $ECHO_N "(cached) $ECHO_C" >&6
73168 else
73169
73170         if test x$gcc_no_link = xyes; then
73171   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
73172 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
73173    { (exit 1); exit 1; }; }
73174 fi
73175 cat >conftest.$ac_ext <<_ACEOF
73176 /* confdefs.h.  */
73177 _ACEOF
73178 cat confdefs.h >>conftest.$ac_ext
73179 cat >>conftest.$ac_ext <<_ACEOF
73180 /* end confdefs.h.  */
73181 #include <math.h>
73182 int
73183 main ()
73184 {
73185  __builtin_sinl(0);
73186   ;
73187   return 0;
73188 }
73189 _ACEOF
73190 rm -f conftest.$ac_objext conftest$ac_exeext
73191 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
73192   (eval $ac_link) 2>conftest.er1
73193   ac_status=$?
73194   grep -v '^ *+' conftest.er1 >conftest.err
73195   rm -f conftest.er1
73196   cat conftest.err >&5
73197   echo "$as_me:$LINENO: \$? = $ac_status" >&5
73198   (exit $ac_status); } &&
73199          { ac_try='test -z "$ac_c_werror_flag"
73200                          || test ! -s conftest.err'
73201   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
73202   (eval $ac_try) 2>&5
73203   ac_status=$?
73204   echo "$as_me:$LINENO: \$? = $ac_status" >&5
73205   (exit $ac_status); }; } &&
73206          { ac_try='test -s conftest$ac_exeext'
73207   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
73208   (eval $ac_try) 2>&5
73209   ac_status=$?
73210   echo "$as_me:$LINENO: \$? = $ac_status" >&5
73211   (exit $ac_status); }; }; then
73212   glibcxx_cv_func___builtin_sinl_link=yes
73213 else
73214   echo "$as_me: failed program was:" >&5
73215 sed 's/^/| /' conftest.$ac_ext >&5
73216
73217 glibcxx_cv_func___builtin_sinl_link=no
73218 fi
73219 rm -f conftest.err conftest.$ac_objext \
73220       conftest$ac_exeext conftest.$ac_ext
73221
73222 fi
73223
73224     fi
73225     echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sinl_link" >&5
73226 echo "${ECHO_T}$glibcxx_cv_func___builtin_sinl_link" >&6
73227
73228     if test x$glibcxx_cv_func___builtin_sinl_link = x"yes"; then
73229
73230 cat >>confdefs.h <<\_ACEOF
73231 #define HAVE___BUILTIN_SINL 1
73232 _ACEOF
73233
73234     fi
73235
73236   fi
73237
73238
73239
73240   echo "$as_me:$LINENO: checking for __builtin_cosf declaration" >&5
73241 echo $ECHO_N "checking for __builtin_cosf declaration... $ECHO_C" >&6
73242   if test x${glibcxx_cv_func___builtin_cosf_use+set} != xset; then
73243     if test "${glibcxx_cv_func___builtin_cosf_use+set}" = set; then
73244   echo $ECHO_N "(cached) $ECHO_C" >&6
73245 else
73246
73247
73248
73249       ac_ext=cc
73250 ac_cpp='$CXXCPP $CPPFLAGS'
73251 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73252 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73253 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
73254
73255       cat >conftest.$ac_ext <<_ACEOF
73256 /* confdefs.h.  */
73257 _ACEOF
73258 cat confdefs.h >>conftest.$ac_ext
73259 cat >>conftest.$ac_ext <<_ACEOF
73260 /* end confdefs.h.  */
73261 #include <math.h>
73262 int
73263 main ()
73264 {
73265  __builtin_cosf(0);
73266   ;
73267   return 0;
73268 }
73269 _ACEOF
73270 rm -f conftest.$ac_objext
73271 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
73272   (eval $ac_compile) 2>conftest.er1
73273   ac_status=$?
73274   grep -v '^ *+' conftest.er1 >conftest.err
73275   rm -f conftest.er1
73276   cat conftest.err >&5
73277   echo "$as_me:$LINENO: \$? = $ac_status" >&5
73278   (exit $ac_status); } &&
73279          { ac_try='test -z "$ac_cxx_werror_flag"
73280                          || test ! -s conftest.err'
73281   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
73282   (eval $ac_try) 2>&5
73283   ac_status=$?
73284   echo "$as_me:$LINENO: \$? = $ac_status" >&5
73285   (exit $ac_status); }; } &&
73286          { ac_try='test -s conftest.$ac_objext'
73287   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
73288   (eval $ac_try) 2>&5
73289   ac_status=$?
73290   echo "$as_me:$LINENO: \$? = $ac_status" >&5
73291   (exit $ac_status); }; }; then
73292   glibcxx_cv_func___builtin_cosf_use=yes
73293 else
73294   echo "$as_me: failed program was:" >&5
73295 sed 's/^/| /' conftest.$ac_ext >&5
73296
73297 glibcxx_cv_func___builtin_cosf_use=no
73298 fi
73299 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
73300       ac_ext=c
73301 ac_cpp='$CPP $CPPFLAGS'
73302 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73303 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73304 ac_compiler_gnu=$ac_cv_c_compiler_gnu
73305
73306
73307 fi
73308
73309   fi
73310   echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_cosf_use" >&5
73311 echo "${ECHO_T}$glibcxx_cv_func___builtin_cosf_use" >&6
73312   if test x$glibcxx_cv_func___builtin_cosf_use = x"yes"; then
73313     echo "$as_me:$LINENO: checking for __builtin_cosf linkage" >&5
73314 echo $ECHO_N "checking for __builtin_cosf linkage... $ECHO_C" >&6
73315     if test x${glibcxx_cv_func___builtin_cosf_link+set} != xset; then
73316       if test "${glibcxx_cv_func___builtin_cosf_link+set}" = set; then
73317   echo $ECHO_N "(cached) $ECHO_C" >&6
73318 else
73319
73320         if test x$gcc_no_link = xyes; then
73321   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
73322 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
73323    { (exit 1); exit 1; }; }
73324 fi
73325 cat >conftest.$ac_ext <<_ACEOF
73326 /* confdefs.h.  */
73327 _ACEOF
73328 cat confdefs.h >>conftest.$ac_ext
73329 cat >>conftest.$ac_ext <<_ACEOF
73330 /* end confdefs.h.  */
73331 #include <math.h>
73332 int
73333 main ()
73334 {
73335  __builtin_cosf(0);
73336   ;
73337   return 0;
73338 }
73339 _ACEOF
73340 rm -f conftest.$ac_objext conftest$ac_exeext
73341 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
73342   (eval $ac_link) 2>conftest.er1
73343   ac_status=$?
73344   grep -v '^ *+' conftest.er1 >conftest.err
73345   rm -f conftest.er1
73346   cat conftest.err >&5
73347   echo "$as_me:$LINENO: \$? = $ac_status" >&5
73348   (exit $ac_status); } &&
73349          { ac_try='test -z "$ac_c_werror_flag"
73350                          || test ! -s conftest.err'
73351   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
73352   (eval $ac_try) 2>&5
73353   ac_status=$?
73354   echo "$as_me:$LINENO: \$? = $ac_status" >&5
73355   (exit $ac_status); }; } &&
73356          { ac_try='test -s conftest$ac_exeext'
73357   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
73358   (eval $ac_try) 2>&5
73359   ac_status=$?
73360   echo "$as_me:$LINENO: \$? = $ac_status" >&5
73361   (exit $ac_status); }; }; then
73362   glibcxx_cv_func___builtin_cosf_link=yes
73363 else
73364   echo "$as_me: failed program was:" >&5
73365 sed 's/^/| /' conftest.$ac_ext >&5
73366
73367 glibcxx_cv_func___builtin_cosf_link=no
73368 fi
73369 rm -f conftest.err conftest.$ac_objext \
73370       conftest$ac_exeext conftest.$ac_ext
73371
73372 fi
73373
73374     fi
73375     echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_cosf_link" >&5
73376 echo "${ECHO_T}$glibcxx_cv_func___builtin_cosf_link" >&6
73377
73378     if test x$glibcxx_cv_func___builtin_cosf_link = x"yes"; then
73379
73380 cat >>confdefs.h <<\_ACEOF
73381 #define HAVE___BUILTIN_COSF 1
73382 _ACEOF
73383
73384     fi
73385
73386   fi
73387
73388
73389   echo "$as_me:$LINENO: checking for __builtin_cos declaration" >&5
73390 echo $ECHO_N "checking for __builtin_cos declaration... $ECHO_C" >&6
73391   if test x${glibcxx_cv_func___builtin_cos_use+set} != xset; then
73392     if test "${glibcxx_cv_func___builtin_cos_use+set}" = set; then
73393   echo $ECHO_N "(cached) $ECHO_C" >&6
73394 else
73395
73396
73397
73398       ac_ext=cc
73399 ac_cpp='$CXXCPP $CPPFLAGS'
73400 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73401 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73402 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
73403
73404       cat >conftest.$ac_ext <<_ACEOF
73405 /* confdefs.h.  */
73406 _ACEOF
73407 cat confdefs.h >>conftest.$ac_ext
73408 cat >>conftest.$ac_ext <<_ACEOF
73409 /* end confdefs.h.  */
73410 #include <math.h>
73411 int
73412 main ()
73413 {
73414  __builtin_cos(0);
73415   ;
73416   return 0;
73417 }
73418 _ACEOF
73419 rm -f conftest.$ac_objext
73420 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
73421   (eval $ac_compile) 2>conftest.er1
73422   ac_status=$?
73423   grep -v '^ *+' conftest.er1 >conftest.err
73424   rm -f conftest.er1
73425   cat conftest.err >&5
73426   echo "$as_me:$LINENO: \$? = $ac_status" >&5
73427   (exit $ac_status); } &&
73428          { ac_try='test -z "$ac_cxx_werror_flag"
73429                          || test ! -s conftest.err'
73430   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
73431   (eval $ac_try) 2>&5
73432   ac_status=$?
73433   echo "$as_me:$LINENO: \$? = $ac_status" >&5
73434   (exit $ac_status); }; } &&
73435          { ac_try='test -s conftest.$ac_objext'
73436   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
73437   (eval $ac_try) 2>&5
73438   ac_status=$?
73439   echo "$as_me:$LINENO: \$? = $ac_status" >&5
73440   (exit $ac_status); }; }; then
73441   glibcxx_cv_func___builtin_cos_use=yes
73442 else
73443   echo "$as_me: failed program was:" >&5
73444 sed 's/^/| /' conftest.$ac_ext >&5
73445
73446 glibcxx_cv_func___builtin_cos_use=no
73447 fi
73448 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
73449       ac_ext=c
73450 ac_cpp='$CPP $CPPFLAGS'
73451 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73452 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73453 ac_compiler_gnu=$ac_cv_c_compiler_gnu
73454
73455
73456 fi
73457
73458   fi
73459   echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_cos_use" >&5
73460 echo "${ECHO_T}$glibcxx_cv_func___builtin_cos_use" >&6
73461   if test x$glibcxx_cv_func___builtin_cos_use = x"yes"; then
73462     echo "$as_me:$LINENO: checking for __builtin_cos linkage" >&5
73463 echo $ECHO_N "checking for __builtin_cos linkage... $ECHO_C" >&6
73464     if test x${glibcxx_cv_func___builtin_cos_link+set} != xset; then
73465       if test "${glibcxx_cv_func___builtin_cos_link+set}" = set; then
73466   echo $ECHO_N "(cached) $ECHO_C" >&6
73467 else
73468
73469         if test x$gcc_no_link = xyes; then
73470   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
73471 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
73472    { (exit 1); exit 1; }; }
73473 fi
73474 cat >conftest.$ac_ext <<_ACEOF
73475 /* confdefs.h.  */
73476 _ACEOF
73477 cat confdefs.h >>conftest.$ac_ext
73478 cat >>conftest.$ac_ext <<_ACEOF
73479 /* end confdefs.h.  */
73480 #include <math.h>
73481 int
73482 main ()
73483 {
73484  __builtin_cos(0);
73485   ;
73486   return 0;
73487 }
73488 _ACEOF
73489 rm -f conftest.$ac_objext conftest$ac_exeext
73490 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
73491   (eval $ac_link) 2>conftest.er1
73492   ac_status=$?
73493   grep -v '^ *+' conftest.er1 >conftest.err
73494   rm -f conftest.er1
73495   cat conftest.err >&5
73496   echo "$as_me:$LINENO: \$? = $ac_status" >&5
73497   (exit $ac_status); } &&
73498          { ac_try='test -z "$ac_c_werror_flag"
73499                          || test ! -s conftest.err'
73500   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
73501   (eval $ac_try) 2>&5
73502   ac_status=$?
73503   echo "$as_me:$LINENO: \$? = $ac_status" >&5
73504   (exit $ac_status); }; } &&
73505          { ac_try='test -s conftest$ac_exeext'
73506   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
73507   (eval $ac_try) 2>&5
73508   ac_status=$?
73509   echo "$as_me:$LINENO: \$? = $ac_status" >&5
73510   (exit $ac_status); }; }; then
73511   glibcxx_cv_func___builtin_cos_link=yes
73512 else
73513   echo "$as_me: failed program was:" >&5
73514 sed 's/^/| /' conftest.$ac_ext >&5
73515
73516 glibcxx_cv_func___builtin_cos_link=no
73517 fi
73518 rm -f conftest.err conftest.$ac_objext \
73519       conftest$ac_exeext conftest.$ac_ext
73520
73521 fi
73522
73523     fi
73524     echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_cos_link" >&5
73525 echo "${ECHO_T}$glibcxx_cv_func___builtin_cos_link" >&6
73526
73527     if test x$glibcxx_cv_func___builtin_cos_link = x"yes"; then
73528
73529 cat >>confdefs.h <<\_ACEOF
73530 #define HAVE___BUILTIN_COS 1
73531 _ACEOF
73532
73533     fi
73534
73535   fi
73536
73537
73538   echo "$as_me:$LINENO: checking for __builtin_cosl declaration" >&5
73539 echo $ECHO_N "checking for __builtin_cosl declaration... $ECHO_C" >&6
73540   if test x${glibcxx_cv_func___builtin_cosl_use+set} != xset; then
73541     if test "${glibcxx_cv_func___builtin_cosl_use+set}" = set; then
73542   echo $ECHO_N "(cached) $ECHO_C" >&6
73543 else
73544
73545
73546
73547       ac_ext=cc
73548 ac_cpp='$CXXCPP $CPPFLAGS'
73549 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73550 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73551 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
73552
73553       cat >conftest.$ac_ext <<_ACEOF
73554 /* confdefs.h.  */
73555 _ACEOF
73556 cat confdefs.h >>conftest.$ac_ext
73557 cat >>conftest.$ac_ext <<_ACEOF
73558 /* end confdefs.h.  */
73559 #include <math.h>
73560 int
73561 main ()
73562 {
73563  __builtin_cosl(0);
73564   ;
73565   return 0;
73566 }
73567 _ACEOF
73568 rm -f conftest.$ac_objext
73569 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
73570   (eval $ac_compile) 2>conftest.er1
73571   ac_status=$?
73572   grep -v '^ *+' conftest.er1 >conftest.err
73573   rm -f conftest.er1
73574   cat conftest.err >&5
73575   echo "$as_me:$LINENO: \$? = $ac_status" >&5
73576   (exit $ac_status); } &&
73577          { ac_try='test -z "$ac_cxx_werror_flag"
73578                          || test ! -s conftest.err'
73579   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
73580   (eval $ac_try) 2>&5
73581   ac_status=$?
73582   echo "$as_me:$LINENO: \$? = $ac_status" >&5
73583   (exit $ac_status); }; } &&
73584          { ac_try='test -s conftest.$ac_objext'
73585   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
73586   (eval $ac_try) 2>&5
73587   ac_status=$?
73588   echo "$as_me:$LINENO: \$? = $ac_status" >&5
73589   (exit $ac_status); }; }; then
73590   glibcxx_cv_func___builtin_cosl_use=yes
73591 else
73592   echo "$as_me: failed program was:" >&5
73593 sed 's/^/| /' conftest.$ac_ext >&5
73594
73595 glibcxx_cv_func___builtin_cosl_use=no
73596 fi
73597 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
73598       ac_ext=c
73599 ac_cpp='$CPP $CPPFLAGS'
73600 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73601 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73602 ac_compiler_gnu=$ac_cv_c_compiler_gnu
73603
73604
73605 fi
73606
73607   fi
73608   echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_cosl_use" >&5
73609 echo "${ECHO_T}$glibcxx_cv_func___builtin_cosl_use" >&6
73610   if test x$glibcxx_cv_func___builtin_cosl_use = x"yes"; then
73611     echo "$as_me:$LINENO: checking for __builtin_cosl linkage" >&5
73612 echo $ECHO_N "checking for __builtin_cosl linkage... $ECHO_C" >&6
73613     if test x${glibcxx_cv_func___builtin_cosl_link+set} != xset; then
73614       if test "${glibcxx_cv_func___builtin_cosl_link+set}" = set; then
73615   echo $ECHO_N "(cached) $ECHO_C" >&6
73616 else
73617
73618         if test x$gcc_no_link = xyes; then
73619   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
73620 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
73621    { (exit 1); exit 1; }; }
73622 fi
73623 cat >conftest.$ac_ext <<_ACEOF
73624 /* confdefs.h.  */
73625 _ACEOF
73626 cat confdefs.h >>conftest.$ac_ext
73627 cat >>conftest.$ac_ext <<_ACEOF
73628 /* end confdefs.h.  */
73629 #include <math.h>
73630 int
73631 main ()
73632 {
73633  __builtin_cosl(0);
73634   ;
73635   return 0;
73636 }
73637 _ACEOF
73638 rm -f conftest.$ac_objext conftest$ac_exeext
73639 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
73640   (eval $ac_link) 2>conftest.er1
73641   ac_status=$?
73642   grep -v '^ *+' conftest.er1 >conftest.err
73643   rm -f conftest.er1
73644   cat conftest.err >&5
73645   echo "$as_me:$LINENO: \$? = $ac_status" >&5
73646   (exit $ac_status); } &&
73647          { ac_try='test -z "$ac_c_werror_flag"
73648                          || test ! -s conftest.err'
73649   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
73650   (eval $ac_try) 2>&5
73651   ac_status=$?
73652   echo "$as_me:$LINENO: \$? = $ac_status" >&5
73653   (exit $ac_status); }; } &&
73654          { ac_try='test -s conftest$ac_exeext'
73655   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
73656   (eval $ac_try) 2>&5
73657   ac_status=$?
73658   echo "$as_me:$LINENO: \$? = $ac_status" >&5
73659   (exit $ac_status); }; }; then
73660   glibcxx_cv_func___builtin_cosl_link=yes
73661 else
73662   echo "$as_me: failed program was:" >&5
73663 sed 's/^/| /' conftest.$ac_ext >&5
73664
73665 glibcxx_cv_func___builtin_cosl_link=no
73666 fi
73667 rm -f conftest.err conftest.$ac_objext \
73668       conftest$ac_exeext conftest.$ac_ext
73669
73670 fi
73671
73672     fi
73673     echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_cosl_link" >&5
73674 echo "${ECHO_T}$glibcxx_cv_func___builtin_cosl_link" >&6
73675
73676     if test x$glibcxx_cv_func___builtin_cosl_link = x"yes"; then
73677
73678 cat >>confdefs.h <<\_ACEOF
73679 #define HAVE___BUILTIN_COSL 1
73680 _ACEOF
73681
73682     fi
73683
73684   fi
73685
73686
73687
73688
73689 echo "$as_me:$LINENO: checking for main in -lm" >&5
73690 echo $ECHO_N "checking for main in -lm... $ECHO_C" >&6
73691 if test "${ac_cv_lib_m_main+set}" = set; then
73692   echo $ECHO_N "(cached) $ECHO_C" >&6
73693 else
73694   ac_check_lib_save_LIBS=$LIBS
73695 LIBS="-lm  $LIBS"
73696 if test x$gcc_no_link = xyes; then
73697   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
73698 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
73699    { (exit 1); exit 1; }; }
73700 fi
73701 cat >conftest.$ac_ext <<_ACEOF
73702 /* confdefs.h.  */
73703 _ACEOF
73704 cat confdefs.h >>conftest.$ac_ext
73705 cat >>conftest.$ac_ext <<_ACEOF
73706 /* end confdefs.h.  */
73707
73708
73709 int
73710 main ()
73711 {
73712 main ();
73713   ;
73714   return 0;
73715 }
73716 _ACEOF
73717 rm -f conftest.$ac_objext conftest$ac_exeext
73718 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
73719   (eval $ac_link) 2>conftest.er1
73720   ac_status=$?
73721   grep -v '^ *+' conftest.er1 >conftest.err
73722   rm -f conftest.er1
73723   cat conftest.err >&5
73724   echo "$as_me:$LINENO: \$? = $ac_status" >&5
73725   (exit $ac_status); } &&
73726          { ac_try='test -z "$ac_c_werror_flag"
73727                          || test ! -s conftest.err'
73728   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
73729   (eval $ac_try) 2>&5
73730   ac_status=$?
73731   echo "$as_me:$LINENO: \$? = $ac_status" >&5
73732   (exit $ac_status); }; } &&
73733          { ac_try='test -s conftest$ac_exeext'
73734   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
73735   (eval $ac_try) 2>&5
73736   ac_status=$?
73737   echo "$as_me:$LINENO: \$? = $ac_status" >&5
73738   (exit $ac_status); }; }; then
73739   ac_cv_lib_m_main=yes
73740 else
73741   echo "$as_me: failed program was:" >&5
73742 sed 's/^/| /' conftest.$ac_ext >&5
73743
73744 ac_cv_lib_m_main=no
73745 fi
73746 rm -f conftest.err conftest.$ac_objext \
73747       conftest$ac_exeext conftest.$ac_ext
73748 LIBS=$ac_check_lib_save_LIBS
73749 fi
73750 echo "$as_me:$LINENO: result: $ac_cv_lib_m_main" >&5
73751 echo "${ECHO_T}$ac_cv_lib_m_main" >&6
73752 if test $ac_cv_lib_m_main = yes; then
73753   cat >>confdefs.h <<_ACEOF
73754 #define HAVE_LIBM 1
73755 _ACEOF
73756
73757   LIBS="-lm $LIBS"
73758
73759 fi
73760
73761
73762 for ac_func in copysignf
73763 do
73764 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
73765 echo "$as_me:$LINENO: checking for $ac_func" >&5
73766 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
73767 if eval "test \"\${$as_ac_var+set}\" = set"; then
73768   echo $ECHO_N "(cached) $ECHO_C" >&6
73769 else
73770   if test x$gcc_no_link = xyes; then
73771   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
73772 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
73773    { (exit 1); exit 1; }; }
73774 fi
73775 cat >conftest.$ac_ext <<_ACEOF
73776 /* confdefs.h.  */
73777 _ACEOF
73778 cat confdefs.h >>conftest.$ac_ext
73779 cat >>conftest.$ac_ext <<_ACEOF
73780 /* end confdefs.h.  */
73781 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
73782    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
73783 #define $ac_func innocuous_$ac_func
73784
73785 /* System header to define __stub macros and hopefully few prototypes,
73786     which can conflict with char $ac_func (); below.
73787     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
73788     <limits.h> exists even on freestanding compilers.  */
73789
73790 #ifdef __STDC__
73791 # include <limits.h>
73792 #else
73793 # include <assert.h>
73794 #endif
73795
73796 #undef $ac_func
73797
73798 /* Override any gcc2 internal prototype to avoid an error.  */
73799 #ifdef __cplusplus
73800 extern "C"
73801 {
73802 #endif
73803 /* We use char because int might match the return type of a gcc2
73804    builtin and then its argument prototype would still apply.  */
73805 char $ac_func ();
73806 /* The GNU C library defines this for functions which it implements
73807     to always fail with ENOSYS.  Some functions are actually named
73808     something starting with __ and the normal name is an alias.  */
73809 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
73810 choke me
73811 #else
73812 char (*f) () = $ac_func;
73813 #endif
73814 #ifdef __cplusplus
73815 }
73816 #endif
73817
73818 int
73819 main ()
73820 {
73821 return f != $ac_func;
73822   ;
73823   return 0;
73824 }
73825 _ACEOF
73826 rm -f conftest.$ac_objext conftest$ac_exeext
73827 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
73828   (eval $ac_link) 2>conftest.er1
73829   ac_status=$?
73830   grep -v '^ *+' conftest.er1 >conftest.err
73831   rm -f conftest.er1
73832   cat conftest.err >&5
73833   echo "$as_me:$LINENO: \$? = $ac_status" >&5
73834   (exit $ac_status); } &&
73835          { ac_try='test -z "$ac_c_werror_flag"
73836                          || test ! -s conftest.err'
73837   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
73838   (eval $ac_try) 2>&5
73839   ac_status=$?
73840   echo "$as_me:$LINENO: \$? = $ac_status" >&5
73841   (exit $ac_status); }; } &&
73842          { ac_try='test -s conftest$ac_exeext'
73843   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
73844   (eval $ac_try) 2>&5
73845   ac_status=$?
73846   echo "$as_me:$LINENO: \$? = $ac_status" >&5
73847   (exit $ac_status); }; }; then
73848   eval "$as_ac_var=yes"
73849 else
73850   echo "$as_me: failed program was:" >&5
73851 sed 's/^/| /' conftest.$ac_ext >&5
73852
73853 eval "$as_ac_var=no"
73854 fi
73855 rm -f conftest.err conftest.$ac_objext \
73856       conftest$ac_exeext conftest.$ac_ext
73857 fi
73858 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
73859 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
73860 if test `eval echo '${'$as_ac_var'}'` = yes; then
73861   cat >>confdefs.h <<_ACEOF
73862 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
73863 _ACEOF
73864
73865 else
73866   LIBMATHOBJS="$LIBMATHOBJS ${ac_func}.lo"
73867 fi
73868 done
73869
73870
73871
73872 for ac_func in __signbit
73873 do
73874 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
73875 echo "$as_me:$LINENO: checking for $ac_func" >&5
73876 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
73877 if eval "test \"\${$as_ac_var+set}\" = set"; then
73878   echo $ECHO_N "(cached) $ECHO_C" >&6
73879 else
73880   if test x$gcc_no_link = xyes; then
73881   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
73882 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
73883    { (exit 1); exit 1; }; }
73884 fi
73885 cat >conftest.$ac_ext <<_ACEOF
73886 /* confdefs.h.  */
73887 _ACEOF
73888 cat confdefs.h >>conftest.$ac_ext
73889 cat >>conftest.$ac_ext <<_ACEOF
73890 /* end confdefs.h.  */
73891 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
73892    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
73893 #define $ac_func innocuous_$ac_func
73894
73895 /* System header to define __stub macros and hopefully few prototypes,
73896     which can conflict with char $ac_func (); below.
73897     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
73898     <limits.h> exists even on freestanding compilers.  */
73899
73900 #ifdef __STDC__
73901 # include <limits.h>
73902 #else
73903 # include <assert.h>
73904 #endif
73905
73906 #undef $ac_func
73907
73908 /* Override any gcc2 internal prototype to avoid an error.  */
73909 #ifdef __cplusplus
73910 extern "C"
73911 {
73912 #endif
73913 /* We use char because int might match the return type of a gcc2
73914    builtin and then its argument prototype would still apply.  */
73915 char $ac_func ();
73916 /* The GNU C library defines this for functions which it implements
73917     to always fail with ENOSYS.  Some functions are actually named
73918     something starting with __ and the normal name is an alias.  */
73919 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
73920 choke me
73921 #else
73922 char (*f) () = $ac_func;
73923 #endif
73924 #ifdef __cplusplus
73925 }
73926 #endif
73927
73928 int
73929 main ()
73930 {
73931 return f != $ac_func;
73932   ;
73933   return 0;
73934 }
73935 _ACEOF
73936 rm -f conftest.$ac_objext conftest$ac_exeext
73937 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
73938   (eval $ac_link) 2>conftest.er1
73939   ac_status=$?
73940   grep -v '^ *+' conftest.er1 >conftest.err
73941   rm -f conftest.er1
73942   cat conftest.err >&5
73943   echo "$as_me:$LINENO: \$? = $ac_status" >&5
73944   (exit $ac_status); } &&
73945          { ac_try='test -z "$ac_c_werror_flag"
73946                          || test ! -s conftest.err'
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); }; } &&
73952          { ac_try='test -s conftest$ac_exeext'
73953   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
73954   (eval $ac_try) 2>&5
73955   ac_status=$?
73956   echo "$as_me:$LINENO: \$? = $ac_status" >&5
73957   (exit $ac_status); }; }; then
73958   eval "$as_ac_var=yes"
73959 else
73960   echo "$as_me: failed program was:" >&5
73961 sed 's/^/| /' conftest.$ac_ext >&5
73962
73963 eval "$as_ac_var=no"
73964 fi
73965 rm -f conftest.err conftest.$ac_objext \
73966       conftest$ac_exeext conftest.$ac_ext
73967 fi
73968 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
73969 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
73970 if test `eval echo '${'$as_ac_var'}'` = yes; then
73971   cat >>confdefs.h <<_ACEOF
73972 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
73973 _ACEOF
73974
73975 else
73976   LIBMATHOBJS="$LIBMATHOBJS signbit.lo"
73977 fi
73978 done
73979
73980
73981
73982 for ac_func in __signbitf
73983 do
73984 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
73985 echo "$as_me:$LINENO: checking for $ac_func" >&5
73986 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
73987 if eval "test \"\${$as_ac_var+set}\" = set"; then
73988   echo $ECHO_N "(cached) $ECHO_C" >&6
73989 else
73990   if test x$gcc_no_link = xyes; then
73991   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
73992 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
73993    { (exit 1); exit 1; }; }
73994 fi
73995 cat >conftest.$ac_ext <<_ACEOF
73996 /* confdefs.h.  */
73997 _ACEOF
73998 cat confdefs.h >>conftest.$ac_ext
73999 cat >>conftest.$ac_ext <<_ACEOF
74000 /* end confdefs.h.  */
74001 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
74002    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
74003 #define $ac_func innocuous_$ac_func
74004
74005 /* System header to define __stub macros and hopefully few prototypes,
74006     which can conflict with char $ac_func (); below.
74007     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
74008     <limits.h> exists even on freestanding compilers.  */
74009
74010 #ifdef __STDC__
74011 # include <limits.h>
74012 #else
74013 # include <assert.h>
74014 #endif
74015
74016 #undef $ac_func
74017
74018 /* Override any gcc2 internal prototype to avoid an error.  */
74019 #ifdef __cplusplus
74020 extern "C"
74021 {
74022 #endif
74023 /* We use char because int might match the return type of a gcc2
74024    builtin and then its argument prototype would still apply.  */
74025 char $ac_func ();
74026 /* The GNU C library defines this for functions which it implements
74027     to always fail with ENOSYS.  Some functions are actually named
74028     something starting with __ and the normal name is an alias.  */
74029 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
74030 choke me
74031 #else
74032 char (*f) () = $ac_func;
74033 #endif
74034 #ifdef __cplusplus
74035 }
74036 #endif
74037
74038 int
74039 main ()
74040 {
74041 return f != $ac_func;
74042   ;
74043   return 0;
74044 }
74045 _ACEOF
74046 rm -f conftest.$ac_objext conftest$ac_exeext
74047 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
74048   (eval $ac_link) 2>conftest.er1
74049   ac_status=$?
74050   grep -v '^ *+' conftest.er1 >conftest.err
74051   rm -f conftest.er1
74052   cat conftest.err >&5
74053   echo "$as_me:$LINENO: \$? = $ac_status" >&5
74054   (exit $ac_status); } &&
74055          { ac_try='test -z "$ac_c_werror_flag"
74056                          || test ! -s conftest.err'
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); }; } &&
74062          { ac_try='test -s conftest$ac_exeext'
74063   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
74064   (eval $ac_try) 2>&5
74065   ac_status=$?
74066   echo "$as_me:$LINENO: \$? = $ac_status" >&5
74067   (exit $ac_status); }; }; then
74068   eval "$as_ac_var=yes"
74069 else
74070   echo "$as_me: failed program was:" >&5
74071 sed 's/^/| /' conftest.$ac_ext >&5
74072
74073 eval "$as_ac_var=no"
74074 fi
74075 rm -f conftest.err conftest.$ac_objext \
74076       conftest$ac_exeext conftest.$ac_ext
74077 fi
74078 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
74079 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
74080 if test `eval echo '${'$as_ac_var'}'` = yes; then
74081   cat >>confdefs.h <<_ACEOF
74082 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
74083 _ACEOF
74084
74085 else
74086   LIBMATHOBJS="$LIBMATHOBJS signbitf.lo"
74087 fi
74088 done
74089
74090
74091           if test x$ac_cv_func_copysignl = x"yes"; then
74092
74093 for ac_func in __signbitl
74094 do
74095 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
74096 echo "$as_me:$LINENO: checking for $ac_func" >&5
74097 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
74098 if eval "test \"\${$as_ac_var+set}\" = set"; then
74099   echo $ECHO_N "(cached) $ECHO_C" >&6
74100 else
74101   if test x$gcc_no_link = xyes; then
74102   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
74103 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
74104    { (exit 1); exit 1; }; }
74105 fi
74106 cat >conftest.$ac_ext <<_ACEOF
74107 /* confdefs.h.  */
74108 _ACEOF
74109 cat confdefs.h >>conftest.$ac_ext
74110 cat >>conftest.$ac_ext <<_ACEOF
74111 /* end confdefs.h.  */
74112 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
74113    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
74114 #define $ac_func innocuous_$ac_func
74115
74116 /* System header to define __stub macros and hopefully few prototypes,
74117     which can conflict with char $ac_func (); below.
74118     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
74119     <limits.h> exists even on freestanding compilers.  */
74120
74121 #ifdef __STDC__
74122 # include <limits.h>
74123 #else
74124 # include <assert.h>
74125 #endif
74126
74127 #undef $ac_func
74128
74129 /* Override any gcc2 internal prototype to avoid an error.  */
74130 #ifdef __cplusplus
74131 extern "C"
74132 {
74133 #endif
74134 /* We use char because int might match the return type of a gcc2
74135    builtin and then its argument prototype would still apply.  */
74136 char $ac_func ();
74137 /* The GNU C library defines this for functions which it implements
74138     to always fail with ENOSYS.  Some functions are actually named
74139     something starting with __ and the normal name is an alias.  */
74140 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
74141 choke me
74142 #else
74143 char (*f) () = $ac_func;
74144 #endif
74145 #ifdef __cplusplus
74146 }
74147 #endif
74148
74149 int
74150 main ()
74151 {
74152 return f != $ac_func;
74153   ;
74154   return 0;
74155 }
74156 _ACEOF
74157 rm -f conftest.$ac_objext conftest$ac_exeext
74158 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
74159   (eval $ac_link) 2>conftest.er1
74160   ac_status=$?
74161   grep -v '^ *+' conftest.er1 >conftest.err
74162   rm -f conftest.er1
74163   cat conftest.err >&5
74164   echo "$as_me:$LINENO: \$? = $ac_status" >&5
74165   (exit $ac_status); } &&
74166          { ac_try='test -z "$ac_c_werror_flag"
74167                          || test ! -s conftest.err'
74168   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
74169   (eval $ac_try) 2>&5
74170   ac_status=$?
74171   echo "$as_me:$LINENO: \$? = $ac_status" >&5
74172   (exit $ac_status); }; } &&
74173          { ac_try='test -s conftest$ac_exeext'
74174   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
74175   (eval $ac_try) 2>&5
74176   ac_status=$?
74177   echo "$as_me:$LINENO: \$? = $ac_status" >&5
74178   (exit $ac_status); }; }; then
74179   eval "$as_ac_var=yes"
74180 else
74181   echo "$as_me: failed program was:" >&5
74182 sed 's/^/| /' conftest.$ac_ext >&5
74183
74184 eval "$as_ac_var=no"
74185 fi
74186 rm -f conftest.err conftest.$ac_objext \
74187       conftest$ac_exeext conftest.$ac_ext
74188 fi
74189 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
74190 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
74191 if test `eval echo '${'$as_ac_var'}'` = yes; then
74192   cat >>confdefs.h <<_ACEOF
74193 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
74194 _ACEOF
74195
74196 else
74197   LIBMATHOBJS="$LIBMATHOBJS signbitl.lo"
74198 fi
74199 done
74200
74201   fi
74202
74203   # Used in libmath/Makefile.am.
74204   if test -n "$LIBMATHOBJS"; then
74205     need_libmath=yes
74206   fi
74207
74208
74209
74210   ac_test_CXXFLAGS="${CXXFLAGS+set}"
74211   ac_save_CXXFLAGS="$CXXFLAGS"
74212   CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
74213
74214
74215   echo "$as_me:$LINENO: checking for strtold declaration" >&5
74216 echo $ECHO_N "checking for strtold declaration... $ECHO_C" >&6
74217   if test x${glibcxx_cv_func_strtold_use+set} != xset; then
74218     if test "${glibcxx_cv_func_strtold_use+set}" = set; then
74219   echo $ECHO_N "(cached) $ECHO_C" >&6
74220 else
74221
74222
74223
74224       ac_ext=cc
74225 ac_cpp='$CXXCPP $CPPFLAGS'
74226 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74227 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74228 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
74229
74230       cat >conftest.$ac_ext <<_ACEOF
74231 /* confdefs.h.  */
74232 _ACEOF
74233 cat confdefs.h >>conftest.$ac_ext
74234 cat >>conftest.$ac_ext <<_ACEOF
74235 /* end confdefs.h.  */
74236 #include <stdlib.h>
74237 int
74238 main ()
74239 {
74240  strtold(0, 0);
74241   ;
74242   return 0;
74243 }
74244 _ACEOF
74245 rm -f conftest.$ac_objext
74246 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
74247   (eval $ac_compile) 2>conftest.er1
74248   ac_status=$?
74249   grep -v '^ *+' conftest.er1 >conftest.err
74250   rm -f conftest.er1
74251   cat conftest.err >&5
74252   echo "$as_me:$LINENO: \$? = $ac_status" >&5
74253   (exit $ac_status); } &&
74254          { ac_try='test -z "$ac_cxx_werror_flag"
74255                          || test ! -s conftest.err'
74256   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
74257   (eval $ac_try) 2>&5
74258   ac_status=$?
74259   echo "$as_me:$LINENO: \$? = $ac_status" >&5
74260   (exit $ac_status); }; } &&
74261          { ac_try='test -s conftest.$ac_objext'
74262   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
74263   (eval $ac_try) 2>&5
74264   ac_status=$?
74265   echo "$as_me:$LINENO: \$? = $ac_status" >&5
74266   (exit $ac_status); }; }; then
74267   glibcxx_cv_func_strtold_use=yes
74268 else
74269   echo "$as_me: failed program was:" >&5
74270 sed 's/^/| /' conftest.$ac_ext >&5
74271
74272 glibcxx_cv_func_strtold_use=no
74273 fi
74274 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
74275       ac_ext=c
74276 ac_cpp='$CPP $CPPFLAGS'
74277 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74278 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74279 ac_compiler_gnu=$ac_cv_c_compiler_gnu
74280
74281
74282 fi
74283
74284   fi
74285   echo "$as_me:$LINENO: result: $glibcxx_cv_func_strtold_use" >&5
74286 echo "${ECHO_T}$glibcxx_cv_func_strtold_use" >&6
74287   if test x$glibcxx_cv_func_strtold_use = x"yes"; then
74288
74289 for ac_func in strtold
74290 do
74291 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
74292 echo "$as_me:$LINENO: checking for $ac_func" >&5
74293 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
74294 if eval "test \"\${$as_ac_var+set}\" = set"; then
74295   echo $ECHO_N "(cached) $ECHO_C" >&6
74296 else
74297   if test x$gcc_no_link = xyes; then
74298   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
74299 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
74300    { (exit 1); exit 1; }; }
74301 fi
74302 cat >conftest.$ac_ext <<_ACEOF
74303 /* confdefs.h.  */
74304 _ACEOF
74305 cat confdefs.h >>conftest.$ac_ext
74306 cat >>conftest.$ac_ext <<_ACEOF
74307 /* end confdefs.h.  */
74308 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
74309    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
74310 #define $ac_func innocuous_$ac_func
74311
74312 /* System header to define __stub macros and hopefully few prototypes,
74313     which can conflict with char $ac_func (); below.
74314     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
74315     <limits.h> exists even on freestanding compilers.  */
74316
74317 #ifdef __STDC__
74318 # include <limits.h>
74319 #else
74320 # include <assert.h>
74321 #endif
74322
74323 #undef $ac_func
74324
74325 /* Override any gcc2 internal prototype to avoid an error.  */
74326 #ifdef __cplusplus
74327 extern "C"
74328 {
74329 #endif
74330 /* We use char because int might match the return type of a gcc2
74331    builtin and then its argument prototype would still apply.  */
74332 char $ac_func ();
74333 /* The GNU C library defines this for functions which it implements
74334     to always fail with ENOSYS.  Some functions are actually named
74335     something starting with __ and the normal name is an alias.  */
74336 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
74337 choke me
74338 #else
74339 char (*f) () = $ac_func;
74340 #endif
74341 #ifdef __cplusplus
74342 }
74343 #endif
74344
74345 int
74346 main ()
74347 {
74348 return f != $ac_func;
74349   ;
74350   return 0;
74351 }
74352 _ACEOF
74353 rm -f conftest.$ac_objext conftest$ac_exeext
74354 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
74355   (eval $ac_link) 2>conftest.er1
74356   ac_status=$?
74357   grep -v '^ *+' conftest.er1 >conftest.err
74358   rm -f conftest.er1
74359   cat conftest.err >&5
74360   echo "$as_me:$LINENO: \$? = $ac_status" >&5
74361   (exit $ac_status); } &&
74362          { ac_try='test -z "$ac_c_werror_flag"
74363                          || test ! -s conftest.err'
74364   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
74365   (eval $ac_try) 2>&5
74366   ac_status=$?
74367   echo "$as_me:$LINENO: \$? = $ac_status" >&5
74368   (exit $ac_status); }; } &&
74369          { ac_try='test -s conftest$ac_exeext'
74370   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
74371   (eval $ac_try) 2>&5
74372   ac_status=$?
74373   echo "$as_me:$LINENO: \$? = $ac_status" >&5
74374   (exit $ac_status); }; }; then
74375   eval "$as_ac_var=yes"
74376 else
74377   echo "$as_me: failed program was:" >&5
74378 sed 's/^/| /' conftest.$ac_ext >&5
74379
74380 eval "$as_ac_var=no"
74381 fi
74382 rm -f conftest.err conftest.$ac_objext \
74383       conftest$ac_exeext conftest.$ac_ext
74384 fi
74385 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
74386 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
74387 if test `eval echo '${'$as_ac_var'}'` = yes; then
74388   cat >>confdefs.h <<_ACEOF
74389 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
74390 _ACEOF
74391
74392 fi
74393 done
74394
74395   fi
74396
74397
74398
74399
74400
74401   echo "$as_me:$LINENO: checking for strtof declaration" >&5
74402 echo $ECHO_N "checking for strtof declaration... $ECHO_C" >&6
74403   if test x${glibcxx_cv_func_strtof_use+set} != xset; then
74404     if test "${glibcxx_cv_func_strtof_use+set}" = set; then
74405   echo $ECHO_N "(cached) $ECHO_C" >&6
74406 else
74407
74408
74409
74410       ac_ext=cc
74411 ac_cpp='$CXXCPP $CPPFLAGS'
74412 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74413 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74414 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
74415
74416       cat >conftest.$ac_ext <<_ACEOF
74417 /* confdefs.h.  */
74418 _ACEOF
74419 cat confdefs.h >>conftest.$ac_ext
74420 cat >>conftest.$ac_ext <<_ACEOF
74421 /* end confdefs.h.  */
74422 #include <stdlib.h>
74423 int
74424 main ()
74425 {
74426  strtof(0, 0);
74427   ;
74428   return 0;
74429 }
74430 _ACEOF
74431 rm -f conftest.$ac_objext
74432 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
74433   (eval $ac_compile) 2>conftest.er1
74434   ac_status=$?
74435   grep -v '^ *+' conftest.er1 >conftest.err
74436   rm -f conftest.er1
74437   cat conftest.err >&5
74438   echo "$as_me:$LINENO: \$? = $ac_status" >&5
74439   (exit $ac_status); } &&
74440          { ac_try='test -z "$ac_cxx_werror_flag"
74441                          || test ! -s conftest.err'
74442   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
74443   (eval $ac_try) 2>&5
74444   ac_status=$?
74445   echo "$as_me:$LINENO: \$? = $ac_status" >&5
74446   (exit $ac_status); }; } &&
74447          { ac_try='test -s conftest.$ac_objext'
74448   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
74449   (eval $ac_try) 2>&5
74450   ac_status=$?
74451   echo "$as_me:$LINENO: \$? = $ac_status" >&5
74452   (exit $ac_status); }; }; then
74453   glibcxx_cv_func_strtof_use=yes
74454 else
74455   echo "$as_me: failed program was:" >&5
74456 sed 's/^/| /' conftest.$ac_ext >&5
74457
74458 glibcxx_cv_func_strtof_use=no
74459 fi
74460 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
74461       ac_ext=c
74462 ac_cpp='$CPP $CPPFLAGS'
74463 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74464 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74465 ac_compiler_gnu=$ac_cv_c_compiler_gnu
74466
74467
74468 fi
74469
74470   fi
74471   echo "$as_me:$LINENO: result: $glibcxx_cv_func_strtof_use" >&5
74472 echo "${ECHO_T}$glibcxx_cv_func_strtof_use" >&6
74473   if test x$glibcxx_cv_func_strtof_use = x"yes"; then
74474
74475 for ac_func in strtof
74476 do
74477 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
74478 echo "$as_me:$LINENO: checking for $ac_func" >&5
74479 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
74480 if eval "test \"\${$as_ac_var+set}\" = set"; then
74481   echo $ECHO_N "(cached) $ECHO_C" >&6
74482 else
74483   if test x$gcc_no_link = xyes; then
74484   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
74485 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
74486    { (exit 1); exit 1; }; }
74487 fi
74488 cat >conftest.$ac_ext <<_ACEOF
74489 /* confdefs.h.  */
74490 _ACEOF
74491 cat confdefs.h >>conftest.$ac_ext
74492 cat >>conftest.$ac_ext <<_ACEOF
74493 /* end confdefs.h.  */
74494 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
74495    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
74496 #define $ac_func innocuous_$ac_func
74497
74498 /* System header to define __stub macros and hopefully few prototypes,
74499     which can conflict with char $ac_func (); below.
74500     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
74501     <limits.h> exists even on freestanding compilers.  */
74502
74503 #ifdef __STDC__
74504 # include <limits.h>
74505 #else
74506 # include <assert.h>
74507 #endif
74508
74509 #undef $ac_func
74510
74511 /* Override any gcc2 internal prototype to avoid an error.  */
74512 #ifdef __cplusplus
74513 extern "C"
74514 {
74515 #endif
74516 /* We use char because int might match the return type of a gcc2
74517    builtin and then its argument prototype would still apply.  */
74518 char $ac_func ();
74519 /* The GNU C library defines this for functions which it implements
74520     to always fail with ENOSYS.  Some functions are actually named
74521     something starting with __ and the normal name is an alias.  */
74522 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
74523 choke me
74524 #else
74525 char (*f) () = $ac_func;
74526 #endif
74527 #ifdef __cplusplus
74528 }
74529 #endif
74530
74531 int
74532 main ()
74533 {
74534 return f != $ac_func;
74535   ;
74536   return 0;
74537 }
74538 _ACEOF
74539 rm -f conftest.$ac_objext conftest$ac_exeext
74540 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
74541   (eval $ac_link) 2>conftest.er1
74542   ac_status=$?
74543   grep -v '^ *+' conftest.er1 >conftest.err
74544   rm -f conftest.er1
74545   cat conftest.err >&5
74546   echo "$as_me:$LINENO: \$? = $ac_status" >&5
74547   (exit $ac_status); } &&
74548          { ac_try='test -z "$ac_c_werror_flag"
74549                          || test ! -s conftest.err'
74550   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
74551   (eval $ac_try) 2>&5
74552   ac_status=$?
74553   echo "$as_me:$LINENO: \$? = $ac_status" >&5
74554   (exit $ac_status); }; } &&
74555          { ac_try='test -s conftest$ac_exeext'
74556   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
74557   (eval $ac_try) 2>&5
74558   ac_status=$?
74559   echo "$as_me:$LINENO: \$? = $ac_status" >&5
74560   (exit $ac_status); }; }; then
74561   eval "$as_ac_var=yes"
74562 else
74563   echo "$as_me: failed program was:" >&5
74564 sed 's/^/| /' conftest.$ac_ext >&5
74565
74566 eval "$as_ac_var=no"
74567 fi
74568 rm -f conftest.err conftest.$ac_objext \
74569       conftest$ac_exeext conftest.$ac_ext
74570 fi
74571 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
74572 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
74573 if test `eval echo '${'$as_ac_var'}'` = yes; then
74574   cat >>confdefs.h <<_ACEOF
74575 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
74576 _ACEOF
74577
74578 fi
74579 done
74580
74581   fi
74582
74583
74584
74585
74586
74587   CXXFLAGS="$ac_save_CXXFLAGS"
74588
74589
74590   echo "$as_me:$LINENO: checking for S_ISREG or S_IFREG" >&5
74591 echo $ECHO_N "checking for S_ISREG or S_IFREG... $ECHO_C" >&6
74592   if test "${glibcxx_cv_S_ISREG+set}" = set; then
74593   echo $ECHO_N "(cached) $ECHO_C" >&6
74594 else
74595
74596     if test x$gcc_no_link = xyes; then
74597   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
74598 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
74599    { (exit 1); exit 1; }; }
74600 fi
74601 cat >conftest.$ac_ext <<_ACEOF
74602 /* confdefs.h.  */
74603 _ACEOF
74604 cat confdefs.h >>conftest.$ac_ext
74605 cat >>conftest.$ac_ext <<_ACEOF
74606 /* end confdefs.h.  */
74607 #include <sys/stat.h>
74608 int
74609 main ()
74610 {
74611 struct stat buffer;
74612        fstat(0, &buffer);
74613        S_ISREG(buffer.st_mode);
74614   ;
74615   return 0;
74616 }
74617 _ACEOF
74618 rm -f conftest.$ac_objext conftest$ac_exeext
74619 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
74620   (eval $ac_link) 2>conftest.er1
74621   ac_status=$?
74622   grep -v '^ *+' conftest.er1 >conftest.err
74623   rm -f conftest.er1
74624   cat conftest.err >&5
74625   echo "$as_me:$LINENO: \$? = $ac_status" >&5
74626   (exit $ac_status); } &&
74627          { ac_try='test -z "$ac_c_werror_flag"
74628                          || test ! -s conftest.err'
74629   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
74630   (eval $ac_try) 2>&5
74631   ac_status=$?
74632   echo "$as_me:$LINENO: \$? = $ac_status" >&5
74633   (exit $ac_status); }; } &&
74634          { ac_try='test -s conftest$ac_exeext'
74635   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
74636   (eval $ac_try) 2>&5
74637   ac_status=$?
74638   echo "$as_me:$LINENO: \$? = $ac_status" >&5
74639   (exit $ac_status); }; }; then
74640   glibcxx_cv_S_ISREG=yes
74641 else
74642   echo "$as_me: failed program was:" >&5
74643 sed 's/^/| /' conftest.$ac_ext >&5
74644
74645 glibcxx_cv_S_ISREG=no
74646 fi
74647 rm -f conftest.err conftest.$ac_objext \
74648       conftest$ac_exeext conftest.$ac_ext
74649
74650 fi
74651
74652   if test "${glibcxx_cv_S_IFREG+set}" = set; then
74653   echo $ECHO_N "(cached) $ECHO_C" >&6
74654 else
74655
74656     if test x$gcc_no_link = xyes; then
74657   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
74658 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
74659    { (exit 1); exit 1; }; }
74660 fi
74661 cat >conftest.$ac_ext <<_ACEOF
74662 /* confdefs.h.  */
74663 _ACEOF
74664 cat confdefs.h >>conftest.$ac_ext
74665 cat >>conftest.$ac_ext <<_ACEOF
74666 /* end confdefs.h.  */
74667 #include <sys/stat.h>
74668 int
74669 main ()
74670 {
74671 struct stat buffer;
74672        fstat(0, &buffer);
74673        S_IFREG & buffer.st_mode;
74674   ;
74675   return 0;
74676 }
74677 _ACEOF
74678 rm -f conftest.$ac_objext conftest$ac_exeext
74679 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
74680   (eval $ac_link) 2>conftest.er1
74681   ac_status=$?
74682   grep -v '^ *+' conftest.er1 >conftest.err
74683   rm -f conftest.er1
74684   cat conftest.err >&5
74685   echo "$as_me:$LINENO: \$? = $ac_status" >&5
74686   (exit $ac_status); } &&
74687          { ac_try='test -z "$ac_c_werror_flag"
74688                          || test ! -s conftest.err'
74689   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
74690   (eval $ac_try) 2>&5
74691   ac_status=$?
74692   echo "$as_me:$LINENO: \$? = $ac_status" >&5
74693   (exit $ac_status); }; } &&
74694          { ac_try='test -s conftest$ac_exeext'
74695   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
74696   (eval $ac_try) 2>&5
74697   ac_status=$?
74698   echo "$as_me:$LINENO: \$? = $ac_status" >&5
74699   (exit $ac_status); }; }; then
74700   glibcxx_cv_S_IFREG=yes
74701 else
74702   echo "$as_me: failed program was:" >&5
74703 sed 's/^/| /' conftest.$ac_ext >&5
74704
74705 glibcxx_cv_S_IFREG=no
74706 fi
74707 rm -f conftest.err conftest.$ac_objext \
74708       conftest$ac_exeext conftest.$ac_ext
74709
74710 fi
74711
74712   res=no
74713   if test $glibcxx_cv_S_ISREG = yes; then
74714
74715 cat >>confdefs.h <<\_ACEOF
74716 #define HAVE_S_ISREG 1
74717 _ACEOF
74718
74719     res=S_ISREG
74720   elif test $glibcxx_cv_S_IFREG = yes; then
74721
74722 cat >>confdefs.h <<\_ACEOF
74723 #define HAVE_S_IFREG 1
74724 _ACEOF
74725
74726     res=S_IFREG
74727   fi
74728   echo "$as_me:$LINENO: result: $res" >&5
74729 echo "${ECHO_T}$res" >&6
74730
74731     cat >>confdefs.h <<\_ACEOF
74732 #define HAVE_WRITEV 1
74733 _ACEOF
74734
74735     ;;
74736
74737   *-freebsd*)
74738
74739
74740
74741
74742
74743
74744
74745
74746
74747
74748
74749
74750
74751
74752
74753
74754 for ac_header in nan.h ieeefp.h endian.h sys/isa_defs.h \
74755       machine/endian.h machine/param.h sys/machine.h sys/types.h \
74756       fp.h locale.h float.h inttypes.h sys/resource.h sys/stat.h \
74757       sys/time.h unistd.h
74758 do
74759 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
74760 if eval "test \"\${$as_ac_Header+set}\" = set"; then
74761   echo "$as_me:$LINENO: checking for $ac_header" >&5
74762 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
74763 if eval "test \"\${$as_ac_Header+set}\" = set"; then
74764   echo $ECHO_N "(cached) $ECHO_C" >&6
74765 fi
74766 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
74767 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
74768 else
74769   # Is the header compilable?
74770 echo "$as_me:$LINENO: checking $ac_header usability" >&5
74771 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
74772 cat >conftest.$ac_ext <<_ACEOF
74773 /* confdefs.h.  */
74774 _ACEOF
74775 cat confdefs.h >>conftest.$ac_ext
74776 cat >>conftest.$ac_ext <<_ACEOF
74777 /* end confdefs.h.  */
74778 $ac_includes_default
74779 #include <$ac_header>
74780 _ACEOF
74781 rm -f conftest.$ac_objext
74782 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
74783   (eval $ac_compile) 2>conftest.er1
74784   ac_status=$?
74785   grep -v '^ *+' conftest.er1 >conftest.err
74786   rm -f conftest.er1
74787   cat conftest.err >&5
74788   echo "$as_me:$LINENO: \$? = $ac_status" >&5
74789   (exit $ac_status); } &&
74790          { ac_try='test -z "$ac_c_werror_flag"
74791                          || test ! -s conftest.err'
74792   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
74793   (eval $ac_try) 2>&5
74794   ac_status=$?
74795   echo "$as_me:$LINENO: \$? = $ac_status" >&5
74796   (exit $ac_status); }; } &&
74797          { ac_try='test -s conftest.$ac_objext'
74798   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
74799   (eval $ac_try) 2>&5
74800   ac_status=$?
74801   echo "$as_me:$LINENO: \$? = $ac_status" >&5
74802   (exit $ac_status); }; }; then
74803   ac_header_compiler=yes
74804 else
74805   echo "$as_me: failed program was:" >&5
74806 sed 's/^/| /' conftest.$ac_ext >&5
74807
74808 ac_header_compiler=no
74809 fi
74810 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
74811 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
74812 echo "${ECHO_T}$ac_header_compiler" >&6
74813
74814 # Is the header present?
74815 echo "$as_me:$LINENO: checking $ac_header presence" >&5
74816 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
74817 cat >conftest.$ac_ext <<_ACEOF
74818 /* confdefs.h.  */
74819 _ACEOF
74820 cat confdefs.h >>conftest.$ac_ext
74821 cat >>conftest.$ac_ext <<_ACEOF
74822 /* end confdefs.h.  */
74823 #include <$ac_header>
74824 _ACEOF
74825 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
74826   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
74827   ac_status=$?
74828   grep -v '^ *+' conftest.er1 >conftest.err
74829   rm -f conftest.er1
74830   cat conftest.err >&5
74831   echo "$as_me:$LINENO: \$? = $ac_status" >&5
74832   (exit $ac_status); } >/dev/null; then
74833   if test -s conftest.err; then
74834     ac_cpp_err=$ac_c_preproc_warn_flag
74835     ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
74836   else
74837     ac_cpp_err=
74838   fi
74839 else
74840   ac_cpp_err=yes
74841 fi
74842 if test -z "$ac_cpp_err"; then
74843   ac_header_preproc=yes
74844 else
74845   echo "$as_me: failed program was:" >&5
74846 sed 's/^/| /' conftest.$ac_ext >&5
74847
74848   ac_header_preproc=no
74849 fi
74850 rm -f conftest.err conftest.$ac_ext
74851 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
74852 echo "${ECHO_T}$ac_header_preproc" >&6
74853
74854 # So?  What about this header?
74855 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
74856   yes:no: )
74857     { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
74858 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
74859     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
74860 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
74861     ac_header_preproc=yes
74862     ;;
74863   no:yes:* )
74864     { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
74865 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
74866     { echo "$as_me:$LINENO: WARNING: $ac_header:     check for missing prerequisite headers?" >&5
74867 echo "$as_me: WARNING: $ac_header:     check for missing prerequisite headers?" >&2;}
74868     { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
74869 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
74870     { echo "$as_me:$LINENO: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&5
74871 echo "$as_me: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&2;}
74872     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
74873 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
74874     { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
74875 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
74876     (
74877       cat <<\_ASBOX
74878 ## ----------------------------------------- ##
74879 ## Report this to the package-unused lists.  ##
74880 ## ----------------------------------------- ##
74881 _ASBOX
74882     ) |
74883       sed "s/^/$as_me: WARNING:     /" >&2
74884     ;;
74885 esac
74886 echo "$as_me:$LINENO: checking for $ac_header" >&5
74887 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
74888 if eval "test \"\${$as_ac_Header+set}\" = set"; then
74889   echo $ECHO_N "(cached) $ECHO_C" >&6
74890 else
74891   eval "$as_ac_Header=\$ac_header_preproc"
74892 fi
74893 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
74894 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
74895
74896 fi
74897 if test `eval echo '${'$as_ac_Header'}'` = yes; then
74898   cat >>confdefs.h <<_ACEOF
74899 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
74900 _ACEOF
74901
74902 fi
74903
74904 done
74905
74906     SECTION_FLAGS='-ffunction-sections -fdata-sections'
74907
74908
74909   # If we're not using GNU ld, then there's no point in even trying these
74910   # tests.  Check for that first.  We should have already tested for gld
74911   # by now (in libtool), but require it now just to be safe...
74912   test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
74913   test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
74914
74915
74916
74917   # The name set by libtool depends on the version of libtool.  Shame on us
74918   # for depending on an impl detail, but c'est la vie.  Older versions used
74919   # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
74920   # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
74921   # makes sense).  We'll test with_gnu_ld everywhere else, so if that isn't
74922   # set (hence we're using an older libtool), then set it.
74923   if test x${with_gnu_ld+set} != xset; then
74924     if test x${ac_cv_prog_gnu_ld+set} != xset; then
74925       # We got through "ac_require(ac_prog_ld)" and still not set?  Huh?
74926       with_gnu_ld=no
74927     else
74928       with_gnu_ld=$ac_cv_prog_gnu_ld
74929     fi
74930   fi
74931
74932   # Start by getting the version number.  I think the libtool test already
74933   # does some of this, but throws away the result.
74934   if test x"$with_gnu_ld" = x"yes"; then
74935     echo "$as_me:$LINENO: checking for ld version" >&5
74936 echo $ECHO_N "checking for ld version... $ECHO_C" >&6
74937
74938     ldver=`$LD --version 2>/dev/null | head -1 | \
74939            sed -e 's/GNU ld version \([0-9.][0-9.]*\).*/\1/'`
74940
74941     glibcxx_gnu_ld_version=`echo $ldver | \
74942            $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
74943     echo "$as_me:$LINENO: result: $glibcxx_gnu_ld_version" >&5
74944 echo "${ECHO_T}$glibcxx_gnu_ld_version" >&6
74945   fi
74946
74947   # Set --gc-sections.
74948   glibcxx_gcsections_min_ld=21602
74949   if test x"$with_gnu_ld" = x"yes" &&
74950         test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
74951
74952     # Sufficiently young GNU ld it is!  Joy and bunny rabbits!
74953     # NB: This flag only works reliably after 2.16.1. Configure tests
74954     # for this are difficult, so hard wire a value that should work.
74955
74956     # All these tests are for C++, but run with the "C" compiler driver.
74957     # Need to do this so that g++ won't try to link in libstdc++/libsupc++.
74958     ac_test_CFLAGS="${CFLAGS+set}"
74959     ac_save_CFLAGS="$CFLAGS"
74960     CFLAGS='-x c++ -Wl,--gc-sections'
74961
74962     # Check for -Wl,--gc-sections
74963     echo "$as_me:$LINENO: checking for ld that supports -Wl,--gc-sections" >&5
74964 echo $ECHO_N "checking for ld that supports -Wl,--gc-sections... $ECHO_C" >&6
74965     if test x$gcc_no_link = xyes; then
74966   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
74967 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
74968    { (exit 1); exit 1; }; }
74969 fi
74970 cat >conftest.$ac_ext <<_ACEOF
74971 /* confdefs.h.  */
74972 _ACEOF
74973 cat confdefs.h >>conftest.$ac_ext
74974 cat >>conftest.$ac_ext <<_ACEOF
74975 /* end confdefs.h.  */
74976  int one(void) { return 1; }
74977      int two(void) { return 2; }
74978
74979 int
74980 main ()
74981 {
74982  two();
74983   ;
74984   return 0;
74985 }
74986 _ACEOF
74987 rm -f conftest.$ac_objext conftest$ac_exeext
74988 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
74989   (eval $ac_link) 2>conftest.er1
74990   ac_status=$?
74991   grep -v '^ *+' conftest.er1 >conftest.err
74992   rm -f conftest.er1
74993   cat conftest.err >&5
74994   echo "$as_me:$LINENO: \$? = $ac_status" >&5
74995   (exit $ac_status); } &&
74996          { ac_try='test -z "$ac_c_werror_flag"
74997                          || test ! -s conftest.err'
74998   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
74999   (eval $ac_try) 2>&5
75000   ac_status=$?
75001   echo "$as_me:$LINENO: \$? = $ac_status" >&5
75002   (exit $ac_status); }; } &&
75003          { ac_try='test -s conftest$ac_exeext'
75004   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
75005   (eval $ac_try) 2>&5
75006   ac_status=$?
75007   echo "$as_me:$LINENO: \$? = $ac_status" >&5
75008   (exit $ac_status); }; }; then
75009   ac_gcsections=yes
75010 else
75011   echo "$as_me: failed program was:" >&5
75012 sed 's/^/| /' conftest.$ac_ext >&5
75013
75014 ac_gcsections=no
75015 fi
75016 rm -f conftest.err conftest.$ac_objext \
75017       conftest$ac_exeext conftest.$ac_ext
75018     if test "$ac_gcsections" = "yes"; then
75019       rm -f conftest.c
75020       touch conftest.c
75021       if $CC -c conftest.c; then
75022         if $LD --gc-sections -o conftest conftest.o 2>&1 | \
75023            grep "Warning: gc-sections option ignored" > /dev/null; then
75024           ac_gcsections=no
75025         fi
75026       fi
75027       rm -f conftest.c conftest.o conftest
75028     fi
75029     if test "$ac_gcsections" = "yes"; then
75030       SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
75031     fi
75032     echo "$as_me:$LINENO: result: $ac_gcsections" >&5
75033 echo "${ECHO_T}$ac_gcsections" >&6
75034
75035     if test "$ac_test_CFLAGS" = set; then
75036       CFLAGS="$ac_save_CFLAGS"
75037     else
75038       # this is the suspicious part
75039       CFLAGS=''
75040     fi
75041   fi
75042
75043   # Set -z,relro.
75044   # Note this is only for shared objects.
75045   ac_ld_relro=no
75046   if test x"$with_gnu_ld" = x"yes"; then
75047     echo "$as_me:$LINENO: checking for ld that supports -Wl,-z,relro" >&5
75048 echo $ECHO_N "checking for ld that supports -Wl,-z,relro... $ECHO_C" >&6
75049     cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
75050     if test -n "$cxx_z_relo"; then
75051       OPT_LDFLAGS="-Wl,-z,relro"
75052       ac_ld_relro=yes
75053     fi
75054     echo "$as_me:$LINENO: result: $ac_ld_relro" >&5
75055 echo "${ECHO_T}$ac_ld_relro" >&6
75056   fi
75057
75058   # Set linker optimization flags.
75059   if test x"$with_gnu_ld" = x"yes"; then
75060     OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
75061   fi
75062
75063
75064
75065
75066
75067
75068 echo "$as_me:$LINENO: checking for main in -lm" >&5
75069 echo $ECHO_N "checking for main in -lm... $ECHO_C" >&6
75070 if test "${ac_cv_lib_m_main+set}" = set; then
75071   echo $ECHO_N "(cached) $ECHO_C" >&6
75072 else
75073   ac_check_lib_save_LIBS=$LIBS
75074 LIBS="-lm  $LIBS"
75075 if test x$gcc_no_link = xyes; then
75076   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
75077 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
75078    { (exit 1); exit 1; }; }
75079 fi
75080 cat >conftest.$ac_ext <<_ACEOF
75081 /* confdefs.h.  */
75082 _ACEOF
75083 cat confdefs.h >>conftest.$ac_ext
75084 cat >>conftest.$ac_ext <<_ACEOF
75085 /* end confdefs.h.  */
75086
75087
75088 int
75089 main ()
75090 {
75091 main ();
75092   ;
75093   return 0;
75094 }
75095 _ACEOF
75096 rm -f conftest.$ac_objext conftest$ac_exeext
75097 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
75098   (eval $ac_link) 2>conftest.er1
75099   ac_status=$?
75100   grep -v '^ *+' conftest.er1 >conftest.err
75101   rm -f conftest.er1
75102   cat conftest.err >&5
75103   echo "$as_me:$LINENO: \$? = $ac_status" >&5
75104   (exit $ac_status); } &&
75105          { ac_try='test -z "$ac_c_werror_flag"
75106                          || test ! -s conftest.err'
75107   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
75108   (eval $ac_try) 2>&5
75109   ac_status=$?
75110   echo "$as_me:$LINENO: \$? = $ac_status" >&5
75111   (exit $ac_status); }; } &&
75112          { ac_try='test -s conftest$ac_exeext'
75113   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
75114   (eval $ac_try) 2>&5
75115   ac_status=$?
75116   echo "$as_me:$LINENO: \$? = $ac_status" >&5
75117   (exit $ac_status); }; }; then
75118   ac_cv_lib_m_main=yes
75119 else
75120   echo "$as_me: failed program was:" >&5
75121 sed 's/^/| /' conftest.$ac_ext >&5
75122
75123 ac_cv_lib_m_main=no
75124 fi
75125 rm -f conftest.err conftest.$ac_objext \
75126       conftest$ac_exeext conftest.$ac_ext
75127 LIBS=$ac_check_lib_save_LIBS
75128 fi
75129 echo "$as_me:$LINENO: result: $ac_cv_lib_m_main" >&5
75130 echo "${ECHO_T}$ac_cv_lib_m_main" >&6
75131 if test $ac_cv_lib_m_main = yes; then
75132   cat >>confdefs.h <<_ACEOF
75133 #define HAVE_LIBM 1
75134 _ACEOF
75135
75136   LIBS="-lm $LIBS"
75137
75138 fi
75139
75140
75141 for ac_func in copysignf
75142 do
75143 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
75144 echo "$as_me:$LINENO: checking for $ac_func" >&5
75145 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
75146 if eval "test \"\${$as_ac_var+set}\" = set"; then
75147   echo $ECHO_N "(cached) $ECHO_C" >&6
75148 else
75149   if test x$gcc_no_link = xyes; then
75150   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
75151 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
75152    { (exit 1); exit 1; }; }
75153 fi
75154 cat >conftest.$ac_ext <<_ACEOF
75155 /* confdefs.h.  */
75156 _ACEOF
75157 cat confdefs.h >>conftest.$ac_ext
75158 cat >>conftest.$ac_ext <<_ACEOF
75159 /* end confdefs.h.  */
75160 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
75161    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
75162 #define $ac_func innocuous_$ac_func
75163
75164 /* System header to define __stub macros and hopefully few prototypes,
75165     which can conflict with char $ac_func (); below.
75166     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
75167     <limits.h> exists even on freestanding compilers.  */
75168
75169 #ifdef __STDC__
75170 # include <limits.h>
75171 #else
75172 # include <assert.h>
75173 #endif
75174
75175 #undef $ac_func
75176
75177 /* Override any gcc2 internal prototype to avoid an error.  */
75178 #ifdef __cplusplus
75179 extern "C"
75180 {
75181 #endif
75182 /* We use char because int might match the return type of a gcc2
75183    builtin and then its argument prototype would still apply.  */
75184 char $ac_func ();
75185 /* The GNU C library defines this for functions which it implements
75186     to always fail with ENOSYS.  Some functions are actually named
75187     something starting with __ and the normal name is an alias.  */
75188 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
75189 choke me
75190 #else
75191 char (*f) () = $ac_func;
75192 #endif
75193 #ifdef __cplusplus
75194 }
75195 #endif
75196
75197 int
75198 main ()
75199 {
75200 return f != $ac_func;
75201   ;
75202   return 0;
75203 }
75204 _ACEOF
75205 rm -f conftest.$ac_objext conftest$ac_exeext
75206 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
75207   (eval $ac_link) 2>conftest.er1
75208   ac_status=$?
75209   grep -v '^ *+' conftest.er1 >conftest.err
75210   rm -f conftest.er1
75211   cat conftest.err >&5
75212   echo "$as_me:$LINENO: \$? = $ac_status" >&5
75213   (exit $ac_status); } &&
75214          { ac_try='test -z "$ac_c_werror_flag"
75215                          || test ! -s conftest.err'
75216   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
75217   (eval $ac_try) 2>&5
75218   ac_status=$?
75219   echo "$as_me:$LINENO: \$? = $ac_status" >&5
75220   (exit $ac_status); }; } &&
75221          { ac_try='test -s conftest$ac_exeext'
75222   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
75223   (eval $ac_try) 2>&5
75224   ac_status=$?
75225   echo "$as_me:$LINENO: \$? = $ac_status" >&5
75226   (exit $ac_status); }; }; then
75227   eval "$as_ac_var=yes"
75228 else
75229   echo "$as_me: failed program was:" >&5
75230 sed 's/^/| /' conftest.$ac_ext >&5
75231
75232 eval "$as_ac_var=no"
75233 fi
75234 rm -f conftest.err conftest.$ac_objext \
75235       conftest$ac_exeext conftest.$ac_ext
75236 fi
75237 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
75238 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
75239 if test `eval echo '${'$as_ac_var'}'` = yes; then
75240   cat >>confdefs.h <<_ACEOF
75241 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
75242 _ACEOF
75243
75244 else
75245   LIBMATHOBJS="$LIBMATHOBJS ${ac_func}.lo"
75246 fi
75247 done
75248
75249
75250
75251 for ac_func in __signbit
75252 do
75253 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
75254 echo "$as_me:$LINENO: checking for $ac_func" >&5
75255 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
75256 if eval "test \"\${$as_ac_var+set}\" = set"; then
75257   echo $ECHO_N "(cached) $ECHO_C" >&6
75258 else
75259   if test x$gcc_no_link = xyes; then
75260   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
75261 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
75262    { (exit 1); exit 1; }; }
75263 fi
75264 cat >conftest.$ac_ext <<_ACEOF
75265 /* confdefs.h.  */
75266 _ACEOF
75267 cat confdefs.h >>conftest.$ac_ext
75268 cat >>conftest.$ac_ext <<_ACEOF
75269 /* end confdefs.h.  */
75270 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
75271    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
75272 #define $ac_func innocuous_$ac_func
75273
75274 /* System header to define __stub macros and hopefully few prototypes,
75275     which can conflict with char $ac_func (); below.
75276     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
75277     <limits.h> exists even on freestanding compilers.  */
75278
75279 #ifdef __STDC__
75280 # include <limits.h>
75281 #else
75282 # include <assert.h>
75283 #endif
75284
75285 #undef $ac_func
75286
75287 /* Override any gcc2 internal prototype to avoid an error.  */
75288 #ifdef __cplusplus
75289 extern "C"
75290 {
75291 #endif
75292 /* We use char because int might match the return type of a gcc2
75293    builtin and then its argument prototype would still apply.  */
75294 char $ac_func ();
75295 /* The GNU C library defines this for functions which it implements
75296     to always fail with ENOSYS.  Some functions are actually named
75297     something starting with __ and the normal name is an alias.  */
75298 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
75299 choke me
75300 #else
75301 char (*f) () = $ac_func;
75302 #endif
75303 #ifdef __cplusplus
75304 }
75305 #endif
75306
75307 int
75308 main ()
75309 {
75310 return f != $ac_func;
75311   ;
75312   return 0;
75313 }
75314 _ACEOF
75315 rm -f conftest.$ac_objext conftest$ac_exeext
75316 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
75317   (eval $ac_link) 2>conftest.er1
75318   ac_status=$?
75319   grep -v '^ *+' conftest.er1 >conftest.err
75320   rm -f conftest.er1
75321   cat conftest.err >&5
75322   echo "$as_me:$LINENO: \$? = $ac_status" >&5
75323   (exit $ac_status); } &&
75324          { ac_try='test -z "$ac_c_werror_flag"
75325                          || test ! -s conftest.err'
75326   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
75327   (eval $ac_try) 2>&5
75328   ac_status=$?
75329   echo "$as_me:$LINENO: \$? = $ac_status" >&5
75330   (exit $ac_status); }; } &&
75331          { ac_try='test -s conftest$ac_exeext'
75332   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
75333   (eval $ac_try) 2>&5
75334   ac_status=$?
75335   echo "$as_me:$LINENO: \$? = $ac_status" >&5
75336   (exit $ac_status); }; }; then
75337   eval "$as_ac_var=yes"
75338 else
75339   echo "$as_me: failed program was:" >&5
75340 sed 's/^/| /' conftest.$ac_ext >&5
75341
75342 eval "$as_ac_var=no"
75343 fi
75344 rm -f conftest.err conftest.$ac_objext \
75345       conftest$ac_exeext conftest.$ac_ext
75346 fi
75347 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
75348 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
75349 if test `eval echo '${'$as_ac_var'}'` = yes; then
75350   cat >>confdefs.h <<_ACEOF
75351 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
75352 _ACEOF
75353
75354 else
75355   LIBMATHOBJS="$LIBMATHOBJS signbit.lo"
75356 fi
75357 done
75358
75359
75360
75361 for ac_func in __signbitf
75362 do
75363 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
75364 echo "$as_me:$LINENO: checking for $ac_func" >&5
75365 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
75366 if eval "test \"\${$as_ac_var+set}\" = set"; then
75367   echo $ECHO_N "(cached) $ECHO_C" >&6
75368 else
75369   if test x$gcc_no_link = xyes; then
75370   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
75371 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
75372    { (exit 1); exit 1; }; }
75373 fi
75374 cat >conftest.$ac_ext <<_ACEOF
75375 /* confdefs.h.  */
75376 _ACEOF
75377 cat confdefs.h >>conftest.$ac_ext
75378 cat >>conftest.$ac_ext <<_ACEOF
75379 /* end confdefs.h.  */
75380 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
75381    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
75382 #define $ac_func innocuous_$ac_func
75383
75384 /* System header to define __stub macros and hopefully few prototypes,
75385     which can conflict with char $ac_func (); below.
75386     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
75387     <limits.h> exists even on freestanding compilers.  */
75388
75389 #ifdef __STDC__
75390 # include <limits.h>
75391 #else
75392 # include <assert.h>
75393 #endif
75394
75395 #undef $ac_func
75396
75397 /* Override any gcc2 internal prototype to avoid an error.  */
75398 #ifdef __cplusplus
75399 extern "C"
75400 {
75401 #endif
75402 /* We use char because int might match the return type of a gcc2
75403    builtin and then its argument prototype would still apply.  */
75404 char $ac_func ();
75405 /* The GNU C library defines this for functions which it implements
75406     to always fail with ENOSYS.  Some functions are actually named
75407     something starting with __ and the normal name is an alias.  */
75408 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
75409 choke me
75410 #else
75411 char (*f) () = $ac_func;
75412 #endif
75413 #ifdef __cplusplus
75414 }
75415 #endif
75416
75417 int
75418 main ()
75419 {
75420 return f != $ac_func;
75421   ;
75422   return 0;
75423 }
75424 _ACEOF
75425 rm -f conftest.$ac_objext conftest$ac_exeext
75426 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
75427   (eval $ac_link) 2>conftest.er1
75428   ac_status=$?
75429   grep -v '^ *+' conftest.er1 >conftest.err
75430   rm -f conftest.er1
75431   cat conftest.err >&5
75432   echo "$as_me:$LINENO: \$? = $ac_status" >&5
75433   (exit $ac_status); } &&
75434          { ac_try='test -z "$ac_c_werror_flag"
75435                          || test ! -s conftest.err'
75436   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
75437   (eval $ac_try) 2>&5
75438   ac_status=$?
75439   echo "$as_me:$LINENO: \$? = $ac_status" >&5
75440   (exit $ac_status); }; } &&
75441          { ac_try='test -s conftest$ac_exeext'
75442   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
75443   (eval $ac_try) 2>&5
75444   ac_status=$?
75445   echo "$as_me:$LINENO: \$? = $ac_status" >&5
75446   (exit $ac_status); }; }; then
75447   eval "$as_ac_var=yes"
75448 else
75449   echo "$as_me: failed program was:" >&5
75450 sed 's/^/| /' conftest.$ac_ext >&5
75451
75452 eval "$as_ac_var=no"
75453 fi
75454 rm -f conftest.err conftest.$ac_objext \
75455       conftest$ac_exeext conftest.$ac_ext
75456 fi
75457 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
75458 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
75459 if test `eval echo '${'$as_ac_var'}'` = yes; then
75460   cat >>confdefs.h <<_ACEOF
75461 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
75462 _ACEOF
75463
75464 else
75465   LIBMATHOBJS="$LIBMATHOBJS signbitf.lo"
75466 fi
75467 done
75468
75469
75470           if test x$ac_cv_func_copysignl = x"yes"; then
75471
75472 for ac_func in __signbitl
75473 do
75474 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
75475 echo "$as_me:$LINENO: checking for $ac_func" >&5
75476 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
75477 if eval "test \"\${$as_ac_var+set}\" = set"; then
75478   echo $ECHO_N "(cached) $ECHO_C" >&6
75479 else
75480   if test x$gcc_no_link = xyes; then
75481   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
75482 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
75483    { (exit 1); exit 1; }; }
75484 fi
75485 cat >conftest.$ac_ext <<_ACEOF
75486 /* confdefs.h.  */
75487 _ACEOF
75488 cat confdefs.h >>conftest.$ac_ext
75489 cat >>conftest.$ac_ext <<_ACEOF
75490 /* end confdefs.h.  */
75491 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
75492    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
75493 #define $ac_func innocuous_$ac_func
75494
75495 /* System header to define __stub macros and hopefully few prototypes,
75496     which can conflict with char $ac_func (); below.
75497     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
75498     <limits.h> exists even on freestanding compilers.  */
75499
75500 #ifdef __STDC__
75501 # include <limits.h>
75502 #else
75503 # include <assert.h>
75504 #endif
75505
75506 #undef $ac_func
75507
75508 /* Override any gcc2 internal prototype to avoid an error.  */
75509 #ifdef __cplusplus
75510 extern "C"
75511 {
75512 #endif
75513 /* We use char because int might match the return type of a gcc2
75514    builtin and then its argument prototype would still apply.  */
75515 char $ac_func ();
75516 /* The GNU C library defines this for functions which it implements
75517     to always fail with ENOSYS.  Some functions are actually named
75518     something starting with __ and the normal name is an alias.  */
75519 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
75520 choke me
75521 #else
75522 char (*f) () = $ac_func;
75523 #endif
75524 #ifdef __cplusplus
75525 }
75526 #endif
75527
75528 int
75529 main ()
75530 {
75531 return f != $ac_func;
75532   ;
75533   return 0;
75534 }
75535 _ACEOF
75536 rm -f conftest.$ac_objext conftest$ac_exeext
75537 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
75538   (eval $ac_link) 2>conftest.er1
75539   ac_status=$?
75540   grep -v '^ *+' conftest.er1 >conftest.err
75541   rm -f conftest.er1
75542   cat conftest.err >&5
75543   echo "$as_me:$LINENO: \$? = $ac_status" >&5
75544   (exit $ac_status); } &&
75545          { ac_try='test -z "$ac_c_werror_flag"
75546                          || test ! -s conftest.err'
75547   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
75548   (eval $ac_try) 2>&5
75549   ac_status=$?
75550   echo "$as_me:$LINENO: \$? = $ac_status" >&5
75551   (exit $ac_status); }; } &&
75552          { ac_try='test -s conftest$ac_exeext'
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); }; }; then
75558   eval "$as_ac_var=yes"
75559 else
75560   echo "$as_me: failed program was:" >&5
75561 sed 's/^/| /' conftest.$ac_ext >&5
75562
75563 eval "$as_ac_var=no"
75564 fi
75565 rm -f conftest.err conftest.$ac_objext \
75566       conftest$ac_exeext conftest.$ac_ext
75567 fi
75568 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
75569 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
75570 if test `eval echo '${'$as_ac_var'}'` = yes; then
75571   cat >>confdefs.h <<_ACEOF
75572 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
75573 _ACEOF
75574
75575 else
75576   LIBMATHOBJS="$LIBMATHOBJS signbitl.lo"
75577 fi
75578 done
75579
75580   fi
75581
75582   # Used in libmath/Makefile.am.
75583   if test -n "$LIBMATHOBJS"; then
75584     need_libmath=yes
75585   fi
75586
75587
75588     cat >>confdefs.h <<\_ACEOF
75589 #define HAVE_LC_MESSAGES 1
75590 _ACEOF
75591
75592     cat >>confdefs.h <<\_ACEOF
75593 #define HAVE_GETPAGESIZE 1
75594 _ACEOF
75595
75596     cat >>confdefs.h <<\_ACEOF
75597 #define HAVE_SETENV 1
75598 _ACEOF
75599
75600     cat >>confdefs.h <<\_ACEOF
75601 #define HAVE_SIGSETJMP 1
75602 _ACEOF
75603
75604     cat >>confdefs.h <<\_ACEOF
75605 #define HAVE_COPYSIGN 1
75606 _ACEOF
75607
75608     cat >>confdefs.h <<\_ACEOF
75609 #define HAVE_COPYSIGNF 1
75610 _ACEOF
75611
75612     cat >>confdefs.h <<\_ACEOF
75613 #define HAVE_FINITEF 1
75614 _ACEOF
75615
75616     cat >>confdefs.h <<\_ACEOF
75617 #define HAVE_FINITE 1
75618 _ACEOF
75619
75620     cat >>confdefs.h <<\_ACEOF
75621 #define HAVE_FREXPF 1
75622 _ACEOF
75623
75624     cat >>confdefs.h <<\_ACEOF
75625 #define HAVE_HYPOT 1
75626 _ACEOF
75627
75628     cat >>confdefs.h <<\_ACEOF
75629 #define HAVE_HYPOTF 1
75630 _ACEOF
75631
75632     cat >>confdefs.h <<\_ACEOF
75633 #define HAVE_ISINF 1
75634 _ACEOF
75635
75636     cat >>confdefs.h <<\_ACEOF
75637 #define HAVE_ISNAN 1
75638 _ACEOF
75639
75640     cat >>confdefs.h <<\_ACEOF
75641 #define HAVE_ISNANF 1
75642 _ACEOF
75643
75644
75645     cat >>confdefs.h <<\_ACEOF
75646 #define HAVE_MMAP 1
75647 _ACEOF
75648
75649     cat >>confdefs.h <<\_ACEOF
75650 #define HAVE_ACOSF 1
75651 _ACEOF
75652
75653     cat >>confdefs.h <<\_ACEOF
75654 #define HAVE_ASINF 1
75655 _ACEOF
75656
75657     cat >>confdefs.h <<\_ACEOF
75658 #define HAVE_ATAN2F 1
75659 _ACEOF
75660
75661     cat >>confdefs.h <<\_ACEOF
75662 #define HAVE_ATANF 1
75663 _ACEOF
75664
75665     cat >>confdefs.h <<\_ACEOF
75666 #define HAVE_CEILF 1
75667 _ACEOF
75668
75669     cat >>confdefs.h <<\_ACEOF
75670 #define HAVE_COPYSIGN 1
75671 _ACEOF
75672
75673     cat >>confdefs.h <<\_ACEOF
75674 #define HAVE_COPYSIGNF 1
75675 _ACEOF
75676
75677     cat >>confdefs.h <<\_ACEOF
75678 #define HAVE_COSF 1
75679 _ACEOF
75680
75681     cat >>confdefs.h <<\_ACEOF
75682 #define HAVE_COSHF 1
75683 _ACEOF
75684
75685     cat >>confdefs.h <<\_ACEOF
75686 #define HAVE_EXPF 1
75687 _ACEOF
75688
75689     cat >>confdefs.h <<\_ACEOF
75690 #define HAVE_FABSF 1
75691 _ACEOF
75692
75693     cat >>confdefs.h <<\_ACEOF
75694 #define HAVE_FLOORF 1
75695 _ACEOF
75696
75697     cat >>confdefs.h <<\_ACEOF
75698 #define HAVE_FMODF 1
75699 _ACEOF
75700
75701     cat >>confdefs.h <<\_ACEOF
75702 #define HAVE_FREXPF 1
75703 _ACEOF
75704
75705     cat >>confdefs.h <<\_ACEOF
75706 #define HAVE_LDEXPF 1
75707 _ACEOF
75708
75709     cat >>confdefs.h <<\_ACEOF
75710 #define HAVE_LOG10F 1
75711 _ACEOF
75712
75713     cat >>confdefs.h <<\_ACEOF
75714 #define HAVE_LOGF 1
75715 _ACEOF
75716
75717     cat >>confdefs.h <<\_ACEOF
75718 #define HAVE_MODFF 1
75719 _ACEOF
75720
75721     cat >>confdefs.h <<\_ACEOF
75722 #define HAVE_POWF 1
75723 _ACEOF
75724
75725     cat >>confdefs.h <<\_ACEOF
75726 #define HAVE_SINF 1
75727 _ACEOF
75728
75729     cat >>confdefs.h <<\_ACEOF
75730 #define HAVE_SINHF 1
75731 _ACEOF
75732
75733     cat >>confdefs.h <<\_ACEOF
75734 #define HAVE_SQRTF 1
75735 _ACEOF
75736
75737     cat >>confdefs.h <<\_ACEOF
75738 #define HAVE_TANF 1
75739 _ACEOF
75740
75741     cat >>confdefs.h <<\_ACEOF
75742 #define HAVE_TANHF 1
75743 _ACEOF
75744
75745     if test x"long_double_math_on_this_cpu" = x"yes"; then
75746       cat >>confdefs.h <<\_ACEOF
75747 #define HAVE_FINITEL 1
75748 _ACEOF
75749
75750       cat >>confdefs.h <<\_ACEOF
75751 #define HAVE_ISINFL 1
75752 _ACEOF
75753
75754       cat >>confdefs.h <<\_ACEOF
75755 #define HAVE_ISNANL 1
75756 _ACEOF
75757
75758     fi
75759     ;;
75760   *-hpux*)
75761
75762
75763
75764
75765
75766
75767
75768
75769
75770
75771
75772
75773 for ac_header in nan.h ieeefp.h endian.h sys/isa_defs.h \
75774       machine/endian.h machine/param.h sys/machine.h sys/types.h \
75775       fp.h locale.h float.h inttypes.h
75776 do
75777 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
75778 if eval "test \"\${$as_ac_Header+set}\" = set"; then
75779   echo "$as_me:$LINENO: checking for $ac_header" >&5
75780 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
75781 if eval "test \"\${$as_ac_Header+set}\" = set"; then
75782   echo $ECHO_N "(cached) $ECHO_C" >&6
75783 fi
75784 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
75785 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
75786 else
75787   # Is the header compilable?
75788 echo "$as_me:$LINENO: checking $ac_header usability" >&5
75789 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
75790 cat >conftest.$ac_ext <<_ACEOF
75791 /* confdefs.h.  */
75792 _ACEOF
75793 cat confdefs.h >>conftest.$ac_ext
75794 cat >>conftest.$ac_ext <<_ACEOF
75795 /* end confdefs.h.  */
75796 $ac_includes_default
75797 #include <$ac_header>
75798 _ACEOF
75799 rm -f conftest.$ac_objext
75800 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
75801   (eval $ac_compile) 2>conftest.er1
75802   ac_status=$?
75803   grep -v '^ *+' conftest.er1 >conftest.err
75804   rm -f conftest.er1
75805   cat conftest.err >&5
75806   echo "$as_me:$LINENO: \$? = $ac_status" >&5
75807   (exit $ac_status); } &&
75808          { ac_try='test -z "$ac_c_werror_flag"
75809                          || test ! -s conftest.err'
75810   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
75811   (eval $ac_try) 2>&5
75812   ac_status=$?
75813   echo "$as_me:$LINENO: \$? = $ac_status" >&5
75814   (exit $ac_status); }; } &&
75815          { ac_try='test -s conftest.$ac_objext'
75816   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
75817   (eval $ac_try) 2>&5
75818   ac_status=$?
75819   echo "$as_me:$LINENO: \$? = $ac_status" >&5
75820   (exit $ac_status); }; }; then
75821   ac_header_compiler=yes
75822 else
75823   echo "$as_me: failed program was:" >&5
75824 sed 's/^/| /' conftest.$ac_ext >&5
75825
75826 ac_header_compiler=no
75827 fi
75828 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
75829 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
75830 echo "${ECHO_T}$ac_header_compiler" >&6
75831
75832 # Is the header present?
75833 echo "$as_me:$LINENO: checking $ac_header presence" >&5
75834 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
75835 cat >conftest.$ac_ext <<_ACEOF
75836 /* confdefs.h.  */
75837 _ACEOF
75838 cat confdefs.h >>conftest.$ac_ext
75839 cat >>conftest.$ac_ext <<_ACEOF
75840 /* end confdefs.h.  */
75841 #include <$ac_header>
75842 _ACEOF
75843 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
75844   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
75845   ac_status=$?
75846   grep -v '^ *+' conftest.er1 >conftest.err
75847   rm -f conftest.er1
75848   cat conftest.err >&5
75849   echo "$as_me:$LINENO: \$? = $ac_status" >&5
75850   (exit $ac_status); } >/dev/null; then
75851   if test -s conftest.err; then
75852     ac_cpp_err=$ac_c_preproc_warn_flag
75853     ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
75854   else
75855     ac_cpp_err=
75856   fi
75857 else
75858   ac_cpp_err=yes
75859 fi
75860 if test -z "$ac_cpp_err"; then
75861   ac_header_preproc=yes
75862 else
75863   echo "$as_me: failed program was:" >&5
75864 sed 's/^/| /' conftest.$ac_ext >&5
75865
75866   ac_header_preproc=no
75867 fi
75868 rm -f conftest.err conftest.$ac_ext
75869 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
75870 echo "${ECHO_T}$ac_header_preproc" >&6
75871
75872 # So?  What about this header?
75873 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
75874   yes:no: )
75875     { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
75876 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
75877     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
75878 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
75879     ac_header_preproc=yes
75880     ;;
75881   no:yes:* )
75882     { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
75883 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
75884     { echo "$as_me:$LINENO: WARNING: $ac_header:     check for missing prerequisite headers?" >&5
75885 echo "$as_me: WARNING: $ac_header:     check for missing prerequisite headers?" >&2;}
75886     { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
75887 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
75888     { echo "$as_me:$LINENO: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&5
75889 echo "$as_me: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&2;}
75890     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
75891 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
75892     { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
75893 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
75894     (
75895       cat <<\_ASBOX
75896 ## ----------------------------------------- ##
75897 ## Report this to the package-unused lists.  ##
75898 ## ----------------------------------------- ##
75899 _ASBOX
75900     ) |
75901       sed "s/^/$as_me: WARNING:     /" >&2
75902     ;;
75903 esac
75904 echo "$as_me:$LINENO: checking for $ac_header" >&5
75905 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
75906 if eval "test \"\${$as_ac_Header+set}\" = set"; then
75907   echo $ECHO_N "(cached) $ECHO_C" >&6
75908 else
75909   eval "$as_ac_Header=\$ac_header_preproc"
75910 fi
75911 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
75912 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
75913
75914 fi
75915 if test `eval echo '${'$as_ac_Header'}'` = yes; then
75916   cat >>confdefs.h <<_ACEOF
75917 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
75918 _ACEOF
75919
75920 fi
75921
75922 done
75923
75924     SECTION_FLAGS='-ffunction-sections -fdata-sections'
75925
75926
75927   # If we're not using GNU ld, then there's no point in even trying these
75928   # tests.  Check for that first.  We should have already tested for gld
75929   # by now (in libtool), but require it now just to be safe...
75930   test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
75931   test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
75932
75933
75934
75935   # The name set by libtool depends on the version of libtool.  Shame on us
75936   # for depending on an impl detail, but c'est la vie.  Older versions used
75937   # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
75938   # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
75939   # makes sense).  We'll test with_gnu_ld everywhere else, so if that isn't
75940   # set (hence we're using an older libtool), then set it.
75941   if test x${with_gnu_ld+set} != xset; then
75942     if test x${ac_cv_prog_gnu_ld+set} != xset; then
75943       # We got through "ac_require(ac_prog_ld)" and still not set?  Huh?
75944       with_gnu_ld=no
75945     else
75946       with_gnu_ld=$ac_cv_prog_gnu_ld
75947     fi
75948   fi
75949
75950   # Start by getting the version number.  I think the libtool test already
75951   # does some of this, but throws away the result.
75952   if test x"$with_gnu_ld" = x"yes"; then
75953     echo "$as_me:$LINENO: checking for ld version" >&5
75954 echo $ECHO_N "checking for ld version... $ECHO_C" >&6
75955
75956     ldver=`$LD --version 2>/dev/null | head -1 | \
75957            sed -e 's/GNU ld version \([0-9.][0-9.]*\).*/\1/'`
75958
75959     glibcxx_gnu_ld_version=`echo $ldver | \
75960            $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
75961     echo "$as_me:$LINENO: result: $glibcxx_gnu_ld_version" >&5
75962 echo "${ECHO_T}$glibcxx_gnu_ld_version" >&6
75963   fi
75964
75965   # Set --gc-sections.
75966   glibcxx_gcsections_min_ld=21602
75967   if test x"$with_gnu_ld" = x"yes" &&
75968         test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
75969
75970     # Sufficiently young GNU ld it is!  Joy and bunny rabbits!
75971     # NB: This flag only works reliably after 2.16.1. Configure tests
75972     # for this are difficult, so hard wire a value that should work.
75973
75974     # All these tests are for C++, but run with the "C" compiler driver.
75975     # Need to do this so that g++ won't try to link in libstdc++/libsupc++.
75976     ac_test_CFLAGS="${CFLAGS+set}"
75977     ac_save_CFLAGS="$CFLAGS"
75978     CFLAGS='-x c++ -Wl,--gc-sections'
75979
75980     # Check for -Wl,--gc-sections
75981     echo "$as_me:$LINENO: checking for ld that supports -Wl,--gc-sections" >&5
75982 echo $ECHO_N "checking for ld that supports -Wl,--gc-sections... $ECHO_C" >&6
75983     if test x$gcc_no_link = xyes; then
75984   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
75985 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
75986    { (exit 1); exit 1; }; }
75987 fi
75988 cat >conftest.$ac_ext <<_ACEOF
75989 /* confdefs.h.  */
75990 _ACEOF
75991 cat confdefs.h >>conftest.$ac_ext
75992 cat >>conftest.$ac_ext <<_ACEOF
75993 /* end confdefs.h.  */
75994  int one(void) { return 1; }
75995      int two(void) { return 2; }
75996
75997 int
75998 main ()
75999 {
76000  two();
76001   ;
76002   return 0;
76003 }
76004 _ACEOF
76005 rm -f conftest.$ac_objext conftest$ac_exeext
76006 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
76007   (eval $ac_link) 2>conftest.er1
76008   ac_status=$?
76009   grep -v '^ *+' conftest.er1 >conftest.err
76010   rm -f conftest.er1
76011   cat conftest.err >&5
76012   echo "$as_me:$LINENO: \$? = $ac_status" >&5
76013   (exit $ac_status); } &&
76014          { ac_try='test -z "$ac_c_werror_flag"
76015                          || test ! -s conftest.err'
76016   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
76017   (eval $ac_try) 2>&5
76018   ac_status=$?
76019   echo "$as_me:$LINENO: \$? = $ac_status" >&5
76020   (exit $ac_status); }; } &&
76021          { ac_try='test -s conftest$ac_exeext'
76022   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
76023   (eval $ac_try) 2>&5
76024   ac_status=$?
76025   echo "$as_me:$LINENO: \$? = $ac_status" >&5
76026   (exit $ac_status); }; }; then
76027   ac_gcsections=yes
76028 else
76029   echo "$as_me: failed program was:" >&5
76030 sed 's/^/| /' conftest.$ac_ext >&5
76031
76032 ac_gcsections=no
76033 fi
76034 rm -f conftest.err conftest.$ac_objext \
76035       conftest$ac_exeext conftest.$ac_ext
76036     if test "$ac_gcsections" = "yes"; then
76037       rm -f conftest.c
76038       touch conftest.c
76039       if $CC -c conftest.c; then
76040         if $LD --gc-sections -o conftest conftest.o 2>&1 | \
76041            grep "Warning: gc-sections option ignored" > /dev/null; then
76042           ac_gcsections=no
76043         fi
76044       fi
76045       rm -f conftest.c conftest.o conftest
76046     fi
76047     if test "$ac_gcsections" = "yes"; then
76048       SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
76049     fi
76050     echo "$as_me:$LINENO: result: $ac_gcsections" >&5
76051 echo "${ECHO_T}$ac_gcsections" >&6
76052
76053     if test "$ac_test_CFLAGS" = set; then
76054       CFLAGS="$ac_save_CFLAGS"
76055     else
76056       # this is the suspicious part
76057       CFLAGS=''
76058     fi
76059   fi
76060
76061   # Set -z,relro.
76062   # Note this is only for shared objects.
76063   ac_ld_relro=no
76064   if test x"$with_gnu_ld" = x"yes"; then
76065     echo "$as_me:$LINENO: checking for ld that supports -Wl,-z,relro" >&5
76066 echo $ECHO_N "checking for ld that supports -Wl,-z,relro... $ECHO_C" >&6
76067     cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
76068     if test -n "$cxx_z_relo"; then
76069       OPT_LDFLAGS="-Wl,-z,relro"
76070       ac_ld_relro=yes
76071     fi
76072     echo "$as_me:$LINENO: result: $ac_ld_relro" >&5
76073 echo "${ECHO_T}$ac_ld_relro" >&6
76074   fi
76075
76076   # Set linker optimization flags.
76077   if test x"$with_gnu_ld" = x"yes"; then
76078     OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
76079   fi
76080
76081
76082
76083
76084
76085
76086 echo "$as_me:$LINENO: checking for main in -lm" >&5
76087 echo $ECHO_N "checking for main in -lm... $ECHO_C" >&6
76088 if test "${ac_cv_lib_m_main+set}" = set; then
76089   echo $ECHO_N "(cached) $ECHO_C" >&6
76090 else
76091   ac_check_lib_save_LIBS=$LIBS
76092 LIBS="-lm  $LIBS"
76093 if test x$gcc_no_link = xyes; then
76094   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
76095 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
76096    { (exit 1); exit 1; }; }
76097 fi
76098 cat >conftest.$ac_ext <<_ACEOF
76099 /* confdefs.h.  */
76100 _ACEOF
76101 cat confdefs.h >>conftest.$ac_ext
76102 cat >>conftest.$ac_ext <<_ACEOF
76103 /* end confdefs.h.  */
76104
76105
76106 int
76107 main ()
76108 {
76109 main ();
76110   ;
76111   return 0;
76112 }
76113 _ACEOF
76114 rm -f conftest.$ac_objext conftest$ac_exeext
76115 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
76116   (eval $ac_link) 2>conftest.er1
76117   ac_status=$?
76118   grep -v '^ *+' conftest.er1 >conftest.err
76119   rm -f conftest.er1
76120   cat conftest.err >&5
76121   echo "$as_me:$LINENO: \$? = $ac_status" >&5
76122   (exit $ac_status); } &&
76123          { ac_try='test -z "$ac_c_werror_flag"
76124                          || test ! -s conftest.err'
76125   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
76126   (eval $ac_try) 2>&5
76127   ac_status=$?
76128   echo "$as_me:$LINENO: \$? = $ac_status" >&5
76129   (exit $ac_status); }; } &&
76130          { ac_try='test -s conftest$ac_exeext'
76131   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
76132   (eval $ac_try) 2>&5
76133   ac_status=$?
76134   echo "$as_me:$LINENO: \$? = $ac_status" >&5
76135   (exit $ac_status); }; }; then
76136   ac_cv_lib_m_main=yes
76137 else
76138   echo "$as_me: failed program was:" >&5
76139 sed 's/^/| /' conftest.$ac_ext >&5
76140
76141 ac_cv_lib_m_main=no
76142 fi
76143 rm -f conftest.err conftest.$ac_objext \
76144       conftest$ac_exeext conftest.$ac_ext
76145 LIBS=$ac_check_lib_save_LIBS
76146 fi
76147 echo "$as_me:$LINENO: result: $ac_cv_lib_m_main" >&5
76148 echo "${ECHO_T}$ac_cv_lib_m_main" >&6
76149 if test $ac_cv_lib_m_main = yes; then
76150   cat >>confdefs.h <<_ACEOF
76151 #define HAVE_LIBM 1
76152 _ACEOF
76153
76154   LIBS="-lm $LIBS"
76155
76156 fi
76157
76158
76159 for ac_func in copysignf
76160 do
76161 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
76162 echo "$as_me:$LINENO: checking for $ac_func" >&5
76163 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
76164 if eval "test \"\${$as_ac_var+set}\" = set"; then
76165   echo $ECHO_N "(cached) $ECHO_C" >&6
76166 else
76167   if test x$gcc_no_link = xyes; then
76168   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
76169 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
76170    { (exit 1); exit 1; }; }
76171 fi
76172 cat >conftest.$ac_ext <<_ACEOF
76173 /* confdefs.h.  */
76174 _ACEOF
76175 cat confdefs.h >>conftest.$ac_ext
76176 cat >>conftest.$ac_ext <<_ACEOF
76177 /* end confdefs.h.  */
76178 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
76179    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
76180 #define $ac_func innocuous_$ac_func
76181
76182 /* System header to define __stub macros and hopefully few prototypes,
76183     which can conflict with char $ac_func (); below.
76184     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
76185     <limits.h> exists even on freestanding compilers.  */
76186
76187 #ifdef __STDC__
76188 # include <limits.h>
76189 #else
76190 # include <assert.h>
76191 #endif
76192
76193 #undef $ac_func
76194
76195 /* Override any gcc2 internal prototype to avoid an error.  */
76196 #ifdef __cplusplus
76197 extern "C"
76198 {
76199 #endif
76200 /* We use char because int might match the return type of a gcc2
76201    builtin and then its argument prototype would still apply.  */
76202 char $ac_func ();
76203 /* The GNU C library defines this for functions which it implements
76204     to always fail with ENOSYS.  Some functions are actually named
76205     something starting with __ and the normal name is an alias.  */
76206 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
76207 choke me
76208 #else
76209 char (*f) () = $ac_func;
76210 #endif
76211 #ifdef __cplusplus
76212 }
76213 #endif
76214
76215 int
76216 main ()
76217 {
76218 return f != $ac_func;
76219   ;
76220   return 0;
76221 }
76222 _ACEOF
76223 rm -f conftest.$ac_objext conftest$ac_exeext
76224 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
76225   (eval $ac_link) 2>conftest.er1
76226   ac_status=$?
76227   grep -v '^ *+' conftest.er1 >conftest.err
76228   rm -f conftest.er1
76229   cat conftest.err >&5
76230   echo "$as_me:$LINENO: \$? = $ac_status" >&5
76231   (exit $ac_status); } &&
76232          { ac_try='test -z "$ac_c_werror_flag"
76233                          || test ! -s conftest.err'
76234   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
76235   (eval $ac_try) 2>&5
76236   ac_status=$?
76237   echo "$as_me:$LINENO: \$? = $ac_status" >&5
76238   (exit $ac_status); }; } &&
76239          { ac_try='test -s conftest$ac_exeext'
76240   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
76241   (eval $ac_try) 2>&5
76242   ac_status=$?
76243   echo "$as_me:$LINENO: \$? = $ac_status" >&5
76244   (exit $ac_status); }; }; then
76245   eval "$as_ac_var=yes"
76246 else
76247   echo "$as_me: failed program was:" >&5
76248 sed 's/^/| /' conftest.$ac_ext >&5
76249
76250 eval "$as_ac_var=no"
76251 fi
76252 rm -f conftest.err conftest.$ac_objext \
76253       conftest$ac_exeext conftest.$ac_ext
76254 fi
76255 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
76256 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
76257 if test `eval echo '${'$as_ac_var'}'` = yes; then
76258   cat >>confdefs.h <<_ACEOF
76259 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
76260 _ACEOF
76261
76262 else
76263   LIBMATHOBJS="$LIBMATHOBJS ${ac_func}.lo"
76264 fi
76265 done
76266
76267
76268
76269 for ac_func in __signbit
76270 do
76271 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
76272 echo "$as_me:$LINENO: checking for $ac_func" >&5
76273 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
76274 if eval "test \"\${$as_ac_var+set}\" = set"; then
76275   echo $ECHO_N "(cached) $ECHO_C" >&6
76276 else
76277   if test x$gcc_no_link = xyes; then
76278   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
76279 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
76280    { (exit 1); exit 1; }; }
76281 fi
76282 cat >conftest.$ac_ext <<_ACEOF
76283 /* confdefs.h.  */
76284 _ACEOF
76285 cat confdefs.h >>conftest.$ac_ext
76286 cat >>conftest.$ac_ext <<_ACEOF
76287 /* end confdefs.h.  */
76288 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
76289    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
76290 #define $ac_func innocuous_$ac_func
76291
76292 /* System header to define __stub macros and hopefully few prototypes,
76293     which can conflict with char $ac_func (); below.
76294     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
76295     <limits.h> exists even on freestanding compilers.  */
76296
76297 #ifdef __STDC__
76298 # include <limits.h>
76299 #else
76300 # include <assert.h>
76301 #endif
76302
76303 #undef $ac_func
76304
76305 /* Override any gcc2 internal prototype to avoid an error.  */
76306 #ifdef __cplusplus
76307 extern "C"
76308 {
76309 #endif
76310 /* We use char because int might match the return type of a gcc2
76311    builtin and then its argument prototype would still apply.  */
76312 char $ac_func ();
76313 /* The GNU C library defines this for functions which it implements
76314     to always fail with ENOSYS.  Some functions are actually named
76315     something starting with __ and the normal name is an alias.  */
76316 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
76317 choke me
76318 #else
76319 char (*f) () = $ac_func;
76320 #endif
76321 #ifdef __cplusplus
76322 }
76323 #endif
76324
76325 int
76326 main ()
76327 {
76328 return f != $ac_func;
76329   ;
76330   return 0;
76331 }
76332 _ACEOF
76333 rm -f conftest.$ac_objext conftest$ac_exeext
76334 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
76335   (eval $ac_link) 2>conftest.er1
76336   ac_status=$?
76337   grep -v '^ *+' conftest.er1 >conftest.err
76338   rm -f conftest.er1
76339   cat conftest.err >&5
76340   echo "$as_me:$LINENO: \$? = $ac_status" >&5
76341   (exit $ac_status); } &&
76342          { ac_try='test -z "$ac_c_werror_flag"
76343                          || test ! -s conftest.err'
76344   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
76345   (eval $ac_try) 2>&5
76346   ac_status=$?
76347   echo "$as_me:$LINENO: \$? = $ac_status" >&5
76348   (exit $ac_status); }; } &&
76349          { ac_try='test -s conftest$ac_exeext'
76350   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
76351   (eval $ac_try) 2>&5
76352   ac_status=$?
76353   echo "$as_me:$LINENO: \$? = $ac_status" >&5
76354   (exit $ac_status); }; }; then
76355   eval "$as_ac_var=yes"
76356 else
76357   echo "$as_me: failed program was:" >&5
76358 sed 's/^/| /' conftest.$ac_ext >&5
76359
76360 eval "$as_ac_var=no"
76361 fi
76362 rm -f conftest.err conftest.$ac_objext \
76363       conftest$ac_exeext conftest.$ac_ext
76364 fi
76365 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
76366 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
76367 if test `eval echo '${'$as_ac_var'}'` = yes; then
76368   cat >>confdefs.h <<_ACEOF
76369 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
76370 _ACEOF
76371
76372 else
76373   LIBMATHOBJS="$LIBMATHOBJS signbit.lo"
76374 fi
76375 done
76376
76377
76378
76379 for ac_func in __signbitf
76380 do
76381 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
76382 echo "$as_me:$LINENO: checking for $ac_func" >&5
76383 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
76384 if eval "test \"\${$as_ac_var+set}\" = set"; then
76385   echo $ECHO_N "(cached) $ECHO_C" >&6
76386 else
76387   if test x$gcc_no_link = xyes; then
76388   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
76389 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
76390    { (exit 1); exit 1; }; }
76391 fi
76392 cat >conftest.$ac_ext <<_ACEOF
76393 /* confdefs.h.  */
76394 _ACEOF
76395 cat confdefs.h >>conftest.$ac_ext
76396 cat >>conftest.$ac_ext <<_ACEOF
76397 /* end confdefs.h.  */
76398 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
76399    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
76400 #define $ac_func innocuous_$ac_func
76401
76402 /* System header to define __stub macros and hopefully few prototypes,
76403     which can conflict with char $ac_func (); below.
76404     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
76405     <limits.h> exists even on freestanding compilers.  */
76406
76407 #ifdef __STDC__
76408 # include <limits.h>
76409 #else
76410 # include <assert.h>
76411 #endif
76412
76413 #undef $ac_func
76414
76415 /* Override any gcc2 internal prototype to avoid an error.  */
76416 #ifdef __cplusplus
76417 extern "C"
76418 {
76419 #endif
76420 /* We use char because int might match the return type of a gcc2
76421    builtin and then its argument prototype would still apply.  */
76422 char $ac_func ();
76423 /* The GNU C library defines this for functions which it implements
76424     to always fail with ENOSYS.  Some functions are actually named
76425     something starting with __ and the normal name is an alias.  */
76426 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
76427 choke me
76428 #else
76429 char (*f) () = $ac_func;
76430 #endif
76431 #ifdef __cplusplus
76432 }
76433 #endif
76434
76435 int
76436 main ()
76437 {
76438 return f != $ac_func;
76439   ;
76440   return 0;
76441 }
76442 _ACEOF
76443 rm -f conftest.$ac_objext conftest$ac_exeext
76444 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
76445   (eval $ac_link) 2>conftest.er1
76446   ac_status=$?
76447   grep -v '^ *+' conftest.er1 >conftest.err
76448   rm -f conftest.er1
76449   cat conftest.err >&5
76450   echo "$as_me:$LINENO: \$? = $ac_status" >&5
76451   (exit $ac_status); } &&
76452          { ac_try='test -z "$ac_c_werror_flag"
76453                          || test ! -s conftest.err'
76454   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
76455   (eval $ac_try) 2>&5
76456   ac_status=$?
76457   echo "$as_me:$LINENO: \$? = $ac_status" >&5
76458   (exit $ac_status); }; } &&
76459          { ac_try='test -s conftest$ac_exeext'
76460   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
76461   (eval $ac_try) 2>&5
76462   ac_status=$?
76463   echo "$as_me:$LINENO: \$? = $ac_status" >&5
76464   (exit $ac_status); }; }; then
76465   eval "$as_ac_var=yes"
76466 else
76467   echo "$as_me: failed program was:" >&5
76468 sed 's/^/| /' conftest.$ac_ext >&5
76469
76470 eval "$as_ac_var=no"
76471 fi
76472 rm -f conftest.err conftest.$ac_objext \
76473       conftest$ac_exeext conftest.$ac_ext
76474 fi
76475 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
76476 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
76477 if test `eval echo '${'$as_ac_var'}'` = yes; then
76478   cat >>confdefs.h <<_ACEOF
76479 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
76480 _ACEOF
76481
76482 else
76483   LIBMATHOBJS="$LIBMATHOBJS signbitf.lo"
76484 fi
76485 done
76486
76487
76488           if test x$ac_cv_func_copysignl = x"yes"; then
76489
76490 for ac_func in __signbitl
76491 do
76492 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
76493 echo "$as_me:$LINENO: checking for $ac_func" >&5
76494 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
76495 if eval "test \"\${$as_ac_var+set}\" = set"; then
76496   echo $ECHO_N "(cached) $ECHO_C" >&6
76497 else
76498   if test x$gcc_no_link = xyes; then
76499   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
76500 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
76501    { (exit 1); exit 1; }; }
76502 fi
76503 cat >conftest.$ac_ext <<_ACEOF
76504 /* confdefs.h.  */
76505 _ACEOF
76506 cat confdefs.h >>conftest.$ac_ext
76507 cat >>conftest.$ac_ext <<_ACEOF
76508 /* end confdefs.h.  */
76509 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
76510    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
76511 #define $ac_func innocuous_$ac_func
76512
76513 /* System header to define __stub macros and hopefully few prototypes,
76514     which can conflict with char $ac_func (); below.
76515     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
76516     <limits.h> exists even on freestanding compilers.  */
76517
76518 #ifdef __STDC__
76519 # include <limits.h>
76520 #else
76521 # include <assert.h>
76522 #endif
76523
76524 #undef $ac_func
76525
76526 /* Override any gcc2 internal prototype to avoid an error.  */
76527 #ifdef __cplusplus
76528 extern "C"
76529 {
76530 #endif
76531 /* We use char because int might match the return type of a gcc2
76532    builtin and then its argument prototype would still apply.  */
76533 char $ac_func ();
76534 /* The GNU C library defines this for functions which it implements
76535     to always fail with ENOSYS.  Some functions are actually named
76536     something starting with __ and the normal name is an alias.  */
76537 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
76538 choke me
76539 #else
76540 char (*f) () = $ac_func;
76541 #endif
76542 #ifdef __cplusplus
76543 }
76544 #endif
76545
76546 int
76547 main ()
76548 {
76549 return f != $ac_func;
76550   ;
76551   return 0;
76552 }
76553 _ACEOF
76554 rm -f conftest.$ac_objext conftest$ac_exeext
76555 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
76556   (eval $ac_link) 2>conftest.er1
76557   ac_status=$?
76558   grep -v '^ *+' conftest.er1 >conftest.err
76559   rm -f conftest.er1
76560   cat conftest.err >&5
76561   echo "$as_me:$LINENO: \$? = $ac_status" >&5
76562   (exit $ac_status); } &&
76563          { ac_try='test -z "$ac_c_werror_flag"
76564                          || test ! -s conftest.err'
76565   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
76566   (eval $ac_try) 2>&5
76567   ac_status=$?
76568   echo "$as_me:$LINENO: \$? = $ac_status" >&5
76569   (exit $ac_status); }; } &&
76570          { ac_try='test -s conftest$ac_exeext'
76571   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
76572   (eval $ac_try) 2>&5
76573   ac_status=$?
76574   echo "$as_me:$LINENO: \$? = $ac_status" >&5
76575   (exit $ac_status); }; }; then
76576   eval "$as_ac_var=yes"
76577 else
76578   echo "$as_me: failed program was:" >&5
76579 sed 's/^/| /' conftest.$ac_ext >&5
76580
76581 eval "$as_ac_var=no"
76582 fi
76583 rm -f conftest.err conftest.$ac_objext \
76584       conftest$ac_exeext conftest.$ac_ext
76585 fi
76586 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
76587 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
76588 if test `eval echo '${'$as_ac_var'}'` = yes; then
76589   cat >>confdefs.h <<_ACEOF
76590 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
76591 _ACEOF
76592
76593 else
76594   LIBMATHOBJS="$LIBMATHOBJS signbitl.lo"
76595 fi
76596 done
76597
76598   fi
76599
76600   # Used in libmath/Makefile.am.
76601   if test -n "$LIBMATHOBJS"; then
76602     need_libmath=yes
76603   fi
76604
76605
76606     cat >>confdefs.h <<\_ACEOF
76607 #define HAVE_COPYSIGN 1
76608 _ACEOF
76609
76610     cat >>confdefs.h <<\_ACEOF
76611 #define HAVE_COPYSIGNF 1
76612 _ACEOF
76613
76614     cat >>confdefs.h <<\_ACEOF
76615 #define HAVE_FREXPF 1
76616 _ACEOF
76617
76618     cat >>confdefs.h <<\_ACEOF
76619 #define HAVE_HYPOT 1
76620 _ACEOF
76621
76622     case "$target" in
76623       *-hpux10*)
76624         cat >>confdefs.h <<\_ACEOF
76625 #define HAVE_FINITE 1
76626 _ACEOF
76627
76628         cat >>confdefs.h <<\_ACEOF
76629 #define HAVE_FINITEF 1
76630 _ACEOF
76631
76632         cat >>confdefs.h <<\_ACEOF
76633 #define HAVE_ISINF 1
76634 _ACEOF
76635
76636         cat >>confdefs.h <<\_ACEOF
76637 #define HAVE_ISINFF 1
76638 _ACEOF
76639
76640         cat >>confdefs.h <<\_ACEOF
76641 #define HAVE_ISNAN 1
76642 _ACEOF
76643
76644         cat >>confdefs.h <<\_ACEOF
76645 #define HAVE_ISNANF 1
76646 _ACEOF
76647
76648         ;;
76649     esac
76650     ;;
76651   *-linux* | *-uclinux* | *-gnu* | *-kfreebsd*-gnu | *-knetbsd*-gnu)
76652
76653
76654
76655
76656
76657
76658
76659
76660
76661
76662
76663
76664
76665
76666
76667 for ac_header in nan.h ieeefp.h endian.h sys/isa_defs.h \
76668       machine/endian.h machine/param.h sys/machine.h sys/types.h \
76669       fp.h float.h endian.h inttypes.h locale.h float.h stdint.h
76670 do
76671 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
76672 if eval "test \"\${$as_ac_Header+set}\" = set"; then
76673   echo "$as_me:$LINENO: checking for $ac_header" >&5
76674 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
76675 if eval "test \"\${$as_ac_Header+set}\" = set"; then
76676   echo $ECHO_N "(cached) $ECHO_C" >&6
76677 fi
76678 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
76679 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
76680 else
76681   # Is the header compilable?
76682 echo "$as_me:$LINENO: checking $ac_header usability" >&5
76683 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
76684 cat >conftest.$ac_ext <<_ACEOF
76685 /* confdefs.h.  */
76686 _ACEOF
76687 cat confdefs.h >>conftest.$ac_ext
76688 cat >>conftest.$ac_ext <<_ACEOF
76689 /* end confdefs.h.  */
76690 $ac_includes_default
76691 #include <$ac_header>
76692 _ACEOF
76693 rm -f conftest.$ac_objext
76694 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
76695   (eval $ac_compile) 2>conftest.er1
76696   ac_status=$?
76697   grep -v '^ *+' conftest.er1 >conftest.err
76698   rm -f conftest.er1
76699   cat conftest.err >&5
76700   echo "$as_me:$LINENO: \$? = $ac_status" >&5
76701   (exit $ac_status); } &&
76702          { ac_try='test -z "$ac_c_werror_flag"
76703                          || test ! -s conftest.err'
76704   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
76705   (eval $ac_try) 2>&5
76706   ac_status=$?
76707   echo "$as_me:$LINENO: \$? = $ac_status" >&5
76708   (exit $ac_status); }; } &&
76709          { ac_try='test -s conftest.$ac_objext'
76710   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
76711   (eval $ac_try) 2>&5
76712   ac_status=$?
76713   echo "$as_me:$LINENO: \$? = $ac_status" >&5
76714   (exit $ac_status); }; }; then
76715   ac_header_compiler=yes
76716 else
76717   echo "$as_me: failed program was:" >&5
76718 sed 's/^/| /' conftest.$ac_ext >&5
76719
76720 ac_header_compiler=no
76721 fi
76722 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
76723 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
76724 echo "${ECHO_T}$ac_header_compiler" >&6
76725
76726 # Is the header present?
76727 echo "$as_me:$LINENO: checking $ac_header presence" >&5
76728 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
76729 cat >conftest.$ac_ext <<_ACEOF
76730 /* confdefs.h.  */
76731 _ACEOF
76732 cat confdefs.h >>conftest.$ac_ext
76733 cat >>conftest.$ac_ext <<_ACEOF
76734 /* end confdefs.h.  */
76735 #include <$ac_header>
76736 _ACEOF
76737 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
76738   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
76739   ac_status=$?
76740   grep -v '^ *+' conftest.er1 >conftest.err
76741   rm -f conftest.er1
76742   cat conftest.err >&5
76743   echo "$as_me:$LINENO: \$? = $ac_status" >&5
76744   (exit $ac_status); } >/dev/null; then
76745   if test -s conftest.err; then
76746     ac_cpp_err=$ac_c_preproc_warn_flag
76747     ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
76748   else
76749     ac_cpp_err=
76750   fi
76751 else
76752   ac_cpp_err=yes
76753 fi
76754 if test -z "$ac_cpp_err"; then
76755   ac_header_preproc=yes
76756 else
76757   echo "$as_me: failed program was:" >&5
76758 sed 's/^/| /' conftest.$ac_ext >&5
76759
76760   ac_header_preproc=no
76761 fi
76762 rm -f conftest.err conftest.$ac_ext
76763 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
76764 echo "${ECHO_T}$ac_header_preproc" >&6
76765
76766 # So?  What about this header?
76767 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
76768   yes:no: )
76769     { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
76770 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
76771     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
76772 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
76773     ac_header_preproc=yes
76774     ;;
76775   no:yes:* )
76776     { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
76777 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
76778     { echo "$as_me:$LINENO: WARNING: $ac_header:     check for missing prerequisite headers?" >&5
76779 echo "$as_me: WARNING: $ac_header:     check for missing prerequisite headers?" >&2;}
76780     { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
76781 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
76782     { echo "$as_me:$LINENO: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&5
76783 echo "$as_me: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&2;}
76784     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
76785 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
76786     { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
76787 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
76788     (
76789       cat <<\_ASBOX
76790 ## ----------------------------------------- ##
76791 ## Report this to the package-unused lists.  ##
76792 ## ----------------------------------------- ##
76793 _ASBOX
76794     ) |
76795       sed "s/^/$as_me: WARNING:     /" >&2
76796     ;;
76797 esac
76798 echo "$as_me:$LINENO: checking for $ac_header" >&5
76799 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
76800 if eval "test \"\${$as_ac_Header+set}\" = set"; then
76801   echo $ECHO_N "(cached) $ECHO_C" >&6
76802 else
76803   eval "$as_ac_Header=\$ac_header_preproc"
76804 fi
76805 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
76806 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
76807
76808 fi
76809 if test `eval echo '${'$as_ac_Header'}'` = yes; then
76810   cat >>confdefs.h <<_ACEOF
76811 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
76812 _ACEOF
76813
76814 fi
76815
76816 done
76817
76818     SECTION_FLAGS='-ffunction-sections -fdata-sections'
76819
76820
76821   # All these tests are for C++; save the language and the compiler flags.
76822   # The CXXFLAGS thing is suspicious, but based on similar bits previously
76823   # found in GLIBCXX_CONFIGURE.
76824
76825
76826   ac_ext=cc
76827 ac_cpp='$CXXCPP $CPPFLAGS'
76828 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76829 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76830 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
76831
76832   ac_test_CXXFLAGS="${CXXFLAGS+set}"
76833   ac_save_CXXFLAGS="$CXXFLAGS"
76834
76835   # Check for maintainer-mode bits.
76836   if test x"$USE_MAINTAINER_MODE" = xno; then
76837     WERROR=''
76838   else
76839     WERROR='-Werror'
76840   fi
76841
76842   # Check for -ffunction-sections -fdata-sections
76843   echo "$as_me:$LINENO: checking for g++ that supports -ffunction-sections -fdata-sections" >&5
76844 echo $ECHO_N "checking for g++ that supports -ffunction-sections -fdata-sections... $ECHO_C" >&6
76845   CXXFLAGS='-Werror -ffunction-sections -fdata-sections'
76846   cat >conftest.$ac_ext <<_ACEOF
76847 /* confdefs.h.  */
76848 _ACEOF
76849 cat confdefs.h >>conftest.$ac_ext
76850 cat >>conftest.$ac_ext <<_ACEOF
76851 /* end confdefs.h.  */
76852
76853 int
76854 main ()
76855 {
76856 int foo;
76857   ;
76858   return 0;
76859 }
76860 _ACEOF
76861 rm -f conftest.$ac_objext
76862 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
76863   (eval $ac_compile) 2>conftest.er1
76864   ac_status=$?
76865   grep -v '^ *+' conftest.er1 >conftest.err
76866   rm -f conftest.er1
76867   cat conftest.err >&5
76868   echo "$as_me:$LINENO: \$? = $ac_status" >&5
76869   (exit $ac_status); } &&
76870          { ac_try='test -z "$ac_cxx_werror_flag"
76871                          || test ! -s conftest.err'
76872   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
76873   (eval $ac_try) 2>&5
76874   ac_status=$?
76875   echo "$as_me:$LINENO: \$? = $ac_status" >&5
76876   (exit $ac_status); }; } &&
76877          { ac_try='test -s conftest.$ac_objext'
76878   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
76879   (eval $ac_try) 2>&5
76880   ac_status=$?
76881   echo "$as_me:$LINENO: \$? = $ac_status" >&5
76882   (exit $ac_status); }; }; then
76883   ac_fdsections=yes
76884 else
76885   echo "$as_me: failed program was:" >&5
76886 sed 's/^/| /' conftest.$ac_ext >&5
76887
76888 ac_fdsections=no
76889 fi
76890 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
76891   if test "$ac_test_CXXFLAGS" = set; then
76892     CXXFLAGS="$ac_save_CXXFLAGS"
76893   else
76894     # this is the suspicious part
76895     CXXFLAGS=''
76896   fi
76897   if test x"$ac_fdsections" = x"yes"; then
76898     SECTION_FLAGS='-ffunction-sections -fdata-sections'
76899   fi
76900   echo "$as_me:$LINENO: result: $ac_fdsections" >&5
76901 echo "${ECHO_T}$ac_fdsections" >&6
76902
76903   ac_ext=c
76904 ac_cpp='$CPP $CPPFLAGS'
76905 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76906 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76907 ac_compiler_gnu=$ac_cv_c_compiler_gnu
76908
76909
76910
76911
76912
76913   # If we're not using GNU ld, then there's no point in even trying these
76914   # tests.  Check for that first.  We should have already tested for gld
76915   # by now (in libtool), but require it now just to be safe...
76916   test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
76917   test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
76918
76919
76920
76921   # The name set by libtool depends on the version of libtool.  Shame on us
76922   # for depending on an impl detail, but c'est la vie.  Older versions used
76923   # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
76924   # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
76925   # makes sense).  We'll test with_gnu_ld everywhere else, so if that isn't
76926   # set (hence we're using an older libtool), then set it.
76927   if test x${with_gnu_ld+set} != xset; then
76928     if test x${ac_cv_prog_gnu_ld+set} != xset; then
76929       # We got through "ac_require(ac_prog_ld)" and still not set?  Huh?
76930       with_gnu_ld=no
76931     else
76932       with_gnu_ld=$ac_cv_prog_gnu_ld
76933     fi
76934   fi
76935
76936   # Start by getting the version number.  I think the libtool test already
76937   # does some of this, but throws away the result.
76938   if test x"$with_gnu_ld" = x"yes"; then
76939     echo "$as_me:$LINENO: checking for ld version" >&5
76940 echo $ECHO_N "checking for ld version... $ECHO_C" >&6
76941
76942     ldver=`$LD --version 2>/dev/null | head -1 | \
76943            sed -e 's/GNU ld version \([0-9.][0-9.]*\).*/\1/'`
76944
76945     glibcxx_gnu_ld_version=`echo $ldver | \
76946            $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
76947     echo "$as_me:$LINENO: result: $glibcxx_gnu_ld_version" >&5
76948 echo "${ECHO_T}$glibcxx_gnu_ld_version" >&6
76949   fi
76950
76951   # Set --gc-sections.
76952   glibcxx_gcsections_min_ld=21602
76953   if test x"$with_gnu_ld" = x"yes" &&
76954         test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
76955
76956     # Sufficiently young GNU ld it is!  Joy and bunny rabbits!
76957     # NB: This flag only works reliably after 2.16.1. Configure tests
76958     # for this are difficult, so hard wire a value that should work.
76959
76960     # All these tests are for C++, but run with the "C" compiler driver.
76961     # Need to do this so that g++ won't try to link in libstdc++/libsupc++.
76962     ac_test_CFLAGS="${CFLAGS+set}"
76963     ac_save_CFLAGS="$CFLAGS"
76964     CFLAGS='-x c++ -Wl,--gc-sections'
76965
76966     # Check for -Wl,--gc-sections
76967     echo "$as_me:$LINENO: checking for ld that supports -Wl,--gc-sections" >&5
76968 echo $ECHO_N "checking for ld that supports -Wl,--gc-sections... $ECHO_C" >&6
76969     if test x$gcc_no_link = xyes; then
76970   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
76971 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
76972    { (exit 1); exit 1; }; }
76973 fi
76974 cat >conftest.$ac_ext <<_ACEOF
76975 /* confdefs.h.  */
76976 _ACEOF
76977 cat confdefs.h >>conftest.$ac_ext
76978 cat >>conftest.$ac_ext <<_ACEOF
76979 /* end confdefs.h.  */
76980  int one(void) { return 1; }
76981      int two(void) { return 2; }
76982
76983 int
76984 main ()
76985 {
76986  two();
76987   ;
76988   return 0;
76989 }
76990 _ACEOF
76991 rm -f conftest.$ac_objext conftest$ac_exeext
76992 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
76993   (eval $ac_link) 2>conftest.er1
76994   ac_status=$?
76995   grep -v '^ *+' conftest.er1 >conftest.err
76996   rm -f conftest.er1
76997   cat conftest.err >&5
76998   echo "$as_me:$LINENO: \$? = $ac_status" >&5
76999   (exit $ac_status); } &&
77000          { ac_try='test -z "$ac_c_werror_flag"
77001                          || test ! -s conftest.err'
77002   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
77003   (eval $ac_try) 2>&5
77004   ac_status=$?
77005   echo "$as_me:$LINENO: \$? = $ac_status" >&5
77006   (exit $ac_status); }; } &&
77007          { ac_try='test -s conftest$ac_exeext'
77008   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
77009   (eval $ac_try) 2>&5
77010   ac_status=$?
77011   echo "$as_me:$LINENO: \$? = $ac_status" >&5
77012   (exit $ac_status); }; }; then
77013   ac_gcsections=yes
77014 else
77015   echo "$as_me: failed program was:" >&5
77016 sed 's/^/| /' conftest.$ac_ext >&5
77017
77018 ac_gcsections=no
77019 fi
77020 rm -f conftest.err conftest.$ac_objext \
77021       conftest$ac_exeext conftest.$ac_ext
77022     if test "$ac_gcsections" = "yes"; then
77023       rm -f conftest.c
77024       touch conftest.c
77025       if $CC -c conftest.c; then
77026         if $LD --gc-sections -o conftest conftest.o 2>&1 | \
77027            grep "Warning: gc-sections option ignored" > /dev/null; then
77028           ac_gcsections=no
77029         fi
77030       fi
77031       rm -f conftest.c conftest.o conftest
77032     fi
77033     if test "$ac_gcsections" = "yes"; then
77034       SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
77035     fi
77036     echo "$as_me:$LINENO: result: $ac_gcsections" >&5
77037 echo "${ECHO_T}$ac_gcsections" >&6
77038
77039     if test "$ac_test_CFLAGS" = set; then
77040       CFLAGS="$ac_save_CFLAGS"
77041     else
77042       # this is the suspicious part
77043       CFLAGS=''
77044     fi
77045   fi
77046
77047   # Set -z,relro.
77048   # Note this is only for shared objects.
77049   ac_ld_relro=no
77050   if test x"$with_gnu_ld" = x"yes"; then
77051     echo "$as_me:$LINENO: checking for ld that supports -Wl,-z,relro" >&5
77052 echo $ECHO_N "checking for ld that supports -Wl,-z,relro... $ECHO_C" >&6
77053     cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
77054     if test -n "$cxx_z_relo"; then
77055       OPT_LDFLAGS="-Wl,-z,relro"
77056       ac_ld_relro=yes
77057     fi
77058     echo "$as_me:$LINENO: result: $ac_ld_relro" >&5
77059 echo "${ECHO_T}$ac_ld_relro" >&6
77060   fi
77061
77062   # Set linker optimization flags.
77063   if test x"$with_gnu_ld" = x"yes"; then
77064     OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
77065   fi
77066
77067
77068
77069
77070
77071   ac_test_CXXFLAGS="${CXXFLAGS+set}"
77072   ac_save_CXXFLAGS="$CXXFLAGS"
77073   CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
77074
77075     echo "$as_me:$LINENO: checking for sin in -lm" >&5
77076 echo $ECHO_N "checking for sin in -lm... $ECHO_C" >&6
77077 if test "${ac_cv_lib_m_sin+set}" = set; then
77078   echo $ECHO_N "(cached) $ECHO_C" >&6
77079 else
77080   ac_check_lib_save_LIBS=$LIBS
77081 LIBS="-lm  $LIBS"
77082 if test x$gcc_no_link = xyes; then
77083   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
77084 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
77085    { (exit 1); exit 1; }; }
77086 fi
77087 cat >conftest.$ac_ext <<_ACEOF
77088 /* confdefs.h.  */
77089 _ACEOF
77090 cat confdefs.h >>conftest.$ac_ext
77091 cat >>conftest.$ac_ext <<_ACEOF
77092 /* end confdefs.h.  */
77093
77094 /* Override any gcc2 internal prototype to avoid an error.  */
77095 #ifdef __cplusplus
77096 extern "C"
77097 #endif
77098 /* We use char because int might match the return type of a gcc2
77099    builtin and then its argument prototype would still apply.  */
77100 char sin ();
77101 int
77102 main ()
77103 {
77104 sin ();
77105   ;
77106   return 0;
77107 }
77108 _ACEOF
77109 rm -f conftest.$ac_objext conftest$ac_exeext
77110 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
77111   (eval $ac_link) 2>conftest.er1
77112   ac_status=$?
77113   grep -v '^ *+' conftest.er1 >conftest.err
77114   rm -f conftest.er1
77115   cat conftest.err >&5
77116   echo "$as_me:$LINENO: \$? = $ac_status" >&5
77117   (exit $ac_status); } &&
77118          { ac_try='test -z "$ac_c_werror_flag"
77119                          || test ! -s conftest.err'
77120   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
77121   (eval $ac_try) 2>&5
77122   ac_status=$?
77123   echo "$as_me:$LINENO: \$? = $ac_status" >&5
77124   (exit $ac_status); }; } &&
77125          { ac_try='test -s conftest$ac_exeext'
77126   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
77127   (eval $ac_try) 2>&5
77128   ac_status=$?
77129   echo "$as_me:$LINENO: \$? = $ac_status" >&5
77130   (exit $ac_status); }; }; then
77131   ac_cv_lib_m_sin=yes
77132 else
77133   echo "$as_me: failed program was:" >&5
77134 sed 's/^/| /' conftest.$ac_ext >&5
77135
77136 ac_cv_lib_m_sin=no
77137 fi
77138 rm -f conftest.err conftest.$ac_objext \
77139       conftest$ac_exeext conftest.$ac_ext
77140 LIBS=$ac_check_lib_save_LIBS
77141 fi
77142 echo "$as_me:$LINENO: result: $ac_cv_lib_m_sin" >&5
77143 echo "${ECHO_T}$ac_cv_lib_m_sin" >&6
77144 if test $ac_cv_lib_m_sin = yes; then
77145   libm="-lm"
77146 fi
77147
77148   ac_save_LIBS="$LIBS"
77149   LIBS="$LIBS $libm"
77150
77151
77152
77153   echo "$as_me:$LINENO: checking for isinf declaration" >&5
77154 echo $ECHO_N "checking for isinf declaration... $ECHO_C" >&6
77155   if test x${glibcxx_cv_func_isinf_use+set} != xset; then
77156     if test "${glibcxx_cv_func_isinf_use+set}" = set; then
77157   echo $ECHO_N "(cached) $ECHO_C" >&6
77158 else
77159
77160
77161
77162       ac_ext=cc
77163 ac_cpp='$CXXCPP $CPPFLAGS'
77164 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
77165 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
77166 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
77167
77168       cat >conftest.$ac_ext <<_ACEOF
77169 /* confdefs.h.  */
77170 _ACEOF
77171 cat confdefs.h >>conftest.$ac_ext
77172 cat >>conftest.$ac_ext <<_ACEOF
77173 /* end confdefs.h.  */
77174 #include <math.h>
77175                       #ifdef HAVE_IEEEFP_H
77176                       #include <ieeefp.h>
77177                       #endif
77178
77179 int
77180 main ()
77181 {
77182  isinf(0);
77183   ;
77184   return 0;
77185 }
77186 _ACEOF
77187 rm -f conftest.$ac_objext
77188 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
77189   (eval $ac_compile) 2>conftest.er1
77190   ac_status=$?
77191   grep -v '^ *+' conftest.er1 >conftest.err
77192   rm -f conftest.er1
77193   cat conftest.err >&5
77194   echo "$as_me:$LINENO: \$? = $ac_status" >&5
77195   (exit $ac_status); } &&
77196          { ac_try='test -z "$ac_cxx_werror_flag"
77197                          || test ! -s conftest.err'
77198   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
77199   (eval $ac_try) 2>&5
77200   ac_status=$?
77201   echo "$as_me:$LINENO: \$? = $ac_status" >&5
77202   (exit $ac_status); }; } &&
77203          { ac_try='test -s conftest.$ac_objext'
77204   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
77205   (eval $ac_try) 2>&5
77206   ac_status=$?
77207   echo "$as_me:$LINENO: \$? = $ac_status" >&5
77208   (exit $ac_status); }; }; then
77209   glibcxx_cv_func_isinf_use=yes
77210 else
77211   echo "$as_me: failed program was:" >&5
77212 sed 's/^/| /' conftest.$ac_ext >&5
77213
77214 glibcxx_cv_func_isinf_use=no
77215 fi
77216 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
77217       ac_ext=c
77218 ac_cpp='$CPP $CPPFLAGS'
77219 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
77220 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
77221 ac_compiler_gnu=$ac_cv_c_compiler_gnu
77222
77223
77224 fi
77225
77226   fi
77227   echo "$as_me:$LINENO: result: $glibcxx_cv_func_isinf_use" >&5
77228 echo "${ECHO_T}$glibcxx_cv_func_isinf_use" >&6
77229
77230   if test x$glibcxx_cv_func_isinf_use = x"yes"; then
77231
77232 for ac_func in isinf
77233 do
77234 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
77235 echo "$as_me:$LINENO: checking for $ac_func" >&5
77236 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
77237 if eval "test \"\${$as_ac_var+set}\" = set"; then
77238   echo $ECHO_N "(cached) $ECHO_C" >&6
77239 else
77240   if test x$gcc_no_link = xyes; then
77241   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
77242 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
77243    { (exit 1); exit 1; }; }
77244 fi
77245 cat >conftest.$ac_ext <<_ACEOF
77246 /* confdefs.h.  */
77247 _ACEOF
77248 cat confdefs.h >>conftest.$ac_ext
77249 cat >>conftest.$ac_ext <<_ACEOF
77250 /* end confdefs.h.  */
77251 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
77252    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
77253 #define $ac_func innocuous_$ac_func
77254
77255 /* System header to define __stub macros and hopefully few prototypes,
77256     which can conflict with char $ac_func (); below.
77257     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
77258     <limits.h> exists even on freestanding compilers.  */
77259
77260 #ifdef __STDC__
77261 # include <limits.h>
77262 #else
77263 # include <assert.h>
77264 #endif
77265
77266 #undef $ac_func
77267
77268 /* Override any gcc2 internal prototype to avoid an error.  */
77269 #ifdef __cplusplus
77270 extern "C"
77271 {
77272 #endif
77273 /* We use char because int might match the return type of a gcc2
77274    builtin and then its argument prototype would still apply.  */
77275 char $ac_func ();
77276 /* The GNU C library defines this for functions which it implements
77277     to always fail with ENOSYS.  Some functions are actually named
77278     something starting with __ and the normal name is an alias.  */
77279 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
77280 choke me
77281 #else
77282 char (*f) () = $ac_func;
77283 #endif
77284 #ifdef __cplusplus
77285 }
77286 #endif
77287
77288 int
77289 main ()
77290 {
77291 return f != $ac_func;
77292   ;
77293   return 0;
77294 }
77295 _ACEOF
77296 rm -f conftest.$ac_objext conftest$ac_exeext
77297 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
77298   (eval $ac_link) 2>conftest.er1
77299   ac_status=$?
77300   grep -v '^ *+' conftest.er1 >conftest.err
77301   rm -f conftest.er1
77302   cat conftest.err >&5
77303   echo "$as_me:$LINENO: \$? = $ac_status" >&5
77304   (exit $ac_status); } &&
77305          { ac_try='test -z "$ac_c_werror_flag"
77306                          || test ! -s conftest.err'
77307   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
77308   (eval $ac_try) 2>&5
77309   ac_status=$?
77310   echo "$as_me:$LINENO: \$? = $ac_status" >&5
77311   (exit $ac_status); }; } &&
77312          { ac_try='test -s conftest$ac_exeext'
77313   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
77314   (eval $ac_try) 2>&5
77315   ac_status=$?
77316   echo "$as_me:$LINENO: \$? = $ac_status" >&5
77317   (exit $ac_status); }; }; then
77318   eval "$as_ac_var=yes"
77319 else
77320   echo "$as_me: failed program was:" >&5
77321 sed 's/^/| /' conftest.$ac_ext >&5
77322
77323 eval "$as_ac_var=no"
77324 fi
77325 rm -f conftest.err conftest.$ac_objext \
77326       conftest$ac_exeext conftest.$ac_ext
77327 fi
77328 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
77329 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
77330 if test `eval echo '${'$as_ac_var'}'` = yes; then
77331   cat >>confdefs.h <<_ACEOF
77332 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
77333 _ACEOF
77334
77335 fi
77336 done
77337
77338   else
77339
77340   echo "$as_me:$LINENO: checking for _isinf declaration" >&5
77341 echo $ECHO_N "checking for _isinf declaration... $ECHO_C" >&6
77342   if test x${glibcxx_cv_func__isinf_use+set} != xset; then
77343     if test "${glibcxx_cv_func__isinf_use+set}" = set; then
77344   echo $ECHO_N "(cached) $ECHO_C" >&6
77345 else
77346
77347
77348
77349       ac_ext=cc
77350 ac_cpp='$CXXCPP $CPPFLAGS'
77351 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
77352 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
77353 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
77354
77355       cat >conftest.$ac_ext <<_ACEOF
77356 /* confdefs.h.  */
77357 _ACEOF
77358 cat confdefs.h >>conftest.$ac_ext
77359 cat >>conftest.$ac_ext <<_ACEOF
77360 /* end confdefs.h.  */
77361 #include <math.h>
77362                       #ifdef HAVE_IEEEFP_H
77363                       #include <ieeefp.h>
77364                       #endif
77365
77366 int
77367 main ()
77368 {
77369  _isinf(0);
77370   ;
77371   return 0;
77372 }
77373 _ACEOF
77374 rm -f conftest.$ac_objext
77375 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
77376   (eval $ac_compile) 2>conftest.er1
77377   ac_status=$?
77378   grep -v '^ *+' conftest.er1 >conftest.err
77379   rm -f conftest.er1
77380   cat conftest.err >&5
77381   echo "$as_me:$LINENO: \$? = $ac_status" >&5
77382   (exit $ac_status); } &&
77383          { ac_try='test -z "$ac_cxx_werror_flag"
77384                          || test ! -s conftest.err'
77385   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
77386   (eval $ac_try) 2>&5
77387   ac_status=$?
77388   echo "$as_me:$LINENO: \$? = $ac_status" >&5
77389   (exit $ac_status); }; } &&
77390          { ac_try='test -s conftest.$ac_objext'
77391   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
77392   (eval $ac_try) 2>&5
77393   ac_status=$?
77394   echo "$as_me:$LINENO: \$? = $ac_status" >&5
77395   (exit $ac_status); }; }; then
77396   glibcxx_cv_func__isinf_use=yes
77397 else
77398   echo "$as_me: failed program was:" >&5
77399 sed 's/^/| /' conftest.$ac_ext >&5
77400
77401 glibcxx_cv_func__isinf_use=no
77402 fi
77403 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
77404       ac_ext=c
77405 ac_cpp='$CPP $CPPFLAGS'
77406 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
77407 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
77408 ac_compiler_gnu=$ac_cv_c_compiler_gnu
77409
77410
77411 fi
77412
77413   fi
77414   echo "$as_me:$LINENO: result: $glibcxx_cv_func__isinf_use" >&5
77415 echo "${ECHO_T}$glibcxx_cv_func__isinf_use" >&6
77416
77417     if test x$glibcxx_cv_func__isinf_use = x"yes"; then
77418
77419 for ac_func in _isinf
77420 do
77421 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
77422 echo "$as_me:$LINENO: checking for $ac_func" >&5
77423 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
77424 if eval "test \"\${$as_ac_var+set}\" = set"; then
77425   echo $ECHO_N "(cached) $ECHO_C" >&6
77426 else
77427   if test x$gcc_no_link = xyes; then
77428   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
77429 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
77430    { (exit 1); exit 1; }; }
77431 fi
77432 cat >conftest.$ac_ext <<_ACEOF
77433 /* confdefs.h.  */
77434 _ACEOF
77435 cat confdefs.h >>conftest.$ac_ext
77436 cat >>conftest.$ac_ext <<_ACEOF
77437 /* end confdefs.h.  */
77438 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
77439    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
77440 #define $ac_func innocuous_$ac_func
77441
77442 /* System header to define __stub macros and hopefully few prototypes,
77443     which can conflict with char $ac_func (); below.
77444     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
77445     <limits.h> exists even on freestanding compilers.  */
77446
77447 #ifdef __STDC__
77448 # include <limits.h>
77449 #else
77450 # include <assert.h>
77451 #endif
77452
77453 #undef $ac_func
77454
77455 /* Override any gcc2 internal prototype to avoid an error.  */
77456 #ifdef __cplusplus
77457 extern "C"
77458 {
77459 #endif
77460 /* We use char because int might match the return type of a gcc2
77461    builtin and then its argument prototype would still apply.  */
77462 char $ac_func ();
77463 /* The GNU C library defines this for functions which it implements
77464     to always fail with ENOSYS.  Some functions are actually named
77465     something starting with __ and the normal name is an alias.  */
77466 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
77467 choke me
77468 #else
77469 char (*f) () = $ac_func;
77470 #endif
77471 #ifdef __cplusplus
77472 }
77473 #endif
77474
77475 int
77476 main ()
77477 {
77478 return f != $ac_func;
77479   ;
77480   return 0;
77481 }
77482 _ACEOF
77483 rm -f conftest.$ac_objext conftest$ac_exeext
77484 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
77485   (eval $ac_link) 2>conftest.er1
77486   ac_status=$?
77487   grep -v '^ *+' conftest.er1 >conftest.err
77488   rm -f conftest.er1
77489   cat conftest.err >&5
77490   echo "$as_me:$LINENO: \$? = $ac_status" >&5
77491   (exit $ac_status); } &&
77492          { ac_try='test -z "$ac_c_werror_flag"
77493                          || test ! -s conftest.err'
77494   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
77495   (eval $ac_try) 2>&5
77496   ac_status=$?
77497   echo "$as_me:$LINENO: \$? = $ac_status" >&5
77498   (exit $ac_status); }; } &&
77499          { ac_try='test -s conftest$ac_exeext'
77500   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
77501   (eval $ac_try) 2>&5
77502   ac_status=$?
77503   echo "$as_me:$LINENO: \$? = $ac_status" >&5
77504   (exit $ac_status); }; }; then
77505   eval "$as_ac_var=yes"
77506 else
77507   echo "$as_me: failed program was:" >&5
77508 sed 's/^/| /' conftest.$ac_ext >&5
77509
77510 eval "$as_ac_var=no"
77511 fi
77512 rm -f conftest.err conftest.$ac_objext \
77513       conftest$ac_exeext conftest.$ac_ext
77514 fi
77515 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
77516 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
77517 if test `eval echo '${'$as_ac_var'}'` = yes; then
77518   cat >>confdefs.h <<_ACEOF
77519 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
77520 _ACEOF
77521
77522 fi
77523 done
77524
77525     fi
77526   fi
77527
77528
77529
77530
77531
77532
77533   echo "$as_me:$LINENO: checking for isnan declaration" >&5
77534 echo $ECHO_N "checking for isnan declaration... $ECHO_C" >&6
77535   if test x${glibcxx_cv_func_isnan_use+set} != xset; then
77536     if test "${glibcxx_cv_func_isnan_use+set}" = set; then
77537   echo $ECHO_N "(cached) $ECHO_C" >&6
77538 else
77539
77540
77541
77542       ac_ext=cc
77543 ac_cpp='$CXXCPP $CPPFLAGS'
77544 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
77545 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
77546 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
77547
77548       cat >conftest.$ac_ext <<_ACEOF
77549 /* confdefs.h.  */
77550 _ACEOF
77551 cat confdefs.h >>conftest.$ac_ext
77552 cat >>conftest.$ac_ext <<_ACEOF
77553 /* end confdefs.h.  */
77554 #include <math.h>
77555                       #ifdef HAVE_IEEEFP_H
77556                       #include <ieeefp.h>
77557                       #endif
77558
77559 int
77560 main ()
77561 {
77562  isnan(0);
77563   ;
77564   return 0;
77565 }
77566 _ACEOF
77567 rm -f conftest.$ac_objext
77568 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
77569   (eval $ac_compile) 2>conftest.er1
77570   ac_status=$?
77571   grep -v '^ *+' conftest.er1 >conftest.err
77572   rm -f conftest.er1
77573   cat conftest.err >&5
77574   echo "$as_me:$LINENO: \$? = $ac_status" >&5
77575   (exit $ac_status); } &&
77576          { ac_try='test -z "$ac_cxx_werror_flag"
77577                          || test ! -s conftest.err'
77578   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
77579   (eval $ac_try) 2>&5
77580   ac_status=$?
77581   echo "$as_me:$LINENO: \$? = $ac_status" >&5
77582   (exit $ac_status); }; } &&
77583          { ac_try='test -s conftest.$ac_objext'
77584   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
77585   (eval $ac_try) 2>&5
77586   ac_status=$?
77587   echo "$as_me:$LINENO: \$? = $ac_status" >&5
77588   (exit $ac_status); }; }; then
77589   glibcxx_cv_func_isnan_use=yes
77590 else
77591   echo "$as_me: failed program was:" >&5
77592 sed 's/^/| /' conftest.$ac_ext >&5
77593
77594 glibcxx_cv_func_isnan_use=no
77595 fi
77596 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
77597       ac_ext=c
77598 ac_cpp='$CPP $CPPFLAGS'
77599 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
77600 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
77601 ac_compiler_gnu=$ac_cv_c_compiler_gnu
77602
77603
77604 fi
77605
77606   fi
77607   echo "$as_me:$LINENO: result: $glibcxx_cv_func_isnan_use" >&5
77608 echo "${ECHO_T}$glibcxx_cv_func_isnan_use" >&6
77609
77610   if test x$glibcxx_cv_func_isnan_use = x"yes"; then
77611
77612 for ac_func in isnan
77613 do
77614 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
77615 echo "$as_me:$LINENO: checking for $ac_func" >&5
77616 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
77617 if eval "test \"\${$as_ac_var+set}\" = set"; then
77618   echo $ECHO_N "(cached) $ECHO_C" >&6
77619 else
77620   if test x$gcc_no_link = xyes; then
77621   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
77622 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
77623    { (exit 1); exit 1; }; }
77624 fi
77625 cat >conftest.$ac_ext <<_ACEOF
77626 /* confdefs.h.  */
77627 _ACEOF
77628 cat confdefs.h >>conftest.$ac_ext
77629 cat >>conftest.$ac_ext <<_ACEOF
77630 /* end confdefs.h.  */
77631 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
77632    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
77633 #define $ac_func innocuous_$ac_func
77634
77635 /* System header to define __stub macros and hopefully few prototypes,
77636     which can conflict with char $ac_func (); below.
77637     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
77638     <limits.h> exists even on freestanding compilers.  */
77639
77640 #ifdef __STDC__
77641 # include <limits.h>
77642 #else
77643 # include <assert.h>
77644 #endif
77645
77646 #undef $ac_func
77647
77648 /* Override any gcc2 internal prototype to avoid an error.  */
77649 #ifdef __cplusplus
77650 extern "C"
77651 {
77652 #endif
77653 /* We use char because int might match the return type of a gcc2
77654    builtin and then its argument prototype would still apply.  */
77655 char $ac_func ();
77656 /* The GNU C library defines this for functions which it implements
77657     to always fail with ENOSYS.  Some functions are actually named
77658     something starting with __ and the normal name is an alias.  */
77659 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
77660 choke me
77661 #else
77662 char (*f) () = $ac_func;
77663 #endif
77664 #ifdef __cplusplus
77665 }
77666 #endif
77667
77668 int
77669 main ()
77670 {
77671 return f != $ac_func;
77672   ;
77673   return 0;
77674 }
77675 _ACEOF
77676 rm -f conftest.$ac_objext conftest$ac_exeext
77677 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
77678   (eval $ac_link) 2>conftest.er1
77679   ac_status=$?
77680   grep -v '^ *+' conftest.er1 >conftest.err
77681   rm -f conftest.er1
77682   cat conftest.err >&5
77683   echo "$as_me:$LINENO: \$? = $ac_status" >&5
77684   (exit $ac_status); } &&
77685          { ac_try='test -z "$ac_c_werror_flag"
77686                          || test ! -s conftest.err'
77687   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
77688   (eval $ac_try) 2>&5
77689   ac_status=$?
77690   echo "$as_me:$LINENO: \$? = $ac_status" >&5
77691   (exit $ac_status); }; } &&
77692          { ac_try='test -s conftest$ac_exeext'
77693   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
77694   (eval $ac_try) 2>&5
77695   ac_status=$?
77696   echo "$as_me:$LINENO: \$? = $ac_status" >&5
77697   (exit $ac_status); }; }; then
77698   eval "$as_ac_var=yes"
77699 else
77700   echo "$as_me: failed program was:" >&5
77701 sed 's/^/| /' conftest.$ac_ext >&5
77702
77703 eval "$as_ac_var=no"
77704 fi
77705 rm -f conftest.err conftest.$ac_objext \
77706       conftest$ac_exeext conftest.$ac_ext
77707 fi
77708 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
77709 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
77710 if test `eval echo '${'$as_ac_var'}'` = yes; then
77711   cat >>confdefs.h <<_ACEOF
77712 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
77713 _ACEOF
77714
77715 fi
77716 done
77717
77718   else
77719
77720   echo "$as_me:$LINENO: checking for _isnan declaration" >&5
77721 echo $ECHO_N "checking for _isnan declaration... $ECHO_C" >&6
77722   if test x${glibcxx_cv_func__isnan_use+set} != xset; then
77723     if test "${glibcxx_cv_func__isnan_use+set}" = set; then
77724   echo $ECHO_N "(cached) $ECHO_C" >&6
77725 else
77726
77727
77728
77729       ac_ext=cc
77730 ac_cpp='$CXXCPP $CPPFLAGS'
77731 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
77732 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
77733 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
77734
77735       cat >conftest.$ac_ext <<_ACEOF
77736 /* confdefs.h.  */
77737 _ACEOF
77738 cat confdefs.h >>conftest.$ac_ext
77739 cat >>conftest.$ac_ext <<_ACEOF
77740 /* end confdefs.h.  */
77741 #include <math.h>
77742                       #ifdef HAVE_IEEEFP_H
77743                       #include <ieeefp.h>
77744                       #endif
77745
77746 int
77747 main ()
77748 {
77749  _isnan(0);
77750   ;
77751   return 0;
77752 }
77753 _ACEOF
77754 rm -f conftest.$ac_objext
77755 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
77756   (eval $ac_compile) 2>conftest.er1
77757   ac_status=$?
77758   grep -v '^ *+' conftest.er1 >conftest.err
77759   rm -f conftest.er1
77760   cat conftest.err >&5
77761   echo "$as_me:$LINENO: \$? = $ac_status" >&5
77762   (exit $ac_status); } &&
77763          { ac_try='test -z "$ac_cxx_werror_flag"
77764                          || test ! -s conftest.err'
77765   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
77766   (eval $ac_try) 2>&5
77767   ac_status=$?
77768   echo "$as_me:$LINENO: \$? = $ac_status" >&5
77769   (exit $ac_status); }; } &&
77770          { ac_try='test -s conftest.$ac_objext'
77771   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
77772   (eval $ac_try) 2>&5
77773   ac_status=$?
77774   echo "$as_me:$LINENO: \$? = $ac_status" >&5
77775   (exit $ac_status); }; }; then
77776   glibcxx_cv_func__isnan_use=yes
77777 else
77778   echo "$as_me: failed program was:" >&5
77779 sed 's/^/| /' conftest.$ac_ext >&5
77780
77781 glibcxx_cv_func__isnan_use=no
77782 fi
77783 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
77784       ac_ext=c
77785 ac_cpp='$CPP $CPPFLAGS'
77786 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
77787 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
77788 ac_compiler_gnu=$ac_cv_c_compiler_gnu
77789
77790
77791 fi
77792
77793   fi
77794   echo "$as_me:$LINENO: result: $glibcxx_cv_func__isnan_use" >&5
77795 echo "${ECHO_T}$glibcxx_cv_func__isnan_use" >&6
77796
77797     if test x$glibcxx_cv_func__isnan_use = x"yes"; then
77798
77799 for ac_func in _isnan
77800 do
77801 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
77802 echo "$as_me:$LINENO: checking for $ac_func" >&5
77803 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
77804 if eval "test \"\${$as_ac_var+set}\" = set"; then
77805   echo $ECHO_N "(cached) $ECHO_C" >&6
77806 else
77807   if test x$gcc_no_link = xyes; then
77808   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
77809 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
77810    { (exit 1); exit 1; }; }
77811 fi
77812 cat >conftest.$ac_ext <<_ACEOF
77813 /* confdefs.h.  */
77814 _ACEOF
77815 cat confdefs.h >>conftest.$ac_ext
77816 cat >>conftest.$ac_ext <<_ACEOF
77817 /* end confdefs.h.  */
77818 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
77819    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
77820 #define $ac_func innocuous_$ac_func
77821
77822 /* System header to define __stub macros and hopefully few prototypes,
77823     which can conflict with char $ac_func (); below.
77824     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
77825     <limits.h> exists even on freestanding compilers.  */
77826
77827 #ifdef __STDC__
77828 # include <limits.h>
77829 #else
77830 # include <assert.h>
77831 #endif
77832
77833 #undef $ac_func
77834
77835 /* Override any gcc2 internal prototype to avoid an error.  */
77836 #ifdef __cplusplus
77837 extern "C"
77838 {
77839 #endif
77840 /* We use char because int might match the return type of a gcc2
77841    builtin and then its argument prototype would still apply.  */
77842 char $ac_func ();
77843 /* The GNU C library defines this for functions which it implements
77844     to always fail with ENOSYS.  Some functions are actually named
77845     something starting with __ and the normal name is an alias.  */
77846 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
77847 choke me
77848 #else
77849 char (*f) () = $ac_func;
77850 #endif
77851 #ifdef __cplusplus
77852 }
77853 #endif
77854
77855 int
77856 main ()
77857 {
77858 return f != $ac_func;
77859   ;
77860   return 0;
77861 }
77862 _ACEOF
77863 rm -f conftest.$ac_objext conftest$ac_exeext
77864 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
77865   (eval $ac_link) 2>conftest.er1
77866   ac_status=$?
77867   grep -v '^ *+' conftest.er1 >conftest.err
77868   rm -f conftest.er1
77869   cat conftest.err >&5
77870   echo "$as_me:$LINENO: \$? = $ac_status" >&5
77871   (exit $ac_status); } &&
77872          { ac_try='test -z "$ac_c_werror_flag"
77873                          || test ! -s conftest.err'
77874   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
77875   (eval $ac_try) 2>&5
77876   ac_status=$?
77877   echo "$as_me:$LINENO: \$? = $ac_status" >&5
77878   (exit $ac_status); }; } &&
77879          { ac_try='test -s conftest$ac_exeext'
77880   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
77881   (eval $ac_try) 2>&5
77882   ac_status=$?
77883   echo "$as_me:$LINENO: \$? = $ac_status" >&5
77884   (exit $ac_status); }; }; then
77885   eval "$as_ac_var=yes"
77886 else
77887   echo "$as_me: failed program was:" >&5
77888 sed 's/^/| /' conftest.$ac_ext >&5
77889
77890 eval "$as_ac_var=no"
77891 fi
77892 rm -f conftest.err conftest.$ac_objext \
77893       conftest$ac_exeext conftest.$ac_ext
77894 fi
77895 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
77896 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
77897 if test `eval echo '${'$as_ac_var'}'` = yes; then
77898   cat >>confdefs.h <<_ACEOF
77899 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
77900 _ACEOF
77901
77902 fi
77903 done
77904
77905     fi
77906   fi
77907
77908
77909
77910
77911
77912
77913   echo "$as_me:$LINENO: checking for finite declaration" >&5
77914 echo $ECHO_N "checking for finite declaration... $ECHO_C" >&6
77915   if test x${glibcxx_cv_func_finite_use+set} != xset; then
77916     if test "${glibcxx_cv_func_finite_use+set}" = set; then
77917   echo $ECHO_N "(cached) $ECHO_C" >&6
77918 else
77919
77920
77921
77922       ac_ext=cc
77923 ac_cpp='$CXXCPP $CPPFLAGS'
77924 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
77925 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
77926 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
77927
77928       cat >conftest.$ac_ext <<_ACEOF
77929 /* confdefs.h.  */
77930 _ACEOF
77931 cat confdefs.h >>conftest.$ac_ext
77932 cat >>conftest.$ac_ext <<_ACEOF
77933 /* end confdefs.h.  */
77934 #include <math.h>
77935                       #ifdef HAVE_IEEEFP_H
77936                       #include <ieeefp.h>
77937                       #endif
77938
77939 int
77940 main ()
77941 {
77942  finite(0);
77943   ;
77944   return 0;
77945 }
77946 _ACEOF
77947 rm -f conftest.$ac_objext
77948 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
77949   (eval $ac_compile) 2>conftest.er1
77950   ac_status=$?
77951   grep -v '^ *+' conftest.er1 >conftest.err
77952   rm -f conftest.er1
77953   cat conftest.err >&5
77954   echo "$as_me:$LINENO: \$? = $ac_status" >&5
77955   (exit $ac_status); } &&
77956          { ac_try='test -z "$ac_cxx_werror_flag"
77957                          || test ! -s conftest.err'
77958   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
77959   (eval $ac_try) 2>&5
77960   ac_status=$?
77961   echo "$as_me:$LINENO: \$? = $ac_status" >&5
77962   (exit $ac_status); }; } &&
77963          { ac_try='test -s conftest.$ac_objext'
77964   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
77965   (eval $ac_try) 2>&5
77966   ac_status=$?
77967   echo "$as_me:$LINENO: \$? = $ac_status" >&5
77968   (exit $ac_status); }; }; then
77969   glibcxx_cv_func_finite_use=yes
77970 else
77971   echo "$as_me: failed program was:" >&5
77972 sed 's/^/| /' conftest.$ac_ext >&5
77973
77974 glibcxx_cv_func_finite_use=no
77975 fi
77976 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
77977       ac_ext=c
77978 ac_cpp='$CPP $CPPFLAGS'
77979 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
77980 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
77981 ac_compiler_gnu=$ac_cv_c_compiler_gnu
77982
77983
77984 fi
77985
77986   fi
77987   echo "$as_me:$LINENO: result: $glibcxx_cv_func_finite_use" >&5
77988 echo "${ECHO_T}$glibcxx_cv_func_finite_use" >&6
77989
77990   if test x$glibcxx_cv_func_finite_use = x"yes"; then
77991
77992 for ac_func in finite
77993 do
77994 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
77995 echo "$as_me:$LINENO: checking for $ac_func" >&5
77996 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
77997 if eval "test \"\${$as_ac_var+set}\" = set"; then
77998   echo $ECHO_N "(cached) $ECHO_C" >&6
77999 else
78000   if test x$gcc_no_link = xyes; then
78001   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
78002 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
78003    { (exit 1); exit 1; }; }
78004 fi
78005 cat >conftest.$ac_ext <<_ACEOF
78006 /* confdefs.h.  */
78007 _ACEOF
78008 cat confdefs.h >>conftest.$ac_ext
78009 cat >>conftest.$ac_ext <<_ACEOF
78010 /* end confdefs.h.  */
78011 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
78012    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
78013 #define $ac_func innocuous_$ac_func
78014
78015 /* System header to define __stub macros and hopefully few prototypes,
78016     which can conflict with char $ac_func (); below.
78017     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
78018     <limits.h> exists even on freestanding compilers.  */
78019
78020 #ifdef __STDC__
78021 # include <limits.h>
78022 #else
78023 # include <assert.h>
78024 #endif
78025
78026 #undef $ac_func
78027
78028 /* Override any gcc2 internal prototype to avoid an error.  */
78029 #ifdef __cplusplus
78030 extern "C"
78031 {
78032 #endif
78033 /* We use char because int might match the return type of a gcc2
78034    builtin and then its argument prototype would still apply.  */
78035 char $ac_func ();
78036 /* The GNU C library defines this for functions which it implements
78037     to always fail with ENOSYS.  Some functions are actually named
78038     something starting with __ and the normal name is an alias.  */
78039 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
78040 choke me
78041 #else
78042 char (*f) () = $ac_func;
78043 #endif
78044 #ifdef __cplusplus
78045 }
78046 #endif
78047
78048 int
78049 main ()
78050 {
78051 return f != $ac_func;
78052   ;
78053   return 0;
78054 }
78055 _ACEOF
78056 rm -f conftest.$ac_objext conftest$ac_exeext
78057 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
78058   (eval $ac_link) 2>conftest.er1
78059   ac_status=$?
78060   grep -v '^ *+' conftest.er1 >conftest.err
78061   rm -f conftest.er1
78062   cat conftest.err >&5
78063   echo "$as_me:$LINENO: \$? = $ac_status" >&5
78064   (exit $ac_status); } &&
78065          { ac_try='test -z "$ac_c_werror_flag"
78066                          || test ! -s conftest.err'
78067   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
78068   (eval $ac_try) 2>&5
78069   ac_status=$?
78070   echo "$as_me:$LINENO: \$? = $ac_status" >&5
78071   (exit $ac_status); }; } &&
78072          { ac_try='test -s conftest$ac_exeext'
78073   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
78074   (eval $ac_try) 2>&5
78075   ac_status=$?
78076   echo "$as_me:$LINENO: \$? = $ac_status" >&5
78077   (exit $ac_status); }; }; then
78078   eval "$as_ac_var=yes"
78079 else
78080   echo "$as_me: failed program was:" >&5
78081 sed 's/^/| /' conftest.$ac_ext >&5
78082
78083 eval "$as_ac_var=no"
78084 fi
78085 rm -f conftest.err conftest.$ac_objext \
78086       conftest$ac_exeext conftest.$ac_ext
78087 fi
78088 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
78089 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
78090 if test `eval echo '${'$as_ac_var'}'` = yes; then
78091   cat >>confdefs.h <<_ACEOF
78092 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
78093 _ACEOF
78094
78095 fi
78096 done
78097
78098   else
78099
78100   echo "$as_me:$LINENO: checking for _finite declaration" >&5
78101 echo $ECHO_N "checking for _finite declaration... $ECHO_C" >&6
78102   if test x${glibcxx_cv_func__finite_use+set} != xset; then
78103     if test "${glibcxx_cv_func__finite_use+set}" = set; then
78104   echo $ECHO_N "(cached) $ECHO_C" >&6
78105 else
78106
78107
78108
78109       ac_ext=cc
78110 ac_cpp='$CXXCPP $CPPFLAGS'
78111 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
78112 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
78113 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
78114
78115       cat >conftest.$ac_ext <<_ACEOF
78116 /* confdefs.h.  */
78117 _ACEOF
78118 cat confdefs.h >>conftest.$ac_ext
78119 cat >>conftest.$ac_ext <<_ACEOF
78120 /* end confdefs.h.  */
78121 #include <math.h>
78122                       #ifdef HAVE_IEEEFP_H
78123                       #include <ieeefp.h>
78124                       #endif
78125
78126 int
78127 main ()
78128 {
78129  _finite(0);
78130   ;
78131   return 0;
78132 }
78133 _ACEOF
78134 rm -f conftest.$ac_objext
78135 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
78136   (eval $ac_compile) 2>conftest.er1
78137   ac_status=$?
78138   grep -v '^ *+' conftest.er1 >conftest.err
78139   rm -f conftest.er1
78140   cat conftest.err >&5
78141   echo "$as_me:$LINENO: \$? = $ac_status" >&5
78142   (exit $ac_status); } &&
78143          { ac_try='test -z "$ac_cxx_werror_flag"
78144                          || test ! -s conftest.err'
78145   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
78146   (eval $ac_try) 2>&5
78147   ac_status=$?
78148   echo "$as_me:$LINENO: \$? = $ac_status" >&5
78149   (exit $ac_status); }; } &&
78150          { ac_try='test -s conftest.$ac_objext'
78151   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
78152   (eval $ac_try) 2>&5
78153   ac_status=$?
78154   echo "$as_me:$LINENO: \$? = $ac_status" >&5
78155   (exit $ac_status); }; }; then
78156   glibcxx_cv_func__finite_use=yes
78157 else
78158   echo "$as_me: failed program was:" >&5
78159 sed 's/^/| /' conftest.$ac_ext >&5
78160
78161 glibcxx_cv_func__finite_use=no
78162 fi
78163 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
78164       ac_ext=c
78165 ac_cpp='$CPP $CPPFLAGS'
78166 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
78167 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
78168 ac_compiler_gnu=$ac_cv_c_compiler_gnu
78169
78170
78171 fi
78172
78173   fi
78174   echo "$as_me:$LINENO: result: $glibcxx_cv_func__finite_use" >&5
78175 echo "${ECHO_T}$glibcxx_cv_func__finite_use" >&6
78176
78177     if test x$glibcxx_cv_func__finite_use = x"yes"; then
78178
78179 for ac_func in _finite
78180 do
78181 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
78182 echo "$as_me:$LINENO: checking for $ac_func" >&5
78183 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
78184 if eval "test \"\${$as_ac_var+set}\" = set"; then
78185   echo $ECHO_N "(cached) $ECHO_C" >&6
78186 else
78187   if test x$gcc_no_link = xyes; then
78188   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
78189 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
78190    { (exit 1); exit 1; }; }
78191 fi
78192 cat >conftest.$ac_ext <<_ACEOF
78193 /* confdefs.h.  */
78194 _ACEOF
78195 cat confdefs.h >>conftest.$ac_ext
78196 cat >>conftest.$ac_ext <<_ACEOF
78197 /* end confdefs.h.  */
78198 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
78199    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
78200 #define $ac_func innocuous_$ac_func
78201
78202 /* System header to define __stub macros and hopefully few prototypes,
78203     which can conflict with char $ac_func (); below.
78204     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
78205     <limits.h> exists even on freestanding compilers.  */
78206
78207 #ifdef __STDC__
78208 # include <limits.h>
78209 #else
78210 # include <assert.h>
78211 #endif
78212
78213 #undef $ac_func
78214
78215 /* Override any gcc2 internal prototype to avoid an error.  */
78216 #ifdef __cplusplus
78217 extern "C"
78218 {
78219 #endif
78220 /* We use char because int might match the return type of a gcc2
78221    builtin and then its argument prototype would still apply.  */
78222 char $ac_func ();
78223 /* The GNU C library defines this for functions which it implements
78224     to always fail with ENOSYS.  Some functions are actually named
78225     something starting with __ and the normal name is an alias.  */
78226 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
78227 choke me
78228 #else
78229 char (*f) () = $ac_func;
78230 #endif
78231 #ifdef __cplusplus
78232 }
78233 #endif
78234
78235 int
78236 main ()
78237 {
78238 return f != $ac_func;
78239   ;
78240   return 0;
78241 }
78242 _ACEOF
78243 rm -f conftest.$ac_objext conftest$ac_exeext
78244 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
78245   (eval $ac_link) 2>conftest.er1
78246   ac_status=$?
78247   grep -v '^ *+' conftest.er1 >conftest.err
78248   rm -f conftest.er1
78249   cat conftest.err >&5
78250   echo "$as_me:$LINENO: \$? = $ac_status" >&5
78251   (exit $ac_status); } &&
78252          { ac_try='test -z "$ac_c_werror_flag"
78253                          || test ! -s conftest.err'
78254   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
78255   (eval $ac_try) 2>&5
78256   ac_status=$?
78257   echo "$as_me:$LINENO: \$? = $ac_status" >&5
78258   (exit $ac_status); }; } &&
78259          { ac_try='test -s conftest$ac_exeext'
78260   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
78261   (eval $ac_try) 2>&5
78262   ac_status=$?
78263   echo "$as_me:$LINENO: \$? = $ac_status" >&5
78264   (exit $ac_status); }; }; then
78265   eval "$as_ac_var=yes"
78266 else
78267   echo "$as_me: failed program was:" >&5
78268 sed 's/^/| /' conftest.$ac_ext >&5
78269
78270 eval "$as_ac_var=no"
78271 fi
78272 rm -f conftest.err conftest.$ac_objext \
78273       conftest$ac_exeext conftest.$ac_ext
78274 fi
78275 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
78276 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
78277 if test `eval echo '${'$as_ac_var'}'` = yes; then
78278   cat >>confdefs.h <<_ACEOF
78279 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
78280 _ACEOF
78281
78282 fi
78283 done
78284
78285     fi
78286   fi
78287
78288
78289
78290
78291
78292
78293   echo "$as_me:$LINENO: checking for copysign declaration" >&5
78294 echo $ECHO_N "checking for copysign declaration... $ECHO_C" >&6
78295   if test x${glibcxx_cv_func_copysign_use+set} != xset; then
78296     if test "${glibcxx_cv_func_copysign_use+set}" = set; then
78297   echo $ECHO_N "(cached) $ECHO_C" >&6
78298 else
78299
78300
78301
78302       ac_ext=cc
78303 ac_cpp='$CXXCPP $CPPFLAGS'
78304 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
78305 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
78306 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
78307
78308       cat >conftest.$ac_ext <<_ACEOF
78309 /* confdefs.h.  */
78310 _ACEOF
78311 cat confdefs.h >>conftest.$ac_ext
78312 cat >>conftest.$ac_ext <<_ACEOF
78313 /* end confdefs.h.  */
78314 #include <math.h>
78315 int
78316 main ()
78317 {
78318  copysign(0, 0);
78319   ;
78320   return 0;
78321 }
78322 _ACEOF
78323 rm -f conftest.$ac_objext
78324 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
78325   (eval $ac_compile) 2>conftest.er1
78326   ac_status=$?
78327   grep -v '^ *+' conftest.er1 >conftest.err
78328   rm -f conftest.er1
78329   cat conftest.err >&5
78330   echo "$as_me:$LINENO: \$? = $ac_status" >&5
78331   (exit $ac_status); } &&
78332          { ac_try='test -z "$ac_cxx_werror_flag"
78333                          || test ! -s conftest.err'
78334   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
78335   (eval $ac_try) 2>&5
78336   ac_status=$?
78337   echo "$as_me:$LINENO: \$? = $ac_status" >&5
78338   (exit $ac_status); }; } &&
78339          { ac_try='test -s conftest.$ac_objext'
78340   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
78341   (eval $ac_try) 2>&5
78342   ac_status=$?
78343   echo "$as_me:$LINENO: \$? = $ac_status" >&5
78344   (exit $ac_status); }; }; then
78345   glibcxx_cv_func_copysign_use=yes
78346 else
78347   echo "$as_me: failed program was:" >&5
78348 sed 's/^/| /' conftest.$ac_ext >&5
78349
78350 glibcxx_cv_func_copysign_use=no
78351 fi
78352 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
78353       ac_ext=c
78354 ac_cpp='$CPP $CPPFLAGS'
78355 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
78356 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
78357 ac_compiler_gnu=$ac_cv_c_compiler_gnu
78358
78359
78360 fi
78361
78362   fi
78363   echo "$as_me:$LINENO: result: $glibcxx_cv_func_copysign_use" >&5
78364 echo "${ECHO_T}$glibcxx_cv_func_copysign_use" >&6
78365
78366   if test x$glibcxx_cv_func_copysign_use = x"yes"; then
78367
78368 for ac_func in copysign
78369 do
78370 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
78371 echo "$as_me:$LINENO: checking for $ac_func" >&5
78372 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
78373 if eval "test \"\${$as_ac_var+set}\" = set"; then
78374   echo $ECHO_N "(cached) $ECHO_C" >&6
78375 else
78376   if test x$gcc_no_link = xyes; then
78377   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
78378 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
78379    { (exit 1); exit 1; }; }
78380 fi
78381 cat >conftest.$ac_ext <<_ACEOF
78382 /* confdefs.h.  */
78383 _ACEOF
78384 cat confdefs.h >>conftest.$ac_ext
78385 cat >>conftest.$ac_ext <<_ACEOF
78386 /* end confdefs.h.  */
78387 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
78388    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
78389 #define $ac_func innocuous_$ac_func
78390
78391 /* System header to define __stub macros and hopefully few prototypes,
78392     which can conflict with char $ac_func (); below.
78393     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
78394     <limits.h> exists even on freestanding compilers.  */
78395
78396 #ifdef __STDC__
78397 # include <limits.h>
78398 #else
78399 # include <assert.h>
78400 #endif
78401
78402 #undef $ac_func
78403
78404 /* Override any gcc2 internal prototype to avoid an error.  */
78405 #ifdef __cplusplus
78406 extern "C"
78407 {
78408 #endif
78409 /* We use char because int might match the return type of a gcc2
78410    builtin and then its argument prototype would still apply.  */
78411 char $ac_func ();
78412 /* The GNU C library defines this for functions which it implements
78413     to always fail with ENOSYS.  Some functions are actually named
78414     something starting with __ and the normal name is an alias.  */
78415 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
78416 choke me
78417 #else
78418 char (*f) () = $ac_func;
78419 #endif
78420 #ifdef __cplusplus
78421 }
78422 #endif
78423
78424 int
78425 main ()
78426 {
78427 return f != $ac_func;
78428   ;
78429   return 0;
78430 }
78431 _ACEOF
78432 rm -f conftest.$ac_objext conftest$ac_exeext
78433 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
78434   (eval $ac_link) 2>conftest.er1
78435   ac_status=$?
78436   grep -v '^ *+' conftest.er1 >conftest.err
78437   rm -f conftest.er1
78438   cat conftest.err >&5
78439   echo "$as_me:$LINENO: \$? = $ac_status" >&5
78440   (exit $ac_status); } &&
78441          { ac_try='test -z "$ac_c_werror_flag"
78442                          || test ! -s conftest.err'
78443   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
78444   (eval $ac_try) 2>&5
78445   ac_status=$?
78446   echo "$as_me:$LINENO: \$? = $ac_status" >&5
78447   (exit $ac_status); }; } &&
78448          { ac_try='test -s conftest$ac_exeext'
78449   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
78450   (eval $ac_try) 2>&5
78451   ac_status=$?
78452   echo "$as_me:$LINENO: \$? = $ac_status" >&5
78453   (exit $ac_status); }; }; then
78454   eval "$as_ac_var=yes"
78455 else
78456   echo "$as_me: failed program was:" >&5
78457 sed 's/^/| /' conftest.$ac_ext >&5
78458
78459 eval "$as_ac_var=no"
78460 fi
78461 rm -f conftest.err conftest.$ac_objext \
78462       conftest$ac_exeext conftest.$ac_ext
78463 fi
78464 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
78465 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
78466 if test `eval echo '${'$as_ac_var'}'` = yes; then
78467   cat >>confdefs.h <<_ACEOF
78468 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
78469 _ACEOF
78470
78471 fi
78472 done
78473
78474   else
78475
78476   echo "$as_me:$LINENO: checking for _copysign declaration" >&5
78477 echo $ECHO_N "checking for _copysign declaration... $ECHO_C" >&6
78478   if test x${glibcxx_cv_func__copysign_use+set} != xset; then
78479     if test "${glibcxx_cv_func__copysign_use+set}" = set; then
78480   echo $ECHO_N "(cached) $ECHO_C" >&6
78481 else
78482
78483
78484
78485       ac_ext=cc
78486 ac_cpp='$CXXCPP $CPPFLAGS'
78487 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
78488 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
78489 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
78490
78491       cat >conftest.$ac_ext <<_ACEOF
78492 /* confdefs.h.  */
78493 _ACEOF
78494 cat confdefs.h >>conftest.$ac_ext
78495 cat >>conftest.$ac_ext <<_ACEOF
78496 /* end confdefs.h.  */
78497 #include <math.h>
78498 int
78499 main ()
78500 {
78501  _copysign(0, 0);
78502   ;
78503   return 0;
78504 }
78505 _ACEOF
78506 rm -f conftest.$ac_objext
78507 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
78508   (eval $ac_compile) 2>conftest.er1
78509   ac_status=$?
78510   grep -v '^ *+' conftest.er1 >conftest.err
78511   rm -f conftest.er1
78512   cat conftest.err >&5
78513   echo "$as_me:$LINENO: \$? = $ac_status" >&5
78514   (exit $ac_status); } &&
78515          { ac_try='test -z "$ac_cxx_werror_flag"
78516                          || test ! -s conftest.err'
78517   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
78518   (eval $ac_try) 2>&5
78519   ac_status=$?
78520   echo "$as_me:$LINENO: \$? = $ac_status" >&5
78521   (exit $ac_status); }; } &&
78522          { ac_try='test -s conftest.$ac_objext'
78523   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
78524   (eval $ac_try) 2>&5
78525   ac_status=$?
78526   echo "$as_me:$LINENO: \$? = $ac_status" >&5
78527   (exit $ac_status); }; }; then
78528   glibcxx_cv_func__copysign_use=yes
78529 else
78530   echo "$as_me: failed program was:" >&5
78531 sed 's/^/| /' conftest.$ac_ext >&5
78532
78533 glibcxx_cv_func__copysign_use=no
78534 fi
78535 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
78536       ac_ext=c
78537 ac_cpp='$CPP $CPPFLAGS'
78538 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
78539 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
78540 ac_compiler_gnu=$ac_cv_c_compiler_gnu
78541
78542
78543 fi
78544
78545   fi
78546   echo "$as_me:$LINENO: result: $glibcxx_cv_func__copysign_use" >&5
78547 echo "${ECHO_T}$glibcxx_cv_func__copysign_use" >&6
78548
78549     if test x$glibcxx_cv_func__copysign_use = x"yes"; then
78550
78551 for ac_func in _copysign
78552 do
78553 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
78554 echo "$as_me:$LINENO: checking for $ac_func" >&5
78555 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
78556 if eval "test \"\${$as_ac_var+set}\" = set"; then
78557   echo $ECHO_N "(cached) $ECHO_C" >&6
78558 else
78559   if test x$gcc_no_link = xyes; then
78560   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
78561 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
78562    { (exit 1); exit 1; }; }
78563 fi
78564 cat >conftest.$ac_ext <<_ACEOF
78565 /* confdefs.h.  */
78566 _ACEOF
78567 cat confdefs.h >>conftest.$ac_ext
78568 cat >>conftest.$ac_ext <<_ACEOF
78569 /* end confdefs.h.  */
78570 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
78571    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
78572 #define $ac_func innocuous_$ac_func
78573
78574 /* System header to define __stub macros and hopefully few prototypes,
78575     which can conflict with char $ac_func (); below.
78576     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
78577     <limits.h> exists even on freestanding compilers.  */
78578
78579 #ifdef __STDC__
78580 # include <limits.h>
78581 #else
78582 # include <assert.h>
78583 #endif
78584
78585 #undef $ac_func
78586
78587 /* Override any gcc2 internal prototype to avoid an error.  */
78588 #ifdef __cplusplus
78589 extern "C"
78590 {
78591 #endif
78592 /* We use char because int might match the return type of a gcc2
78593    builtin and then its argument prototype would still apply.  */
78594 char $ac_func ();
78595 /* The GNU C library defines this for functions which it implements
78596     to always fail with ENOSYS.  Some functions are actually named
78597     something starting with __ and the normal name is an alias.  */
78598 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
78599 choke me
78600 #else
78601 char (*f) () = $ac_func;
78602 #endif
78603 #ifdef __cplusplus
78604 }
78605 #endif
78606
78607 int
78608 main ()
78609 {
78610 return f != $ac_func;
78611   ;
78612   return 0;
78613 }
78614 _ACEOF
78615 rm -f conftest.$ac_objext conftest$ac_exeext
78616 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
78617   (eval $ac_link) 2>conftest.er1
78618   ac_status=$?
78619   grep -v '^ *+' conftest.er1 >conftest.err
78620   rm -f conftest.er1
78621   cat conftest.err >&5
78622   echo "$as_me:$LINENO: \$? = $ac_status" >&5
78623   (exit $ac_status); } &&
78624          { ac_try='test -z "$ac_c_werror_flag"
78625                          || test ! -s conftest.err'
78626   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
78627   (eval $ac_try) 2>&5
78628   ac_status=$?
78629   echo "$as_me:$LINENO: \$? = $ac_status" >&5
78630   (exit $ac_status); }; } &&
78631          { ac_try='test -s conftest$ac_exeext'
78632   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
78633   (eval $ac_try) 2>&5
78634   ac_status=$?
78635   echo "$as_me:$LINENO: \$? = $ac_status" >&5
78636   (exit $ac_status); }; }; then
78637   eval "$as_ac_var=yes"
78638 else
78639   echo "$as_me: failed program was:" >&5
78640 sed 's/^/| /' conftest.$ac_ext >&5
78641
78642 eval "$as_ac_var=no"
78643 fi
78644 rm -f conftest.err conftest.$ac_objext \
78645       conftest$ac_exeext conftest.$ac_ext
78646 fi
78647 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
78648 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
78649 if test `eval echo '${'$as_ac_var'}'` = yes; then
78650   cat >>confdefs.h <<_ACEOF
78651 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
78652 _ACEOF
78653
78654 fi
78655 done
78656
78657     fi
78658   fi
78659
78660
78661
78662
78663
78664
78665   echo "$as_me:$LINENO: checking for sincos declaration" >&5
78666 echo $ECHO_N "checking for sincos declaration... $ECHO_C" >&6
78667   if test x${glibcxx_cv_func_sincos_use+set} != xset; then
78668     if test "${glibcxx_cv_func_sincos_use+set}" = set; then
78669   echo $ECHO_N "(cached) $ECHO_C" >&6
78670 else
78671
78672
78673
78674       ac_ext=cc
78675 ac_cpp='$CXXCPP $CPPFLAGS'
78676 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
78677 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
78678 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
78679
78680       cat >conftest.$ac_ext <<_ACEOF
78681 /* confdefs.h.  */
78682 _ACEOF
78683 cat confdefs.h >>conftest.$ac_ext
78684 cat >>conftest.$ac_ext <<_ACEOF
78685 /* end confdefs.h.  */
78686 #include <math.h>
78687 int
78688 main ()
78689 {
78690  sincos(0, 0, 0);
78691   ;
78692   return 0;
78693 }
78694 _ACEOF
78695 rm -f conftest.$ac_objext
78696 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
78697   (eval $ac_compile) 2>conftest.er1
78698   ac_status=$?
78699   grep -v '^ *+' conftest.er1 >conftest.err
78700   rm -f conftest.er1
78701   cat conftest.err >&5
78702   echo "$as_me:$LINENO: \$? = $ac_status" >&5
78703   (exit $ac_status); } &&
78704          { ac_try='test -z "$ac_cxx_werror_flag"
78705                          || test ! -s conftest.err'
78706   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
78707   (eval $ac_try) 2>&5
78708   ac_status=$?
78709   echo "$as_me:$LINENO: \$? = $ac_status" >&5
78710   (exit $ac_status); }; } &&
78711          { ac_try='test -s conftest.$ac_objext'
78712   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
78713   (eval $ac_try) 2>&5
78714   ac_status=$?
78715   echo "$as_me:$LINENO: \$? = $ac_status" >&5
78716   (exit $ac_status); }; }; then
78717   glibcxx_cv_func_sincos_use=yes
78718 else
78719   echo "$as_me: failed program was:" >&5
78720 sed 's/^/| /' conftest.$ac_ext >&5
78721
78722 glibcxx_cv_func_sincos_use=no
78723 fi
78724 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
78725       ac_ext=c
78726 ac_cpp='$CPP $CPPFLAGS'
78727 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
78728 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
78729 ac_compiler_gnu=$ac_cv_c_compiler_gnu
78730
78731
78732 fi
78733
78734   fi
78735   echo "$as_me:$LINENO: result: $glibcxx_cv_func_sincos_use" >&5
78736 echo "${ECHO_T}$glibcxx_cv_func_sincos_use" >&6
78737
78738   if test x$glibcxx_cv_func_sincos_use = x"yes"; then
78739
78740 for ac_func in sincos
78741 do
78742 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
78743 echo "$as_me:$LINENO: checking for $ac_func" >&5
78744 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
78745 if eval "test \"\${$as_ac_var+set}\" = set"; then
78746   echo $ECHO_N "(cached) $ECHO_C" >&6
78747 else
78748   if test x$gcc_no_link = xyes; then
78749   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
78750 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
78751    { (exit 1); exit 1; }; }
78752 fi
78753 cat >conftest.$ac_ext <<_ACEOF
78754 /* confdefs.h.  */
78755 _ACEOF
78756 cat confdefs.h >>conftest.$ac_ext
78757 cat >>conftest.$ac_ext <<_ACEOF
78758 /* end confdefs.h.  */
78759 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
78760    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
78761 #define $ac_func innocuous_$ac_func
78762
78763 /* System header to define __stub macros and hopefully few prototypes,
78764     which can conflict with char $ac_func (); below.
78765     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
78766     <limits.h> exists even on freestanding compilers.  */
78767
78768 #ifdef __STDC__
78769 # include <limits.h>
78770 #else
78771 # include <assert.h>
78772 #endif
78773
78774 #undef $ac_func
78775
78776 /* Override any gcc2 internal prototype to avoid an error.  */
78777 #ifdef __cplusplus
78778 extern "C"
78779 {
78780 #endif
78781 /* We use char because int might match the return type of a gcc2
78782    builtin and then its argument prototype would still apply.  */
78783 char $ac_func ();
78784 /* The GNU C library defines this for functions which it implements
78785     to always fail with ENOSYS.  Some functions are actually named
78786     something starting with __ and the normal name is an alias.  */
78787 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
78788 choke me
78789 #else
78790 char (*f) () = $ac_func;
78791 #endif
78792 #ifdef __cplusplus
78793 }
78794 #endif
78795
78796 int
78797 main ()
78798 {
78799 return f != $ac_func;
78800   ;
78801   return 0;
78802 }
78803 _ACEOF
78804 rm -f conftest.$ac_objext conftest$ac_exeext
78805 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
78806   (eval $ac_link) 2>conftest.er1
78807   ac_status=$?
78808   grep -v '^ *+' conftest.er1 >conftest.err
78809   rm -f conftest.er1
78810   cat conftest.err >&5
78811   echo "$as_me:$LINENO: \$? = $ac_status" >&5
78812   (exit $ac_status); } &&
78813          { ac_try='test -z "$ac_c_werror_flag"
78814                          || test ! -s conftest.err'
78815   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
78816   (eval $ac_try) 2>&5
78817   ac_status=$?
78818   echo "$as_me:$LINENO: \$? = $ac_status" >&5
78819   (exit $ac_status); }; } &&
78820          { ac_try='test -s conftest$ac_exeext'
78821   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
78822   (eval $ac_try) 2>&5
78823   ac_status=$?
78824   echo "$as_me:$LINENO: \$? = $ac_status" >&5
78825   (exit $ac_status); }; }; then
78826   eval "$as_ac_var=yes"
78827 else
78828   echo "$as_me: failed program was:" >&5
78829 sed 's/^/| /' conftest.$ac_ext >&5
78830
78831 eval "$as_ac_var=no"
78832 fi
78833 rm -f conftest.err conftest.$ac_objext \
78834       conftest$ac_exeext conftest.$ac_ext
78835 fi
78836 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
78837 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
78838 if test `eval echo '${'$as_ac_var'}'` = yes; then
78839   cat >>confdefs.h <<_ACEOF
78840 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
78841 _ACEOF
78842
78843 fi
78844 done
78845
78846   else
78847
78848   echo "$as_me:$LINENO: checking for _sincos declaration" >&5
78849 echo $ECHO_N "checking for _sincos declaration... $ECHO_C" >&6
78850   if test x${glibcxx_cv_func__sincos_use+set} != xset; then
78851     if test "${glibcxx_cv_func__sincos_use+set}" = set; then
78852   echo $ECHO_N "(cached) $ECHO_C" >&6
78853 else
78854
78855
78856
78857       ac_ext=cc
78858 ac_cpp='$CXXCPP $CPPFLAGS'
78859 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
78860 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
78861 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
78862
78863       cat >conftest.$ac_ext <<_ACEOF
78864 /* confdefs.h.  */
78865 _ACEOF
78866 cat confdefs.h >>conftest.$ac_ext
78867 cat >>conftest.$ac_ext <<_ACEOF
78868 /* end confdefs.h.  */
78869 #include <math.h>
78870 int
78871 main ()
78872 {
78873  _sincos(0, 0, 0);
78874   ;
78875   return 0;
78876 }
78877 _ACEOF
78878 rm -f conftest.$ac_objext
78879 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
78880   (eval $ac_compile) 2>conftest.er1
78881   ac_status=$?
78882   grep -v '^ *+' conftest.er1 >conftest.err
78883   rm -f conftest.er1
78884   cat conftest.err >&5
78885   echo "$as_me:$LINENO: \$? = $ac_status" >&5
78886   (exit $ac_status); } &&
78887          { ac_try='test -z "$ac_cxx_werror_flag"
78888                          || test ! -s conftest.err'
78889   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
78890   (eval $ac_try) 2>&5
78891   ac_status=$?
78892   echo "$as_me:$LINENO: \$? = $ac_status" >&5
78893   (exit $ac_status); }; } &&
78894          { ac_try='test -s conftest.$ac_objext'
78895   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
78896   (eval $ac_try) 2>&5
78897   ac_status=$?
78898   echo "$as_me:$LINENO: \$? = $ac_status" >&5
78899   (exit $ac_status); }; }; then
78900   glibcxx_cv_func__sincos_use=yes
78901 else
78902   echo "$as_me: failed program was:" >&5
78903 sed 's/^/| /' conftest.$ac_ext >&5
78904
78905 glibcxx_cv_func__sincos_use=no
78906 fi
78907 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
78908       ac_ext=c
78909 ac_cpp='$CPP $CPPFLAGS'
78910 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
78911 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
78912 ac_compiler_gnu=$ac_cv_c_compiler_gnu
78913
78914
78915 fi
78916
78917   fi
78918   echo "$as_me:$LINENO: result: $glibcxx_cv_func__sincos_use" >&5
78919 echo "${ECHO_T}$glibcxx_cv_func__sincos_use" >&6
78920
78921     if test x$glibcxx_cv_func__sincos_use = x"yes"; then
78922
78923 for ac_func in _sincos
78924 do
78925 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
78926 echo "$as_me:$LINENO: checking for $ac_func" >&5
78927 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
78928 if eval "test \"\${$as_ac_var+set}\" = set"; then
78929   echo $ECHO_N "(cached) $ECHO_C" >&6
78930 else
78931   if test x$gcc_no_link = xyes; then
78932   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
78933 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
78934    { (exit 1); exit 1; }; }
78935 fi
78936 cat >conftest.$ac_ext <<_ACEOF
78937 /* confdefs.h.  */
78938 _ACEOF
78939 cat confdefs.h >>conftest.$ac_ext
78940 cat >>conftest.$ac_ext <<_ACEOF
78941 /* end confdefs.h.  */
78942 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
78943    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
78944 #define $ac_func innocuous_$ac_func
78945
78946 /* System header to define __stub macros and hopefully few prototypes,
78947     which can conflict with char $ac_func (); below.
78948     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
78949     <limits.h> exists even on freestanding compilers.  */
78950
78951 #ifdef __STDC__
78952 # include <limits.h>
78953 #else
78954 # include <assert.h>
78955 #endif
78956
78957 #undef $ac_func
78958
78959 /* Override any gcc2 internal prototype to avoid an error.  */
78960 #ifdef __cplusplus
78961 extern "C"
78962 {
78963 #endif
78964 /* We use char because int might match the return type of a gcc2
78965    builtin and then its argument prototype would still apply.  */
78966 char $ac_func ();
78967 /* The GNU C library defines this for functions which it implements
78968     to always fail with ENOSYS.  Some functions are actually named
78969     something starting with __ and the normal name is an alias.  */
78970 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
78971 choke me
78972 #else
78973 char (*f) () = $ac_func;
78974 #endif
78975 #ifdef __cplusplus
78976 }
78977 #endif
78978
78979 int
78980 main ()
78981 {
78982 return f != $ac_func;
78983   ;
78984   return 0;
78985 }
78986 _ACEOF
78987 rm -f conftest.$ac_objext conftest$ac_exeext
78988 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
78989   (eval $ac_link) 2>conftest.er1
78990   ac_status=$?
78991   grep -v '^ *+' conftest.er1 >conftest.err
78992   rm -f conftest.er1
78993   cat conftest.err >&5
78994   echo "$as_me:$LINENO: \$? = $ac_status" >&5
78995   (exit $ac_status); } &&
78996          { ac_try='test -z "$ac_c_werror_flag"
78997                          || test ! -s conftest.err'
78998   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
78999   (eval $ac_try) 2>&5
79000   ac_status=$?
79001   echo "$as_me:$LINENO: \$? = $ac_status" >&5
79002   (exit $ac_status); }; } &&
79003          { ac_try='test -s conftest$ac_exeext'
79004   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
79005   (eval $ac_try) 2>&5
79006   ac_status=$?
79007   echo "$as_me:$LINENO: \$? = $ac_status" >&5
79008   (exit $ac_status); }; }; then
79009   eval "$as_ac_var=yes"
79010 else
79011   echo "$as_me: failed program was:" >&5
79012 sed 's/^/| /' conftest.$ac_ext >&5
79013
79014 eval "$as_ac_var=no"
79015 fi
79016 rm -f conftest.err conftest.$ac_objext \
79017       conftest$ac_exeext conftest.$ac_ext
79018 fi
79019 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
79020 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
79021 if test `eval echo '${'$as_ac_var'}'` = yes; then
79022   cat >>confdefs.h <<_ACEOF
79023 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
79024 _ACEOF
79025
79026 fi
79027 done
79028
79029     fi
79030   fi
79031
79032
79033
79034
79035
79036
79037   echo "$as_me:$LINENO: checking for fpclass declaration" >&5
79038 echo $ECHO_N "checking for fpclass declaration... $ECHO_C" >&6
79039   if test x${glibcxx_cv_func_fpclass_use+set} != xset; then
79040     if test "${glibcxx_cv_func_fpclass_use+set}" = set; then
79041   echo $ECHO_N "(cached) $ECHO_C" >&6
79042 else
79043
79044
79045
79046       ac_ext=cc
79047 ac_cpp='$CXXCPP $CPPFLAGS'
79048 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
79049 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
79050 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
79051
79052       cat >conftest.$ac_ext <<_ACEOF
79053 /* confdefs.h.  */
79054 _ACEOF
79055 cat confdefs.h >>conftest.$ac_ext
79056 cat >>conftest.$ac_ext <<_ACEOF
79057 /* end confdefs.h.  */
79058 #include <math.h>
79059                       #ifdef HAVE_IEEEFP_H
79060                       #include <ieeefp.h>
79061                       #endif
79062
79063 int
79064 main ()
79065 {
79066  fpclass(0);
79067   ;
79068   return 0;
79069 }
79070 _ACEOF
79071 rm -f conftest.$ac_objext
79072 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
79073   (eval $ac_compile) 2>conftest.er1
79074   ac_status=$?
79075   grep -v '^ *+' conftest.er1 >conftest.err
79076   rm -f conftest.er1
79077   cat conftest.err >&5
79078   echo "$as_me:$LINENO: \$? = $ac_status" >&5
79079   (exit $ac_status); } &&
79080          { ac_try='test -z "$ac_cxx_werror_flag"
79081                          || test ! -s conftest.err'
79082   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
79083   (eval $ac_try) 2>&5
79084   ac_status=$?
79085   echo "$as_me:$LINENO: \$? = $ac_status" >&5
79086   (exit $ac_status); }; } &&
79087          { ac_try='test -s conftest.$ac_objext'
79088   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
79089   (eval $ac_try) 2>&5
79090   ac_status=$?
79091   echo "$as_me:$LINENO: \$? = $ac_status" >&5
79092   (exit $ac_status); }; }; then
79093   glibcxx_cv_func_fpclass_use=yes
79094 else
79095   echo "$as_me: failed program was:" >&5
79096 sed 's/^/| /' conftest.$ac_ext >&5
79097
79098 glibcxx_cv_func_fpclass_use=no
79099 fi
79100 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
79101       ac_ext=c
79102 ac_cpp='$CPP $CPPFLAGS'
79103 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
79104 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
79105 ac_compiler_gnu=$ac_cv_c_compiler_gnu
79106
79107
79108 fi
79109
79110   fi
79111   echo "$as_me:$LINENO: result: $glibcxx_cv_func_fpclass_use" >&5
79112 echo "${ECHO_T}$glibcxx_cv_func_fpclass_use" >&6
79113
79114   if test x$glibcxx_cv_func_fpclass_use = x"yes"; then
79115
79116 for ac_func in fpclass
79117 do
79118 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
79119 echo "$as_me:$LINENO: checking for $ac_func" >&5
79120 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
79121 if eval "test \"\${$as_ac_var+set}\" = set"; then
79122   echo $ECHO_N "(cached) $ECHO_C" >&6
79123 else
79124   if test x$gcc_no_link = xyes; then
79125   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
79126 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
79127    { (exit 1); exit 1; }; }
79128 fi
79129 cat >conftest.$ac_ext <<_ACEOF
79130 /* confdefs.h.  */
79131 _ACEOF
79132 cat confdefs.h >>conftest.$ac_ext
79133 cat >>conftest.$ac_ext <<_ACEOF
79134 /* end confdefs.h.  */
79135 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
79136    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
79137 #define $ac_func innocuous_$ac_func
79138
79139 /* System header to define __stub macros and hopefully few prototypes,
79140     which can conflict with char $ac_func (); below.
79141     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
79142     <limits.h> exists even on freestanding compilers.  */
79143
79144 #ifdef __STDC__
79145 # include <limits.h>
79146 #else
79147 # include <assert.h>
79148 #endif
79149
79150 #undef $ac_func
79151
79152 /* Override any gcc2 internal prototype to avoid an error.  */
79153 #ifdef __cplusplus
79154 extern "C"
79155 {
79156 #endif
79157 /* We use char because int might match the return type of a gcc2
79158    builtin and then its argument prototype would still apply.  */
79159 char $ac_func ();
79160 /* The GNU C library defines this for functions which it implements
79161     to always fail with ENOSYS.  Some functions are actually named
79162     something starting with __ and the normal name is an alias.  */
79163 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
79164 choke me
79165 #else
79166 char (*f) () = $ac_func;
79167 #endif
79168 #ifdef __cplusplus
79169 }
79170 #endif
79171
79172 int
79173 main ()
79174 {
79175 return f != $ac_func;
79176   ;
79177   return 0;
79178 }
79179 _ACEOF
79180 rm -f conftest.$ac_objext conftest$ac_exeext
79181 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
79182   (eval $ac_link) 2>conftest.er1
79183   ac_status=$?
79184   grep -v '^ *+' conftest.er1 >conftest.err
79185   rm -f conftest.er1
79186   cat conftest.err >&5
79187   echo "$as_me:$LINENO: \$? = $ac_status" >&5
79188   (exit $ac_status); } &&
79189          { ac_try='test -z "$ac_c_werror_flag"
79190                          || test ! -s conftest.err'
79191   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
79192   (eval $ac_try) 2>&5
79193   ac_status=$?
79194   echo "$as_me:$LINENO: \$? = $ac_status" >&5
79195   (exit $ac_status); }; } &&
79196          { ac_try='test -s conftest$ac_exeext'
79197   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
79198   (eval $ac_try) 2>&5
79199   ac_status=$?
79200   echo "$as_me:$LINENO: \$? = $ac_status" >&5
79201   (exit $ac_status); }; }; then
79202   eval "$as_ac_var=yes"
79203 else
79204   echo "$as_me: failed program was:" >&5
79205 sed 's/^/| /' conftest.$ac_ext >&5
79206
79207 eval "$as_ac_var=no"
79208 fi
79209 rm -f conftest.err conftest.$ac_objext \
79210       conftest$ac_exeext conftest.$ac_ext
79211 fi
79212 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
79213 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
79214 if test `eval echo '${'$as_ac_var'}'` = yes; then
79215   cat >>confdefs.h <<_ACEOF
79216 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
79217 _ACEOF
79218
79219 fi
79220 done
79221
79222   else
79223
79224   echo "$as_me:$LINENO: checking for _fpclass declaration" >&5
79225 echo $ECHO_N "checking for _fpclass declaration... $ECHO_C" >&6
79226   if test x${glibcxx_cv_func__fpclass_use+set} != xset; then
79227     if test "${glibcxx_cv_func__fpclass_use+set}" = set; then
79228   echo $ECHO_N "(cached) $ECHO_C" >&6
79229 else
79230
79231
79232
79233       ac_ext=cc
79234 ac_cpp='$CXXCPP $CPPFLAGS'
79235 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
79236 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
79237 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
79238
79239       cat >conftest.$ac_ext <<_ACEOF
79240 /* confdefs.h.  */
79241 _ACEOF
79242 cat confdefs.h >>conftest.$ac_ext
79243 cat >>conftest.$ac_ext <<_ACEOF
79244 /* end confdefs.h.  */
79245 #include <math.h>
79246                       #ifdef HAVE_IEEEFP_H
79247                       #include <ieeefp.h>
79248                       #endif
79249
79250 int
79251 main ()
79252 {
79253  _fpclass(0);
79254   ;
79255   return 0;
79256 }
79257 _ACEOF
79258 rm -f conftest.$ac_objext
79259 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
79260   (eval $ac_compile) 2>conftest.er1
79261   ac_status=$?
79262   grep -v '^ *+' conftest.er1 >conftest.err
79263   rm -f conftest.er1
79264   cat conftest.err >&5
79265   echo "$as_me:$LINENO: \$? = $ac_status" >&5
79266   (exit $ac_status); } &&
79267          { ac_try='test -z "$ac_cxx_werror_flag"
79268                          || test ! -s conftest.err'
79269   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
79270   (eval $ac_try) 2>&5
79271   ac_status=$?
79272   echo "$as_me:$LINENO: \$? = $ac_status" >&5
79273   (exit $ac_status); }; } &&
79274          { ac_try='test -s conftest.$ac_objext'
79275   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
79276   (eval $ac_try) 2>&5
79277   ac_status=$?
79278   echo "$as_me:$LINENO: \$? = $ac_status" >&5
79279   (exit $ac_status); }; }; then
79280   glibcxx_cv_func__fpclass_use=yes
79281 else
79282   echo "$as_me: failed program was:" >&5
79283 sed 's/^/| /' conftest.$ac_ext >&5
79284
79285 glibcxx_cv_func__fpclass_use=no
79286 fi
79287 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
79288       ac_ext=c
79289 ac_cpp='$CPP $CPPFLAGS'
79290 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
79291 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
79292 ac_compiler_gnu=$ac_cv_c_compiler_gnu
79293
79294
79295 fi
79296
79297   fi
79298   echo "$as_me:$LINENO: result: $glibcxx_cv_func__fpclass_use" >&5
79299 echo "${ECHO_T}$glibcxx_cv_func__fpclass_use" >&6
79300
79301     if test x$glibcxx_cv_func__fpclass_use = x"yes"; then
79302
79303 for ac_func in _fpclass
79304 do
79305 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
79306 echo "$as_me:$LINENO: checking for $ac_func" >&5
79307 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
79308 if eval "test \"\${$as_ac_var+set}\" = set"; then
79309   echo $ECHO_N "(cached) $ECHO_C" >&6
79310 else
79311   if test x$gcc_no_link = xyes; then
79312   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
79313 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
79314    { (exit 1); exit 1; }; }
79315 fi
79316 cat >conftest.$ac_ext <<_ACEOF
79317 /* confdefs.h.  */
79318 _ACEOF
79319 cat confdefs.h >>conftest.$ac_ext
79320 cat >>conftest.$ac_ext <<_ACEOF
79321 /* end confdefs.h.  */
79322 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
79323    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
79324 #define $ac_func innocuous_$ac_func
79325
79326 /* System header to define __stub macros and hopefully few prototypes,
79327     which can conflict with char $ac_func (); below.
79328     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
79329     <limits.h> exists even on freestanding compilers.  */
79330
79331 #ifdef __STDC__
79332 # include <limits.h>
79333 #else
79334 # include <assert.h>
79335 #endif
79336
79337 #undef $ac_func
79338
79339 /* Override any gcc2 internal prototype to avoid an error.  */
79340 #ifdef __cplusplus
79341 extern "C"
79342 {
79343 #endif
79344 /* We use char because int might match the return type of a gcc2
79345    builtin and then its argument prototype would still apply.  */
79346 char $ac_func ();
79347 /* The GNU C library defines this for functions which it implements
79348     to always fail with ENOSYS.  Some functions are actually named
79349     something starting with __ and the normal name is an alias.  */
79350 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
79351 choke me
79352 #else
79353 char (*f) () = $ac_func;
79354 #endif
79355 #ifdef __cplusplus
79356 }
79357 #endif
79358
79359 int
79360 main ()
79361 {
79362 return f != $ac_func;
79363   ;
79364   return 0;
79365 }
79366 _ACEOF
79367 rm -f conftest.$ac_objext conftest$ac_exeext
79368 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
79369   (eval $ac_link) 2>conftest.er1
79370   ac_status=$?
79371   grep -v '^ *+' conftest.er1 >conftest.err
79372   rm -f conftest.er1
79373   cat conftest.err >&5
79374   echo "$as_me:$LINENO: \$? = $ac_status" >&5
79375   (exit $ac_status); } &&
79376          { ac_try='test -z "$ac_c_werror_flag"
79377                          || test ! -s conftest.err'
79378   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
79379   (eval $ac_try) 2>&5
79380   ac_status=$?
79381   echo "$as_me:$LINENO: \$? = $ac_status" >&5
79382   (exit $ac_status); }; } &&
79383          { ac_try='test -s conftest$ac_exeext'
79384   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
79385   (eval $ac_try) 2>&5
79386   ac_status=$?
79387   echo "$as_me:$LINENO: \$? = $ac_status" >&5
79388   (exit $ac_status); }; }; then
79389   eval "$as_ac_var=yes"
79390 else
79391   echo "$as_me: failed program was:" >&5
79392 sed 's/^/| /' conftest.$ac_ext >&5
79393
79394 eval "$as_ac_var=no"
79395 fi
79396 rm -f conftest.err conftest.$ac_objext \
79397       conftest$ac_exeext conftest.$ac_ext
79398 fi
79399 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
79400 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
79401 if test `eval echo '${'$as_ac_var'}'` = yes; then
79402   cat >>confdefs.h <<_ACEOF
79403 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
79404 _ACEOF
79405
79406 fi
79407 done
79408
79409     fi
79410   fi
79411
79412
79413
79414
79415
79416
79417   echo "$as_me:$LINENO: checking for qfpclass declaration" >&5
79418 echo $ECHO_N "checking for qfpclass declaration... $ECHO_C" >&6
79419   if test x${glibcxx_cv_func_qfpclass_use+set} != xset; then
79420     if test "${glibcxx_cv_func_qfpclass_use+set}" = set; then
79421   echo $ECHO_N "(cached) $ECHO_C" >&6
79422 else
79423
79424
79425
79426       ac_ext=cc
79427 ac_cpp='$CXXCPP $CPPFLAGS'
79428 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
79429 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
79430 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
79431
79432       cat >conftest.$ac_ext <<_ACEOF
79433 /* confdefs.h.  */
79434 _ACEOF
79435 cat confdefs.h >>conftest.$ac_ext
79436 cat >>conftest.$ac_ext <<_ACEOF
79437 /* end confdefs.h.  */
79438 #include <math.h>
79439                       #ifdef HAVE_IEEEFP_H
79440                       #include <ieeefp.h>
79441                       #endif
79442
79443 int
79444 main ()
79445 {
79446  qfpclass(0);
79447   ;
79448   return 0;
79449 }
79450 _ACEOF
79451 rm -f conftest.$ac_objext
79452 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
79453   (eval $ac_compile) 2>conftest.er1
79454   ac_status=$?
79455   grep -v '^ *+' conftest.er1 >conftest.err
79456   rm -f conftest.er1
79457   cat conftest.err >&5
79458   echo "$as_me:$LINENO: \$? = $ac_status" >&5
79459   (exit $ac_status); } &&
79460          { ac_try='test -z "$ac_cxx_werror_flag"
79461                          || test ! -s conftest.err'
79462   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
79463   (eval $ac_try) 2>&5
79464   ac_status=$?
79465   echo "$as_me:$LINENO: \$? = $ac_status" >&5
79466   (exit $ac_status); }; } &&
79467          { ac_try='test -s conftest.$ac_objext'
79468   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
79469   (eval $ac_try) 2>&5
79470   ac_status=$?
79471   echo "$as_me:$LINENO: \$? = $ac_status" >&5
79472   (exit $ac_status); }; }; then
79473   glibcxx_cv_func_qfpclass_use=yes
79474 else
79475   echo "$as_me: failed program was:" >&5
79476 sed 's/^/| /' conftest.$ac_ext >&5
79477
79478 glibcxx_cv_func_qfpclass_use=no
79479 fi
79480 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
79481       ac_ext=c
79482 ac_cpp='$CPP $CPPFLAGS'
79483 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
79484 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
79485 ac_compiler_gnu=$ac_cv_c_compiler_gnu
79486
79487
79488 fi
79489
79490   fi
79491   echo "$as_me:$LINENO: result: $glibcxx_cv_func_qfpclass_use" >&5
79492 echo "${ECHO_T}$glibcxx_cv_func_qfpclass_use" >&6
79493
79494   if test x$glibcxx_cv_func_qfpclass_use = x"yes"; then
79495
79496 for ac_func in qfpclass
79497 do
79498 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
79499 echo "$as_me:$LINENO: checking for $ac_func" >&5
79500 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
79501 if eval "test \"\${$as_ac_var+set}\" = set"; then
79502   echo $ECHO_N "(cached) $ECHO_C" >&6
79503 else
79504   if test x$gcc_no_link = xyes; then
79505   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
79506 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
79507    { (exit 1); exit 1; }; }
79508 fi
79509 cat >conftest.$ac_ext <<_ACEOF
79510 /* confdefs.h.  */
79511 _ACEOF
79512 cat confdefs.h >>conftest.$ac_ext
79513 cat >>conftest.$ac_ext <<_ACEOF
79514 /* end confdefs.h.  */
79515 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
79516    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
79517 #define $ac_func innocuous_$ac_func
79518
79519 /* System header to define __stub macros and hopefully few prototypes,
79520     which can conflict with char $ac_func (); below.
79521     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
79522     <limits.h> exists even on freestanding compilers.  */
79523
79524 #ifdef __STDC__
79525 # include <limits.h>
79526 #else
79527 # include <assert.h>
79528 #endif
79529
79530 #undef $ac_func
79531
79532 /* Override any gcc2 internal prototype to avoid an error.  */
79533 #ifdef __cplusplus
79534 extern "C"
79535 {
79536 #endif
79537 /* We use char because int might match the return type of a gcc2
79538    builtin and then its argument prototype would still apply.  */
79539 char $ac_func ();
79540 /* The GNU C library defines this for functions which it implements
79541     to always fail with ENOSYS.  Some functions are actually named
79542     something starting with __ and the normal name is an alias.  */
79543 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
79544 choke me
79545 #else
79546 char (*f) () = $ac_func;
79547 #endif
79548 #ifdef __cplusplus
79549 }
79550 #endif
79551
79552 int
79553 main ()
79554 {
79555 return f != $ac_func;
79556   ;
79557   return 0;
79558 }
79559 _ACEOF
79560 rm -f conftest.$ac_objext conftest$ac_exeext
79561 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
79562   (eval $ac_link) 2>conftest.er1
79563   ac_status=$?
79564   grep -v '^ *+' conftest.er1 >conftest.err
79565   rm -f conftest.er1
79566   cat conftest.err >&5
79567   echo "$as_me:$LINENO: \$? = $ac_status" >&5
79568   (exit $ac_status); } &&
79569          { ac_try='test -z "$ac_c_werror_flag"
79570                          || test ! -s conftest.err'
79571   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
79572   (eval $ac_try) 2>&5
79573   ac_status=$?
79574   echo "$as_me:$LINENO: \$? = $ac_status" >&5
79575   (exit $ac_status); }; } &&
79576          { ac_try='test -s conftest$ac_exeext'
79577   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
79578   (eval $ac_try) 2>&5
79579   ac_status=$?
79580   echo "$as_me:$LINENO: \$? = $ac_status" >&5
79581   (exit $ac_status); }; }; then
79582   eval "$as_ac_var=yes"
79583 else
79584   echo "$as_me: failed program was:" >&5
79585 sed 's/^/| /' conftest.$ac_ext >&5
79586
79587 eval "$as_ac_var=no"
79588 fi
79589 rm -f conftest.err conftest.$ac_objext \
79590       conftest$ac_exeext conftest.$ac_ext
79591 fi
79592 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
79593 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
79594 if test `eval echo '${'$as_ac_var'}'` = yes; then
79595   cat >>confdefs.h <<_ACEOF
79596 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
79597 _ACEOF
79598
79599 fi
79600 done
79601
79602   else
79603
79604   echo "$as_me:$LINENO: checking for _qfpclass declaration" >&5
79605 echo $ECHO_N "checking for _qfpclass declaration... $ECHO_C" >&6
79606   if test x${glibcxx_cv_func__qfpclass_use+set} != xset; then
79607     if test "${glibcxx_cv_func__qfpclass_use+set}" = set; then
79608   echo $ECHO_N "(cached) $ECHO_C" >&6
79609 else
79610
79611
79612
79613       ac_ext=cc
79614 ac_cpp='$CXXCPP $CPPFLAGS'
79615 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
79616 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
79617 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
79618
79619       cat >conftest.$ac_ext <<_ACEOF
79620 /* confdefs.h.  */
79621 _ACEOF
79622 cat confdefs.h >>conftest.$ac_ext
79623 cat >>conftest.$ac_ext <<_ACEOF
79624 /* end confdefs.h.  */
79625 #include <math.h>
79626                       #ifdef HAVE_IEEEFP_H
79627                       #include <ieeefp.h>
79628                       #endif
79629
79630 int
79631 main ()
79632 {
79633  _qfpclass(0);
79634   ;
79635   return 0;
79636 }
79637 _ACEOF
79638 rm -f conftest.$ac_objext
79639 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
79640   (eval $ac_compile) 2>conftest.er1
79641   ac_status=$?
79642   grep -v '^ *+' conftest.er1 >conftest.err
79643   rm -f conftest.er1
79644   cat conftest.err >&5
79645   echo "$as_me:$LINENO: \$? = $ac_status" >&5
79646   (exit $ac_status); } &&
79647          { ac_try='test -z "$ac_cxx_werror_flag"
79648                          || test ! -s conftest.err'
79649   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
79650   (eval $ac_try) 2>&5
79651   ac_status=$?
79652   echo "$as_me:$LINENO: \$? = $ac_status" >&5
79653   (exit $ac_status); }; } &&
79654          { ac_try='test -s conftest.$ac_objext'
79655   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
79656   (eval $ac_try) 2>&5
79657   ac_status=$?
79658   echo "$as_me:$LINENO: \$? = $ac_status" >&5
79659   (exit $ac_status); }; }; then
79660   glibcxx_cv_func__qfpclass_use=yes
79661 else
79662   echo "$as_me: failed program was:" >&5
79663 sed 's/^/| /' conftest.$ac_ext >&5
79664
79665 glibcxx_cv_func__qfpclass_use=no
79666 fi
79667 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
79668       ac_ext=c
79669 ac_cpp='$CPP $CPPFLAGS'
79670 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
79671 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
79672 ac_compiler_gnu=$ac_cv_c_compiler_gnu
79673
79674
79675 fi
79676
79677   fi
79678   echo "$as_me:$LINENO: result: $glibcxx_cv_func__qfpclass_use" >&5
79679 echo "${ECHO_T}$glibcxx_cv_func__qfpclass_use" >&6
79680
79681     if test x$glibcxx_cv_func__qfpclass_use = x"yes"; then
79682
79683 for ac_func in _qfpclass
79684 do
79685 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
79686 echo "$as_me:$LINENO: checking for $ac_func" >&5
79687 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
79688 if eval "test \"\${$as_ac_var+set}\" = set"; then
79689   echo $ECHO_N "(cached) $ECHO_C" >&6
79690 else
79691   if test x$gcc_no_link = xyes; then
79692   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
79693 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
79694    { (exit 1); exit 1; }; }
79695 fi
79696 cat >conftest.$ac_ext <<_ACEOF
79697 /* confdefs.h.  */
79698 _ACEOF
79699 cat confdefs.h >>conftest.$ac_ext
79700 cat >>conftest.$ac_ext <<_ACEOF
79701 /* end confdefs.h.  */
79702 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
79703    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
79704 #define $ac_func innocuous_$ac_func
79705
79706 /* System header to define __stub macros and hopefully few prototypes,
79707     which can conflict with char $ac_func (); below.
79708     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
79709     <limits.h> exists even on freestanding compilers.  */
79710
79711 #ifdef __STDC__
79712 # include <limits.h>
79713 #else
79714 # include <assert.h>
79715 #endif
79716
79717 #undef $ac_func
79718
79719 /* Override any gcc2 internal prototype to avoid an error.  */
79720 #ifdef __cplusplus
79721 extern "C"
79722 {
79723 #endif
79724 /* We use char because int might match the return type of a gcc2
79725    builtin and then its argument prototype would still apply.  */
79726 char $ac_func ();
79727 /* The GNU C library defines this for functions which it implements
79728     to always fail with ENOSYS.  Some functions are actually named
79729     something starting with __ and the normal name is an alias.  */
79730 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
79731 choke me
79732 #else
79733 char (*f) () = $ac_func;
79734 #endif
79735 #ifdef __cplusplus
79736 }
79737 #endif
79738
79739 int
79740 main ()
79741 {
79742 return f != $ac_func;
79743   ;
79744   return 0;
79745 }
79746 _ACEOF
79747 rm -f conftest.$ac_objext conftest$ac_exeext
79748 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
79749   (eval $ac_link) 2>conftest.er1
79750   ac_status=$?
79751   grep -v '^ *+' conftest.er1 >conftest.err
79752   rm -f conftest.er1
79753   cat conftest.err >&5
79754   echo "$as_me:$LINENO: \$? = $ac_status" >&5
79755   (exit $ac_status); } &&
79756          { ac_try='test -z "$ac_c_werror_flag"
79757                          || test ! -s conftest.err'
79758   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
79759   (eval $ac_try) 2>&5
79760   ac_status=$?
79761   echo "$as_me:$LINENO: \$? = $ac_status" >&5
79762   (exit $ac_status); }; } &&
79763          { ac_try='test -s conftest$ac_exeext'
79764   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
79765   (eval $ac_try) 2>&5
79766   ac_status=$?
79767   echo "$as_me:$LINENO: \$? = $ac_status" >&5
79768   (exit $ac_status); }; }; then
79769   eval "$as_ac_var=yes"
79770 else
79771   echo "$as_me: failed program was:" >&5
79772 sed 's/^/| /' conftest.$ac_ext >&5
79773
79774 eval "$as_ac_var=no"
79775 fi
79776 rm -f conftest.err conftest.$ac_objext \
79777       conftest$ac_exeext conftest.$ac_ext
79778 fi
79779 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
79780 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
79781 if test `eval echo '${'$as_ac_var'}'` = yes; then
79782   cat >>confdefs.h <<_ACEOF
79783 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
79784 _ACEOF
79785
79786 fi
79787 done
79788
79789     fi
79790   fi
79791
79792
79793
79794
79795
79796
79797   echo "$as_me:$LINENO: checking for hypot declaration" >&5
79798 echo $ECHO_N "checking for hypot declaration... $ECHO_C" >&6
79799   if test x${glibcxx_cv_func_hypot_use+set} != xset; then
79800     if test "${glibcxx_cv_func_hypot_use+set}" = set; then
79801   echo $ECHO_N "(cached) $ECHO_C" >&6
79802 else
79803
79804
79805
79806       ac_ext=cc
79807 ac_cpp='$CXXCPP $CPPFLAGS'
79808 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
79809 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
79810 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
79811
79812       cat >conftest.$ac_ext <<_ACEOF
79813 /* confdefs.h.  */
79814 _ACEOF
79815 cat confdefs.h >>conftest.$ac_ext
79816 cat >>conftest.$ac_ext <<_ACEOF
79817 /* end confdefs.h.  */
79818 #include <math.h>
79819 int
79820 main ()
79821 {
79822  hypot(0, 0);
79823   ;
79824   return 0;
79825 }
79826 _ACEOF
79827 rm -f conftest.$ac_objext
79828 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
79829   (eval $ac_compile) 2>conftest.er1
79830   ac_status=$?
79831   grep -v '^ *+' conftest.er1 >conftest.err
79832   rm -f conftest.er1
79833   cat conftest.err >&5
79834   echo "$as_me:$LINENO: \$? = $ac_status" >&5
79835   (exit $ac_status); } &&
79836          { ac_try='test -z "$ac_cxx_werror_flag"
79837                          || test ! -s conftest.err'
79838   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
79839   (eval $ac_try) 2>&5
79840   ac_status=$?
79841   echo "$as_me:$LINENO: \$? = $ac_status" >&5
79842   (exit $ac_status); }; } &&
79843          { ac_try='test -s conftest.$ac_objext'
79844   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
79845   (eval $ac_try) 2>&5
79846   ac_status=$?
79847   echo "$as_me:$LINENO: \$? = $ac_status" >&5
79848   (exit $ac_status); }; }; then
79849   glibcxx_cv_func_hypot_use=yes
79850 else
79851   echo "$as_me: failed program was:" >&5
79852 sed 's/^/| /' conftest.$ac_ext >&5
79853
79854 glibcxx_cv_func_hypot_use=no
79855 fi
79856 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
79857       ac_ext=c
79858 ac_cpp='$CPP $CPPFLAGS'
79859 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
79860 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
79861 ac_compiler_gnu=$ac_cv_c_compiler_gnu
79862
79863
79864 fi
79865
79866   fi
79867   echo "$as_me:$LINENO: result: $glibcxx_cv_func_hypot_use" >&5
79868 echo "${ECHO_T}$glibcxx_cv_func_hypot_use" >&6
79869
79870   if test x$glibcxx_cv_func_hypot_use = x"yes"; then
79871
79872 for ac_func in hypot
79873 do
79874 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
79875 echo "$as_me:$LINENO: checking for $ac_func" >&5
79876 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
79877 if eval "test \"\${$as_ac_var+set}\" = set"; then
79878   echo $ECHO_N "(cached) $ECHO_C" >&6
79879 else
79880   if test x$gcc_no_link = xyes; then
79881   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
79882 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
79883    { (exit 1); exit 1; }; }
79884 fi
79885 cat >conftest.$ac_ext <<_ACEOF
79886 /* confdefs.h.  */
79887 _ACEOF
79888 cat confdefs.h >>conftest.$ac_ext
79889 cat >>conftest.$ac_ext <<_ACEOF
79890 /* end confdefs.h.  */
79891 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
79892    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
79893 #define $ac_func innocuous_$ac_func
79894
79895 /* System header to define __stub macros and hopefully few prototypes,
79896     which can conflict with char $ac_func (); below.
79897     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
79898     <limits.h> exists even on freestanding compilers.  */
79899
79900 #ifdef __STDC__
79901 # include <limits.h>
79902 #else
79903 # include <assert.h>
79904 #endif
79905
79906 #undef $ac_func
79907
79908 /* Override any gcc2 internal prototype to avoid an error.  */
79909 #ifdef __cplusplus
79910 extern "C"
79911 {
79912 #endif
79913 /* We use char because int might match the return type of a gcc2
79914    builtin and then its argument prototype would still apply.  */
79915 char $ac_func ();
79916 /* The GNU C library defines this for functions which it implements
79917     to always fail with ENOSYS.  Some functions are actually named
79918     something starting with __ and the normal name is an alias.  */
79919 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
79920 choke me
79921 #else
79922 char (*f) () = $ac_func;
79923 #endif
79924 #ifdef __cplusplus
79925 }
79926 #endif
79927
79928 int
79929 main ()
79930 {
79931 return f != $ac_func;
79932   ;
79933   return 0;
79934 }
79935 _ACEOF
79936 rm -f conftest.$ac_objext conftest$ac_exeext
79937 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
79938   (eval $ac_link) 2>conftest.er1
79939   ac_status=$?
79940   grep -v '^ *+' conftest.er1 >conftest.err
79941   rm -f conftest.er1
79942   cat conftest.err >&5
79943   echo "$as_me:$LINENO: \$? = $ac_status" >&5
79944   (exit $ac_status); } &&
79945          { ac_try='test -z "$ac_c_werror_flag"
79946                          || test ! -s conftest.err'
79947   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
79948   (eval $ac_try) 2>&5
79949   ac_status=$?
79950   echo "$as_me:$LINENO: \$? = $ac_status" >&5
79951   (exit $ac_status); }; } &&
79952          { ac_try='test -s conftest$ac_exeext'
79953   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
79954   (eval $ac_try) 2>&5
79955   ac_status=$?
79956   echo "$as_me:$LINENO: \$? = $ac_status" >&5
79957   (exit $ac_status); }; }; then
79958   eval "$as_ac_var=yes"
79959 else
79960   echo "$as_me: failed program was:" >&5
79961 sed 's/^/| /' conftest.$ac_ext >&5
79962
79963 eval "$as_ac_var=no"
79964 fi
79965 rm -f conftest.err conftest.$ac_objext \
79966       conftest$ac_exeext conftest.$ac_ext
79967 fi
79968 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
79969 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
79970 if test `eval echo '${'$as_ac_var'}'` = yes; then
79971   cat >>confdefs.h <<_ACEOF
79972 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
79973 _ACEOF
79974
79975 fi
79976 done
79977
79978   else
79979
79980   echo "$as_me:$LINENO: checking for _hypot declaration" >&5
79981 echo $ECHO_N "checking for _hypot declaration... $ECHO_C" >&6
79982   if test x${glibcxx_cv_func__hypot_use+set} != xset; then
79983     if test "${glibcxx_cv_func__hypot_use+set}" = set; then
79984   echo $ECHO_N "(cached) $ECHO_C" >&6
79985 else
79986
79987
79988
79989       ac_ext=cc
79990 ac_cpp='$CXXCPP $CPPFLAGS'
79991 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
79992 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
79993 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
79994
79995       cat >conftest.$ac_ext <<_ACEOF
79996 /* confdefs.h.  */
79997 _ACEOF
79998 cat confdefs.h >>conftest.$ac_ext
79999 cat >>conftest.$ac_ext <<_ACEOF
80000 /* end confdefs.h.  */
80001 #include <math.h>
80002 int
80003 main ()
80004 {
80005  _hypot(0, 0);
80006   ;
80007   return 0;
80008 }
80009 _ACEOF
80010 rm -f conftest.$ac_objext
80011 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
80012   (eval $ac_compile) 2>conftest.er1
80013   ac_status=$?
80014   grep -v '^ *+' conftest.er1 >conftest.err
80015   rm -f conftest.er1
80016   cat conftest.err >&5
80017   echo "$as_me:$LINENO: \$? = $ac_status" >&5
80018   (exit $ac_status); } &&
80019          { ac_try='test -z "$ac_cxx_werror_flag"
80020                          || test ! -s conftest.err'
80021   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
80022   (eval $ac_try) 2>&5
80023   ac_status=$?
80024   echo "$as_me:$LINENO: \$? = $ac_status" >&5
80025   (exit $ac_status); }; } &&
80026          { ac_try='test -s conftest.$ac_objext'
80027   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
80028   (eval $ac_try) 2>&5
80029   ac_status=$?
80030   echo "$as_me:$LINENO: \$? = $ac_status" >&5
80031   (exit $ac_status); }; }; then
80032   glibcxx_cv_func__hypot_use=yes
80033 else
80034   echo "$as_me: failed program was:" >&5
80035 sed 's/^/| /' conftest.$ac_ext >&5
80036
80037 glibcxx_cv_func__hypot_use=no
80038 fi
80039 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
80040       ac_ext=c
80041 ac_cpp='$CPP $CPPFLAGS'
80042 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
80043 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
80044 ac_compiler_gnu=$ac_cv_c_compiler_gnu
80045
80046
80047 fi
80048
80049   fi
80050   echo "$as_me:$LINENO: result: $glibcxx_cv_func__hypot_use" >&5
80051 echo "${ECHO_T}$glibcxx_cv_func__hypot_use" >&6
80052
80053     if test x$glibcxx_cv_func__hypot_use = x"yes"; then
80054
80055 for ac_func in _hypot
80056 do
80057 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
80058 echo "$as_me:$LINENO: checking for $ac_func" >&5
80059 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
80060 if eval "test \"\${$as_ac_var+set}\" = set"; then
80061   echo $ECHO_N "(cached) $ECHO_C" >&6
80062 else
80063   if test x$gcc_no_link = xyes; then
80064   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
80065 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
80066    { (exit 1); exit 1; }; }
80067 fi
80068 cat >conftest.$ac_ext <<_ACEOF
80069 /* confdefs.h.  */
80070 _ACEOF
80071 cat confdefs.h >>conftest.$ac_ext
80072 cat >>conftest.$ac_ext <<_ACEOF
80073 /* end confdefs.h.  */
80074 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
80075    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
80076 #define $ac_func innocuous_$ac_func
80077
80078 /* System header to define __stub macros and hopefully few prototypes,
80079     which can conflict with char $ac_func (); below.
80080     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
80081     <limits.h> exists even on freestanding compilers.  */
80082
80083 #ifdef __STDC__
80084 # include <limits.h>
80085 #else
80086 # include <assert.h>
80087 #endif
80088
80089 #undef $ac_func
80090
80091 /* Override any gcc2 internal prototype to avoid an error.  */
80092 #ifdef __cplusplus
80093 extern "C"
80094 {
80095 #endif
80096 /* We use char because int might match the return type of a gcc2
80097    builtin and then its argument prototype would still apply.  */
80098 char $ac_func ();
80099 /* The GNU C library defines this for functions which it implements
80100     to always fail with ENOSYS.  Some functions are actually named
80101     something starting with __ and the normal name is an alias.  */
80102 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
80103 choke me
80104 #else
80105 char (*f) () = $ac_func;
80106 #endif
80107 #ifdef __cplusplus
80108 }
80109 #endif
80110
80111 int
80112 main ()
80113 {
80114 return f != $ac_func;
80115   ;
80116   return 0;
80117 }
80118 _ACEOF
80119 rm -f conftest.$ac_objext conftest$ac_exeext
80120 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
80121   (eval $ac_link) 2>conftest.er1
80122   ac_status=$?
80123   grep -v '^ *+' conftest.er1 >conftest.err
80124   rm -f conftest.er1
80125   cat conftest.err >&5
80126   echo "$as_me:$LINENO: \$? = $ac_status" >&5
80127   (exit $ac_status); } &&
80128          { ac_try='test -z "$ac_c_werror_flag"
80129                          || test ! -s conftest.err'
80130   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
80131   (eval $ac_try) 2>&5
80132   ac_status=$?
80133   echo "$as_me:$LINENO: \$? = $ac_status" >&5
80134   (exit $ac_status); }; } &&
80135          { ac_try='test -s conftest$ac_exeext'
80136   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
80137   (eval $ac_try) 2>&5
80138   ac_status=$?
80139   echo "$as_me:$LINENO: \$? = $ac_status" >&5
80140   (exit $ac_status); }; }; then
80141   eval "$as_ac_var=yes"
80142 else
80143   echo "$as_me: failed program was:" >&5
80144 sed 's/^/| /' conftest.$ac_ext >&5
80145
80146 eval "$as_ac_var=no"
80147 fi
80148 rm -f conftest.err conftest.$ac_objext \
80149       conftest$ac_exeext conftest.$ac_ext
80150 fi
80151 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
80152 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
80153 if test `eval echo '${'$as_ac_var'}'` = yes; then
80154   cat >>confdefs.h <<_ACEOF
80155 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
80156 _ACEOF
80157
80158 fi
80159 done
80160
80161     fi
80162   fi
80163
80164
80165
80166
80167
80168
80169     echo "$as_me:$LINENO: checking for float trig functions" >&5
80170 echo $ECHO_N "checking for float trig functions... $ECHO_C" >&6
80171   if test "${glibcxx_cv_func_float_trig_use+set}" = set; then
80172   echo $ECHO_N "(cached) $ECHO_C" >&6
80173 else
80174
80175
80176
80177     ac_ext=cc
80178 ac_cpp='$CXXCPP $CPPFLAGS'
80179 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
80180 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
80181 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
80182
80183     cat >conftest.$ac_ext <<_ACEOF
80184 /* confdefs.h.  */
80185 _ACEOF
80186 cat confdefs.h >>conftest.$ac_ext
80187 cat >>conftest.$ac_ext <<_ACEOF
80188 /* end confdefs.h.  */
80189 #include <math.h>
80190 int
80191 main ()
80192 {
80193 acosf (0); asinf (0); atanf (0); cosf (0); sinf (0); tanf (0); coshf (0); sinhf (0); tanhf (0);
80194   ;
80195   return 0;
80196 }
80197 _ACEOF
80198 rm -f conftest.$ac_objext
80199 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
80200   (eval $ac_compile) 2>conftest.er1
80201   ac_status=$?
80202   grep -v '^ *+' conftest.er1 >conftest.err
80203   rm -f conftest.er1
80204   cat conftest.err >&5
80205   echo "$as_me:$LINENO: \$? = $ac_status" >&5
80206   (exit $ac_status); } &&
80207          { ac_try='test -z "$ac_cxx_werror_flag"
80208                          || test ! -s conftest.err'
80209   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
80210   (eval $ac_try) 2>&5
80211   ac_status=$?
80212   echo "$as_me:$LINENO: \$? = $ac_status" >&5
80213   (exit $ac_status); }; } &&
80214          { ac_try='test -s conftest.$ac_objext'
80215   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
80216   (eval $ac_try) 2>&5
80217   ac_status=$?
80218   echo "$as_me:$LINENO: \$? = $ac_status" >&5
80219   (exit $ac_status); }; }; then
80220   glibcxx_cv_func_float_trig_use=yes
80221 else
80222   echo "$as_me: failed program was:" >&5
80223 sed 's/^/| /' conftest.$ac_ext >&5
80224
80225 glibcxx_cv_func_float_trig_use=no
80226 fi
80227 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
80228     ac_ext=c
80229 ac_cpp='$CPP $CPPFLAGS'
80230 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
80231 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
80232 ac_compiler_gnu=$ac_cv_c_compiler_gnu
80233
80234 fi
80235
80236   echo "$as_me:$LINENO: result: $glibcxx_cv_func_float_trig_use" >&5
80237 echo "${ECHO_T}$glibcxx_cv_func_float_trig_use" >&6
80238   if test x$glibcxx_cv_func_float_trig_use = x"yes"; then
80239
80240
80241
80242
80243
80244
80245
80246
80247
80248 for ac_func in acosf asinf atanf cosf sinf tanf coshf sinhf tanhf
80249 do
80250 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
80251 echo "$as_me:$LINENO: checking for $ac_func" >&5
80252 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
80253 if eval "test \"\${$as_ac_var+set}\" = set"; then
80254   echo $ECHO_N "(cached) $ECHO_C" >&6
80255 else
80256   if test x$gcc_no_link = xyes; then
80257   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
80258 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
80259    { (exit 1); exit 1; }; }
80260 fi
80261 cat >conftest.$ac_ext <<_ACEOF
80262 /* confdefs.h.  */
80263 _ACEOF
80264 cat confdefs.h >>conftest.$ac_ext
80265 cat >>conftest.$ac_ext <<_ACEOF
80266 /* end confdefs.h.  */
80267 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
80268    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
80269 #define $ac_func innocuous_$ac_func
80270
80271 /* System header to define __stub macros and hopefully few prototypes,
80272     which can conflict with char $ac_func (); below.
80273     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
80274     <limits.h> exists even on freestanding compilers.  */
80275
80276 #ifdef __STDC__
80277 # include <limits.h>
80278 #else
80279 # include <assert.h>
80280 #endif
80281
80282 #undef $ac_func
80283
80284 /* Override any gcc2 internal prototype to avoid an error.  */
80285 #ifdef __cplusplus
80286 extern "C"
80287 {
80288 #endif
80289 /* We use char because int might match the return type of a gcc2
80290    builtin and then its argument prototype would still apply.  */
80291 char $ac_func ();
80292 /* The GNU C library defines this for functions which it implements
80293     to always fail with ENOSYS.  Some functions are actually named
80294     something starting with __ and the normal name is an alias.  */
80295 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
80296 choke me
80297 #else
80298 char (*f) () = $ac_func;
80299 #endif
80300 #ifdef __cplusplus
80301 }
80302 #endif
80303
80304 int
80305 main ()
80306 {
80307 return f != $ac_func;
80308   ;
80309   return 0;
80310 }
80311 _ACEOF
80312 rm -f conftest.$ac_objext conftest$ac_exeext
80313 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
80314   (eval $ac_link) 2>conftest.er1
80315   ac_status=$?
80316   grep -v '^ *+' conftest.er1 >conftest.err
80317   rm -f conftest.er1
80318   cat conftest.err >&5
80319   echo "$as_me:$LINENO: \$? = $ac_status" >&5
80320   (exit $ac_status); } &&
80321          { ac_try='test -z "$ac_c_werror_flag"
80322                          || test ! -s conftest.err'
80323   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
80324   (eval $ac_try) 2>&5
80325   ac_status=$?
80326   echo "$as_me:$LINENO: \$? = $ac_status" >&5
80327   (exit $ac_status); }; } &&
80328          { ac_try='test -s conftest$ac_exeext'
80329   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
80330   (eval $ac_try) 2>&5
80331   ac_status=$?
80332   echo "$as_me:$LINENO: \$? = $ac_status" >&5
80333   (exit $ac_status); }; }; then
80334   eval "$as_ac_var=yes"
80335 else
80336   echo "$as_me: failed program was:" >&5
80337 sed 's/^/| /' conftest.$ac_ext >&5
80338
80339 eval "$as_ac_var=no"
80340 fi
80341 rm -f conftest.err conftest.$ac_objext \
80342       conftest$ac_exeext conftest.$ac_ext
80343 fi
80344 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
80345 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
80346 if test `eval echo '${'$as_ac_var'}'` = yes; then
80347   cat >>confdefs.h <<_ACEOF
80348 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
80349 _ACEOF
80350
80351 fi
80352 done
80353
80354   else
80355     echo "$as_me:$LINENO: checking for _float trig functions" >&5
80356 echo $ECHO_N "checking for _float trig functions... $ECHO_C" >&6
80357     if test "${glibcxx_cv_func__float_trig_use+set}" = set; then
80358   echo $ECHO_N "(cached) $ECHO_C" >&6
80359 else
80360
80361
80362
80363       ac_ext=cc
80364 ac_cpp='$CXXCPP $CPPFLAGS'
80365 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
80366 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
80367 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
80368
80369       cat >conftest.$ac_ext <<_ACEOF
80370 /* confdefs.h.  */
80371 _ACEOF
80372 cat confdefs.h >>conftest.$ac_ext
80373 cat >>conftest.$ac_ext <<_ACEOF
80374 /* end confdefs.h.  */
80375 #include <math.h>
80376 int
80377 main ()
80378 {
80379 _acosf (0); _asinf (0); _atanf (0); _cosf (0); _sinf (0); _tanf (0); _coshf (0); _sinhf (0); _tanhf (0);
80380   ;
80381   return 0;
80382 }
80383 _ACEOF
80384 rm -f conftest.$ac_objext
80385 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
80386   (eval $ac_compile) 2>conftest.er1
80387   ac_status=$?
80388   grep -v '^ *+' conftest.er1 >conftest.err
80389   rm -f conftest.er1
80390   cat conftest.err >&5
80391   echo "$as_me:$LINENO: \$? = $ac_status" >&5
80392   (exit $ac_status); } &&
80393          { ac_try='test -z "$ac_cxx_werror_flag"
80394                          || test ! -s conftest.err'
80395   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
80396   (eval $ac_try) 2>&5
80397   ac_status=$?
80398   echo "$as_me:$LINENO: \$? = $ac_status" >&5
80399   (exit $ac_status); }; } &&
80400          { ac_try='test -s conftest.$ac_objext'
80401   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
80402   (eval $ac_try) 2>&5
80403   ac_status=$?
80404   echo "$as_me:$LINENO: \$? = $ac_status" >&5
80405   (exit $ac_status); }; }; then
80406   glibcxx_cv_func__float_trig_use=yes
80407 else
80408   echo "$as_me: failed program was:" >&5
80409 sed 's/^/| /' conftest.$ac_ext >&5
80410
80411 glibcxx_cv_func__float_trig_use=no
80412 fi
80413 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
80414       ac_ext=c
80415 ac_cpp='$CPP $CPPFLAGS'
80416 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
80417 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
80418 ac_compiler_gnu=$ac_cv_c_compiler_gnu
80419
80420 fi
80421
80422     echo "$as_me:$LINENO: result: $glibcxx_cv_func__float_trig_use" >&5
80423 echo "${ECHO_T}$glibcxx_cv_func__float_trig_use" >&6
80424     if test x$glibcxx_cv_func__float_trig_use = x"yes"; then
80425
80426
80427
80428
80429
80430
80431
80432
80433
80434 for ac_func in _acosf _asinf _atanf _cosf _sinf _tanf _coshf _sinhf _tanhf
80435 do
80436 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
80437 echo "$as_me:$LINENO: checking for $ac_func" >&5
80438 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
80439 if eval "test \"\${$as_ac_var+set}\" = set"; then
80440   echo $ECHO_N "(cached) $ECHO_C" >&6
80441 else
80442   if test x$gcc_no_link = xyes; then
80443   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
80444 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
80445    { (exit 1); exit 1; }; }
80446 fi
80447 cat >conftest.$ac_ext <<_ACEOF
80448 /* confdefs.h.  */
80449 _ACEOF
80450 cat confdefs.h >>conftest.$ac_ext
80451 cat >>conftest.$ac_ext <<_ACEOF
80452 /* end confdefs.h.  */
80453 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
80454    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
80455 #define $ac_func innocuous_$ac_func
80456
80457 /* System header to define __stub macros and hopefully few prototypes,
80458     which can conflict with char $ac_func (); below.
80459     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
80460     <limits.h> exists even on freestanding compilers.  */
80461
80462 #ifdef __STDC__
80463 # include <limits.h>
80464 #else
80465 # include <assert.h>
80466 #endif
80467
80468 #undef $ac_func
80469
80470 /* Override any gcc2 internal prototype to avoid an error.  */
80471 #ifdef __cplusplus
80472 extern "C"
80473 {
80474 #endif
80475 /* We use char because int might match the return type of a gcc2
80476    builtin and then its argument prototype would still apply.  */
80477 char $ac_func ();
80478 /* The GNU C library defines this for functions which it implements
80479     to always fail with ENOSYS.  Some functions are actually named
80480     something starting with __ and the normal name is an alias.  */
80481 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
80482 choke me
80483 #else
80484 char (*f) () = $ac_func;
80485 #endif
80486 #ifdef __cplusplus
80487 }
80488 #endif
80489
80490 int
80491 main ()
80492 {
80493 return f != $ac_func;
80494   ;
80495   return 0;
80496 }
80497 _ACEOF
80498 rm -f conftest.$ac_objext conftest$ac_exeext
80499 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
80500   (eval $ac_link) 2>conftest.er1
80501   ac_status=$?
80502   grep -v '^ *+' conftest.er1 >conftest.err
80503   rm -f conftest.er1
80504   cat conftest.err >&5
80505   echo "$as_me:$LINENO: \$? = $ac_status" >&5
80506   (exit $ac_status); } &&
80507          { ac_try='test -z "$ac_c_werror_flag"
80508                          || test ! -s conftest.err'
80509   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
80510   (eval $ac_try) 2>&5
80511   ac_status=$?
80512   echo "$as_me:$LINENO: \$? = $ac_status" >&5
80513   (exit $ac_status); }; } &&
80514          { ac_try='test -s conftest$ac_exeext'
80515   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
80516   (eval $ac_try) 2>&5
80517   ac_status=$?
80518   echo "$as_me:$LINENO: \$? = $ac_status" >&5
80519   (exit $ac_status); }; }; then
80520   eval "$as_ac_var=yes"
80521 else
80522   echo "$as_me: failed program was:" >&5
80523 sed 's/^/| /' conftest.$ac_ext >&5
80524
80525 eval "$as_ac_var=no"
80526 fi
80527 rm -f conftest.err conftest.$ac_objext \
80528       conftest$ac_exeext conftest.$ac_ext
80529 fi
80530 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
80531 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
80532 if test `eval echo '${'$as_ac_var'}'` = yes; then
80533   cat >>confdefs.h <<_ACEOF
80534 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
80535 _ACEOF
80536
80537 fi
80538 done
80539
80540     fi
80541   fi
80542
80543
80544
80545
80546
80547
80548
80549
80550
80551
80552
80553
80554
80555
80556     echo "$as_me:$LINENO: checking for float round functions" >&5
80557 echo $ECHO_N "checking for float round functions... $ECHO_C" >&6
80558   if test "${glibcxx_cv_func_float_round_use+set}" = set; then
80559   echo $ECHO_N "(cached) $ECHO_C" >&6
80560 else
80561
80562
80563
80564     ac_ext=cc
80565 ac_cpp='$CXXCPP $CPPFLAGS'
80566 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
80567 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
80568 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
80569
80570     cat >conftest.$ac_ext <<_ACEOF
80571 /* confdefs.h.  */
80572 _ACEOF
80573 cat confdefs.h >>conftest.$ac_ext
80574 cat >>conftest.$ac_ext <<_ACEOF
80575 /* end confdefs.h.  */
80576 #include <math.h>
80577 int
80578 main ()
80579 {
80580 ceilf (0); floorf (0);
80581   ;
80582   return 0;
80583 }
80584 _ACEOF
80585 rm -f conftest.$ac_objext
80586 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
80587   (eval $ac_compile) 2>conftest.er1
80588   ac_status=$?
80589   grep -v '^ *+' conftest.er1 >conftest.err
80590   rm -f conftest.er1
80591   cat conftest.err >&5
80592   echo "$as_me:$LINENO: \$? = $ac_status" >&5
80593   (exit $ac_status); } &&
80594          { ac_try='test -z "$ac_cxx_werror_flag"
80595                          || test ! -s conftest.err'
80596   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
80597   (eval $ac_try) 2>&5
80598   ac_status=$?
80599   echo "$as_me:$LINENO: \$? = $ac_status" >&5
80600   (exit $ac_status); }; } &&
80601          { ac_try='test -s conftest.$ac_objext'
80602   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
80603   (eval $ac_try) 2>&5
80604   ac_status=$?
80605   echo "$as_me:$LINENO: \$? = $ac_status" >&5
80606   (exit $ac_status); }; }; then
80607   glibcxx_cv_func_float_round_use=yes
80608 else
80609   echo "$as_me: failed program was:" >&5
80610 sed 's/^/| /' conftest.$ac_ext >&5
80611
80612 glibcxx_cv_func_float_round_use=no
80613 fi
80614 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
80615     ac_ext=c
80616 ac_cpp='$CPP $CPPFLAGS'
80617 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
80618 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
80619 ac_compiler_gnu=$ac_cv_c_compiler_gnu
80620
80621 fi
80622
80623   echo "$as_me:$LINENO: result: $glibcxx_cv_func_float_round_use" >&5
80624 echo "${ECHO_T}$glibcxx_cv_func_float_round_use" >&6
80625   if test x$glibcxx_cv_func_float_round_use = x"yes"; then
80626
80627
80628 for ac_func in ceilf floorf
80629 do
80630 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
80631 echo "$as_me:$LINENO: checking for $ac_func" >&5
80632 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
80633 if eval "test \"\${$as_ac_var+set}\" = set"; then
80634   echo $ECHO_N "(cached) $ECHO_C" >&6
80635 else
80636   if test x$gcc_no_link = xyes; then
80637   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
80638 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
80639    { (exit 1); exit 1; }; }
80640 fi
80641 cat >conftest.$ac_ext <<_ACEOF
80642 /* confdefs.h.  */
80643 _ACEOF
80644 cat confdefs.h >>conftest.$ac_ext
80645 cat >>conftest.$ac_ext <<_ACEOF
80646 /* end confdefs.h.  */
80647 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
80648    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
80649 #define $ac_func innocuous_$ac_func
80650
80651 /* System header to define __stub macros and hopefully few prototypes,
80652     which can conflict with char $ac_func (); below.
80653     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
80654     <limits.h> exists even on freestanding compilers.  */
80655
80656 #ifdef __STDC__
80657 # include <limits.h>
80658 #else
80659 # include <assert.h>
80660 #endif
80661
80662 #undef $ac_func
80663
80664 /* Override any gcc2 internal prototype to avoid an error.  */
80665 #ifdef __cplusplus
80666 extern "C"
80667 {
80668 #endif
80669 /* We use char because int might match the return type of a gcc2
80670    builtin and then its argument prototype would still apply.  */
80671 char $ac_func ();
80672 /* The GNU C library defines this for functions which it implements
80673     to always fail with ENOSYS.  Some functions are actually named
80674     something starting with __ and the normal name is an alias.  */
80675 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
80676 choke me
80677 #else
80678 char (*f) () = $ac_func;
80679 #endif
80680 #ifdef __cplusplus
80681 }
80682 #endif
80683
80684 int
80685 main ()
80686 {
80687 return f != $ac_func;
80688   ;
80689   return 0;
80690 }
80691 _ACEOF
80692 rm -f conftest.$ac_objext conftest$ac_exeext
80693 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
80694   (eval $ac_link) 2>conftest.er1
80695   ac_status=$?
80696   grep -v '^ *+' conftest.er1 >conftest.err
80697   rm -f conftest.er1
80698   cat conftest.err >&5
80699   echo "$as_me:$LINENO: \$? = $ac_status" >&5
80700   (exit $ac_status); } &&
80701          { ac_try='test -z "$ac_c_werror_flag"
80702                          || test ! -s conftest.err'
80703   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
80704   (eval $ac_try) 2>&5
80705   ac_status=$?
80706   echo "$as_me:$LINENO: \$? = $ac_status" >&5
80707   (exit $ac_status); }; } &&
80708          { ac_try='test -s conftest$ac_exeext'
80709   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
80710   (eval $ac_try) 2>&5
80711   ac_status=$?
80712   echo "$as_me:$LINENO: \$? = $ac_status" >&5
80713   (exit $ac_status); }; }; then
80714   eval "$as_ac_var=yes"
80715 else
80716   echo "$as_me: failed program was:" >&5
80717 sed 's/^/| /' conftest.$ac_ext >&5
80718
80719 eval "$as_ac_var=no"
80720 fi
80721 rm -f conftest.err conftest.$ac_objext \
80722       conftest$ac_exeext conftest.$ac_ext
80723 fi
80724 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
80725 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
80726 if test `eval echo '${'$as_ac_var'}'` = yes; then
80727   cat >>confdefs.h <<_ACEOF
80728 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
80729 _ACEOF
80730
80731 fi
80732 done
80733
80734   else
80735     echo "$as_me:$LINENO: checking for _float round functions" >&5
80736 echo $ECHO_N "checking for _float round functions... $ECHO_C" >&6
80737     if test "${glibcxx_cv_func__float_round_use+set}" = set; then
80738   echo $ECHO_N "(cached) $ECHO_C" >&6
80739 else
80740
80741
80742
80743       ac_ext=cc
80744 ac_cpp='$CXXCPP $CPPFLAGS'
80745 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
80746 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
80747 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
80748
80749       cat >conftest.$ac_ext <<_ACEOF
80750 /* confdefs.h.  */
80751 _ACEOF
80752 cat confdefs.h >>conftest.$ac_ext
80753 cat >>conftest.$ac_ext <<_ACEOF
80754 /* end confdefs.h.  */
80755 #include <math.h>
80756 int
80757 main ()
80758 {
80759 _ceilf (0); _floorf (0);
80760   ;
80761   return 0;
80762 }
80763 _ACEOF
80764 rm -f conftest.$ac_objext
80765 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
80766   (eval $ac_compile) 2>conftest.er1
80767   ac_status=$?
80768   grep -v '^ *+' conftest.er1 >conftest.err
80769   rm -f conftest.er1
80770   cat conftest.err >&5
80771   echo "$as_me:$LINENO: \$? = $ac_status" >&5
80772   (exit $ac_status); } &&
80773          { ac_try='test -z "$ac_cxx_werror_flag"
80774                          || test ! -s conftest.err'
80775   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
80776   (eval $ac_try) 2>&5
80777   ac_status=$?
80778   echo "$as_me:$LINENO: \$? = $ac_status" >&5
80779   (exit $ac_status); }; } &&
80780          { ac_try='test -s conftest.$ac_objext'
80781   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
80782   (eval $ac_try) 2>&5
80783   ac_status=$?
80784   echo "$as_me:$LINENO: \$? = $ac_status" >&5
80785   (exit $ac_status); }; }; then
80786   glibcxx_cv_func__float_round_use=yes
80787 else
80788   echo "$as_me: failed program was:" >&5
80789 sed 's/^/| /' conftest.$ac_ext >&5
80790
80791 glibcxx_cv_func__float_round_use=no
80792 fi
80793 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
80794       ac_ext=c
80795 ac_cpp='$CPP $CPPFLAGS'
80796 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
80797 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
80798 ac_compiler_gnu=$ac_cv_c_compiler_gnu
80799
80800 fi
80801
80802     echo "$as_me:$LINENO: result: $glibcxx_cv_func__float_round_use" >&5
80803 echo "${ECHO_T}$glibcxx_cv_func__float_round_use" >&6
80804     if test x$glibcxx_cv_func__float_round_use = x"yes"; then
80805
80806
80807 for ac_func in _ceilf _floorf
80808 do
80809 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
80810 echo "$as_me:$LINENO: checking for $ac_func" >&5
80811 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
80812 if eval "test \"\${$as_ac_var+set}\" = set"; then
80813   echo $ECHO_N "(cached) $ECHO_C" >&6
80814 else
80815   if test x$gcc_no_link = xyes; then
80816   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
80817 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
80818    { (exit 1); exit 1; }; }
80819 fi
80820 cat >conftest.$ac_ext <<_ACEOF
80821 /* confdefs.h.  */
80822 _ACEOF
80823 cat confdefs.h >>conftest.$ac_ext
80824 cat >>conftest.$ac_ext <<_ACEOF
80825 /* end confdefs.h.  */
80826 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
80827    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
80828 #define $ac_func innocuous_$ac_func
80829
80830 /* System header to define __stub macros and hopefully few prototypes,
80831     which can conflict with char $ac_func (); below.
80832     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
80833     <limits.h> exists even on freestanding compilers.  */
80834
80835 #ifdef __STDC__
80836 # include <limits.h>
80837 #else
80838 # include <assert.h>
80839 #endif
80840
80841 #undef $ac_func
80842
80843 /* Override any gcc2 internal prototype to avoid an error.  */
80844 #ifdef __cplusplus
80845 extern "C"
80846 {
80847 #endif
80848 /* We use char because int might match the return type of a gcc2
80849    builtin and then its argument prototype would still apply.  */
80850 char $ac_func ();
80851 /* The GNU C library defines this for functions which it implements
80852     to always fail with ENOSYS.  Some functions are actually named
80853     something starting with __ and the normal name is an alias.  */
80854 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
80855 choke me
80856 #else
80857 char (*f) () = $ac_func;
80858 #endif
80859 #ifdef __cplusplus
80860 }
80861 #endif
80862
80863 int
80864 main ()
80865 {
80866 return f != $ac_func;
80867   ;
80868   return 0;
80869 }
80870 _ACEOF
80871 rm -f conftest.$ac_objext conftest$ac_exeext
80872 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
80873   (eval $ac_link) 2>conftest.er1
80874   ac_status=$?
80875   grep -v '^ *+' conftest.er1 >conftest.err
80876   rm -f conftest.er1
80877   cat conftest.err >&5
80878   echo "$as_me:$LINENO: \$? = $ac_status" >&5
80879   (exit $ac_status); } &&
80880          { ac_try='test -z "$ac_c_werror_flag"
80881                          || test ! -s conftest.err'
80882   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
80883   (eval $ac_try) 2>&5
80884   ac_status=$?
80885   echo "$as_me:$LINENO: \$? = $ac_status" >&5
80886   (exit $ac_status); }; } &&
80887          { ac_try='test -s conftest$ac_exeext'
80888   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
80889   (eval $ac_try) 2>&5
80890   ac_status=$?
80891   echo "$as_me:$LINENO: \$? = $ac_status" >&5
80892   (exit $ac_status); }; }; then
80893   eval "$as_ac_var=yes"
80894 else
80895   echo "$as_me: failed program was:" >&5
80896 sed 's/^/| /' conftest.$ac_ext >&5
80897
80898 eval "$as_ac_var=no"
80899 fi
80900 rm -f conftest.err conftest.$ac_objext \
80901       conftest$ac_exeext conftest.$ac_ext
80902 fi
80903 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
80904 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
80905 if test `eval echo '${'$as_ac_var'}'` = yes; then
80906   cat >>confdefs.h <<_ACEOF
80907 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
80908 _ACEOF
80909
80910 fi
80911 done
80912
80913     fi
80914   fi
80915
80916
80917
80918
80919
80920
80921
80922
80923   echo "$as_me:$LINENO: checking for expf declaration" >&5
80924 echo $ECHO_N "checking for expf declaration... $ECHO_C" >&6
80925   if test x${glibcxx_cv_func_expf_use+set} != xset; then
80926     if test "${glibcxx_cv_func_expf_use+set}" = set; then
80927   echo $ECHO_N "(cached) $ECHO_C" >&6
80928 else
80929
80930
80931
80932       ac_ext=cc
80933 ac_cpp='$CXXCPP $CPPFLAGS'
80934 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
80935 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
80936 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
80937
80938       cat >conftest.$ac_ext <<_ACEOF
80939 /* confdefs.h.  */
80940 _ACEOF
80941 cat confdefs.h >>conftest.$ac_ext
80942 cat >>conftest.$ac_ext <<_ACEOF
80943 /* end confdefs.h.  */
80944 #include <math.h>
80945                       #ifdef HAVE_IEEEFP_H
80946                       #include <ieeefp.h>
80947                       #endif
80948
80949 int
80950 main ()
80951 {
80952  expf(0);
80953   ;
80954   return 0;
80955 }
80956 _ACEOF
80957 rm -f conftest.$ac_objext
80958 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
80959   (eval $ac_compile) 2>conftest.er1
80960   ac_status=$?
80961   grep -v '^ *+' conftest.er1 >conftest.err
80962   rm -f conftest.er1
80963   cat conftest.err >&5
80964   echo "$as_me:$LINENO: \$? = $ac_status" >&5
80965   (exit $ac_status); } &&
80966          { ac_try='test -z "$ac_cxx_werror_flag"
80967                          || test ! -s conftest.err'
80968   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
80969   (eval $ac_try) 2>&5
80970   ac_status=$?
80971   echo "$as_me:$LINENO: \$? = $ac_status" >&5
80972   (exit $ac_status); }; } &&
80973          { ac_try='test -s conftest.$ac_objext'
80974   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
80975   (eval $ac_try) 2>&5
80976   ac_status=$?
80977   echo "$as_me:$LINENO: \$? = $ac_status" >&5
80978   (exit $ac_status); }; }; then
80979   glibcxx_cv_func_expf_use=yes
80980 else
80981   echo "$as_me: failed program was:" >&5
80982 sed 's/^/| /' conftest.$ac_ext >&5
80983
80984 glibcxx_cv_func_expf_use=no
80985 fi
80986 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
80987       ac_ext=c
80988 ac_cpp='$CPP $CPPFLAGS'
80989 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
80990 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
80991 ac_compiler_gnu=$ac_cv_c_compiler_gnu
80992
80993
80994 fi
80995
80996   fi
80997   echo "$as_me:$LINENO: result: $glibcxx_cv_func_expf_use" >&5
80998 echo "${ECHO_T}$glibcxx_cv_func_expf_use" >&6
80999
81000   if test x$glibcxx_cv_func_expf_use = x"yes"; then
81001
81002 for ac_func in expf
81003 do
81004 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
81005 echo "$as_me:$LINENO: checking for $ac_func" >&5
81006 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
81007 if eval "test \"\${$as_ac_var+set}\" = set"; then
81008   echo $ECHO_N "(cached) $ECHO_C" >&6
81009 else
81010   if test x$gcc_no_link = xyes; then
81011   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
81012 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
81013    { (exit 1); exit 1; }; }
81014 fi
81015 cat >conftest.$ac_ext <<_ACEOF
81016 /* confdefs.h.  */
81017 _ACEOF
81018 cat confdefs.h >>conftest.$ac_ext
81019 cat >>conftest.$ac_ext <<_ACEOF
81020 /* end confdefs.h.  */
81021 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
81022    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
81023 #define $ac_func innocuous_$ac_func
81024
81025 /* System header to define __stub macros and hopefully few prototypes,
81026     which can conflict with char $ac_func (); below.
81027     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
81028     <limits.h> exists even on freestanding compilers.  */
81029
81030 #ifdef __STDC__
81031 # include <limits.h>
81032 #else
81033 # include <assert.h>
81034 #endif
81035
81036 #undef $ac_func
81037
81038 /* Override any gcc2 internal prototype to avoid an error.  */
81039 #ifdef __cplusplus
81040 extern "C"
81041 {
81042 #endif
81043 /* We use char because int might match the return type of a gcc2
81044    builtin and then its argument prototype would still apply.  */
81045 char $ac_func ();
81046 /* The GNU C library defines this for functions which it implements
81047     to always fail with ENOSYS.  Some functions are actually named
81048     something starting with __ and the normal name is an alias.  */
81049 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
81050 choke me
81051 #else
81052 char (*f) () = $ac_func;
81053 #endif
81054 #ifdef __cplusplus
81055 }
81056 #endif
81057
81058 int
81059 main ()
81060 {
81061 return f != $ac_func;
81062   ;
81063   return 0;
81064 }
81065 _ACEOF
81066 rm -f conftest.$ac_objext conftest$ac_exeext
81067 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
81068   (eval $ac_link) 2>conftest.er1
81069   ac_status=$?
81070   grep -v '^ *+' conftest.er1 >conftest.err
81071   rm -f conftest.er1
81072   cat conftest.err >&5
81073   echo "$as_me:$LINENO: \$? = $ac_status" >&5
81074   (exit $ac_status); } &&
81075          { ac_try='test -z "$ac_c_werror_flag"
81076                          || test ! -s conftest.err'
81077   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
81078   (eval $ac_try) 2>&5
81079   ac_status=$?
81080   echo "$as_me:$LINENO: \$? = $ac_status" >&5
81081   (exit $ac_status); }; } &&
81082          { ac_try='test -s conftest$ac_exeext'
81083   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
81084   (eval $ac_try) 2>&5
81085   ac_status=$?
81086   echo "$as_me:$LINENO: \$? = $ac_status" >&5
81087   (exit $ac_status); }; }; then
81088   eval "$as_ac_var=yes"
81089 else
81090   echo "$as_me: failed program was:" >&5
81091 sed 's/^/| /' conftest.$ac_ext >&5
81092
81093 eval "$as_ac_var=no"
81094 fi
81095 rm -f conftest.err conftest.$ac_objext \
81096       conftest$ac_exeext conftest.$ac_ext
81097 fi
81098 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
81099 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
81100 if test `eval echo '${'$as_ac_var'}'` = yes; then
81101   cat >>confdefs.h <<_ACEOF
81102 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
81103 _ACEOF
81104
81105 fi
81106 done
81107
81108   else
81109
81110   echo "$as_me:$LINENO: checking for _expf declaration" >&5
81111 echo $ECHO_N "checking for _expf declaration... $ECHO_C" >&6
81112   if test x${glibcxx_cv_func__expf_use+set} != xset; then
81113     if test "${glibcxx_cv_func__expf_use+set}" = set; then
81114   echo $ECHO_N "(cached) $ECHO_C" >&6
81115 else
81116
81117
81118
81119       ac_ext=cc
81120 ac_cpp='$CXXCPP $CPPFLAGS'
81121 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
81122 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
81123 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
81124
81125       cat >conftest.$ac_ext <<_ACEOF
81126 /* confdefs.h.  */
81127 _ACEOF
81128 cat confdefs.h >>conftest.$ac_ext
81129 cat >>conftest.$ac_ext <<_ACEOF
81130 /* end confdefs.h.  */
81131 #include <math.h>
81132                       #ifdef HAVE_IEEEFP_H
81133                       #include <ieeefp.h>
81134                       #endif
81135
81136 int
81137 main ()
81138 {
81139  _expf(0);
81140   ;
81141   return 0;
81142 }
81143 _ACEOF
81144 rm -f conftest.$ac_objext
81145 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
81146   (eval $ac_compile) 2>conftest.er1
81147   ac_status=$?
81148   grep -v '^ *+' conftest.er1 >conftest.err
81149   rm -f conftest.er1
81150   cat conftest.err >&5
81151   echo "$as_me:$LINENO: \$? = $ac_status" >&5
81152   (exit $ac_status); } &&
81153          { ac_try='test -z "$ac_cxx_werror_flag"
81154                          || test ! -s conftest.err'
81155   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
81156   (eval $ac_try) 2>&5
81157   ac_status=$?
81158   echo "$as_me:$LINENO: \$? = $ac_status" >&5
81159   (exit $ac_status); }; } &&
81160          { ac_try='test -s conftest.$ac_objext'
81161   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
81162   (eval $ac_try) 2>&5
81163   ac_status=$?
81164   echo "$as_me:$LINENO: \$? = $ac_status" >&5
81165   (exit $ac_status); }; }; then
81166   glibcxx_cv_func__expf_use=yes
81167 else
81168   echo "$as_me: failed program was:" >&5
81169 sed 's/^/| /' conftest.$ac_ext >&5
81170
81171 glibcxx_cv_func__expf_use=no
81172 fi
81173 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
81174       ac_ext=c
81175 ac_cpp='$CPP $CPPFLAGS'
81176 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
81177 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
81178 ac_compiler_gnu=$ac_cv_c_compiler_gnu
81179
81180
81181 fi
81182
81183   fi
81184   echo "$as_me:$LINENO: result: $glibcxx_cv_func__expf_use" >&5
81185 echo "${ECHO_T}$glibcxx_cv_func__expf_use" >&6
81186
81187     if test x$glibcxx_cv_func__expf_use = x"yes"; then
81188
81189 for ac_func in _expf
81190 do
81191 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
81192 echo "$as_me:$LINENO: checking for $ac_func" >&5
81193 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
81194 if eval "test \"\${$as_ac_var+set}\" = set"; then
81195   echo $ECHO_N "(cached) $ECHO_C" >&6
81196 else
81197   if test x$gcc_no_link = xyes; then
81198   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
81199 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
81200    { (exit 1); exit 1; }; }
81201 fi
81202 cat >conftest.$ac_ext <<_ACEOF
81203 /* confdefs.h.  */
81204 _ACEOF
81205 cat confdefs.h >>conftest.$ac_ext
81206 cat >>conftest.$ac_ext <<_ACEOF
81207 /* end confdefs.h.  */
81208 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
81209    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
81210 #define $ac_func innocuous_$ac_func
81211
81212 /* System header to define __stub macros and hopefully few prototypes,
81213     which can conflict with char $ac_func (); below.
81214     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
81215     <limits.h> exists even on freestanding compilers.  */
81216
81217 #ifdef __STDC__
81218 # include <limits.h>
81219 #else
81220 # include <assert.h>
81221 #endif
81222
81223 #undef $ac_func
81224
81225 /* Override any gcc2 internal prototype to avoid an error.  */
81226 #ifdef __cplusplus
81227 extern "C"
81228 {
81229 #endif
81230 /* We use char because int might match the return type of a gcc2
81231    builtin and then its argument prototype would still apply.  */
81232 char $ac_func ();
81233 /* The GNU C library defines this for functions which it implements
81234     to always fail with ENOSYS.  Some functions are actually named
81235     something starting with __ and the normal name is an alias.  */
81236 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
81237 choke me
81238 #else
81239 char (*f) () = $ac_func;
81240 #endif
81241 #ifdef __cplusplus
81242 }
81243 #endif
81244
81245 int
81246 main ()
81247 {
81248 return f != $ac_func;
81249   ;
81250   return 0;
81251 }
81252 _ACEOF
81253 rm -f conftest.$ac_objext conftest$ac_exeext
81254 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
81255   (eval $ac_link) 2>conftest.er1
81256   ac_status=$?
81257   grep -v '^ *+' conftest.er1 >conftest.err
81258   rm -f conftest.er1
81259   cat conftest.err >&5
81260   echo "$as_me:$LINENO: \$? = $ac_status" >&5
81261   (exit $ac_status); } &&
81262          { ac_try='test -z "$ac_c_werror_flag"
81263                          || test ! -s conftest.err'
81264   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
81265   (eval $ac_try) 2>&5
81266   ac_status=$?
81267   echo "$as_me:$LINENO: \$? = $ac_status" >&5
81268   (exit $ac_status); }; } &&
81269          { ac_try='test -s conftest$ac_exeext'
81270   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
81271   (eval $ac_try) 2>&5
81272   ac_status=$?
81273   echo "$as_me:$LINENO: \$? = $ac_status" >&5
81274   (exit $ac_status); }; }; then
81275   eval "$as_ac_var=yes"
81276 else
81277   echo "$as_me: failed program was:" >&5
81278 sed 's/^/| /' conftest.$ac_ext >&5
81279
81280 eval "$as_ac_var=no"
81281 fi
81282 rm -f conftest.err conftest.$ac_objext \
81283       conftest$ac_exeext conftest.$ac_ext
81284 fi
81285 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
81286 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
81287 if test `eval echo '${'$as_ac_var'}'` = yes; then
81288   cat >>confdefs.h <<_ACEOF
81289 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
81290 _ACEOF
81291
81292 fi
81293 done
81294
81295     fi
81296   fi
81297
81298
81299
81300
81301
81302
81303   echo "$as_me:$LINENO: checking for isnanf declaration" >&5
81304 echo $ECHO_N "checking for isnanf declaration... $ECHO_C" >&6
81305   if test x${glibcxx_cv_func_isnanf_use+set} != xset; then
81306     if test "${glibcxx_cv_func_isnanf_use+set}" = set; then
81307   echo $ECHO_N "(cached) $ECHO_C" >&6
81308 else
81309
81310
81311
81312       ac_ext=cc
81313 ac_cpp='$CXXCPP $CPPFLAGS'
81314 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
81315 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
81316 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
81317
81318       cat >conftest.$ac_ext <<_ACEOF
81319 /* confdefs.h.  */
81320 _ACEOF
81321 cat confdefs.h >>conftest.$ac_ext
81322 cat >>conftest.$ac_ext <<_ACEOF
81323 /* end confdefs.h.  */
81324 #include <math.h>
81325                       #ifdef HAVE_IEEEFP_H
81326                       #include <ieeefp.h>
81327                       #endif
81328
81329 int
81330 main ()
81331 {
81332  isnanf(0);
81333   ;
81334   return 0;
81335 }
81336 _ACEOF
81337 rm -f conftest.$ac_objext
81338 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
81339   (eval $ac_compile) 2>conftest.er1
81340   ac_status=$?
81341   grep -v '^ *+' conftest.er1 >conftest.err
81342   rm -f conftest.er1
81343   cat conftest.err >&5
81344   echo "$as_me:$LINENO: \$? = $ac_status" >&5
81345   (exit $ac_status); } &&
81346          { ac_try='test -z "$ac_cxx_werror_flag"
81347                          || test ! -s conftest.err'
81348   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
81349   (eval $ac_try) 2>&5
81350   ac_status=$?
81351   echo "$as_me:$LINENO: \$? = $ac_status" >&5
81352   (exit $ac_status); }; } &&
81353          { ac_try='test -s conftest.$ac_objext'
81354   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
81355   (eval $ac_try) 2>&5
81356   ac_status=$?
81357   echo "$as_me:$LINENO: \$? = $ac_status" >&5
81358   (exit $ac_status); }; }; then
81359   glibcxx_cv_func_isnanf_use=yes
81360 else
81361   echo "$as_me: failed program was:" >&5
81362 sed 's/^/| /' conftest.$ac_ext >&5
81363
81364 glibcxx_cv_func_isnanf_use=no
81365 fi
81366 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
81367       ac_ext=c
81368 ac_cpp='$CPP $CPPFLAGS'
81369 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
81370 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
81371 ac_compiler_gnu=$ac_cv_c_compiler_gnu
81372
81373
81374 fi
81375
81376   fi
81377   echo "$as_me:$LINENO: result: $glibcxx_cv_func_isnanf_use" >&5
81378 echo "${ECHO_T}$glibcxx_cv_func_isnanf_use" >&6
81379
81380   if test x$glibcxx_cv_func_isnanf_use = x"yes"; then
81381
81382 for ac_func in isnanf
81383 do
81384 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
81385 echo "$as_me:$LINENO: checking for $ac_func" >&5
81386 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
81387 if eval "test \"\${$as_ac_var+set}\" = set"; then
81388   echo $ECHO_N "(cached) $ECHO_C" >&6
81389 else
81390   if test x$gcc_no_link = xyes; then
81391   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
81392 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
81393    { (exit 1); exit 1; }; }
81394 fi
81395 cat >conftest.$ac_ext <<_ACEOF
81396 /* confdefs.h.  */
81397 _ACEOF
81398 cat confdefs.h >>conftest.$ac_ext
81399 cat >>conftest.$ac_ext <<_ACEOF
81400 /* end confdefs.h.  */
81401 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
81402    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
81403 #define $ac_func innocuous_$ac_func
81404
81405 /* System header to define __stub macros and hopefully few prototypes,
81406     which can conflict with char $ac_func (); below.
81407     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
81408     <limits.h> exists even on freestanding compilers.  */
81409
81410 #ifdef __STDC__
81411 # include <limits.h>
81412 #else
81413 # include <assert.h>
81414 #endif
81415
81416 #undef $ac_func
81417
81418 /* Override any gcc2 internal prototype to avoid an error.  */
81419 #ifdef __cplusplus
81420 extern "C"
81421 {
81422 #endif
81423 /* We use char because int might match the return type of a gcc2
81424    builtin and then its argument prototype would still apply.  */
81425 char $ac_func ();
81426 /* The GNU C library defines this for functions which it implements
81427     to always fail with ENOSYS.  Some functions are actually named
81428     something starting with __ and the normal name is an alias.  */
81429 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
81430 choke me
81431 #else
81432 char (*f) () = $ac_func;
81433 #endif
81434 #ifdef __cplusplus
81435 }
81436 #endif
81437
81438 int
81439 main ()
81440 {
81441 return f != $ac_func;
81442   ;
81443   return 0;
81444 }
81445 _ACEOF
81446 rm -f conftest.$ac_objext conftest$ac_exeext
81447 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
81448   (eval $ac_link) 2>conftest.er1
81449   ac_status=$?
81450   grep -v '^ *+' conftest.er1 >conftest.err
81451   rm -f conftest.er1
81452   cat conftest.err >&5
81453   echo "$as_me:$LINENO: \$? = $ac_status" >&5
81454   (exit $ac_status); } &&
81455          { ac_try='test -z "$ac_c_werror_flag"
81456                          || test ! -s conftest.err'
81457   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
81458   (eval $ac_try) 2>&5
81459   ac_status=$?
81460   echo "$as_me:$LINENO: \$? = $ac_status" >&5
81461   (exit $ac_status); }; } &&
81462          { ac_try='test -s conftest$ac_exeext'
81463   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
81464   (eval $ac_try) 2>&5
81465   ac_status=$?
81466   echo "$as_me:$LINENO: \$? = $ac_status" >&5
81467   (exit $ac_status); }; }; then
81468   eval "$as_ac_var=yes"
81469 else
81470   echo "$as_me: failed program was:" >&5
81471 sed 's/^/| /' conftest.$ac_ext >&5
81472
81473 eval "$as_ac_var=no"
81474 fi
81475 rm -f conftest.err conftest.$ac_objext \
81476       conftest$ac_exeext conftest.$ac_ext
81477 fi
81478 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
81479 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
81480 if test `eval echo '${'$as_ac_var'}'` = yes; then
81481   cat >>confdefs.h <<_ACEOF
81482 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
81483 _ACEOF
81484
81485 fi
81486 done
81487
81488   else
81489
81490   echo "$as_me:$LINENO: checking for _isnanf declaration" >&5
81491 echo $ECHO_N "checking for _isnanf declaration... $ECHO_C" >&6
81492   if test x${glibcxx_cv_func__isnanf_use+set} != xset; then
81493     if test "${glibcxx_cv_func__isnanf_use+set}" = set; then
81494   echo $ECHO_N "(cached) $ECHO_C" >&6
81495 else
81496
81497
81498
81499       ac_ext=cc
81500 ac_cpp='$CXXCPP $CPPFLAGS'
81501 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
81502 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
81503 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
81504
81505       cat >conftest.$ac_ext <<_ACEOF
81506 /* confdefs.h.  */
81507 _ACEOF
81508 cat confdefs.h >>conftest.$ac_ext
81509 cat >>conftest.$ac_ext <<_ACEOF
81510 /* end confdefs.h.  */
81511 #include <math.h>
81512                       #ifdef HAVE_IEEEFP_H
81513                       #include <ieeefp.h>
81514                       #endif
81515
81516 int
81517 main ()
81518 {
81519  _isnanf(0);
81520   ;
81521   return 0;
81522 }
81523 _ACEOF
81524 rm -f conftest.$ac_objext
81525 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
81526   (eval $ac_compile) 2>conftest.er1
81527   ac_status=$?
81528   grep -v '^ *+' conftest.er1 >conftest.err
81529   rm -f conftest.er1
81530   cat conftest.err >&5
81531   echo "$as_me:$LINENO: \$? = $ac_status" >&5
81532   (exit $ac_status); } &&
81533          { ac_try='test -z "$ac_cxx_werror_flag"
81534                          || test ! -s conftest.err'
81535   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
81536   (eval $ac_try) 2>&5
81537   ac_status=$?
81538   echo "$as_me:$LINENO: \$? = $ac_status" >&5
81539   (exit $ac_status); }; } &&
81540          { ac_try='test -s conftest.$ac_objext'
81541   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
81542   (eval $ac_try) 2>&5
81543   ac_status=$?
81544   echo "$as_me:$LINENO: \$? = $ac_status" >&5
81545   (exit $ac_status); }; }; then
81546   glibcxx_cv_func__isnanf_use=yes
81547 else
81548   echo "$as_me: failed program was:" >&5
81549 sed 's/^/| /' conftest.$ac_ext >&5
81550
81551 glibcxx_cv_func__isnanf_use=no
81552 fi
81553 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
81554       ac_ext=c
81555 ac_cpp='$CPP $CPPFLAGS'
81556 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
81557 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
81558 ac_compiler_gnu=$ac_cv_c_compiler_gnu
81559
81560
81561 fi
81562
81563   fi
81564   echo "$as_me:$LINENO: result: $glibcxx_cv_func__isnanf_use" >&5
81565 echo "${ECHO_T}$glibcxx_cv_func__isnanf_use" >&6
81566
81567     if test x$glibcxx_cv_func__isnanf_use = x"yes"; then
81568
81569 for ac_func in _isnanf
81570 do
81571 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
81572 echo "$as_me:$LINENO: checking for $ac_func" >&5
81573 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
81574 if eval "test \"\${$as_ac_var+set}\" = set"; then
81575   echo $ECHO_N "(cached) $ECHO_C" >&6
81576 else
81577   if test x$gcc_no_link = xyes; then
81578   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
81579 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
81580    { (exit 1); exit 1; }; }
81581 fi
81582 cat >conftest.$ac_ext <<_ACEOF
81583 /* confdefs.h.  */
81584 _ACEOF
81585 cat confdefs.h >>conftest.$ac_ext
81586 cat >>conftest.$ac_ext <<_ACEOF
81587 /* end confdefs.h.  */
81588 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
81589    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
81590 #define $ac_func innocuous_$ac_func
81591
81592 /* System header to define __stub macros and hopefully few prototypes,
81593     which can conflict with char $ac_func (); below.
81594     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
81595     <limits.h> exists even on freestanding compilers.  */
81596
81597 #ifdef __STDC__
81598 # include <limits.h>
81599 #else
81600 # include <assert.h>
81601 #endif
81602
81603 #undef $ac_func
81604
81605 /* Override any gcc2 internal prototype to avoid an error.  */
81606 #ifdef __cplusplus
81607 extern "C"
81608 {
81609 #endif
81610 /* We use char because int might match the return type of a gcc2
81611    builtin and then its argument prototype would still apply.  */
81612 char $ac_func ();
81613 /* The GNU C library defines this for functions which it implements
81614     to always fail with ENOSYS.  Some functions are actually named
81615     something starting with __ and the normal name is an alias.  */
81616 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
81617 choke me
81618 #else
81619 char (*f) () = $ac_func;
81620 #endif
81621 #ifdef __cplusplus
81622 }
81623 #endif
81624
81625 int
81626 main ()
81627 {
81628 return f != $ac_func;
81629   ;
81630   return 0;
81631 }
81632 _ACEOF
81633 rm -f conftest.$ac_objext conftest$ac_exeext
81634 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
81635   (eval $ac_link) 2>conftest.er1
81636   ac_status=$?
81637   grep -v '^ *+' conftest.er1 >conftest.err
81638   rm -f conftest.er1
81639   cat conftest.err >&5
81640   echo "$as_me:$LINENO: \$? = $ac_status" >&5
81641   (exit $ac_status); } &&
81642          { ac_try='test -z "$ac_c_werror_flag"
81643                          || test ! -s conftest.err'
81644   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
81645   (eval $ac_try) 2>&5
81646   ac_status=$?
81647   echo "$as_me:$LINENO: \$? = $ac_status" >&5
81648   (exit $ac_status); }; } &&
81649          { ac_try='test -s conftest$ac_exeext'
81650   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
81651   (eval $ac_try) 2>&5
81652   ac_status=$?
81653   echo "$as_me:$LINENO: \$? = $ac_status" >&5
81654   (exit $ac_status); }; }; then
81655   eval "$as_ac_var=yes"
81656 else
81657   echo "$as_me: failed program was:" >&5
81658 sed 's/^/| /' conftest.$ac_ext >&5
81659
81660 eval "$as_ac_var=no"
81661 fi
81662 rm -f conftest.err conftest.$ac_objext \
81663       conftest$ac_exeext conftest.$ac_ext
81664 fi
81665 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
81666 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
81667 if test `eval echo '${'$as_ac_var'}'` = yes; then
81668   cat >>confdefs.h <<_ACEOF
81669 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
81670 _ACEOF
81671
81672 fi
81673 done
81674
81675     fi
81676   fi
81677
81678
81679
81680
81681
81682
81683   echo "$as_me:$LINENO: checking for isinff declaration" >&5
81684 echo $ECHO_N "checking for isinff declaration... $ECHO_C" >&6
81685   if test x${glibcxx_cv_func_isinff_use+set} != xset; then
81686     if test "${glibcxx_cv_func_isinff_use+set}" = set; then
81687   echo $ECHO_N "(cached) $ECHO_C" >&6
81688 else
81689
81690
81691
81692       ac_ext=cc
81693 ac_cpp='$CXXCPP $CPPFLAGS'
81694 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
81695 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
81696 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
81697
81698       cat >conftest.$ac_ext <<_ACEOF
81699 /* confdefs.h.  */
81700 _ACEOF
81701 cat confdefs.h >>conftest.$ac_ext
81702 cat >>conftest.$ac_ext <<_ACEOF
81703 /* end confdefs.h.  */
81704 #include <math.h>
81705                       #ifdef HAVE_IEEEFP_H
81706                       #include <ieeefp.h>
81707                       #endif
81708
81709 int
81710 main ()
81711 {
81712  isinff(0);
81713   ;
81714   return 0;
81715 }
81716 _ACEOF
81717 rm -f conftest.$ac_objext
81718 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
81719   (eval $ac_compile) 2>conftest.er1
81720   ac_status=$?
81721   grep -v '^ *+' conftest.er1 >conftest.err
81722   rm -f conftest.er1
81723   cat conftest.err >&5
81724   echo "$as_me:$LINENO: \$? = $ac_status" >&5
81725   (exit $ac_status); } &&
81726          { ac_try='test -z "$ac_cxx_werror_flag"
81727                          || test ! -s conftest.err'
81728   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
81729   (eval $ac_try) 2>&5
81730   ac_status=$?
81731   echo "$as_me:$LINENO: \$? = $ac_status" >&5
81732   (exit $ac_status); }; } &&
81733          { ac_try='test -s conftest.$ac_objext'
81734   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
81735   (eval $ac_try) 2>&5
81736   ac_status=$?
81737   echo "$as_me:$LINENO: \$? = $ac_status" >&5
81738   (exit $ac_status); }; }; then
81739   glibcxx_cv_func_isinff_use=yes
81740 else
81741   echo "$as_me: failed program was:" >&5
81742 sed 's/^/| /' conftest.$ac_ext >&5
81743
81744 glibcxx_cv_func_isinff_use=no
81745 fi
81746 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
81747       ac_ext=c
81748 ac_cpp='$CPP $CPPFLAGS'
81749 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
81750 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
81751 ac_compiler_gnu=$ac_cv_c_compiler_gnu
81752
81753
81754 fi
81755
81756   fi
81757   echo "$as_me:$LINENO: result: $glibcxx_cv_func_isinff_use" >&5
81758 echo "${ECHO_T}$glibcxx_cv_func_isinff_use" >&6
81759
81760   if test x$glibcxx_cv_func_isinff_use = x"yes"; then
81761
81762 for ac_func in isinff
81763 do
81764 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
81765 echo "$as_me:$LINENO: checking for $ac_func" >&5
81766 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
81767 if eval "test \"\${$as_ac_var+set}\" = set"; then
81768   echo $ECHO_N "(cached) $ECHO_C" >&6
81769 else
81770   if test x$gcc_no_link = xyes; then
81771   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
81772 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
81773    { (exit 1); exit 1; }; }
81774 fi
81775 cat >conftest.$ac_ext <<_ACEOF
81776 /* confdefs.h.  */
81777 _ACEOF
81778 cat confdefs.h >>conftest.$ac_ext
81779 cat >>conftest.$ac_ext <<_ACEOF
81780 /* end confdefs.h.  */
81781 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
81782    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
81783 #define $ac_func innocuous_$ac_func
81784
81785 /* System header to define __stub macros and hopefully few prototypes,
81786     which can conflict with char $ac_func (); below.
81787     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
81788     <limits.h> exists even on freestanding compilers.  */
81789
81790 #ifdef __STDC__
81791 # include <limits.h>
81792 #else
81793 # include <assert.h>
81794 #endif
81795
81796 #undef $ac_func
81797
81798 /* Override any gcc2 internal prototype to avoid an error.  */
81799 #ifdef __cplusplus
81800 extern "C"
81801 {
81802 #endif
81803 /* We use char because int might match the return type of a gcc2
81804    builtin and then its argument prototype would still apply.  */
81805 char $ac_func ();
81806 /* The GNU C library defines this for functions which it implements
81807     to always fail with ENOSYS.  Some functions are actually named
81808     something starting with __ and the normal name is an alias.  */
81809 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
81810 choke me
81811 #else
81812 char (*f) () = $ac_func;
81813 #endif
81814 #ifdef __cplusplus
81815 }
81816 #endif
81817
81818 int
81819 main ()
81820 {
81821 return f != $ac_func;
81822   ;
81823   return 0;
81824 }
81825 _ACEOF
81826 rm -f conftest.$ac_objext conftest$ac_exeext
81827 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
81828   (eval $ac_link) 2>conftest.er1
81829   ac_status=$?
81830   grep -v '^ *+' conftest.er1 >conftest.err
81831   rm -f conftest.er1
81832   cat conftest.err >&5
81833   echo "$as_me:$LINENO: \$? = $ac_status" >&5
81834   (exit $ac_status); } &&
81835          { ac_try='test -z "$ac_c_werror_flag"
81836                          || test ! -s conftest.err'
81837   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
81838   (eval $ac_try) 2>&5
81839   ac_status=$?
81840   echo "$as_me:$LINENO: \$? = $ac_status" >&5
81841   (exit $ac_status); }; } &&
81842          { ac_try='test -s conftest$ac_exeext'
81843   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
81844   (eval $ac_try) 2>&5
81845   ac_status=$?
81846   echo "$as_me:$LINENO: \$? = $ac_status" >&5
81847   (exit $ac_status); }; }; then
81848   eval "$as_ac_var=yes"
81849 else
81850   echo "$as_me: failed program was:" >&5
81851 sed 's/^/| /' conftest.$ac_ext >&5
81852
81853 eval "$as_ac_var=no"
81854 fi
81855 rm -f conftest.err conftest.$ac_objext \
81856       conftest$ac_exeext conftest.$ac_ext
81857 fi
81858 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
81859 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
81860 if test `eval echo '${'$as_ac_var'}'` = yes; then
81861   cat >>confdefs.h <<_ACEOF
81862 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
81863 _ACEOF
81864
81865 fi
81866 done
81867
81868   else
81869
81870   echo "$as_me:$LINENO: checking for _isinff declaration" >&5
81871 echo $ECHO_N "checking for _isinff declaration... $ECHO_C" >&6
81872   if test x${glibcxx_cv_func__isinff_use+set} != xset; then
81873     if test "${glibcxx_cv_func__isinff_use+set}" = set; then
81874   echo $ECHO_N "(cached) $ECHO_C" >&6
81875 else
81876
81877
81878
81879       ac_ext=cc
81880 ac_cpp='$CXXCPP $CPPFLAGS'
81881 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
81882 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
81883 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
81884
81885       cat >conftest.$ac_ext <<_ACEOF
81886 /* confdefs.h.  */
81887 _ACEOF
81888 cat confdefs.h >>conftest.$ac_ext
81889 cat >>conftest.$ac_ext <<_ACEOF
81890 /* end confdefs.h.  */
81891 #include <math.h>
81892                       #ifdef HAVE_IEEEFP_H
81893                       #include <ieeefp.h>
81894                       #endif
81895
81896 int
81897 main ()
81898 {
81899  _isinff(0);
81900   ;
81901   return 0;
81902 }
81903 _ACEOF
81904 rm -f conftest.$ac_objext
81905 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
81906   (eval $ac_compile) 2>conftest.er1
81907   ac_status=$?
81908   grep -v '^ *+' conftest.er1 >conftest.err
81909   rm -f conftest.er1
81910   cat conftest.err >&5
81911   echo "$as_me:$LINENO: \$? = $ac_status" >&5
81912   (exit $ac_status); } &&
81913          { ac_try='test -z "$ac_cxx_werror_flag"
81914                          || test ! -s conftest.err'
81915   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
81916   (eval $ac_try) 2>&5
81917   ac_status=$?
81918   echo "$as_me:$LINENO: \$? = $ac_status" >&5
81919   (exit $ac_status); }; } &&
81920          { ac_try='test -s conftest.$ac_objext'
81921   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
81922   (eval $ac_try) 2>&5
81923   ac_status=$?
81924   echo "$as_me:$LINENO: \$? = $ac_status" >&5
81925   (exit $ac_status); }; }; then
81926   glibcxx_cv_func__isinff_use=yes
81927 else
81928   echo "$as_me: failed program was:" >&5
81929 sed 's/^/| /' conftest.$ac_ext >&5
81930
81931 glibcxx_cv_func__isinff_use=no
81932 fi
81933 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
81934       ac_ext=c
81935 ac_cpp='$CPP $CPPFLAGS'
81936 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
81937 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
81938 ac_compiler_gnu=$ac_cv_c_compiler_gnu
81939
81940
81941 fi
81942
81943   fi
81944   echo "$as_me:$LINENO: result: $glibcxx_cv_func__isinff_use" >&5
81945 echo "${ECHO_T}$glibcxx_cv_func__isinff_use" >&6
81946
81947     if test x$glibcxx_cv_func__isinff_use = x"yes"; then
81948
81949 for ac_func in _isinff
81950 do
81951 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
81952 echo "$as_me:$LINENO: checking for $ac_func" >&5
81953 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
81954 if eval "test \"\${$as_ac_var+set}\" = set"; then
81955   echo $ECHO_N "(cached) $ECHO_C" >&6
81956 else
81957   if test x$gcc_no_link = xyes; then
81958   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
81959 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
81960    { (exit 1); exit 1; }; }
81961 fi
81962 cat >conftest.$ac_ext <<_ACEOF
81963 /* confdefs.h.  */
81964 _ACEOF
81965 cat confdefs.h >>conftest.$ac_ext
81966 cat >>conftest.$ac_ext <<_ACEOF
81967 /* end confdefs.h.  */
81968 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
81969    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
81970 #define $ac_func innocuous_$ac_func
81971
81972 /* System header to define __stub macros and hopefully few prototypes,
81973     which can conflict with char $ac_func (); below.
81974     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
81975     <limits.h> exists even on freestanding compilers.  */
81976
81977 #ifdef __STDC__
81978 # include <limits.h>
81979 #else
81980 # include <assert.h>
81981 #endif
81982
81983 #undef $ac_func
81984
81985 /* Override any gcc2 internal prototype to avoid an error.  */
81986 #ifdef __cplusplus
81987 extern "C"
81988 {
81989 #endif
81990 /* We use char because int might match the return type of a gcc2
81991    builtin and then its argument prototype would still apply.  */
81992 char $ac_func ();
81993 /* The GNU C library defines this for functions which it implements
81994     to always fail with ENOSYS.  Some functions are actually named
81995     something starting with __ and the normal name is an alias.  */
81996 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
81997 choke me
81998 #else
81999 char (*f) () = $ac_func;
82000 #endif
82001 #ifdef __cplusplus
82002 }
82003 #endif
82004
82005 int
82006 main ()
82007 {
82008 return f != $ac_func;
82009   ;
82010   return 0;
82011 }
82012 _ACEOF
82013 rm -f conftest.$ac_objext conftest$ac_exeext
82014 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
82015   (eval $ac_link) 2>conftest.er1
82016   ac_status=$?
82017   grep -v '^ *+' conftest.er1 >conftest.err
82018   rm -f conftest.er1
82019   cat conftest.err >&5
82020   echo "$as_me:$LINENO: \$? = $ac_status" >&5
82021   (exit $ac_status); } &&
82022          { ac_try='test -z "$ac_c_werror_flag"
82023                          || test ! -s conftest.err'
82024   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
82025   (eval $ac_try) 2>&5
82026   ac_status=$?
82027   echo "$as_me:$LINENO: \$? = $ac_status" >&5
82028   (exit $ac_status); }; } &&
82029          { ac_try='test -s conftest$ac_exeext'
82030   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
82031   (eval $ac_try) 2>&5
82032   ac_status=$?
82033   echo "$as_me:$LINENO: \$? = $ac_status" >&5
82034   (exit $ac_status); }; }; then
82035   eval "$as_ac_var=yes"
82036 else
82037   echo "$as_me: failed program was:" >&5
82038 sed 's/^/| /' conftest.$ac_ext >&5
82039
82040 eval "$as_ac_var=no"
82041 fi
82042 rm -f conftest.err conftest.$ac_objext \
82043       conftest$ac_exeext conftest.$ac_ext
82044 fi
82045 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
82046 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
82047 if test `eval echo '${'$as_ac_var'}'` = yes; then
82048   cat >>confdefs.h <<_ACEOF
82049 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
82050 _ACEOF
82051
82052 fi
82053 done
82054
82055     fi
82056   fi
82057
82058
82059
82060
82061
82062
82063   echo "$as_me:$LINENO: checking for atan2f declaration" >&5
82064 echo $ECHO_N "checking for atan2f declaration... $ECHO_C" >&6
82065   if test x${glibcxx_cv_func_atan2f_use+set} != xset; then
82066     if test "${glibcxx_cv_func_atan2f_use+set}" = set; then
82067   echo $ECHO_N "(cached) $ECHO_C" >&6
82068 else
82069
82070
82071
82072       ac_ext=cc
82073 ac_cpp='$CXXCPP $CPPFLAGS'
82074 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
82075 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
82076 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
82077
82078       cat >conftest.$ac_ext <<_ACEOF
82079 /* confdefs.h.  */
82080 _ACEOF
82081 cat confdefs.h >>conftest.$ac_ext
82082 cat >>conftest.$ac_ext <<_ACEOF
82083 /* end confdefs.h.  */
82084 #include <math.h>
82085 int
82086 main ()
82087 {
82088  atan2f(0, 0);
82089   ;
82090   return 0;
82091 }
82092 _ACEOF
82093 rm -f conftest.$ac_objext
82094 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
82095   (eval $ac_compile) 2>conftest.er1
82096   ac_status=$?
82097   grep -v '^ *+' conftest.er1 >conftest.err
82098   rm -f conftest.er1
82099   cat conftest.err >&5
82100   echo "$as_me:$LINENO: \$? = $ac_status" >&5
82101   (exit $ac_status); } &&
82102          { ac_try='test -z "$ac_cxx_werror_flag"
82103                          || test ! -s conftest.err'
82104   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
82105   (eval $ac_try) 2>&5
82106   ac_status=$?
82107   echo "$as_me:$LINENO: \$? = $ac_status" >&5
82108   (exit $ac_status); }; } &&
82109          { ac_try='test -s conftest.$ac_objext'
82110   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
82111   (eval $ac_try) 2>&5
82112   ac_status=$?
82113   echo "$as_me:$LINENO: \$? = $ac_status" >&5
82114   (exit $ac_status); }; }; then
82115   glibcxx_cv_func_atan2f_use=yes
82116 else
82117   echo "$as_me: failed program was:" >&5
82118 sed 's/^/| /' conftest.$ac_ext >&5
82119
82120 glibcxx_cv_func_atan2f_use=no
82121 fi
82122 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
82123       ac_ext=c
82124 ac_cpp='$CPP $CPPFLAGS'
82125 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
82126 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
82127 ac_compiler_gnu=$ac_cv_c_compiler_gnu
82128
82129
82130 fi
82131
82132   fi
82133   echo "$as_me:$LINENO: result: $glibcxx_cv_func_atan2f_use" >&5
82134 echo "${ECHO_T}$glibcxx_cv_func_atan2f_use" >&6
82135
82136   if test x$glibcxx_cv_func_atan2f_use = x"yes"; then
82137
82138 for ac_func in atan2f
82139 do
82140 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
82141 echo "$as_me:$LINENO: checking for $ac_func" >&5
82142 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
82143 if eval "test \"\${$as_ac_var+set}\" = set"; then
82144   echo $ECHO_N "(cached) $ECHO_C" >&6
82145 else
82146   if test x$gcc_no_link = xyes; then
82147   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
82148 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
82149    { (exit 1); exit 1; }; }
82150 fi
82151 cat >conftest.$ac_ext <<_ACEOF
82152 /* confdefs.h.  */
82153 _ACEOF
82154 cat confdefs.h >>conftest.$ac_ext
82155 cat >>conftest.$ac_ext <<_ACEOF
82156 /* end confdefs.h.  */
82157 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
82158    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
82159 #define $ac_func innocuous_$ac_func
82160
82161 /* System header to define __stub macros and hopefully few prototypes,
82162     which can conflict with char $ac_func (); below.
82163     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
82164     <limits.h> exists even on freestanding compilers.  */
82165
82166 #ifdef __STDC__
82167 # include <limits.h>
82168 #else
82169 # include <assert.h>
82170 #endif
82171
82172 #undef $ac_func
82173
82174 /* Override any gcc2 internal prototype to avoid an error.  */
82175 #ifdef __cplusplus
82176 extern "C"
82177 {
82178 #endif
82179 /* We use char because int might match the return type of a gcc2
82180    builtin and then its argument prototype would still apply.  */
82181 char $ac_func ();
82182 /* The GNU C library defines this for functions which it implements
82183     to always fail with ENOSYS.  Some functions are actually named
82184     something starting with __ and the normal name is an alias.  */
82185 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
82186 choke me
82187 #else
82188 char (*f) () = $ac_func;
82189 #endif
82190 #ifdef __cplusplus
82191 }
82192 #endif
82193
82194 int
82195 main ()
82196 {
82197 return f != $ac_func;
82198   ;
82199   return 0;
82200 }
82201 _ACEOF
82202 rm -f conftest.$ac_objext conftest$ac_exeext
82203 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
82204   (eval $ac_link) 2>conftest.er1
82205   ac_status=$?
82206   grep -v '^ *+' conftest.er1 >conftest.err
82207   rm -f conftest.er1
82208   cat conftest.err >&5
82209   echo "$as_me:$LINENO: \$? = $ac_status" >&5
82210   (exit $ac_status); } &&
82211          { ac_try='test -z "$ac_c_werror_flag"
82212                          || test ! -s conftest.err'
82213   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
82214   (eval $ac_try) 2>&5
82215   ac_status=$?
82216   echo "$as_me:$LINENO: \$? = $ac_status" >&5
82217   (exit $ac_status); }; } &&
82218          { ac_try='test -s conftest$ac_exeext'
82219   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
82220   (eval $ac_try) 2>&5
82221   ac_status=$?
82222   echo "$as_me:$LINENO: \$? = $ac_status" >&5
82223   (exit $ac_status); }; }; then
82224   eval "$as_ac_var=yes"
82225 else
82226   echo "$as_me: failed program was:" >&5
82227 sed 's/^/| /' conftest.$ac_ext >&5
82228
82229 eval "$as_ac_var=no"
82230 fi
82231 rm -f conftest.err conftest.$ac_objext \
82232       conftest$ac_exeext conftest.$ac_ext
82233 fi
82234 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
82235 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
82236 if test `eval echo '${'$as_ac_var'}'` = yes; then
82237   cat >>confdefs.h <<_ACEOF
82238 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
82239 _ACEOF
82240
82241 fi
82242 done
82243
82244   else
82245
82246   echo "$as_me:$LINENO: checking for _atan2f declaration" >&5
82247 echo $ECHO_N "checking for _atan2f declaration... $ECHO_C" >&6
82248   if test x${glibcxx_cv_func__atan2f_use+set} != xset; then
82249     if test "${glibcxx_cv_func__atan2f_use+set}" = set; then
82250   echo $ECHO_N "(cached) $ECHO_C" >&6
82251 else
82252
82253
82254
82255       ac_ext=cc
82256 ac_cpp='$CXXCPP $CPPFLAGS'
82257 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
82258 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
82259 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
82260
82261       cat >conftest.$ac_ext <<_ACEOF
82262 /* confdefs.h.  */
82263 _ACEOF
82264 cat confdefs.h >>conftest.$ac_ext
82265 cat >>conftest.$ac_ext <<_ACEOF
82266 /* end confdefs.h.  */
82267 #include <math.h>
82268 int
82269 main ()
82270 {
82271  _atan2f(0, 0);
82272   ;
82273   return 0;
82274 }
82275 _ACEOF
82276 rm -f conftest.$ac_objext
82277 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
82278   (eval $ac_compile) 2>conftest.er1
82279   ac_status=$?
82280   grep -v '^ *+' conftest.er1 >conftest.err
82281   rm -f conftest.er1
82282   cat conftest.err >&5
82283   echo "$as_me:$LINENO: \$? = $ac_status" >&5
82284   (exit $ac_status); } &&
82285          { ac_try='test -z "$ac_cxx_werror_flag"
82286                          || test ! -s conftest.err'
82287   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
82288   (eval $ac_try) 2>&5
82289   ac_status=$?
82290   echo "$as_me:$LINENO: \$? = $ac_status" >&5
82291   (exit $ac_status); }; } &&
82292          { ac_try='test -s conftest.$ac_objext'
82293   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
82294   (eval $ac_try) 2>&5
82295   ac_status=$?
82296   echo "$as_me:$LINENO: \$? = $ac_status" >&5
82297   (exit $ac_status); }; }; then
82298   glibcxx_cv_func__atan2f_use=yes
82299 else
82300   echo "$as_me: failed program was:" >&5
82301 sed 's/^/| /' conftest.$ac_ext >&5
82302
82303 glibcxx_cv_func__atan2f_use=no
82304 fi
82305 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
82306       ac_ext=c
82307 ac_cpp='$CPP $CPPFLAGS'
82308 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
82309 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
82310 ac_compiler_gnu=$ac_cv_c_compiler_gnu
82311
82312
82313 fi
82314
82315   fi
82316   echo "$as_me:$LINENO: result: $glibcxx_cv_func__atan2f_use" >&5
82317 echo "${ECHO_T}$glibcxx_cv_func__atan2f_use" >&6
82318
82319     if test x$glibcxx_cv_func__atan2f_use = x"yes"; then
82320
82321 for ac_func in _atan2f
82322 do
82323 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
82324 echo "$as_me:$LINENO: checking for $ac_func" >&5
82325 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
82326 if eval "test \"\${$as_ac_var+set}\" = set"; then
82327   echo $ECHO_N "(cached) $ECHO_C" >&6
82328 else
82329   if test x$gcc_no_link = xyes; then
82330   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
82331 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
82332    { (exit 1); exit 1; }; }
82333 fi
82334 cat >conftest.$ac_ext <<_ACEOF
82335 /* confdefs.h.  */
82336 _ACEOF
82337 cat confdefs.h >>conftest.$ac_ext
82338 cat >>conftest.$ac_ext <<_ACEOF
82339 /* end confdefs.h.  */
82340 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
82341    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
82342 #define $ac_func innocuous_$ac_func
82343
82344 /* System header to define __stub macros and hopefully few prototypes,
82345     which can conflict with char $ac_func (); below.
82346     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
82347     <limits.h> exists even on freestanding compilers.  */
82348
82349 #ifdef __STDC__
82350 # include <limits.h>
82351 #else
82352 # include <assert.h>
82353 #endif
82354
82355 #undef $ac_func
82356
82357 /* Override any gcc2 internal prototype to avoid an error.  */
82358 #ifdef __cplusplus
82359 extern "C"
82360 {
82361 #endif
82362 /* We use char because int might match the return type of a gcc2
82363    builtin and then its argument prototype would still apply.  */
82364 char $ac_func ();
82365 /* The GNU C library defines this for functions which it implements
82366     to always fail with ENOSYS.  Some functions are actually named
82367     something starting with __ and the normal name is an alias.  */
82368 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
82369 choke me
82370 #else
82371 char (*f) () = $ac_func;
82372 #endif
82373 #ifdef __cplusplus
82374 }
82375 #endif
82376
82377 int
82378 main ()
82379 {
82380 return f != $ac_func;
82381   ;
82382   return 0;
82383 }
82384 _ACEOF
82385 rm -f conftest.$ac_objext conftest$ac_exeext
82386 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
82387   (eval $ac_link) 2>conftest.er1
82388   ac_status=$?
82389   grep -v '^ *+' conftest.er1 >conftest.err
82390   rm -f conftest.er1
82391   cat conftest.err >&5
82392   echo "$as_me:$LINENO: \$? = $ac_status" >&5
82393   (exit $ac_status); } &&
82394          { ac_try='test -z "$ac_c_werror_flag"
82395                          || test ! -s conftest.err'
82396   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
82397   (eval $ac_try) 2>&5
82398   ac_status=$?
82399   echo "$as_me:$LINENO: \$? = $ac_status" >&5
82400   (exit $ac_status); }; } &&
82401          { ac_try='test -s conftest$ac_exeext'
82402   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
82403   (eval $ac_try) 2>&5
82404   ac_status=$?
82405   echo "$as_me:$LINENO: \$? = $ac_status" >&5
82406   (exit $ac_status); }; }; then
82407   eval "$as_ac_var=yes"
82408 else
82409   echo "$as_me: failed program was:" >&5
82410 sed 's/^/| /' conftest.$ac_ext >&5
82411
82412 eval "$as_ac_var=no"
82413 fi
82414 rm -f conftest.err conftest.$ac_objext \
82415       conftest$ac_exeext conftest.$ac_ext
82416 fi
82417 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
82418 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
82419 if test `eval echo '${'$as_ac_var'}'` = yes; then
82420   cat >>confdefs.h <<_ACEOF
82421 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
82422 _ACEOF
82423
82424 fi
82425 done
82426
82427     fi
82428   fi
82429
82430
82431
82432
82433
82434
82435   echo "$as_me:$LINENO: checking for fabsf declaration" >&5
82436 echo $ECHO_N "checking for fabsf declaration... $ECHO_C" >&6
82437   if test x${glibcxx_cv_func_fabsf_use+set} != xset; then
82438     if test "${glibcxx_cv_func_fabsf_use+set}" = set; then
82439   echo $ECHO_N "(cached) $ECHO_C" >&6
82440 else
82441
82442
82443
82444       ac_ext=cc
82445 ac_cpp='$CXXCPP $CPPFLAGS'
82446 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
82447 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
82448 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
82449
82450       cat >conftest.$ac_ext <<_ACEOF
82451 /* confdefs.h.  */
82452 _ACEOF
82453 cat confdefs.h >>conftest.$ac_ext
82454 cat >>conftest.$ac_ext <<_ACEOF
82455 /* end confdefs.h.  */
82456 #include <math.h>
82457                       #ifdef HAVE_IEEEFP_H
82458                       #include <ieeefp.h>
82459                       #endif
82460
82461 int
82462 main ()
82463 {
82464  fabsf(0);
82465   ;
82466   return 0;
82467 }
82468 _ACEOF
82469 rm -f conftest.$ac_objext
82470 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
82471   (eval $ac_compile) 2>conftest.er1
82472   ac_status=$?
82473   grep -v '^ *+' conftest.er1 >conftest.err
82474   rm -f conftest.er1
82475   cat conftest.err >&5
82476   echo "$as_me:$LINENO: \$? = $ac_status" >&5
82477   (exit $ac_status); } &&
82478          { ac_try='test -z "$ac_cxx_werror_flag"
82479                          || test ! -s conftest.err'
82480   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
82481   (eval $ac_try) 2>&5
82482   ac_status=$?
82483   echo "$as_me:$LINENO: \$? = $ac_status" >&5
82484   (exit $ac_status); }; } &&
82485          { ac_try='test -s conftest.$ac_objext'
82486   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
82487   (eval $ac_try) 2>&5
82488   ac_status=$?
82489   echo "$as_me:$LINENO: \$? = $ac_status" >&5
82490   (exit $ac_status); }; }; then
82491   glibcxx_cv_func_fabsf_use=yes
82492 else
82493   echo "$as_me: failed program was:" >&5
82494 sed 's/^/| /' conftest.$ac_ext >&5
82495
82496 glibcxx_cv_func_fabsf_use=no
82497 fi
82498 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
82499       ac_ext=c
82500 ac_cpp='$CPP $CPPFLAGS'
82501 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
82502 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
82503 ac_compiler_gnu=$ac_cv_c_compiler_gnu
82504
82505
82506 fi
82507
82508   fi
82509   echo "$as_me:$LINENO: result: $glibcxx_cv_func_fabsf_use" >&5
82510 echo "${ECHO_T}$glibcxx_cv_func_fabsf_use" >&6
82511
82512   if test x$glibcxx_cv_func_fabsf_use = x"yes"; then
82513
82514 for ac_func in fabsf
82515 do
82516 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
82517 echo "$as_me:$LINENO: checking for $ac_func" >&5
82518 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
82519 if eval "test \"\${$as_ac_var+set}\" = set"; then
82520   echo $ECHO_N "(cached) $ECHO_C" >&6
82521 else
82522   if test x$gcc_no_link = xyes; then
82523   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
82524 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
82525    { (exit 1); exit 1; }; }
82526 fi
82527 cat >conftest.$ac_ext <<_ACEOF
82528 /* confdefs.h.  */
82529 _ACEOF
82530 cat confdefs.h >>conftest.$ac_ext
82531 cat >>conftest.$ac_ext <<_ACEOF
82532 /* end confdefs.h.  */
82533 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
82534    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
82535 #define $ac_func innocuous_$ac_func
82536
82537 /* System header to define __stub macros and hopefully few prototypes,
82538     which can conflict with char $ac_func (); below.
82539     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
82540     <limits.h> exists even on freestanding compilers.  */
82541
82542 #ifdef __STDC__
82543 # include <limits.h>
82544 #else
82545 # include <assert.h>
82546 #endif
82547
82548 #undef $ac_func
82549
82550 /* Override any gcc2 internal prototype to avoid an error.  */
82551 #ifdef __cplusplus
82552 extern "C"
82553 {
82554 #endif
82555 /* We use char because int might match the return type of a gcc2
82556    builtin and then its argument prototype would still apply.  */
82557 char $ac_func ();
82558 /* The GNU C library defines this for functions which it implements
82559     to always fail with ENOSYS.  Some functions are actually named
82560     something starting with __ and the normal name is an alias.  */
82561 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
82562 choke me
82563 #else
82564 char (*f) () = $ac_func;
82565 #endif
82566 #ifdef __cplusplus
82567 }
82568 #endif
82569
82570 int
82571 main ()
82572 {
82573 return f != $ac_func;
82574   ;
82575   return 0;
82576 }
82577 _ACEOF
82578 rm -f conftest.$ac_objext conftest$ac_exeext
82579 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
82580   (eval $ac_link) 2>conftest.er1
82581   ac_status=$?
82582   grep -v '^ *+' conftest.er1 >conftest.err
82583   rm -f conftest.er1
82584   cat conftest.err >&5
82585   echo "$as_me:$LINENO: \$? = $ac_status" >&5
82586   (exit $ac_status); } &&
82587          { ac_try='test -z "$ac_c_werror_flag"
82588                          || test ! -s conftest.err'
82589   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
82590   (eval $ac_try) 2>&5
82591   ac_status=$?
82592   echo "$as_me:$LINENO: \$? = $ac_status" >&5
82593   (exit $ac_status); }; } &&
82594          { ac_try='test -s conftest$ac_exeext'
82595   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
82596   (eval $ac_try) 2>&5
82597   ac_status=$?
82598   echo "$as_me:$LINENO: \$? = $ac_status" >&5
82599   (exit $ac_status); }; }; then
82600   eval "$as_ac_var=yes"
82601 else
82602   echo "$as_me: failed program was:" >&5
82603 sed 's/^/| /' conftest.$ac_ext >&5
82604
82605 eval "$as_ac_var=no"
82606 fi
82607 rm -f conftest.err conftest.$ac_objext \
82608       conftest$ac_exeext conftest.$ac_ext
82609 fi
82610 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
82611 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
82612 if test `eval echo '${'$as_ac_var'}'` = yes; then
82613   cat >>confdefs.h <<_ACEOF
82614 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
82615 _ACEOF
82616
82617 fi
82618 done
82619
82620   else
82621
82622   echo "$as_me:$LINENO: checking for _fabsf declaration" >&5
82623 echo $ECHO_N "checking for _fabsf declaration... $ECHO_C" >&6
82624   if test x${glibcxx_cv_func__fabsf_use+set} != xset; then
82625     if test "${glibcxx_cv_func__fabsf_use+set}" = set; then
82626   echo $ECHO_N "(cached) $ECHO_C" >&6
82627 else
82628
82629
82630
82631       ac_ext=cc
82632 ac_cpp='$CXXCPP $CPPFLAGS'
82633 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
82634 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
82635 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
82636
82637       cat >conftest.$ac_ext <<_ACEOF
82638 /* confdefs.h.  */
82639 _ACEOF
82640 cat confdefs.h >>conftest.$ac_ext
82641 cat >>conftest.$ac_ext <<_ACEOF
82642 /* end confdefs.h.  */
82643 #include <math.h>
82644                       #ifdef HAVE_IEEEFP_H
82645                       #include <ieeefp.h>
82646                       #endif
82647
82648 int
82649 main ()
82650 {
82651  _fabsf(0);
82652   ;
82653   return 0;
82654 }
82655 _ACEOF
82656 rm -f conftest.$ac_objext
82657 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
82658   (eval $ac_compile) 2>conftest.er1
82659   ac_status=$?
82660   grep -v '^ *+' conftest.er1 >conftest.err
82661   rm -f conftest.er1
82662   cat conftest.err >&5
82663   echo "$as_me:$LINENO: \$? = $ac_status" >&5
82664   (exit $ac_status); } &&
82665          { ac_try='test -z "$ac_cxx_werror_flag"
82666                          || test ! -s conftest.err'
82667   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
82668   (eval $ac_try) 2>&5
82669   ac_status=$?
82670   echo "$as_me:$LINENO: \$? = $ac_status" >&5
82671   (exit $ac_status); }; } &&
82672          { ac_try='test -s conftest.$ac_objext'
82673   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
82674   (eval $ac_try) 2>&5
82675   ac_status=$?
82676   echo "$as_me:$LINENO: \$? = $ac_status" >&5
82677   (exit $ac_status); }; }; then
82678   glibcxx_cv_func__fabsf_use=yes
82679 else
82680   echo "$as_me: failed program was:" >&5
82681 sed 's/^/| /' conftest.$ac_ext >&5
82682
82683 glibcxx_cv_func__fabsf_use=no
82684 fi
82685 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
82686       ac_ext=c
82687 ac_cpp='$CPP $CPPFLAGS'
82688 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
82689 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
82690 ac_compiler_gnu=$ac_cv_c_compiler_gnu
82691
82692
82693 fi
82694
82695   fi
82696   echo "$as_me:$LINENO: result: $glibcxx_cv_func__fabsf_use" >&5
82697 echo "${ECHO_T}$glibcxx_cv_func__fabsf_use" >&6
82698
82699     if test x$glibcxx_cv_func__fabsf_use = x"yes"; then
82700
82701 for ac_func in _fabsf
82702 do
82703 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
82704 echo "$as_me:$LINENO: checking for $ac_func" >&5
82705 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
82706 if eval "test \"\${$as_ac_var+set}\" = set"; then
82707   echo $ECHO_N "(cached) $ECHO_C" >&6
82708 else
82709   if test x$gcc_no_link = xyes; then
82710   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
82711 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
82712    { (exit 1); exit 1; }; }
82713 fi
82714 cat >conftest.$ac_ext <<_ACEOF
82715 /* confdefs.h.  */
82716 _ACEOF
82717 cat confdefs.h >>conftest.$ac_ext
82718 cat >>conftest.$ac_ext <<_ACEOF
82719 /* end confdefs.h.  */
82720 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
82721    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
82722 #define $ac_func innocuous_$ac_func
82723
82724 /* System header to define __stub macros and hopefully few prototypes,
82725     which can conflict with char $ac_func (); below.
82726     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
82727     <limits.h> exists even on freestanding compilers.  */
82728
82729 #ifdef __STDC__
82730 # include <limits.h>
82731 #else
82732 # include <assert.h>
82733 #endif
82734
82735 #undef $ac_func
82736
82737 /* Override any gcc2 internal prototype to avoid an error.  */
82738 #ifdef __cplusplus
82739 extern "C"
82740 {
82741 #endif
82742 /* We use char because int might match the return type of a gcc2
82743    builtin and then its argument prototype would still apply.  */
82744 char $ac_func ();
82745 /* The GNU C library defines this for functions which it implements
82746     to always fail with ENOSYS.  Some functions are actually named
82747     something starting with __ and the normal name is an alias.  */
82748 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
82749 choke me
82750 #else
82751 char (*f) () = $ac_func;
82752 #endif
82753 #ifdef __cplusplus
82754 }
82755 #endif
82756
82757 int
82758 main ()
82759 {
82760 return f != $ac_func;
82761   ;
82762   return 0;
82763 }
82764 _ACEOF
82765 rm -f conftest.$ac_objext conftest$ac_exeext
82766 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
82767   (eval $ac_link) 2>conftest.er1
82768   ac_status=$?
82769   grep -v '^ *+' conftest.er1 >conftest.err
82770   rm -f conftest.er1
82771   cat conftest.err >&5
82772   echo "$as_me:$LINENO: \$? = $ac_status" >&5
82773   (exit $ac_status); } &&
82774          { ac_try='test -z "$ac_c_werror_flag"
82775                          || test ! -s conftest.err'
82776   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
82777   (eval $ac_try) 2>&5
82778   ac_status=$?
82779   echo "$as_me:$LINENO: \$? = $ac_status" >&5
82780   (exit $ac_status); }; } &&
82781          { ac_try='test -s conftest$ac_exeext'
82782   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
82783   (eval $ac_try) 2>&5
82784   ac_status=$?
82785   echo "$as_me:$LINENO: \$? = $ac_status" >&5
82786   (exit $ac_status); }; }; then
82787   eval "$as_ac_var=yes"
82788 else
82789   echo "$as_me: failed program was:" >&5
82790 sed 's/^/| /' conftest.$ac_ext >&5
82791
82792 eval "$as_ac_var=no"
82793 fi
82794 rm -f conftest.err conftest.$ac_objext \
82795       conftest$ac_exeext conftest.$ac_ext
82796 fi
82797 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
82798 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
82799 if test `eval echo '${'$as_ac_var'}'` = yes; then
82800   cat >>confdefs.h <<_ACEOF
82801 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
82802 _ACEOF
82803
82804 fi
82805 done
82806
82807     fi
82808   fi
82809
82810
82811
82812
82813
82814
82815   echo "$as_me:$LINENO: checking for fmodf declaration" >&5
82816 echo $ECHO_N "checking for fmodf declaration... $ECHO_C" >&6
82817   if test x${glibcxx_cv_func_fmodf_use+set} != xset; then
82818     if test "${glibcxx_cv_func_fmodf_use+set}" = set; then
82819   echo $ECHO_N "(cached) $ECHO_C" >&6
82820 else
82821
82822
82823
82824       ac_ext=cc
82825 ac_cpp='$CXXCPP $CPPFLAGS'
82826 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
82827 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
82828 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
82829
82830       cat >conftest.$ac_ext <<_ACEOF
82831 /* confdefs.h.  */
82832 _ACEOF
82833 cat confdefs.h >>conftest.$ac_ext
82834 cat >>conftest.$ac_ext <<_ACEOF
82835 /* end confdefs.h.  */
82836 #include <math.h>
82837 int
82838 main ()
82839 {
82840  fmodf(0, 0);
82841   ;
82842   return 0;
82843 }
82844 _ACEOF
82845 rm -f conftest.$ac_objext
82846 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
82847   (eval $ac_compile) 2>conftest.er1
82848   ac_status=$?
82849   grep -v '^ *+' conftest.er1 >conftest.err
82850   rm -f conftest.er1
82851   cat conftest.err >&5
82852   echo "$as_me:$LINENO: \$? = $ac_status" >&5
82853   (exit $ac_status); } &&
82854          { ac_try='test -z "$ac_cxx_werror_flag"
82855                          || test ! -s conftest.err'
82856   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
82857   (eval $ac_try) 2>&5
82858   ac_status=$?
82859   echo "$as_me:$LINENO: \$? = $ac_status" >&5
82860   (exit $ac_status); }; } &&
82861          { ac_try='test -s conftest.$ac_objext'
82862   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
82863   (eval $ac_try) 2>&5
82864   ac_status=$?
82865   echo "$as_me:$LINENO: \$? = $ac_status" >&5
82866   (exit $ac_status); }; }; then
82867   glibcxx_cv_func_fmodf_use=yes
82868 else
82869   echo "$as_me: failed program was:" >&5
82870 sed 's/^/| /' conftest.$ac_ext >&5
82871
82872 glibcxx_cv_func_fmodf_use=no
82873 fi
82874 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
82875       ac_ext=c
82876 ac_cpp='$CPP $CPPFLAGS'
82877 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
82878 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
82879 ac_compiler_gnu=$ac_cv_c_compiler_gnu
82880
82881
82882 fi
82883
82884   fi
82885   echo "$as_me:$LINENO: result: $glibcxx_cv_func_fmodf_use" >&5
82886 echo "${ECHO_T}$glibcxx_cv_func_fmodf_use" >&6
82887
82888   if test x$glibcxx_cv_func_fmodf_use = x"yes"; then
82889
82890 for ac_func in fmodf
82891 do
82892 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
82893 echo "$as_me:$LINENO: checking for $ac_func" >&5
82894 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
82895 if eval "test \"\${$as_ac_var+set}\" = set"; then
82896   echo $ECHO_N "(cached) $ECHO_C" >&6
82897 else
82898   if test x$gcc_no_link = xyes; then
82899   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
82900 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
82901    { (exit 1); exit 1; }; }
82902 fi
82903 cat >conftest.$ac_ext <<_ACEOF
82904 /* confdefs.h.  */
82905 _ACEOF
82906 cat confdefs.h >>conftest.$ac_ext
82907 cat >>conftest.$ac_ext <<_ACEOF
82908 /* end confdefs.h.  */
82909 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
82910    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
82911 #define $ac_func innocuous_$ac_func
82912
82913 /* System header to define __stub macros and hopefully few prototypes,
82914     which can conflict with char $ac_func (); below.
82915     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
82916     <limits.h> exists even on freestanding compilers.  */
82917
82918 #ifdef __STDC__
82919 # include <limits.h>
82920 #else
82921 # include <assert.h>
82922 #endif
82923
82924 #undef $ac_func
82925
82926 /* Override any gcc2 internal prototype to avoid an error.  */
82927 #ifdef __cplusplus
82928 extern "C"
82929 {
82930 #endif
82931 /* We use char because int might match the return type of a gcc2
82932    builtin and then its argument prototype would still apply.  */
82933 char $ac_func ();
82934 /* The GNU C library defines this for functions which it implements
82935     to always fail with ENOSYS.  Some functions are actually named
82936     something starting with __ and the normal name is an alias.  */
82937 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
82938 choke me
82939 #else
82940 char (*f) () = $ac_func;
82941 #endif
82942 #ifdef __cplusplus
82943 }
82944 #endif
82945
82946 int
82947 main ()
82948 {
82949 return f != $ac_func;
82950   ;
82951   return 0;
82952 }
82953 _ACEOF
82954 rm -f conftest.$ac_objext conftest$ac_exeext
82955 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
82956   (eval $ac_link) 2>conftest.er1
82957   ac_status=$?
82958   grep -v '^ *+' conftest.er1 >conftest.err
82959   rm -f conftest.er1
82960   cat conftest.err >&5
82961   echo "$as_me:$LINENO: \$? = $ac_status" >&5
82962   (exit $ac_status); } &&
82963          { ac_try='test -z "$ac_c_werror_flag"
82964                          || test ! -s conftest.err'
82965   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
82966   (eval $ac_try) 2>&5
82967   ac_status=$?
82968   echo "$as_me:$LINENO: \$? = $ac_status" >&5
82969   (exit $ac_status); }; } &&
82970          { ac_try='test -s conftest$ac_exeext'
82971   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
82972   (eval $ac_try) 2>&5
82973   ac_status=$?
82974   echo "$as_me:$LINENO: \$? = $ac_status" >&5
82975   (exit $ac_status); }; }; then
82976   eval "$as_ac_var=yes"
82977 else
82978   echo "$as_me: failed program was:" >&5
82979 sed 's/^/| /' conftest.$ac_ext >&5
82980
82981 eval "$as_ac_var=no"
82982 fi
82983 rm -f conftest.err conftest.$ac_objext \
82984       conftest$ac_exeext conftest.$ac_ext
82985 fi
82986 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
82987 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
82988 if test `eval echo '${'$as_ac_var'}'` = yes; then
82989   cat >>confdefs.h <<_ACEOF
82990 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
82991 _ACEOF
82992
82993 fi
82994 done
82995
82996   else
82997
82998   echo "$as_me:$LINENO: checking for _fmodf declaration" >&5
82999 echo $ECHO_N "checking for _fmodf declaration... $ECHO_C" >&6
83000   if test x${glibcxx_cv_func__fmodf_use+set} != xset; then
83001     if test "${glibcxx_cv_func__fmodf_use+set}" = set; then
83002   echo $ECHO_N "(cached) $ECHO_C" >&6
83003 else
83004
83005
83006
83007       ac_ext=cc
83008 ac_cpp='$CXXCPP $CPPFLAGS'
83009 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
83010 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
83011 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
83012
83013       cat >conftest.$ac_ext <<_ACEOF
83014 /* confdefs.h.  */
83015 _ACEOF
83016 cat confdefs.h >>conftest.$ac_ext
83017 cat >>conftest.$ac_ext <<_ACEOF
83018 /* end confdefs.h.  */
83019 #include <math.h>
83020 int
83021 main ()
83022 {
83023  _fmodf(0, 0);
83024   ;
83025   return 0;
83026 }
83027 _ACEOF
83028 rm -f conftest.$ac_objext
83029 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
83030   (eval $ac_compile) 2>conftest.er1
83031   ac_status=$?
83032   grep -v '^ *+' conftest.er1 >conftest.err
83033   rm -f conftest.er1
83034   cat conftest.err >&5
83035   echo "$as_me:$LINENO: \$? = $ac_status" >&5
83036   (exit $ac_status); } &&
83037          { ac_try='test -z "$ac_cxx_werror_flag"
83038                          || test ! -s conftest.err'
83039   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
83040   (eval $ac_try) 2>&5
83041   ac_status=$?
83042   echo "$as_me:$LINENO: \$? = $ac_status" >&5
83043   (exit $ac_status); }; } &&
83044          { ac_try='test -s conftest.$ac_objext'
83045   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
83046   (eval $ac_try) 2>&5
83047   ac_status=$?
83048   echo "$as_me:$LINENO: \$? = $ac_status" >&5
83049   (exit $ac_status); }; }; then
83050   glibcxx_cv_func__fmodf_use=yes
83051 else
83052   echo "$as_me: failed program was:" >&5
83053 sed 's/^/| /' conftest.$ac_ext >&5
83054
83055 glibcxx_cv_func__fmodf_use=no
83056 fi
83057 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
83058       ac_ext=c
83059 ac_cpp='$CPP $CPPFLAGS'
83060 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
83061 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
83062 ac_compiler_gnu=$ac_cv_c_compiler_gnu
83063
83064
83065 fi
83066
83067   fi
83068   echo "$as_me:$LINENO: result: $glibcxx_cv_func__fmodf_use" >&5
83069 echo "${ECHO_T}$glibcxx_cv_func__fmodf_use" >&6
83070
83071     if test x$glibcxx_cv_func__fmodf_use = x"yes"; then
83072
83073 for ac_func in _fmodf
83074 do
83075 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
83076 echo "$as_me:$LINENO: checking for $ac_func" >&5
83077 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
83078 if eval "test \"\${$as_ac_var+set}\" = set"; then
83079   echo $ECHO_N "(cached) $ECHO_C" >&6
83080 else
83081   if test x$gcc_no_link = xyes; then
83082   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
83083 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
83084    { (exit 1); exit 1; }; }
83085 fi
83086 cat >conftest.$ac_ext <<_ACEOF
83087 /* confdefs.h.  */
83088 _ACEOF
83089 cat confdefs.h >>conftest.$ac_ext
83090 cat >>conftest.$ac_ext <<_ACEOF
83091 /* end confdefs.h.  */
83092 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
83093    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
83094 #define $ac_func innocuous_$ac_func
83095
83096 /* System header to define __stub macros and hopefully few prototypes,
83097     which can conflict with char $ac_func (); below.
83098     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
83099     <limits.h> exists even on freestanding compilers.  */
83100
83101 #ifdef __STDC__
83102 # include <limits.h>
83103 #else
83104 # include <assert.h>
83105 #endif
83106
83107 #undef $ac_func
83108
83109 /* Override any gcc2 internal prototype to avoid an error.  */
83110 #ifdef __cplusplus
83111 extern "C"
83112 {
83113 #endif
83114 /* We use char because int might match the return type of a gcc2
83115    builtin and then its argument prototype would still apply.  */
83116 char $ac_func ();
83117 /* The GNU C library defines this for functions which it implements
83118     to always fail with ENOSYS.  Some functions are actually named
83119     something starting with __ and the normal name is an alias.  */
83120 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
83121 choke me
83122 #else
83123 char (*f) () = $ac_func;
83124 #endif
83125 #ifdef __cplusplus
83126 }
83127 #endif
83128
83129 int
83130 main ()
83131 {
83132 return f != $ac_func;
83133   ;
83134   return 0;
83135 }
83136 _ACEOF
83137 rm -f conftest.$ac_objext conftest$ac_exeext
83138 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
83139   (eval $ac_link) 2>conftest.er1
83140   ac_status=$?
83141   grep -v '^ *+' conftest.er1 >conftest.err
83142   rm -f conftest.er1
83143   cat conftest.err >&5
83144   echo "$as_me:$LINENO: \$? = $ac_status" >&5
83145   (exit $ac_status); } &&
83146          { ac_try='test -z "$ac_c_werror_flag"
83147                          || test ! -s conftest.err'
83148   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
83149   (eval $ac_try) 2>&5
83150   ac_status=$?
83151   echo "$as_me:$LINENO: \$? = $ac_status" >&5
83152   (exit $ac_status); }; } &&
83153          { ac_try='test -s conftest$ac_exeext'
83154   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
83155   (eval $ac_try) 2>&5
83156   ac_status=$?
83157   echo "$as_me:$LINENO: \$? = $ac_status" >&5
83158   (exit $ac_status); }; }; then
83159   eval "$as_ac_var=yes"
83160 else
83161   echo "$as_me: failed program was:" >&5
83162 sed 's/^/| /' conftest.$ac_ext >&5
83163
83164 eval "$as_ac_var=no"
83165 fi
83166 rm -f conftest.err conftest.$ac_objext \
83167       conftest$ac_exeext conftest.$ac_ext
83168 fi
83169 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
83170 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
83171 if test `eval echo '${'$as_ac_var'}'` = yes; then
83172   cat >>confdefs.h <<_ACEOF
83173 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
83174 _ACEOF
83175
83176 fi
83177 done
83178
83179     fi
83180   fi
83181
83182
83183
83184
83185
83186
83187   echo "$as_me:$LINENO: checking for frexpf declaration" >&5
83188 echo $ECHO_N "checking for frexpf declaration... $ECHO_C" >&6
83189   if test x${glibcxx_cv_func_frexpf_use+set} != xset; then
83190     if test "${glibcxx_cv_func_frexpf_use+set}" = set; then
83191   echo $ECHO_N "(cached) $ECHO_C" >&6
83192 else
83193
83194
83195
83196       ac_ext=cc
83197 ac_cpp='$CXXCPP $CPPFLAGS'
83198 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
83199 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
83200 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
83201
83202       cat >conftest.$ac_ext <<_ACEOF
83203 /* confdefs.h.  */
83204 _ACEOF
83205 cat confdefs.h >>conftest.$ac_ext
83206 cat >>conftest.$ac_ext <<_ACEOF
83207 /* end confdefs.h.  */
83208 #include <math.h>
83209 int
83210 main ()
83211 {
83212  frexpf(0, 0);
83213   ;
83214   return 0;
83215 }
83216 _ACEOF
83217 rm -f conftest.$ac_objext
83218 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
83219   (eval $ac_compile) 2>conftest.er1
83220   ac_status=$?
83221   grep -v '^ *+' conftest.er1 >conftest.err
83222   rm -f conftest.er1
83223   cat conftest.err >&5
83224   echo "$as_me:$LINENO: \$? = $ac_status" >&5
83225   (exit $ac_status); } &&
83226          { ac_try='test -z "$ac_cxx_werror_flag"
83227                          || test ! -s conftest.err'
83228   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
83229   (eval $ac_try) 2>&5
83230   ac_status=$?
83231   echo "$as_me:$LINENO: \$? = $ac_status" >&5
83232   (exit $ac_status); }; } &&
83233          { ac_try='test -s conftest.$ac_objext'
83234   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
83235   (eval $ac_try) 2>&5
83236   ac_status=$?
83237   echo "$as_me:$LINENO: \$? = $ac_status" >&5
83238   (exit $ac_status); }; }; then
83239   glibcxx_cv_func_frexpf_use=yes
83240 else
83241   echo "$as_me: failed program was:" >&5
83242 sed 's/^/| /' conftest.$ac_ext >&5
83243
83244 glibcxx_cv_func_frexpf_use=no
83245 fi
83246 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
83247       ac_ext=c
83248 ac_cpp='$CPP $CPPFLAGS'
83249 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
83250 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
83251 ac_compiler_gnu=$ac_cv_c_compiler_gnu
83252
83253
83254 fi
83255
83256   fi
83257   echo "$as_me:$LINENO: result: $glibcxx_cv_func_frexpf_use" >&5
83258 echo "${ECHO_T}$glibcxx_cv_func_frexpf_use" >&6
83259
83260   if test x$glibcxx_cv_func_frexpf_use = x"yes"; then
83261
83262 for ac_func in frexpf
83263 do
83264 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
83265 echo "$as_me:$LINENO: checking for $ac_func" >&5
83266 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
83267 if eval "test \"\${$as_ac_var+set}\" = set"; then
83268   echo $ECHO_N "(cached) $ECHO_C" >&6
83269 else
83270   if test x$gcc_no_link = xyes; then
83271   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
83272 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
83273    { (exit 1); exit 1; }; }
83274 fi
83275 cat >conftest.$ac_ext <<_ACEOF
83276 /* confdefs.h.  */
83277 _ACEOF
83278 cat confdefs.h >>conftest.$ac_ext
83279 cat >>conftest.$ac_ext <<_ACEOF
83280 /* end confdefs.h.  */
83281 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
83282    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
83283 #define $ac_func innocuous_$ac_func
83284
83285 /* System header to define __stub macros and hopefully few prototypes,
83286     which can conflict with char $ac_func (); below.
83287     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
83288     <limits.h> exists even on freestanding compilers.  */
83289
83290 #ifdef __STDC__
83291 # include <limits.h>
83292 #else
83293 # include <assert.h>
83294 #endif
83295
83296 #undef $ac_func
83297
83298 /* Override any gcc2 internal prototype to avoid an error.  */
83299 #ifdef __cplusplus
83300 extern "C"
83301 {
83302 #endif
83303 /* We use char because int might match the return type of a gcc2
83304    builtin and then its argument prototype would still apply.  */
83305 char $ac_func ();
83306 /* The GNU C library defines this for functions which it implements
83307     to always fail with ENOSYS.  Some functions are actually named
83308     something starting with __ and the normal name is an alias.  */
83309 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
83310 choke me
83311 #else
83312 char (*f) () = $ac_func;
83313 #endif
83314 #ifdef __cplusplus
83315 }
83316 #endif
83317
83318 int
83319 main ()
83320 {
83321 return f != $ac_func;
83322   ;
83323   return 0;
83324 }
83325 _ACEOF
83326 rm -f conftest.$ac_objext conftest$ac_exeext
83327 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
83328   (eval $ac_link) 2>conftest.er1
83329   ac_status=$?
83330   grep -v '^ *+' conftest.er1 >conftest.err
83331   rm -f conftest.er1
83332   cat conftest.err >&5
83333   echo "$as_me:$LINENO: \$? = $ac_status" >&5
83334   (exit $ac_status); } &&
83335          { ac_try='test -z "$ac_c_werror_flag"
83336                          || test ! -s conftest.err'
83337   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
83338   (eval $ac_try) 2>&5
83339   ac_status=$?
83340   echo "$as_me:$LINENO: \$? = $ac_status" >&5
83341   (exit $ac_status); }; } &&
83342          { ac_try='test -s conftest$ac_exeext'
83343   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
83344   (eval $ac_try) 2>&5
83345   ac_status=$?
83346   echo "$as_me:$LINENO: \$? = $ac_status" >&5
83347   (exit $ac_status); }; }; then
83348   eval "$as_ac_var=yes"
83349 else
83350   echo "$as_me: failed program was:" >&5
83351 sed 's/^/| /' conftest.$ac_ext >&5
83352
83353 eval "$as_ac_var=no"
83354 fi
83355 rm -f conftest.err conftest.$ac_objext \
83356       conftest$ac_exeext conftest.$ac_ext
83357 fi
83358 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
83359 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
83360 if test `eval echo '${'$as_ac_var'}'` = yes; then
83361   cat >>confdefs.h <<_ACEOF
83362 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
83363 _ACEOF
83364
83365 fi
83366 done
83367
83368   else
83369
83370   echo "$as_me:$LINENO: checking for _frexpf declaration" >&5
83371 echo $ECHO_N "checking for _frexpf declaration... $ECHO_C" >&6
83372   if test x${glibcxx_cv_func__frexpf_use+set} != xset; then
83373     if test "${glibcxx_cv_func__frexpf_use+set}" = set; then
83374   echo $ECHO_N "(cached) $ECHO_C" >&6
83375 else
83376
83377
83378
83379       ac_ext=cc
83380 ac_cpp='$CXXCPP $CPPFLAGS'
83381 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
83382 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
83383 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
83384
83385       cat >conftest.$ac_ext <<_ACEOF
83386 /* confdefs.h.  */
83387 _ACEOF
83388 cat confdefs.h >>conftest.$ac_ext
83389 cat >>conftest.$ac_ext <<_ACEOF
83390 /* end confdefs.h.  */
83391 #include <math.h>
83392 int
83393 main ()
83394 {
83395  _frexpf(0, 0);
83396   ;
83397   return 0;
83398 }
83399 _ACEOF
83400 rm -f conftest.$ac_objext
83401 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
83402   (eval $ac_compile) 2>conftest.er1
83403   ac_status=$?
83404   grep -v '^ *+' conftest.er1 >conftest.err
83405   rm -f conftest.er1
83406   cat conftest.err >&5
83407   echo "$as_me:$LINENO: \$? = $ac_status" >&5
83408   (exit $ac_status); } &&
83409          { ac_try='test -z "$ac_cxx_werror_flag"
83410                          || test ! -s conftest.err'
83411   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
83412   (eval $ac_try) 2>&5
83413   ac_status=$?
83414   echo "$as_me:$LINENO: \$? = $ac_status" >&5
83415   (exit $ac_status); }; } &&
83416          { ac_try='test -s conftest.$ac_objext'
83417   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
83418   (eval $ac_try) 2>&5
83419   ac_status=$?
83420   echo "$as_me:$LINENO: \$? = $ac_status" >&5
83421   (exit $ac_status); }; }; then
83422   glibcxx_cv_func__frexpf_use=yes
83423 else
83424   echo "$as_me: failed program was:" >&5
83425 sed 's/^/| /' conftest.$ac_ext >&5
83426
83427 glibcxx_cv_func__frexpf_use=no
83428 fi
83429 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
83430       ac_ext=c
83431 ac_cpp='$CPP $CPPFLAGS'
83432 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
83433 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
83434 ac_compiler_gnu=$ac_cv_c_compiler_gnu
83435
83436
83437 fi
83438
83439   fi
83440   echo "$as_me:$LINENO: result: $glibcxx_cv_func__frexpf_use" >&5
83441 echo "${ECHO_T}$glibcxx_cv_func__frexpf_use" >&6
83442
83443     if test x$glibcxx_cv_func__frexpf_use = x"yes"; then
83444
83445 for ac_func in _frexpf
83446 do
83447 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
83448 echo "$as_me:$LINENO: checking for $ac_func" >&5
83449 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
83450 if eval "test \"\${$as_ac_var+set}\" = set"; then
83451   echo $ECHO_N "(cached) $ECHO_C" >&6
83452 else
83453   if test x$gcc_no_link = xyes; then
83454   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
83455 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
83456    { (exit 1); exit 1; }; }
83457 fi
83458 cat >conftest.$ac_ext <<_ACEOF
83459 /* confdefs.h.  */
83460 _ACEOF
83461 cat confdefs.h >>conftest.$ac_ext
83462 cat >>conftest.$ac_ext <<_ACEOF
83463 /* end confdefs.h.  */
83464 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
83465    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
83466 #define $ac_func innocuous_$ac_func
83467
83468 /* System header to define __stub macros and hopefully few prototypes,
83469     which can conflict with char $ac_func (); below.
83470     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
83471     <limits.h> exists even on freestanding compilers.  */
83472
83473 #ifdef __STDC__
83474 # include <limits.h>
83475 #else
83476 # include <assert.h>
83477 #endif
83478
83479 #undef $ac_func
83480
83481 /* Override any gcc2 internal prototype to avoid an error.  */
83482 #ifdef __cplusplus
83483 extern "C"
83484 {
83485 #endif
83486 /* We use char because int might match the return type of a gcc2
83487    builtin and then its argument prototype would still apply.  */
83488 char $ac_func ();
83489 /* The GNU C library defines this for functions which it implements
83490     to always fail with ENOSYS.  Some functions are actually named
83491     something starting with __ and the normal name is an alias.  */
83492 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
83493 choke me
83494 #else
83495 char (*f) () = $ac_func;
83496 #endif
83497 #ifdef __cplusplus
83498 }
83499 #endif
83500
83501 int
83502 main ()
83503 {
83504 return f != $ac_func;
83505   ;
83506   return 0;
83507 }
83508 _ACEOF
83509 rm -f conftest.$ac_objext conftest$ac_exeext
83510 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
83511   (eval $ac_link) 2>conftest.er1
83512   ac_status=$?
83513   grep -v '^ *+' conftest.er1 >conftest.err
83514   rm -f conftest.er1
83515   cat conftest.err >&5
83516   echo "$as_me:$LINENO: \$? = $ac_status" >&5
83517   (exit $ac_status); } &&
83518          { ac_try='test -z "$ac_c_werror_flag"
83519                          || test ! -s conftest.err'
83520   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
83521   (eval $ac_try) 2>&5
83522   ac_status=$?
83523   echo "$as_me:$LINENO: \$? = $ac_status" >&5
83524   (exit $ac_status); }; } &&
83525          { ac_try='test -s conftest$ac_exeext'
83526   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
83527   (eval $ac_try) 2>&5
83528   ac_status=$?
83529   echo "$as_me:$LINENO: \$? = $ac_status" >&5
83530   (exit $ac_status); }; }; then
83531   eval "$as_ac_var=yes"
83532 else
83533   echo "$as_me: failed program was:" >&5
83534 sed 's/^/| /' conftest.$ac_ext >&5
83535
83536 eval "$as_ac_var=no"
83537 fi
83538 rm -f conftest.err conftest.$ac_objext \
83539       conftest$ac_exeext conftest.$ac_ext
83540 fi
83541 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
83542 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
83543 if test `eval echo '${'$as_ac_var'}'` = yes; then
83544   cat >>confdefs.h <<_ACEOF
83545 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
83546 _ACEOF
83547
83548 fi
83549 done
83550
83551     fi
83552   fi
83553
83554
83555
83556
83557
83558
83559   echo "$as_me:$LINENO: checking for hypotf declaration" >&5
83560 echo $ECHO_N "checking for hypotf declaration... $ECHO_C" >&6
83561   if test x${glibcxx_cv_func_hypotf_use+set} != xset; then
83562     if test "${glibcxx_cv_func_hypotf_use+set}" = set; then
83563   echo $ECHO_N "(cached) $ECHO_C" >&6
83564 else
83565
83566
83567
83568       ac_ext=cc
83569 ac_cpp='$CXXCPP $CPPFLAGS'
83570 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
83571 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
83572 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
83573
83574       cat >conftest.$ac_ext <<_ACEOF
83575 /* confdefs.h.  */
83576 _ACEOF
83577 cat confdefs.h >>conftest.$ac_ext
83578 cat >>conftest.$ac_ext <<_ACEOF
83579 /* end confdefs.h.  */
83580 #include <math.h>
83581 int
83582 main ()
83583 {
83584  hypotf(0, 0);
83585   ;
83586   return 0;
83587 }
83588 _ACEOF
83589 rm -f conftest.$ac_objext
83590 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
83591   (eval $ac_compile) 2>conftest.er1
83592   ac_status=$?
83593   grep -v '^ *+' conftest.er1 >conftest.err
83594   rm -f conftest.er1
83595   cat conftest.err >&5
83596   echo "$as_me:$LINENO: \$? = $ac_status" >&5
83597   (exit $ac_status); } &&
83598          { ac_try='test -z "$ac_cxx_werror_flag"
83599                          || test ! -s conftest.err'
83600   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
83601   (eval $ac_try) 2>&5
83602   ac_status=$?
83603   echo "$as_me:$LINENO: \$? = $ac_status" >&5
83604   (exit $ac_status); }; } &&
83605          { ac_try='test -s conftest.$ac_objext'
83606   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
83607   (eval $ac_try) 2>&5
83608   ac_status=$?
83609   echo "$as_me:$LINENO: \$? = $ac_status" >&5
83610   (exit $ac_status); }; }; then
83611   glibcxx_cv_func_hypotf_use=yes
83612 else
83613   echo "$as_me: failed program was:" >&5
83614 sed 's/^/| /' conftest.$ac_ext >&5
83615
83616 glibcxx_cv_func_hypotf_use=no
83617 fi
83618 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
83619       ac_ext=c
83620 ac_cpp='$CPP $CPPFLAGS'
83621 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
83622 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
83623 ac_compiler_gnu=$ac_cv_c_compiler_gnu
83624
83625
83626 fi
83627
83628   fi
83629   echo "$as_me:$LINENO: result: $glibcxx_cv_func_hypotf_use" >&5
83630 echo "${ECHO_T}$glibcxx_cv_func_hypotf_use" >&6
83631
83632   if test x$glibcxx_cv_func_hypotf_use = x"yes"; then
83633
83634 for ac_func in hypotf
83635 do
83636 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
83637 echo "$as_me:$LINENO: checking for $ac_func" >&5
83638 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
83639 if eval "test \"\${$as_ac_var+set}\" = set"; then
83640   echo $ECHO_N "(cached) $ECHO_C" >&6
83641 else
83642   if test x$gcc_no_link = xyes; then
83643   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
83644 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
83645    { (exit 1); exit 1; }; }
83646 fi
83647 cat >conftest.$ac_ext <<_ACEOF
83648 /* confdefs.h.  */
83649 _ACEOF
83650 cat confdefs.h >>conftest.$ac_ext
83651 cat >>conftest.$ac_ext <<_ACEOF
83652 /* end confdefs.h.  */
83653 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
83654    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
83655 #define $ac_func innocuous_$ac_func
83656
83657 /* System header to define __stub macros and hopefully few prototypes,
83658     which can conflict with char $ac_func (); below.
83659     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
83660     <limits.h> exists even on freestanding compilers.  */
83661
83662 #ifdef __STDC__
83663 # include <limits.h>
83664 #else
83665 # include <assert.h>
83666 #endif
83667
83668 #undef $ac_func
83669
83670 /* Override any gcc2 internal prototype to avoid an error.  */
83671 #ifdef __cplusplus
83672 extern "C"
83673 {
83674 #endif
83675 /* We use char because int might match the return type of a gcc2
83676    builtin and then its argument prototype would still apply.  */
83677 char $ac_func ();
83678 /* The GNU C library defines this for functions which it implements
83679     to always fail with ENOSYS.  Some functions are actually named
83680     something starting with __ and the normal name is an alias.  */
83681 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
83682 choke me
83683 #else
83684 char (*f) () = $ac_func;
83685 #endif
83686 #ifdef __cplusplus
83687 }
83688 #endif
83689
83690 int
83691 main ()
83692 {
83693 return f != $ac_func;
83694   ;
83695   return 0;
83696 }
83697 _ACEOF
83698 rm -f conftest.$ac_objext conftest$ac_exeext
83699 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
83700   (eval $ac_link) 2>conftest.er1
83701   ac_status=$?
83702   grep -v '^ *+' conftest.er1 >conftest.err
83703   rm -f conftest.er1
83704   cat conftest.err >&5
83705   echo "$as_me:$LINENO: \$? = $ac_status" >&5
83706   (exit $ac_status); } &&
83707          { ac_try='test -z "$ac_c_werror_flag"
83708                          || test ! -s conftest.err'
83709   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
83710   (eval $ac_try) 2>&5
83711   ac_status=$?
83712   echo "$as_me:$LINENO: \$? = $ac_status" >&5
83713   (exit $ac_status); }; } &&
83714          { ac_try='test -s conftest$ac_exeext'
83715   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
83716   (eval $ac_try) 2>&5
83717   ac_status=$?
83718   echo "$as_me:$LINENO: \$? = $ac_status" >&5
83719   (exit $ac_status); }; }; then
83720   eval "$as_ac_var=yes"
83721 else
83722   echo "$as_me: failed program was:" >&5
83723 sed 's/^/| /' conftest.$ac_ext >&5
83724
83725 eval "$as_ac_var=no"
83726 fi
83727 rm -f conftest.err conftest.$ac_objext \
83728       conftest$ac_exeext conftest.$ac_ext
83729 fi
83730 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
83731 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
83732 if test `eval echo '${'$as_ac_var'}'` = yes; then
83733   cat >>confdefs.h <<_ACEOF
83734 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
83735 _ACEOF
83736
83737 fi
83738 done
83739
83740   else
83741
83742   echo "$as_me:$LINENO: checking for _hypotf declaration" >&5
83743 echo $ECHO_N "checking for _hypotf declaration... $ECHO_C" >&6
83744   if test x${glibcxx_cv_func__hypotf_use+set} != xset; then
83745     if test "${glibcxx_cv_func__hypotf_use+set}" = set; then
83746   echo $ECHO_N "(cached) $ECHO_C" >&6
83747 else
83748
83749
83750
83751       ac_ext=cc
83752 ac_cpp='$CXXCPP $CPPFLAGS'
83753 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
83754 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
83755 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
83756
83757       cat >conftest.$ac_ext <<_ACEOF
83758 /* confdefs.h.  */
83759 _ACEOF
83760 cat confdefs.h >>conftest.$ac_ext
83761 cat >>conftest.$ac_ext <<_ACEOF
83762 /* end confdefs.h.  */
83763 #include <math.h>
83764 int
83765 main ()
83766 {
83767  _hypotf(0, 0);
83768   ;
83769   return 0;
83770 }
83771 _ACEOF
83772 rm -f conftest.$ac_objext
83773 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
83774   (eval $ac_compile) 2>conftest.er1
83775   ac_status=$?
83776   grep -v '^ *+' conftest.er1 >conftest.err
83777   rm -f conftest.er1
83778   cat conftest.err >&5
83779   echo "$as_me:$LINENO: \$? = $ac_status" >&5
83780   (exit $ac_status); } &&
83781          { ac_try='test -z "$ac_cxx_werror_flag"
83782                          || test ! -s conftest.err'
83783   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
83784   (eval $ac_try) 2>&5
83785   ac_status=$?
83786   echo "$as_me:$LINENO: \$? = $ac_status" >&5
83787   (exit $ac_status); }; } &&
83788          { ac_try='test -s conftest.$ac_objext'
83789   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
83790   (eval $ac_try) 2>&5
83791   ac_status=$?
83792   echo "$as_me:$LINENO: \$? = $ac_status" >&5
83793   (exit $ac_status); }; }; then
83794   glibcxx_cv_func__hypotf_use=yes
83795 else
83796   echo "$as_me: failed program was:" >&5
83797 sed 's/^/| /' conftest.$ac_ext >&5
83798
83799 glibcxx_cv_func__hypotf_use=no
83800 fi
83801 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
83802       ac_ext=c
83803 ac_cpp='$CPP $CPPFLAGS'
83804 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
83805 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
83806 ac_compiler_gnu=$ac_cv_c_compiler_gnu
83807
83808
83809 fi
83810
83811   fi
83812   echo "$as_me:$LINENO: result: $glibcxx_cv_func__hypotf_use" >&5
83813 echo "${ECHO_T}$glibcxx_cv_func__hypotf_use" >&6
83814
83815     if test x$glibcxx_cv_func__hypotf_use = x"yes"; then
83816
83817 for ac_func in _hypotf
83818 do
83819 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
83820 echo "$as_me:$LINENO: checking for $ac_func" >&5
83821 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
83822 if eval "test \"\${$as_ac_var+set}\" = set"; then
83823   echo $ECHO_N "(cached) $ECHO_C" >&6
83824 else
83825   if test x$gcc_no_link = xyes; then
83826   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
83827 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
83828    { (exit 1); exit 1; }; }
83829 fi
83830 cat >conftest.$ac_ext <<_ACEOF
83831 /* confdefs.h.  */
83832 _ACEOF
83833 cat confdefs.h >>conftest.$ac_ext
83834 cat >>conftest.$ac_ext <<_ACEOF
83835 /* end confdefs.h.  */
83836 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
83837    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
83838 #define $ac_func innocuous_$ac_func
83839
83840 /* System header to define __stub macros and hopefully few prototypes,
83841     which can conflict with char $ac_func (); below.
83842     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
83843     <limits.h> exists even on freestanding compilers.  */
83844
83845 #ifdef __STDC__
83846 # include <limits.h>
83847 #else
83848 # include <assert.h>
83849 #endif
83850
83851 #undef $ac_func
83852
83853 /* Override any gcc2 internal prototype to avoid an error.  */
83854 #ifdef __cplusplus
83855 extern "C"
83856 {
83857 #endif
83858 /* We use char because int might match the return type of a gcc2
83859    builtin and then its argument prototype would still apply.  */
83860 char $ac_func ();
83861 /* The GNU C library defines this for functions which it implements
83862     to always fail with ENOSYS.  Some functions are actually named
83863     something starting with __ and the normal name is an alias.  */
83864 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
83865 choke me
83866 #else
83867 char (*f) () = $ac_func;
83868 #endif
83869 #ifdef __cplusplus
83870 }
83871 #endif
83872
83873 int
83874 main ()
83875 {
83876 return f != $ac_func;
83877   ;
83878   return 0;
83879 }
83880 _ACEOF
83881 rm -f conftest.$ac_objext conftest$ac_exeext
83882 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
83883   (eval $ac_link) 2>conftest.er1
83884   ac_status=$?
83885   grep -v '^ *+' conftest.er1 >conftest.err
83886   rm -f conftest.er1
83887   cat conftest.err >&5
83888   echo "$as_me:$LINENO: \$? = $ac_status" >&5
83889   (exit $ac_status); } &&
83890          { ac_try='test -z "$ac_c_werror_flag"
83891                          || test ! -s conftest.err'
83892   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
83893   (eval $ac_try) 2>&5
83894   ac_status=$?
83895   echo "$as_me:$LINENO: \$? = $ac_status" >&5
83896   (exit $ac_status); }; } &&
83897          { ac_try='test -s conftest$ac_exeext'
83898   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
83899   (eval $ac_try) 2>&5
83900   ac_status=$?
83901   echo "$as_me:$LINENO: \$? = $ac_status" >&5
83902   (exit $ac_status); }; }; then
83903   eval "$as_ac_var=yes"
83904 else
83905   echo "$as_me: failed program was:" >&5
83906 sed 's/^/| /' conftest.$ac_ext >&5
83907
83908 eval "$as_ac_var=no"
83909 fi
83910 rm -f conftest.err conftest.$ac_objext \
83911       conftest$ac_exeext conftest.$ac_ext
83912 fi
83913 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
83914 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
83915 if test `eval echo '${'$as_ac_var'}'` = yes; then
83916   cat >>confdefs.h <<_ACEOF
83917 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
83918 _ACEOF
83919
83920 fi
83921 done
83922
83923     fi
83924   fi
83925
83926
83927
83928
83929
83930
83931   echo "$as_me:$LINENO: checking for ldexpf declaration" >&5
83932 echo $ECHO_N "checking for ldexpf declaration... $ECHO_C" >&6
83933   if test x${glibcxx_cv_func_ldexpf_use+set} != xset; then
83934     if test "${glibcxx_cv_func_ldexpf_use+set}" = set; then
83935   echo $ECHO_N "(cached) $ECHO_C" >&6
83936 else
83937
83938
83939
83940       ac_ext=cc
83941 ac_cpp='$CXXCPP $CPPFLAGS'
83942 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
83943 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
83944 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
83945
83946       cat >conftest.$ac_ext <<_ACEOF
83947 /* confdefs.h.  */
83948 _ACEOF
83949 cat confdefs.h >>conftest.$ac_ext
83950 cat >>conftest.$ac_ext <<_ACEOF
83951 /* end confdefs.h.  */
83952 #include <math.h>
83953 int
83954 main ()
83955 {
83956  ldexpf(0, 0);
83957   ;
83958   return 0;
83959 }
83960 _ACEOF
83961 rm -f conftest.$ac_objext
83962 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
83963   (eval $ac_compile) 2>conftest.er1
83964   ac_status=$?
83965   grep -v '^ *+' conftest.er1 >conftest.err
83966   rm -f conftest.er1
83967   cat conftest.err >&5
83968   echo "$as_me:$LINENO: \$? = $ac_status" >&5
83969   (exit $ac_status); } &&
83970          { ac_try='test -z "$ac_cxx_werror_flag"
83971                          || test ! -s conftest.err'
83972   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
83973   (eval $ac_try) 2>&5
83974   ac_status=$?
83975   echo "$as_me:$LINENO: \$? = $ac_status" >&5
83976   (exit $ac_status); }; } &&
83977          { ac_try='test -s conftest.$ac_objext'
83978   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
83979   (eval $ac_try) 2>&5
83980   ac_status=$?
83981   echo "$as_me:$LINENO: \$? = $ac_status" >&5
83982   (exit $ac_status); }; }; then
83983   glibcxx_cv_func_ldexpf_use=yes
83984 else
83985   echo "$as_me: failed program was:" >&5
83986 sed 's/^/| /' conftest.$ac_ext >&5
83987
83988 glibcxx_cv_func_ldexpf_use=no
83989 fi
83990 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
83991       ac_ext=c
83992 ac_cpp='$CPP $CPPFLAGS'
83993 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
83994 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
83995 ac_compiler_gnu=$ac_cv_c_compiler_gnu
83996
83997
83998 fi
83999
84000   fi
84001   echo "$as_me:$LINENO: result: $glibcxx_cv_func_ldexpf_use" >&5
84002 echo "${ECHO_T}$glibcxx_cv_func_ldexpf_use" >&6
84003
84004   if test x$glibcxx_cv_func_ldexpf_use = x"yes"; then
84005
84006 for ac_func in ldexpf
84007 do
84008 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
84009 echo "$as_me:$LINENO: checking for $ac_func" >&5
84010 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
84011 if eval "test \"\${$as_ac_var+set}\" = set"; then
84012   echo $ECHO_N "(cached) $ECHO_C" >&6
84013 else
84014   if test x$gcc_no_link = xyes; then
84015   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
84016 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
84017    { (exit 1); exit 1; }; }
84018 fi
84019 cat >conftest.$ac_ext <<_ACEOF
84020 /* confdefs.h.  */
84021 _ACEOF
84022 cat confdefs.h >>conftest.$ac_ext
84023 cat >>conftest.$ac_ext <<_ACEOF
84024 /* end confdefs.h.  */
84025 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
84026    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
84027 #define $ac_func innocuous_$ac_func
84028
84029 /* System header to define __stub macros and hopefully few prototypes,
84030     which can conflict with char $ac_func (); below.
84031     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
84032     <limits.h> exists even on freestanding compilers.  */
84033
84034 #ifdef __STDC__
84035 # include <limits.h>
84036 #else
84037 # include <assert.h>
84038 #endif
84039
84040 #undef $ac_func
84041
84042 /* Override any gcc2 internal prototype to avoid an error.  */
84043 #ifdef __cplusplus
84044 extern "C"
84045 {
84046 #endif
84047 /* We use char because int might match the return type of a gcc2
84048    builtin and then its argument prototype would still apply.  */
84049 char $ac_func ();
84050 /* The GNU C library defines this for functions which it implements
84051     to always fail with ENOSYS.  Some functions are actually named
84052     something starting with __ and the normal name is an alias.  */
84053 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
84054 choke me
84055 #else
84056 char (*f) () = $ac_func;
84057 #endif
84058 #ifdef __cplusplus
84059 }
84060 #endif
84061
84062 int
84063 main ()
84064 {
84065 return f != $ac_func;
84066   ;
84067   return 0;
84068 }
84069 _ACEOF
84070 rm -f conftest.$ac_objext conftest$ac_exeext
84071 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
84072   (eval $ac_link) 2>conftest.er1
84073   ac_status=$?
84074   grep -v '^ *+' conftest.er1 >conftest.err
84075   rm -f conftest.er1
84076   cat conftest.err >&5
84077   echo "$as_me:$LINENO: \$? = $ac_status" >&5
84078   (exit $ac_status); } &&
84079          { ac_try='test -z "$ac_c_werror_flag"
84080                          || test ! -s conftest.err'
84081   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
84082   (eval $ac_try) 2>&5
84083   ac_status=$?
84084   echo "$as_me:$LINENO: \$? = $ac_status" >&5
84085   (exit $ac_status); }; } &&
84086          { ac_try='test -s conftest$ac_exeext'
84087   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
84088   (eval $ac_try) 2>&5
84089   ac_status=$?
84090   echo "$as_me:$LINENO: \$? = $ac_status" >&5
84091   (exit $ac_status); }; }; then
84092   eval "$as_ac_var=yes"
84093 else
84094   echo "$as_me: failed program was:" >&5
84095 sed 's/^/| /' conftest.$ac_ext >&5
84096
84097 eval "$as_ac_var=no"
84098 fi
84099 rm -f conftest.err conftest.$ac_objext \
84100       conftest$ac_exeext conftest.$ac_ext
84101 fi
84102 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
84103 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
84104 if test `eval echo '${'$as_ac_var'}'` = yes; then
84105   cat >>confdefs.h <<_ACEOF
84106 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
84107 _ACEOF
84108
84109 fi
84110 done
84111
84112   else
84113
84114   echo "$as_me:$LINENO: checking for _ldexpf declaration" >&5
84115 echo $ECHO_N "checking for _ldexpf declaration... $ECHO_C" >&6
84116   if test x${glibcxx_cv_func__ldexpf_use+set} != xset; then
84117     if test "${glibcxx_cv_func__ldexpf_use+set}" = set; then
84118   echo $ECHO_N "(cached) $ECHO_C" >&6
84119 else
84120
84121
84122
84123       ac_ext=cc
84124 ac_cpp='$CXXCPP $CPPFLAGS'
84125 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
84126 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
84127 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
84128
84129       cat >conftest.$ac_ext <<_ACEOF
84130 /* confdefs.h.  */
84131 _ACEOF
84132 cat confdefs.h >>conftest.$ac_ext
84133 cat >>conftest.$ac_ext <<_ACEOF
84134 /* end confdefs.h.  */
84135 #include <math.h>
84136 int
84137 main ()
84138 {
84139  _ldexpf(0, 0);
84140   ;
84141   return 0;
84142 }
84143 _ACEOF
84144 rm -f conftest.$ac_objext
84145 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
84146   (eval $ac_compile) 2>conftest.er1
84147   ac_status=$?
84148   grep -v '^ *+' conftest.er1 >conftest.err
84149   rm -f conftest.er1
84150   cat conftest.err >&5
84151   echo "$as_me:$LINENO: \$? = $ac_status" >&5
84152   (exit $ac_status); } &&
84153          { ac_try='test -z "$ac_cxx_werror_flag"
84154                          || test ! -s conftest.err'
84155   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
84156   (eval $ac_try) 2>&5
84157   ac_status=$?
84158   echo "$as_me:$LINENO: \$? = $ac_status" >&5
84159   (exit $ac_status); }; } &&
84160          { ac_try='test -s conftest.$ac_objext'
84161   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
84162   (eval $ac_try) 2>&5
84163   ac_status=$?
84164   echo "$as_me:$LINENO: \$? = $ac_status" >&5
84165   (exit $ac_status); }; }; then
84166   glibcxx_cv_func__ldexpf_use=yes
84167 else
84168   echo "$as_me: failed program was:" >&5
84169 sed 's/^/| /' conftest.$ac_ext >&5
84170
84171 glibcxx_cv_func__ldexpf_use=no
84172 fi
84173 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
84174       ac_ext=c
84175 ac_cpp='$CPP $CPPFLAGS'
84176 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
84177 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
84178 ac_compiler_gnu=$ac_cv_c_compiler_gnu
84179
84180
84181 fi
84182
84183   fi
84184   echo "$as_me:$LINENO: result: $glibcxx_cv_func__ldexpf_use" >&5
84185 echo "${ECHO_T}$glibcxx_cv_func__ldexpf_use" >&6
84186
84187     if test x$glibcxx_cv_func__ldexpf_use = x"yes"; then
84188
84189 for ac_func in _ldexpf
84190 do
84191 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
84192 echo "$as_me:$LINENO: checking for $ac_func" >&5
84193 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
84194 if eval "test \"\${$as_ac_var+set}\" = set"; then
84195   echo $ECHO_N "(cached) $ECHO_C" >&6
84196 else
84197   if test x$gcc_no_link = xyes; then
84198   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
84199 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
84200    { (exit 1); exit 1; }; }
84201 fi
84202 cat >conftest.$ac_ext <<_ACEOF
84203 /* confdefs.h.  */
84204 _ACEOF
84205 cat confdefs.h >>conftest.$ac_ext
84206 cat >>conftest.$ac_ext <<_ACEOF
84207 /* end confdefs.h.  */
84208 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
84209    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
84210 #define $ac_func innocuous_$ac_func
84211
84212 /* System header to define __stub macros and hopefully few prototypes,
84213     which can conflict with char $ac_func (); below.
84214     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
84215     <limits.h> exists even on freestanding compilers.  */
84216
84217 #ifdef __STDC__
84218 # include <limits.h>
84219 #else
84220 # include <assert.h>
84221 #endif
84222
84223 #undef $ac_func
84224
84225 /* Override any gcc2 internal prototype to avoid an error.  */
84226 #ifdef __cplusplus
84227 extern "C"
84228 {
84229 #endif
84230 /* We use char because int might match the return type of a gcc2
84231    builtin and then its argument prototype would still apply.  */
84232 char $ac_func ();
84233 /* The GNU C library defines this for functions which it implements
84234     to always fail with ENOSYS.  Some functions are actually named
84235     something starting with __ and the normal name is an alias.  */
84236 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
84237 choke me
84238 #else
84239 char (*f) () = $ac_func;
84240 #endif
84241 #ifdef __cplusplus
84242 }
84243 #endif
84244
84245 int
84246 main ()
84247 {
84248 return f != $ac_func;
84249   ;
84250   return 0;
84251 }
84252 _ACEOF
84253 rm -f conftest.$ac_objext conftest$ac_exeext
84254 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
84255   (eval $ac_link) 2>conftest.er1
84256   ac_status=$?
84257   grep -v '^ *+' conftest.er1 >conftest.err
84258   rm -f conftest.er1
84259   cat conftest.err >&5
84260   echo "$as_me:$LINENO: \$? = $ac_status" >&5
84261   (exit $ac_status); } &&
84262          { ac_try='test -z "$ac_c_werror_flag"
84263                          || test ! -s conftest.err'
84264   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
84265   (eval $ac_try) 2>&5
84266   ac_status=$?
84267   echo "$as_me:$LINENO: \$? = $ac_status" >&5
84268   (exit $ac_status); }; } &&
84269          { ac_try='test -s conftest$ac_exeext'
84270   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
84271   (eval $ac_try) 2>&5
84272   ac_status=$?
84273   echo "$as_me:$LINENO: \$? = $ac_status" >&5
84274   (exit $ac_status); }; }; then
84275   eval "$as_ac_var=yes"
84276 else
84277   echo "$as_me: failed program was:" >&5
84278 sed 's/^/| /' conftest.$ac_ext >&5
84279
84280 eval "$as_ac_var=no"
84281 fi
84282 rm -f conftest.err conftest.$ac_objext \
84283       conftest$ac_exeext conftest.$ac_ext
84284 fi
84285 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
84286 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
84287 if test `eval echo '${'$as_ac_var'}'` = yes; then
84288   cat >>confdefs.h <<_ACEOF
84289 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
84290 _ACEOF
84291
84292 fi
84293 done
84294
84295     fi
84296   fi
84297
84298
84299
84300
84301
84302
84303   echo "$as_me:$LINENO: checking for logf declaration" >&5
84304 echo $ECHO_N "checking for logf declaration... $ECHO_C" >&6
84305   if test x${glibcxx_cv_func_logf_use+set} != xset; then
84306     if test "${glibcxx_cv_func_logf_use+set}" = set; then
84307   echo $ECHO_N "(cached) $ECHO_C" >&6
84308 else
84309
84310
84311
84312       ac_ext=cc
84313 ac_cpp='$CXXCPP $CPPFLAGS'
84314 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
84315 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
84316 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
84317
84318       cat >conftest.$ac_ext <<_ACEOF
84319 /* confdefs.h.  */
84320 _ACEOF
84321 cat confdefs.h >>conftest.$ac_ext
84322 cat >>conftest.$ac_ext <<_ACEOF
84323 /* end confdefs.h.  */
84324 #include <math.h>
84325                       #ifdef HAVE_IEEEFP_H
84326                       #include <ieeefp.h>
84327                       #endif
84328
84329 int
84330 main ()
84331 {
84332  logf(0);
84333   ;
84334   return 0;
84335 }
84336 _ACEOF
84337 rm -f conftest.$ac_objext
84338 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
84339   (eval $ac_compile) 2>conftest.er1
84340   ac_status=$?
84341   grep -v '^ *+' conftest.er1 >conftest.err
84342   rm -f conftest.er1
84343   cat conftest.err >&5
84344   echo "$as_me:$LINENO: \$? = $ac_status" >&5
84345   (exit $ac_status); } &&
84346          { ac_try='test -z "$ac_cxx_werror_flag"
84347                          || test ! -s conftest.err'
84348   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
84349   (eval $ac_try) 2>&5
84350   ac_status=$?
84351   echo "$as_me:$LINENO: \$? = $ac_status" >&5
84352   (exit $ac_status); }; } &&
84353          { ac_try='test -s conftest.$ac_objext'
84354   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
84355   (eval $ac_try) 2>&5
84356   ac_status=$?
84357   echo "$as_me:$LINENO: \$? = $ac_status" >&5
84358   (exit $ac_status); }; }; then
84359   glibcxx_cv_func_logf_use=yes
84360 else
84361   echo "$as_me: failed program was:" >&5
84362 sed 's/^/| /' conftest.$ac_ext >&5
84363
84364 glibcxx_cv_func_logf_use=no
84365 fi
84366 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
84367       ac_ext=c
84368 ac_cpp='$CPP $CPPFLAGS'
84369 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
84370 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
84371 ac_compiler_gnu=$ac_cv_c_compiler_gnu
84372
84373
84374 fi
84375
84376   fi
84377   echo "$as_me:$LINENO: result: $glibcxx_cv_func_logf_use" >&5
84378 echo "${ECHO_T}$glibcxx_cv_func_logf_use" >&6
84379
84380   if test x$glibcxx_cv_func_logf_use = x"yes"; then
84381
84382 for ac_func in logf
84383 do
84384 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
84385 echo "$as_me:$LINENO: checking for $ac_func" >&5
84386 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
84387 if eval "test \"\${$as_ac_var+set}\" = set"; then
84388   echo $ECHO_N "(cached) $ECHO_C" >&6
84389 else
84390   if test x$gcc_no_link = xyes; then
84391   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
84392 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
84393    { (exit 1); exit 1; }; }
84394 fi
84395 cat >conftest.$ac_ext <<_ACEOF
84396 /* confdefs.h.  */
84397 _ACEOF
84398 cat confdefs.h >>conftest.$ac_ext
84399 cat >>conftest.$ac_ext <<_ACEOF
84400 /* end confdefs.h.  */
84401 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
84402    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
84403 #define $ac_func innocuous_$ac_func
84404
84405 /* System header to define __stub macros and hopefully few prototypes,
84406     which can conflict with char $ac_func (); below.
84407     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
84408     <limits.h> exists even on freestanding compilers.  */
84409
84410 #ifdef __STDC__
84411 # include <limits.h>
84412 #else
84413 # include <assert.h>
84414 #endif
84415
84416 #undef $ac_func
84417
84418 /* Override any gcc2 internal prototype to avoid an error.  */
84419 #ifdef __cplusplus
84420 extern "C"
84421 {
84422 #endif
84423 /* We use char because int might match the return type of a gcc2
84424    builtin and then its argument prototype would still apply.  */
84425 char $ac_func ();
84426 /* The GNU C library defines this for functions which it implements
84427     to always fail with ENOSYS.  Some functions are actually named
84428     something starting with __ and the normal name is an alias.  */
84429 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
84430 choke me
84431 #else
84432 char (*f) () = $ac_func;
84433 #endif
84434 #ifdef __cplusplus
84435 }
84436 #endif
84437
84438 int
84439 main ()
84440 {
84441 return f != $ac_func;
84442   ;
84443   return 0;
84444 }
84445 _ACEOF
84446 rm -f conftest.$ac_objext conftest$ac_exeext
84447 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
84448   (eval $ac_link) 2>conftest.er1
84449   ac_status=$?
84450   grep -v '^ *+' conftest.er1 >conftest.err
84451   rm -f conftest.er1
84452   cat conftest.err >&5
84453   echo "$as_me:$LINENO: \$? = $ac_status" >&5
84454   (exit $ac_status); } &&
84455          { ac_try='test -z "$ac_c_werror_flag"
84456                          || test ! -s conftest.err'
84457   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
84458   (eval $ac_try) 2>&5
84459   ac_status=$?
84460   echo "$as_me:$LINENO: \$? = $ac_status" >&5
84461   (exit $ac_status); }; } &&
84462          { ac_try='test -s conftest$ac_exeext'
84463   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
84464   (eval $ac_try) 2>&5
84465   ac_status=$?
84466   echo "$as_me:$LINENO: \$? = $ac_status" >&5
84467   (exit $ac_status); }; }; then
84468   eval "$as_ac_var=yes"
84469 else
84470   echo "$as_me: failed program was:" >&5
84471 sed 's/^/| /' conftest.$ac_ext >&5
84472
84473 eval "$as_ac_var=no"
84474 fi
84475 rm -f conftest.err conftest.$ac_objext \
84476       conftest$ac_exeext conftest.$ac_ext
84477 fi
84478 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
84479 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
84480 if test `eval echo '${'$as_ac_var'}'` = yes; then
84481   cat >>confdefs.h <<_ACEOF
84482 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
84483 _ACEOF
84484
84485 fi
84486 done
84487
84488   else
84489
84490   echo "$as_me:$LINENO: checking for _logf declaration" >&5
84491 echo $ECHO_N "checking for _logf declaration... $ECHO_C" >&6
84492   if test x${glibcxx_cv_func__logf_use+set} != xset; then
84493     if test "${glibcxx_cv_func__logf_use+set}" = set; then
84494   echo $ECHO_N "(cached) $ECHO_C" >&6
84495 else
84496
84497
84498
84499       ac_ext=cc
84500 ac_cpp='$CXXCPP $CPPFLAGS'
84501 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
84502 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
84503 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
84504
84505       cat >conftest.$ac_ext <<_ACEOF
84506 /* confdefs.h.  */
84507 _ACEOF
84508 cat confdefs.h >>conftest.$ac_ext
84509 cat >>conftest.$ac_ext <<_ACEOF
84510 /* end confdefs.h.  */
84511 #include <math.h>
84512                       #ifdef HAVE_IEEEFP_H
84513                       #include <ieeefp.h>
84514                       #endif
84515
84516 int
84517 main ()
84518 {
84519  _logf(0);
84520   ;
84521   return 0;
84522 }
84523 _ACEOF
84524 rm -f conftest.$ac_objext
84525 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
84526   (eval $ac_compile) 2>conftest.er1
84527   ac_status=$?
84528   grep -v '^ *+' conftest.er1 >conftest.err
84529   rm -f conftest.er1
84530   cat conftest.err >&5
84531   echo "$as_me:$LINENO: \$? = $ac_status" >&5
84532   (exit $ac_status); } &&
84533          { ac_try='test -z "$ac_cxx_werror_flag"
84534                          || test ! -s conftest.err'
84535   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
84536   (eval $ac_try) 2>&5
84537   ac_status=$?
84538   echo "$as_me:$LINENO: \$? = $ac_status" >&5
84539   (exit $ac_status); }; } &&
84540          { ac_try='test -s conftest.$ac_objext'
84541   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
84542   (eval $ac_try) 2>&5
84543   ac_status=$?
84544   echo "$as_me:$LINENO: \$? = $ac_status" >&5
84545   (exit $ac_status); }; }; then
84546   glibcxx_cv_func__logf_use=yes
84547 else
84548   echo "$as_me: failed program was:" >&5
84549 sed 's/^/| /' conftest.$ac_ext >&5
84550
84551 glibcxx_cv_func__logf_use=no
84552 fi
84553 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
84554       ac_ext=c
84555 ac_cpp='$CPP $CPPFLAGS'
84556 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
84557 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
84558 ac_compiler_gnu=$ac_cv_c_compiler_gnu
84559
84560
84561 fi
84562
84563   fi
84564   echo "$as_me:$LINENO: result: $glibcxx_cv_func__logf_use" >&5
84565 echo "${ECHO_T}$glibcxx_cv_func__logf_use" >&6
84566
84567     if test x$glibcxx_cv_func__logf_use = x"yes"; then
84568
84569 for ac_func in _logf
84570 do
84571 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
84572 echo "$as_me:$LINENO: checking for $ac_func" >&5
84573 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
84574 if eval "test \"\${$as_ac_var+set}\" = set"; then
84575   echo $ECHO_N "(cached) $ECHO_C" >&6
84576 else
84577   if test x$gcc_no_link = xyes; then
84578   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
84579 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
84580    { (exit 1); exit 1; }; }
84581 fi
84582 cat >conftest.$ac_ext <<_ACEOF
84583 /* confdefs.h.  */
84584 _ACEOF
84585 cat confdefs.h >>conftest.$ac_ext
84586 cat >>conftest.$ac_ext <<_ACEOF
84587 /* end confdefs.h.  */
84588 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
84589    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
84590 #define $ac_func innocuous_$ac_func
84591
84592 /* System header to define __stub macros and hopefully few prototypes,
84593     which can conflict with char $ac_func (); below.
84594     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
84595     <limits.h> exists even on freestanding compilers.  */
84596
84597 #ifdef __STDC__
84598 # include <limits.h>
84599 #else
84600 # include <assert.h>
84601 #endif
84602
84603 #undef $ac_func
84604
84605 /* Override any gcc2 internal prototype to avoid an error.  */
84606 #ifdef __cplusplus
84607 extern "C"
84608 {
84609 #endif
84610 /* We use char because int might match the return type of a gcc2
84611    builtin and then its argument prototype would still apply.  */
84612 char $ac_func ();
84613 /* The GNU C library defines this for functions which it implements
84614     to always fail with ENOSYS.  Some functions are actually named
84615     something starting with __ and the normal name is an alias.  */
84616 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
84617 choke me
84618 #else
84619 char (*f) () = $ac_func;
84620 #endif
84621 #ifdef __cplusplus
84622 }
84623 #endif
84624
84625 int
84626 main ()
84627 {
84628 return f != $ac_func;
84629   ;
84630   return 0;
84631 }
84632 _ACEOF
84633 rm -f conftest.$ac_objext conftest$ac_exeext
84634 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
84635   (eval $ac_link) 2>conftest.er1
84636   ac_status=$?
84637   grep -v '^ *+' conftest.er1 >conftest.err
84638   rm -f conftest.er1
84639   cat conftest.err >&5
84640   echo "$as_me:$LINENO: \$? = $ac_status" >&5
84641   (exit $ac_status); } &&
84642          { ac_try='test -z "$ac_c_werror_flag"
84643                          || test ! -s conftest.err'
84644   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
84645   (eval $ac_try) 2>&5
84646   ac_status=$?
84647   echo "$as_me:$LINENO: \$? = $ac_status" >&5
84648   (exit $ac_status); }; } &&
84649          { ac_try='test -s conftest$ac_exeext'
84650   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
84651   (eval $ac_try) 2>&5
84652   ac_status=$?
84653   echo "$as_me:$LINENO: \$? = $ac_status" >&5
84654   (exit $ac_status); }; }; then
84655   eval "$as_ac_var=yes"
84656 else
84657   echo "$as_me: failed program was:" >&5
84658 sed 's/^/| /' conftest.$ac_ext >&5
84659
84660 eval "$as_ac_var=no"
84661 fi
84662 rm -f conftest.err conftest.$ac_objext \
84663       conftest$ac_exeext conftest.$ac_ext
84664 fi
84665 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
84666 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
84667 if test `eval echo '${'$as_ac_var'}'` = yes; then
84668   cat >>confdefs.h <<_ACEOF
84669 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
84670 _ACEOF
84671
84672 fi
84673 done
84674
84675     fi
84676   fi
84677
84678
84679
84680
84681
84682
84683   echo "$as_me:$LINENO: checking for log10f declaration" >&5
84684 echo $ECHO_N "checking for log10f declaration... $ECHO_C" >&6
84685   if test x${glibcxx_cv_func_log10f_use+set} != xset; then
84686     if test "${glibcxx_cv_func_log10f_use+set}" = set; then
84687   echo $ECHO_N "(cached) $ECHO_C" >&6
84688 else
84689
84690
84691
84692       ac_ext=cc
84693 ac_cpp='$CXXCPP $CPPFLAGS'
84694 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
84695 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
84696 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
84697
84698       cat >conftest.$ac_ext <<_ACEOF
84699 /* confdefs.h.  */
84700 _ACEOF
84701 cat confdefs.h >>conftest.$ac_ext
84702 cat >>conftest.$ac_ext <<_ACEOF
84703 /* end confdefs.h.  */
84704 #include <math.h>
84705                       #ifdef HAVE_IEEEFP_H
84706                       #include <ieeefp.h>
84707                       #endif
84708
84709 int
84710 main ()
84711 {
84712  log10f(0);
84713   ;
84714   return 0;
84715 }
84716 _ACEOF
84717 rm -f conftest.$ac_objext
84718 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
84719   (eval $ac_compile) 2>conftest.er1
84720   ac_status=$?
84721   grep -v '^ *+' conftest.er1 >conftest.err
84722   rm -f conftest.er1
84723   cat conftest.err >&5
84724   echo "$as_me:$LINENO: \$? = $ac_status" >&5
84725   (exit $ac_status); } &&
84726          { ac_try='test -z "$ac_cxx_werror_flag"
84727                          || test ! -s conftest.err'
84728   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
84729   (eval $ac_try) 2>&5
84730   ac_status=$?
84731   echo "$as_me:$LINENO: \$? = $ac_status" >&5
84732   (exit $ac_status); }; } &&
84733          { ac_try='test -s conftest.$ac_objext'
84734   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
84735   (eval $ac_try) 2>&5
84736   ac_status=$?
84737   echo "$as_me:$LINENO: \$? = $ac_status" >&5
84738   (exit $ac_status); }; }; then
84739   glibcxx_cv_func_log10f_use=yes
84740 else
84741   echo "$as_me: failed program was:" >&5
84742 sed 's/^/| /' conftest.$ac_ext >&5
84743
84744 glibcxx_cv_func_log10f_use=no
84745 fi
84746 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
84747       ac_ext=c
84748 ac_cpp='$CPP $CPPFLAGS'
84749 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
84750 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
84751 ac_compiler_gnu=$ac_cv_c_compiler_gnu
84752
84753
84754 fi
84755
84756   fi
84757   echo "$as_me:$LINENO: result: $glibcxx_cv_func_log10f_use" >&5
84758 echo "${ECHO_T}$glibcxx_cv_func_log10f_use" >&6
84759
84760   if test x$glibcxx_cv_func_log10f_use = x"yes"; then
84761
84762 for ac_func in log10f
84763 do
84764 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
84765 echo "$as_me:$LINENO: checking for $ac_func" >&5
84766 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
84767 if eval "test \"\${$as_ac_var+set}\" = set"; then
84768   echo $ECHO_N "(cached) $ECHO_C" >&6
84769 else
84770   if test x$gcc_no_link = xyes; then
84771   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
84772 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
84773    { (exit 1); exit 1; }; }
84774 fi
84775 cat >conftest.$ac_ext <<_ACEOF
84776 /* confdefs.h.  */
84777 _ACEOF
84778 cat confdefs.h >>conftest.$ac_ext
84779 cat >>conftest.$ac_ext <<_ACEOF
84780 /* end confdefs.h.  */
84781 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
84782    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
84783 #define $ac_func innocuous_$ac_func
84784
84785 /* System header to define __stub macros and hopefully few prototypes,
84786     which can conflict with char $ac_func (); below.
84787     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
84788     <limits.h> exists even on freestanding compilers.  */
84789
84790 #ifdef __STDC__
84791 # include <limits.h>
84792 #else
84793 # include <assert.h>
84794 #endif
84795
84796 #undef $ac_func
84797
84798 /* Override any gcc2 internal prototype to avoid an error.  */
84799 #ifdef __cplusplus
84800 extern "C"
84801 {
84802 #endif
84803 /* We use char because int might match the return type of a gcc2
84804    builtin and then its argument prototype would still apply.  */
84805 char $ac_func ();
84806 /* The GNU C library defines this for functions which it implements
84807     to always fail with ENOSYS.  Some functions are actually named
84808     something starting with __ and the normal name is an alias.  */
84809 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
84810 choke me
84811 #else
84812 char (*f) () = $ac_func;
84813 #endif
84814 #ifdef __cplusplus
84815 }
84816 #endif
84817
84818 int
84819 main ()
84820 {
84821 return f != $ac_func;
84822   ;
84823   return 0;
84824 }
84825 _ACEOF
84826 rm -f conftest.$ac_objext conftest$ac_exeext
84827 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
84828   (eval $ac_link) 2>conftest.er1
84829   ac_status=$?
84830   grep -v '^ *+' conftest.er1 >conftest.err
84831   rm -f conftest.er1
84832   cat conftest.err >&5
84833   echo "$as_me:$LINENO: \$? = $ac_status" >&5
84834   (exit $ac_status); } &&
84835          { ac_try='test -z "$ac_c_werror_flag"
84836                          || test ! -s conftest.err'
84837   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
84838   (eval $ac_try) 2>&5
84839   ac_status=$?
84840   echo "$as_me:$LINENO: \$? = $ac_status" >&5
84841   (exit $ac_status); }; } &&
84842          { ac_try='test -s conftest$ac_exeext'
84843   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
84844   (eval $ac_try) 2>&5
84845   ac_status=$?
84846   echo "$as_me:$LINENO: \$? = $ac_status" >&5
84847   (exit $ac_status); }; }; then
84848   eval "$as_ac_var=yes"
84849 else
84850   echo "$as_me: failed program was:" >&5
84851 sed 's/^/| /' conftest.$ac_ext >&5
84852
84853 eval "$as_ac_var=no"
84854 fi
84855 rm -f conftest.err conftest.$ac_objext \
84856       conftest$ac_exeext conftest.$ac_ext
84857 fi
84858 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
84859 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
84860 if test `eval echo '${'$as_ac_var'}'` = yes; then
84861   cat >>confdefs.h <<_ACEOF
84862 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
84863 _ACEOF
84864
84865 fi
84866 done
84867
84868   else
84869
84870   echo "$as_me:$LINENO: checking for _log10f declaration" >&5
84871 echo $ECHO_N "checking for _log10f declaration... $ECHO_C" >&6
84872   if test x${glibcxx_cv_func__log10f_use+set} != xset; then
84873     if test "${glibcxx_cv_func__log10f_use+set}" = set; then
84874   echo $ECHO_N "(cached) $ECHO_C" >&6
84875 else
84876
84877
84878
84879       ac_ext=cc
84880 ac_cpp='$CXXCPP $CPPFLAGS'
84881 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
84882 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
84883 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
84884
84885       cat >conftest.$ac_ext <<_ACEOF
84886 /* confdefs.h.  */
84887 _ACEOF
84888 cat confdefs.h >>conftest.$ac_ext
84889 cat >>conftest.$ac_ext <<_ACEOF
84890 /* end confdefs.h.  */
84891 #include <math.h>
84892                       #ifdef HAVE_IEEEFP_H
84893                       #include <ieeefp.h>
84894                       #endif
84895
84896 int
84897 main ()
84898 {
84899  _log10f(0);
84900   ;
84901   return 0;
84902 }
84903 _ACEOF
84904 rm -f conftest.$ac_objext
84905 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
84906   (eval $ac_compile) 2>conftest.er1
84907   ac_status=$?
84908   grep -v '^ *+' conftest.er1 >conftest.err
84909   rm -f conftest.er1
84910   cat conftest.err >&5
84911   echo "$as_me:$LINENO: \$? = $ac_status" >&5
84912   (exit $ac_status); } &&
84913          { ac_try='test -z "$ac_cxx_werror_flag"
84914                          || test ! -s conftest.err'
84915   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
84916   (eval $ac_try) 2>&5
84917   ac_status=$?
84918   echo "$as_me:$LINENO: \$? = $ac_status" >&5
84919   (exit $ac_status); }; } &&
84920          { ac_try='test -s conftest.$ac_objext'
84921   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
84922   (eval $ac_try) 2>&5
84923   ac_status=$?
84924   echo "$as_me:$LINENO: \$? = $ac_status" >&5
84925   (exit $ac_status); }; }; then
84926   glibcxx_cv_func__log10f_use=yes
84927 else
84928   echo "$as_me: failed program was:" >&5
84929 sed 's/^/| /' conftest.$ac_ext >&5
84930
84931 glibcxx_cv_func__log10f_use=no
84932 fi
84933 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
84934       ac_ext=c
84935 ac_cpp='$CPP $CPPFLAGS'
84936 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
84937 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
84938 ac_compiler_gnu=$ac_cv_c_compiler_gnu
84939
84940
84941 fi
84942
84943   fi
84944   echo "$as_me:$LINENO: result: $glibcxx_cv_func__log10f_use" >&5
84945 echo "${ECHO_T}$glibcxx_cv_func__log10f_use" >&6
84946
84947     if test x$glibcxx_cv_func__log10f_use = x"yes"; then
84948
84949 for ac_func in _log10f
84950 do
84951 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
84952 echo "$as_me:$LINENO: checking for $ac_func" >&5
84953 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
84954 if eval "test \"\${$as_ac_var+set}\" = set"; then
84955   echo $ECHO_N "(cached) $ECHO_C" >&6
84956 else
84957   if test x$gcc_no_link = xyes; then
84958   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
84959 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
84960    { (exit 1); exit 1; }; }
84961 fi
84962 cat >conftest.$ac_ext <<_ACEOF
84963 /* confdefs.h.  */
84964 _ACEOF
84965 cat confdefs.h >>conftest.$ac_ext
84966 cat >>conftest.$ac_ext <<_ACEOF
84967 /* end confdefs.h.  */
84968 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
84969    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
84970 #define $ac_func innocuous_$ac_func
84971
84972 /* System header to define __stub macros and hopefully few prototypes,
84973     which can conflict with char $ac_func (); below.
84974     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
84975     <limits.h> exists even on freestanding compilers.  */
84976
84977 #ifdef __STDC__
84978 # include <limits.h>
84979 #else
84980 # include <assert.h>
84981 #endif
84982
84983 #undef $ac_func
84984
84985 /* Override any gcc2 internal prototype to avoid an error.  */
84986 #ifdef __cplusplus
84987 extern "C"
84988 {
84989 #endif
84990 /* We use char because int might match the return type of a gcc2
84991    builtin and then its argument prototype would still apply.  */
84992 char $ac_func ();
84993 /* The GNU C library defines this for functions which it implements
84994     to always fail with ENOSYS.  Some functions are actually named
84995     something starting with __ and the normal name is an alias.  */
84996 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
84997 choke me
84998 #else
84999 char (*f) () = $ac_func;
85000 #endif
85001 #ifdef __cplusplus
85002 }
85003 #endif
85004
85005 int
85006 main ()
85007 {
85008 return f != $ac_func;
85009   ;
85010   return 0;
85011 }
85012 _ACEOF
85013 rm -f conftest.$ac_objext conftest$ac_exeext
85014 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
85015   (eval $ac_link) 2>conftest.er1
85016   ac_status=$?
85017   grep -v '^ *+' conftest.er1 >conftest.err
85018   rm -f conftest.er1
85019   cat conftest.err >&5
85020   echo "$as_me:$LINENO: \$? = $ac_status" >&5
85021   (exit $ac_status); } &&
85022          { ac_try='test -z "$ac_c_werror_flag"
85023                          || test ! -s conftest.err'
85024   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
85025   (eval $ac_try) 2>&5
85026   ac_status=$?
85027   echo "$as_me:$LINENO: \$? = $ac_status" >&5
85028   (exit $ac_status); }; } &&
85029          { ac_try='test -s conftest$ac_exeext'
85030   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
85031   (eval $ac_try) 2>&5
85032   ac_status=$?
85033   echo "$as_me:$LINENO: \$? = $ac_status" >&5
85034   (exit $ac_status); }; }; then
85035   eval "$as_ac_var=yes"
85036 else
85037   echo "$as_me: failed program was:" >&5
85038 sed 's/^/| /' conftest.$ac_ext >&5
85039
85040 eval "$as_ac_var=no"
85041 fi
85042 rm -f conftest.err conftest.$ac_objext \
85043       conftest$ac_exeext conftest.$ac_ext
85044 fi
85045 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
85046 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
85047 if test `eval echo '${'$as_ac_var'}'` = yes; then
85048   cat >>confdefs.h <<_ACEOF
85049 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
85050 _ACEOF
85051
85052 fi
85053 done
85054
85055     fi
85056   fi
85057
85058
85059
85060
85061
85062
85063   echo "$as_me:$LINENO: checking for modff declaration" >&5
85064 echo $ECHO_N "checking for modff declaration... $ECHO_C" >&6
85065   if test x${glibcxx_cv_func_modff_use+set} != xset; then
85066     if test "${glibcxx_cv_func_modff_use+set}" = set; then
85067   echo $ECHO_N "(cached) $ECHO_C" >&6
85068 else
85069
85070
85071
85072       ac_ext=cc
85073 ac_cpp='$CXXCPP $CPPFLAGS'
85074 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
85075 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
85076 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
85077
85078       cat >conftest.$ac_ext <<_ACEOF
85079 /* confdefs.h.  */
85080 _ACEOF
85081 cat confdefs.h >>conftest.$ac_ext
85082 cat >>conftest.$ac_ext <<_ACEOF
85083 /* end confdefs.h.  */
85084 #include <math.h>
85085 int
85086 main ()
85087 {
85088  modff(0, 0);
85089   ;
85090   return 0;
85091 }
85092 _ACEOF
85093 rm -f conftest.$ac_objext
85094 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
85095   (eval $ac_compile) 2>conftest.er1
85096   ac_status=$?
85097   grep -v '^ *+' conftest.er1 >conftest.err
85098   rm -f conftest.er1
85099   cat conftest.err >&5
85100   echo "$as_me:$LINENO: \$? = $ac_status" >&5
85101   (exit $ac_status); } &&
85102          { ac_try='test -z "$ac_cxx_werror_flag"
85103                          || test ! -s conftest.err'
85104   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
85105   (eval $ac_try) 2>&5
85106   ac_status=$?
85107   echo "$as_me:$LINENO: \$? = $ac_status" >&5
85108   (exit $ac_status); }; } &&
85109          { ac_try='test -s conftest.$ac_objext'
85110   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
85111   (eval $ac_try) 2>&5
85112   ac_status=$?
85113   echo "$as_me:$LINENO: \$? = $ac_status" >&5
85114   (exit $ac_status); }; }; then
85115   glibcxx_cv_func_modff_use=yes
85116 else
85117   echo "$as_me: failed program was:" >&5
85118 sed 's/^/| /' conftest.$ac_ext >&5
85119
85120 glibcxx_cv_func_modff_use=no
85121 fi
85122 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
85123       ac_ext=c
85124 ac_cpp='$CPP $CPPFLAGS'
85125 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
85126 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
85127 ac_compiler_gnu=$ac_cv_c_compiler_gnu
85128
85129
85130 fi
85131
85132   fi
85133   echo "$as_me:$LINENO: result: $glibcxx_cv_func_modff_use" >&5
85134 echo "${ECHO_T}$glibcxx_cv_func_modff_use" >&6
85135
85136   if test x$glibcxx_cv_func_modff_use = x"yes"; then
85137
85138 for ac_func in modff
85139 do
85140 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
85141 echo "$as_me:$LINENO: checking for $ac_func" >&5
85142 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
85143 if eval "test \"\${$as_ac_var+set}\" = set"; then
85144   echo $ECHO_N "(cached) $ECHO_C" >&6
85145 else
85146   if test x$gcc_no_link = xyes; then
85147   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
85148 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
85149    { (exit 1); exit 1; }; }
85150 fi
85151 cat >conftest.$ac_ext <<_ACEOF
85152 /* confdefs.h.  */
85153 _ACEOF
85154 cat confdefs.h >>conftest.$ac_ext
85155 cat >>conftest.$ac_ext <<_ACEOF
85156 /* end confdefs.h.  */
85157 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
85158    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
85159 #define $ac_func innocuous_$ac_func
85160
85161 /* System header to define __stub macros and hopefully few prototypes,
85162     which can conflict with char $ac_func (); below.
85163     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
85164     <limits.h> exists even on freestanding compilers.  */
85165
85166 #ifdef __STDC__
85167 # include <limits.h>
85168 #else
85169 # include <assert.h>
85170 #endif
85171
85172 #undef $ac_func
85173
85174 /* Override any gcc2 internal prototype to avoid an error.  */
85175 #ifdef __cplusplus
85176 extern "C"
85177 {
85178 #endif
85179 /* We use char because int might match the return type of a gcc2
85180    builtin and then its argument prototype would still apply.  */
85181 char $ac_func ();
85182 /* The GNU C library defines this for functions which it implements
85183     to always fail with ENOSYS.  Some functions are actually named
85184     something starting with __ and the normal name is an alias.  */
85185 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
85186 choke me
85187 #else
85188 char (*f) () = $ac_func;
85189 #endif
85190 #ifdef __cplusplus
85191 }
85192 #endif
85193
85194 int
85195 main ()
85196 {
85197 return f != $ac_func;
85198   ;
85199   return 0;
85200 }
85201 _ACEOF
85202 rm -f conftest.$ac_objext conftest$ac_exeext
85203 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
85204   (eval $ac_link) 2>conftest.er1
85205   ac_status=$?
85206   grep -v '^ *+' conftest.er1 >conftest.err
85207   rm -f conftest.er1
85208   cat conftest.err >&5
85209   echo "$as_me:$LINENO: \$? = $ac_status" >&5
85210   (exit $ac_status); } &&
85211          { ac_try='test -z "$ac_c_werror_flag"
85212                          || test ! -s conftest.err'
85213   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
85214   (eval $ac_try) 2>&5
85215   ac_status=$?
85216   echo "$as_me:$LINENO: \$? = $ac_status" >&5
85217   (exit $ac_status); }; } &&
85218          { ac_try='test -s conftest$ac_exeext'
85219   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
85220   (eval $ac_try) 2>&5
85221   ac_status=$?
85222   echo "$as_me:$LINENO: \$? = $ac_status" >&5
85223   (exit $ac_status); }; }; then
85224   eval "$as_ac_var=yes"
85225 else
85226   echo "$as_me: failed program was:" >&5
85227 sed 's/^/| /' conftest.$ac_ext >&5
85228
85229 eval "$as_ac_var=no"
85230 fi
85231 rm -f conftest.err conftest.$ac_objext \
85232       conftest$ac_exeext conftest.$ac_ext
85233 fi
85234 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
85235 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
85236 if test `eval echo '${'$as_ac_var'}'` = yes; then
85237   cat >>confdefs.h <<_ACEOF
85238 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
85239 _ACEOF
85240
85241 fi
85242 done
85243
85244   else
85245
85246   echo "$as_me:$LINENO: checking for _modff declaration" >&5
85247 echo $ECHO_N "checking for _modff declaration... $ECHO_C" >&6
85248   if test x${glibcxx_cv_func__modff_use+set} != xset; then
85249     if test "${glibcxx_cv_func__modff_use+set}" = set; then
85250   echo $ECHO_N "(cached) $ECHO_C" >&6
85251 else
85252
85253
85254
85255       ac_ext=cc
85256 ac_cpp='$CXXCPP $CPPFLAGS'
85257 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
85258 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
85259 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
85260
85261       cat >conftest.$ac_ext <<_ACEOF
85262 /* confdefs.h.  */
85263 _ACEOF
85264 cat confdefs.h >>conftest.$ac_ext
85265 cat >>conftest.$ac_ext <<_ACEOF
85266 /* end confdefs.h.  */
85267 #include <math.h>
85268 int
85269 main ()
85270 {
85271  _modff(0, 0);
85272   ;
85273   return 0;
85274 }
85275 _ACEOF
85276 rm -f conftest.$ac_objext
85277 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
85278   (eval $ac_compile) 2>conftest.er1
85279   ac_status=$?
85280   grep -v '^ *+' conftest.er1 >conftest.err
85281   rm -f conftest.er1
85282   cat conftest.err >&5
85283   echo "$as_me:$LINENO: \$? = $ac_status" >&5
85284   (exit $ac_status); } &&
85285          { ac_try='test -z "$ac_cxx_werror_flag"
85286                          || test ! -s conftest.err'
85287   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
85288   (eval $ac_try) 2>&5
85289   ac_status=$?
85290   echo "$as_me:$LINENO: \$? = $ac_status" >&5
85291   (exit $ac_status); }; } &&
85292          { ac_try='test -s conftest.$ac_objext'
85293   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
85294   (eval $ac_try) 2>&5
85295   ac_status=$?
85296   echo "$as_me:$LINENO: \$? = $ac_status" >&5
85297   (exit $ac_status); }; }; then
85298   glibcxx_cv_func__modff_use=yes
85299 else
85300   echo "$as_me: failed program was:" >&5
85301 sed 's/^/| /' conftest.$ac_ext >&5
85302
85303 glibcxx_cv_func__modff_use=no
85304 fi
85305 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
85306       ac_ext=c
85307 ac_cpp='$CPP $CPPFLAGS'
85308 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
85309 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
85310 ac_compiler_gnu=$ac_cv_c_compiler_gnu
85311
85312
85313 fi
85314
85315   fi
85316   echo "$as_me:$LINENO: result: $glibcxx_cv_func__modff_use" >&5
85317 echo "${ECHO_T}$glibcxx_cv_func__modff_use" >&6
85318
85319     if test x$glibcxx_cv_func__modff_use = x"yes"; then
85320
85321 for ac_func in _modff
85322 do
85323 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
85324 echo "$as_me:$LINENO: checking for $ac_func" >&5
85325 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
85326 if eval "test \"\${$as_ac_var+set}\" = set"; then
85327   echo $ECHO_N "(cached) $ECHO_C" >&6
85328 else
85329   if test x$gcc_no_link = xyes; then
85330   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
85331 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
85332    { (exit 1); exit 1; }; }
85333 fi
85334 cat >conftest.$ac_ext <<_ACEOF
85335 /* confdefs.h.  */
85336 _ACEOF
85337 cat confdefs.h >>conftest.$ac_ext
85338 cat >>conftest.$ac_ext <<_ACEOF
85339 /* end confdefs.h.  */
85340 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
85341    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
85342 #define $ac_func innocuous_$ac_func
85343
85344 /* System header to define __stub macros and hopefully few prototypes,
85345     which can conflict with char $ac_func (); below.
85346     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
85347     <limits.h> exists even on freestanding compilers.  */
85348
85349 #ifdef __STDC__
85350 # include <limits.h>
85351 #else
85352 # include <assert.h>
85353 #endif
85354
85355 #undef $ac_func
85356
85357 /* Override any gcc2 internal prototype to avoid an error.  */
85358 #ifdef __cplusplus
85359 extern "C"
85360 {
85361 #endif
85362 /* We use char because int might match the return type of a gcc2
85363    builtin and then its argument prototype would still apply.  */
85364 char $ac_func ();
85365 /* The GNU C library defines this for functions which it implements
85366     to always fail with ENOSYS.  Some functions are actually named
85367     something starting with __ and the normal name is an alias.  */
85368 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
85369 choke me
85370 #else
85371 char (*f) () = $ac_func;
85372 #endif
85373 #ifdef __cplusplus
85374 }
85375 #endif
85376
85377 int
85378 main ()
85379 {
85380 return f != $ac_func;
85381   ;
85382   return 0;
85383 }
85384 _ACEOF
85385 rm -f conftest.$ac_objext conftest$ac_exeext
85386 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
85387   (eval $ac_link) 2>conftest.er1
85388   ac_status=$?
85389   grep -v '^ *+' conftest.er1 >conftest.err
85390   rm -f conftest.er1
85391   cat conftest.err >&5
85392   echo "$as_me:$LINENO: \$? = $ac_status" >&5
85393   (exit $ac_status); } &&
85394          { ac_try='test -z "$ac_c_werror_flag"
85395                          || test ! -s conftest.err'
85396   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
85397   (eval $ac_try) 2>&5
85398   ac_status=$?
85399   echo "$as_me:$LINENO: \$? = $ac_status" >&5
85400   (exit $ac_status); }; } &&
85401          { ac_try='test -s conftest$ac_exeext'
85402   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
85403   (eval $ac_try) 2>&5
85404   ac_status=$?
85405   echo "$as_me:$LINENO: \$? = $ac_status" >&5
85406   (exit $ac_status); }; }; then
85407   eval "$as_ac_var=yes"
85408 else
85409   echo "$as_me: failed program was:" >&5
85410 sed 's/^/| /' conftest.$ac_ext >&5
85411
85412 eval "$as_ac_var=no"
85413 fi
85414 rm -f conftest.err conftest.$ac_objext \
85415       conftest$ac_exeext conftest.$ac_ext
85416 fi
85417 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
85418 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
85419 if test `eval echo '${'$as_ac_var'}'` = yes; then
85420   cat >>confdefs.h <<_ACEOF
85421 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
85422 _ACEOF
85423
85424 fi
85425 done
85426
85427     fi
85428   fi
85429
85430
85431
85432
85433
85434
85435   echo "$as_me:$LINENO: checking for modf declaration" >&5
85436 echo $ECHO_N "checking for modf declaration... $ECHO_C" >&6
85437   if test x${glibcxx_cv_func_modf_use+set} != xset; then
85438     if test "${glibcxx_cv_func_modf_use+set}" = set; then
85439   echo $ECHO_N "(cached) $ECHO_C" >&6
85440 else
85441
85442
85443
85444       ac_ext=cc
85445 ac_cpp='$CXXCPP $CPPFLAGS'
85446 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
85447 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
85448 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
85449
85450       cat >conftest.$ac_ext <<_ACEOF
85451 /* confdefs.h.  */
85452 _ACEOF
85453 cat confdefs.h >>conftest.$ac_ext
85454 cat >>conftest.$ac_ext <<_ACEOF
85455 /* end confdefs.h.  */
85456 #include <math.h>
85457 int
85458 main ()
85459 {
85460  modf(0, 0);
85461   ;
85462   return 0;
85463 }
85464 _ACEOF
85465 rm -f conftest.$ac_objext
85466 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
85467   (eval $ac_compile) 2>conftest.er1
85468   ac_status=$?
85469   grep -v '^ *+' conftest.er1 >conftest.err
85470   rm -f conftest.er1
85471   cat conftest.err >&5
85472   echo "$as_me:$LINENO: \$? = $ac_status" >&5
85473   (exit $ac_status); } &&
85474          { ac_try='test -z "$ac_cxx_werror_flag"
85475                          || test ! -s conftest.err'
85476   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
85477   (eval $ac_try) 2>&5
85478   ac_status=$?
85479   echo "$as_me:$LINENO: \$? = $ac_status" >&5
85480   (exit $ac_status); }; } &&
85481          { ac_try='test -s conftest.$ac_objext'
85482   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
85483   (eval $ac_try) 2>&5
85484   ac_status=$?
85485   echo "$as_me:$LINENO: \$? = $ac_status" >&5
85486   (exit $ac_status); }; }; then
85487   glibcxx_cv_func_modf_use=yes
85488 else
85489   echo "$as_me: failed program was:" >&5
85490 sed 's/^/| /' conftest.$ac_ext >&5
85491
85492 glibcxx_cv_func_modf_use=no
85493 fi
85494 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
85495       ac_ext=c
85496 ac_cpp='$CPP $CPPFLAGS'
85497 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
85498 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
85499 ac_compiler_gnu=$ac_cv_c_compiler_gnu
85500
85501
85502 fi
85503
85504   fi
85505   echo "$as_me:$LINENO: result: $glibcxx_cv_func_modf_use" >&5
85506 echo "${ECHO_T}$glibcxx_cv_func_modf_use" >&6
85507
85508   if test x$glibcxx_cv_func_modf_use = x"yes"; then
85509
85510 for ac_func in modf
85511 do
85512 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
85513 echo "$as_me:$LINENO: checking for $ac_func" >&5
85514 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
85515 if eval "test \"\${$as_ac_var+set}\" = set"; then
85516   echo $ECHO_N "(cached) $ECHO_C" >&6
85517 else
85518   if test x$gcc_no_link = xyes; then
85519   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
85520 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
85521    { (exit 1); exit 1; }; }
85522 fi
85523 cat >conftest.$ac_ext <<_ACEOF
85524 /* confdefs.h.  */
85525 _ACEOF
85526 cat confdefs.h >>conftest.$ac_ext
85527 cat >>conftest.$ac_ext <<_ACEOF
85528 /* end confdefs.h.  */
85529 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
85530    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
85531 #define $ac_func innocuous_$ac_func
85532
85533 /* System header to define __stub macros and hopefully few prototypes,
85534     which can conflict with char $ac_func (); below.
85535     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
85536     <limits.h> exists even on freestanding compilers.  */
85537
85538 #ifdef __STDC__
85539 # include <limits.h>
85540 #else
85541 # include <assert.h>
85542 #endif
85543
85544 #undef $ac_func
85545
85546 /* Override any gcc2 internal prototype to avoid an error.  */
85547 #ifdef __cplusplus
85548 extern "C"
85549 {
85550 #endif
85551 /* We use char because int might match the return type of a gcc2
85552    builtin and then its argument prototype would still apply.  */
85553 char $ac_func ();
85554 /* The GNU C library defines this for functions which it implements
85555     to always fail with ENOSYS.  Some functions are actually named
85556     something starting with __ and the normal name is an alias.  */
85557 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
85558 choke me
85559 #else
85560 char (*f) () = $ac_func;
85561 #endif
85562 #ifdef __cplusplus
85563 }
85564 #endif
85565
85566 int
85567 main ()
85568 {
85569 return f != $ac_func;
85570   ;
85571   return 0;
85572 }
85573 _ACEOF
85574 rm -f conftest.$ac_objext conftest$ac_exeext
85575 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
85576   (eval $ac_link) 2>conftest.er1
85577   ac_status=$?
85578   grep -v '^ *+' conftest.er1 >conftest.err
85579   rm -f conftest.er1
85580   cat conftest.err >&5
85581   echo "$as_me:$LINENO: \$? = $ac_status" >&5
85582   (exit $ac_status); } &&
85583          { ac_try='test -z "$ac_c_werror_flag"
85584                          || test ! -s conftest.err'
85585   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
85586   (eval $ac_try) 2>&5
85587   ac_status=$?
85588   echo "$as_me:$LINENO: \$? = $ac_status" >&5
85589   (exit $ac_status); }; } &&
85590          { ac_try='test -s conftest$ac_exeext'
85591   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
85592   (eval $ac_try) 2>&5
85593   ac_status=$?
85594   echo "$as_me:$LINENO: \$? = $ac_status" >&5
85595   (exit $ac_status); }; }; then
85596   eval "$as_ac_var=yes"
85597 else
85598   echo "$as_me: failed program was:" >&5
85599 sed 's/^/| /' conftest.$ac_ext >&5
85600
85601 eval "$as_ac_var=no"
85602 fi
85603 rm -f conftest.err conftest.$ac_objext \
85604       conftest$ac_exeext conftest.$ac_ext
85605 fi
85606 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
85607 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
85608 if test `eval echo '${'$as_ac_var'}'` = yes; then
85609   cat >>confdefs.h <<_ACEOF
85610 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
85611 _ACEOF
85612
85613 fi
85614 done
85615
85616   else
85617
85618   echo "$as_me:$LINENO: checking for _modf declaration" >&5
85619 echo $ECHO_N "checking for _modf declaration... $ECHO_C" >&6
85620   if test x${glibcxx_cv_func__modf_use+set} != xset; then
85621     if test "${glibcxx_cv_func__modf_use+set}" = set; then
85622   echo $ECHO_N "(cached) $ECHO_C" >&6
85623 else
85624
85625
85626
85627       ac_ext=cc
85628 ac_cpp='$CXXCPP $CPPFLAGS'
85629 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
85630 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
85631 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
85632
85633       cat >conftest.$ac_ext <<_ACEOF
85634 /* confdefs.h.  */
85635 _ACEOF
85636 cat confdefs.h >>conftest.$ac_ext
85637 cat >>conftest.$ac_ext <<_ACEOF
85638 /* end confdefs.h.  */
85639 #include <math.h>
85640 int
85641 main ()
85642 {
85643  _modf(0, 0);
85644   ;
85645   return 0;
85646 }
85647 _ACEOF
85648 rm -f conftest.$ac_objext
85649 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
85650   (eval $ac_compile) 2>conftest.er1
85651   ac_status=$?
85652   grep -v '^ *+' conftest.er1 >conftest.err
85653   rm -f conftest.er1
85654   cat conftest.err >&5
85655   echo "$as_me:$LINENO: \$? = $ac_status" >&5
85656   (exit $ac_status); } &&
85657          { ac_try='test -z "$ac_cxx_werror_flag"
85658                          || test ! -s conftest.err'
85659   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
85660   (eval $ac_try) 2>&5
85661   ac_status=$?
85662   echo "$as_me:$LINENO: \$? = $ac_status" >&5
85663   (exit $ac_status); }; } &&
85664          { ac_try='test -s conftest.$ac_objext'
85665   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
85666   (eval $ac_try) 2>&5
85667   ac_status=$?
85668   echo "$as_me:$LINENO: \$? = $ac_status" >&5
85669   (exit $ac_status); }; }; then
85670   glibcxx_cv_func__modf_use=yes
85671 else
85672   echo "$as_me: failed program was:" >&5
85673 sed 's/^/| /' conftest.$ac_ext >&5
85674
85675 glibcxx_cv_func__modf_use=no
85676 fi
85677 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
85678       ac_ext=c
85679 ac_cpp='$CPP $CPPFLAGS'
85680 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
85681 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
85682 ac_compiler_gnu=$ac_cv_c_compiler_gnu
85683
85684
85685 fi
85686
85687   fi
85688   echo "$as_me:$LINENO: result: $glibcxx_cv_func__modf_use" >&5
85689 echo "${ECHO_T}$glibcxx_cv_func__modf_use" >&6
85690
85691     if test x$glibcxx_cv_func__modf_use = x"yes"; then
85692
85693 for ac_func in _modf
85694 do
85695 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
85696 echo "$as_me:$LINENO: checking for $ac_func" >&5
85697 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
85698 if eval "test \"\${$as_ac_var+set}\" = set"; then
85699   echo $ECHO_N "(cached) $ECHO_C" >&6
85700 else
85701   if test x$gcc_no_link = xyes; then
85702   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
85703 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
85704    { (exit 1); exit 1; }; }
85705 fi
85706 cat >conftest.$ac_ext <<_ACEOF
85707 /* confdefs.h.  */
85708 _ACEOF
85709 cat confdefs.h >>conftest.$ac_ext
85710 cat >>conftest.$ac_ext <<_ACEOF
85711 /* end confdefs.h.  */
85712 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
85713    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
85714 #define $ac_func innocuous_$ac_func
85715
85716 /* System header to define __stub macros and hopefully few prototypes,
85717     which can conflict with char $ac_func (); below.
85718     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
85719     <limits.h> exists even on freestanding compilers.  */
85720
85721 #ifdef __STDC__
85722 # include <limits.h>
85723 #else
85724 # include <assert.h>
85725 #endif
85726
85727 #undef $ac_func
85728
85729 /* Override any gcc2 internal prototype to avoid an error.  */
85730 #ifdef __cplusplus
85731 extern "C"
85732 {
85733 #endif
85734 /* We use char because int might match the return type of a gcc2
85735    builtin and then its argument prototype would still apply.  */
85736 char $ac_func ();
85737 /* The GNU C library defines this for functions which it implements
85738     to always fail with ENOSYS.  Some functions are actually named
85739     something starting with __ and the normal name is an alias.  */
85740 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
85741 choke me
85742 #else
85743 char (*f) () = $ac_func;
85744 #endif
85745 #ifdef __cplusplus
85746 }
85747 #endif
85748
85749 int
85750 main ()
85751 {
85752 return f != $ac_func;
85753   ;
85754   return 0;
85755 }
85756 _ACEOF
85757 rm -f conftest.$ac_objext conftest$ac_exeext
85758 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
85759   (eval $ac_link) 2>conftest.er1
85760   ac_status=$?
85761   grep -v '^ *+' conftest.er1 >conftest.err
85762   rm -f conftest.er1
85763   cat conftest.err >&5
85764   echo "$as_me:$LINENO: \$? = $ac_status" >&5
85765   (exit $ac_status); } &&
85766          { ac_try='test -z "$ac_c_werror_flag"
85767                          || test ! -s conftest.err'
85768   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
85769   (eval $ac_try) 2>&5
85770   ac_status=$?
85771   echo "$as_me:$LINENO: \$? = $ac_status" >&5
85772   (exit $ac_status); }; } &&
85773          { ac_try='test -s conftest$ac_exeext'
85774   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
85775   (eval $ac_try) 2>&5
85776   ac_status=$?
85777   echo "$as_me:$LINENO: \$? = $ac_status" >&5
85778   (exit $ac_status); }; }; then
85779   eval "$as_ac_var=yes"
85780 else
85781   echo "$as_me: failed program was:" >&5
85782 sed 's/^/| /' conftest.$ac_ext >&5
85783
85784 eval "$as_ac_var=no"
85785 fi
85786 rm -f conftest.err conftest.$ac_objext \
85787       conftest$ac_exeext conftest.$ac_ext
85788 fi
85789 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
85790 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
85791 if test `eval echo '${'$as_ac_var'}'` = yes; then
85792   cat >>confdefs.h <<_ACEOF
85793 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
85794 _ACEOF
85795
85796 fi
85797 done
85798
85799     fi
85800   fi
85801
85802
85803
85804
85805
85806
85807   echo "$as_me:$LINENO: checking for powf declaration" >&5
85808 echo $ECHO_N "checking for powf declaration... $ECHO_C" >&6
85809   if test x${glibcxx_cv_func_powf_use+set} != xset; then
85810     if test "${glibcxx_cv_func_powf_use+set}" = set; then
85811   echo $ECHO_N "(cached) $ECHO_C" >&6
85812 else
85813
85814
85815
85816       ac_ext=cc
85817 ac_cpp='$CXXCPP $CPPFLAGS'
85818 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
85819 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
85820 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
85821
85822       cat >conftest.$ac_ext <<_ACEOF
85823 /* confdefs.h.  */
85824 _ACEOF
85825 cat confdefs.h >>conftest.$ac_ext
85826 cat >>conftest.$ac_ext <<_ACEOF
85827 /* end confdefs.h.  */
85828 #include <math.h>
85829 int
85830 main ()
85831 {
85832  powf(0, 0);
85833   ;
85834   return 0;
85835 }
85836 _ACEOF
85837 rm -f conftest.$ac_objext
85838 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
85839   (eval $ac_compile) 2>conftest.er1
85840   ac_status=$?
85841   grep -v '^ *+' conftest.er1 >conftest.err
85842   rm -f conftest.er1
85843   cat conftest.err >&5
85844   echo "$as_me:$LINENO: \$? = $ac_status" >&5
85845   (exit $ac_status); } &&
85846          { ac_try='test -z "$ac_cxx_werror_flag"
85847                          || test ! -s conftest.err'
85848   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
85849   (eval $ac_try) 2>&5
85850   ac_status=$?
85851   echo "$as_me:$LINENO: \$? = $ac_status" >&5
85852   (exit $ac_status); }; } &&
85853          { ac_try='test -s conftest.$ac_objext'
85854   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
85855   (eval $ac_try) 2>&5
85856   ac_status=$?
85857   echo "$as_me:$LINENO: \$? = $ac_status" >&5
85858   (exit $ac_status); }; }; then
85859   glibcxx_cv_func_powf_use=yes
85860 else
85861   echo "$as_me: failed program was:" >&5
85862 sed 's/^/| /' conftest.$ac_ext >&5
85863
85864 glibcxx_cv_func_powf_use=no
85865 fi
85866 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
85867       ac_ext=c
85868 ac_cpp='$CPP $CPPFLAGS'
85869 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
85870 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
85871 ac_compiler_gnu=$ac_cv_c_compiler_gnu
85872
85873
85874 fi
85875
85876   fi
85877   echo "$as_me:$LINENO: result: $glibcxx_cv_func_powf_use" >&5
85878 echo "${ECHO_T}$glibcxx_cv_func_powf_use" >&6
85879
85880   if test x$glibcxx_cv_func_powf_use = x"yes"; then
85881
85882 for ac_func in powf
85883 do
85884 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
85885 echo "$as_me:$LINENO: checking for $ac_func" >&5
85886 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
85887 if eval "test \"\${$as_ac_var+set}\" = set"; then
85888   echo $ECHO_N "(cached) $ECHO_C" >&6
85889 else
85890   if test x$gcc_no_link = xyes; then
85891   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
85892 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
85893    { (exit 1); exit 1; }; }
85894 fi
85895 cat >conftest.$ac_ext <<_ACEOF
85896 /* confdefs.h.  */
85897 _ACEOF
85898 cat confdefs.h >>conftest.$ac_ext
85899 cat >>conftest.$ac_ext <<_ACEOF
85900 /* end confdefs.h.  */
85901 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
85902    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
85903 #define $ac_func innocuous_$ac_func
85904
85905 /* System header to define __stub macros and hopefully few prototypes,
85906     which can conflict with char $ac_func (); below.
85907     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
85908     <limits.h> exists even on freestanding compilers.  */
85909
85910 #ifdef __STDC__
85911 # include <limits.h>
85912 #else
85913 # include <assert.h>
85914 #endif
85915
85916 #undef $ac_func
85917
85918 /* Override any gcc2 internal prototype to avoid an error.  */
85919 #ifdef __cplusplus
85920 extern "C"
85921 {
85922 #endif
85923 /* We use char because int might match the return type of a gcc2
85924    builtin and then its argument prototype would still apply.  */
85925 char $ac_func ();
85926 /* The GNU C library defines this for functions which it implements
85927     to always fail with ENOSYS.  Some functions are actually named
85928     something starting with __ and the normal name is an alias.  */
85929 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
85930 choke me
85931 #else
85932 char (*f) () = $ac_func;
85933 #endif
85934 #ifdef __cplusplus
85935 }
85936 #endif
85937
85938 int
85939 main ()
85940 {
85941 return f != $ac_func;
85942   ;
85943   return 0;
85944 }
85945 _ACEOF
85946 rm -f conftest.$ac_objext conftest$ac_exeext
85947 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
85948   (eval $ac_link) 2>conftest.er1
85949   ac_status=$?
85950   grep -v '^ *+' conftest.er1 >conftest.err
85951   rm -f conftest.er1
85952   cat conftest.err >&5
85953   echo "$as_me:$LINENO: \$? = $ac_status" >&5
85954   (exit $ac_status); } &&
85955          { ac_try='test -z "$ac_c_werror_flag"
85956                          || test ! -s conftest.err'
85957   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
85958   (eval $ac_try) 2>&5
85959   ac_status=$?
85960   echo "$as_me:$LINENO: \$? = $ac_status" >&5
85961   (exit $ac_status); }; } &&
85962          { ac_try='test -s conftest$ac_exeext'
85963   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
85964   (eval $ac_try) 2>&5
85965   ac_status=$?
85966   echo "$as_me:$LINENO: \$? = $ac_status" >&5
85967   (exit $ac_status); }; }; then
85968   eval "$as_ac_var=yes"
85969 else
85970   echo "$as_me: failed program was:" >&5
85971 sed 's/^/| /' conftest.$ac_ext >&5
85972
85973 eval "$as_ac_var=no"
85974 fi
85975 rm -f conftest.err conftest.$ac_objext \
85976       conftest$ac_exeext conftest.$ac_ext
85977 fi
85978 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
85979 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
85980 if test `eval echo '${'$as_ac_var'}'` = yes; then
85981   cat >>confdefs.h <<_ACEOF
85982 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
85983 _ACEOF
85984
85985 fi
85986 done
85987
85988   else
85989
85990   echo "$as_me:$LINENO: checking for _powf declaration" >&5
85991 echo $ECHO_N "checking for _powf declaration... $ECHO_C" >&6
85992   if test x${glibcxx_cv_func__powf_use+set} != xset; then
85993     if test "${glibcxx_cv_func__powf_use+set}" = set; then
85994   echo $ECHO_N "(cached) $ECHO_C" >&6
85995 else
85996
85997
85998
85999       ac_ext=cc
86000 ac_cpp='$CXXCPP $CPPFLAGS'
86001 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
86002 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
86003 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
86004
86005       cat >conftest.$ac_ext <<_ACEOF
86006 /* confdefs.h.  */
86007 _ACEOF
86008 cat confdefs.h >>conftest.$ac_ext
86009 cat >>conftest.$ac_ext <<_ACEOF
86010 /* end confdefs.h.  */
86011 #include <math.h>
86012 int
86013 main ()
86014 {
86015  _powf(0, 0);
86016   ;
86017   return 0;
86018 }
86019 _ACEOF
86020 rm -f conftest.$ac_objext
86021 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
86022   (eval $ac_compile) 2>conftest.er1
86023   ac_status=$?
86024   grep -v '^ *+' conftest.er1 >conftest.err
86025   rm -f conftest.er1
86026   cat conftest.err >&5
86027   echo "$as_me:$LINENO: \$? = $ac_status" >&5
86028   (exit $ac_status); } &&
86029          { ac_try='test -z "$ac_cxx_werror_flag"
86030                          || test ! -s conftest.err'
86031   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
86032   (eval $ac_try) 2>&5
86033   ac_status=$?
86034   echo "$as_me:$LINENO: \$? = $ac_status" >&5
86035   (exit $ac_status); }; } &&
86036          { ac_try='test -s conftest.$ac_objext'
86037   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
86038   (eval $ac_try) 2>&5
86039   ac_status=$?
86040   echo "$as_me:$LINENO: \$? = $ac_status" >&5
86041   (exit $ac_status); }; }; then
86042   glibcxx_cv_func__powf_use=yes
86043 else
86044   echo "$as_me: failed program was:" >&5
86045 sed 's/^/| /' conftest.$ac_ext >&5
86046
86047 glibcxx_cv_func__powf_use=no
86048 fi
86049 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
86050       ac_ext=c
86051 ac_cpp='$CPP $CPPFLAGS'
86052 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
86053 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
86054 ac_compiler_gnu=$ac_cv_c_compiler_gnu
86055
86056
86057 fi
86058
86059   fi
86060   echo "$as_me:$LINENO: result: $glibcxx_cv_func__powf_use" >&5
86061 echo "${ECHO_T}$glibcxx_cv_func__powf_use" >&6
86062
86063     if test x$glibcxx_cv_func__powf_use = x"yes"; then
86064
86065 for ac_func in _powf
86066 do
86067 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
86068 echo "$as_me:$LINENO: checking for $ac_func" >&5
86069 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
86070 if eval "test \"\${$as_ac_var+set}\" = set"; then
86071   echo $ECHO_N "(cached) $ECHO_C" >&6
86072 else
86073   if test x$gcc_no_link = xyes; then
86074   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
86075 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
86076    { (exit 1); exit 1; }; }
86077 fi
86078 cat >conftest.$ac_ext <<_ACEOF
86079 /* confdefs.h.  */
86080 _ACEOF
86081 cat confdefs.h >>conftest.$ac_ext
86082 cat >>conftest.$ac_ext <<_ACEOF
86083 /* end confdefs.h.  */
86084 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
86085    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
86086 #define $ac_func innocuous_$ac_func
86087
86088 /* System header to define __stub macros and hopefully few prototypes,
86089     which can conflict with char $ac_func (); below.
86090     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
86091     <limits.h> exists even on freestanding compilers.  */
86092
86093 #ifdef __STDC__
86094 # include <limits.h>
86095 #else
86096 # include <assert.h>
86097 #endif
86098
86099 #undef $ac_func
86100
86101 /* Override any gcc2 internal prototype to avoid an error.  */
86102 #ifdef __cplusplus
86103 extern "C"
86104 {
86105 #endif
86106 /* We use char because int might match the return type of a gcc2
86107    builtin and then its argument prototype would still apply.  */
86108 char $ac_func ();
86109 /* The GNU C library defines this for functions which it implements
86110     to always fail with ENOSYS.  Some functions are actually named
86111     something starting with __ and the normal name is an alias.  */
86112 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
86113 choke me
86114 #else
86115 char (*f) () = $ac_func;
86116 #endif
86117 #ifdef __cplusplus
86118 }
86119 #endif
86120
86121 int
86122 main ()
86123 {
86124 return f != $ac_func;
86125   ;
86126   return 0;
86127 }
86128 _ACEOF
86129 rm -f conftest.$ac_objext conftest$ac_exeext
86130 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
86131   (eval $ac_link) 2>conftest.er1
86132   ac_status=$?
86133   grep -v '^ *+' conftest.er1 >conftest.err
86134   rm -f conftest.er1
86135   cat conftest.err >&5
86136   echo "$as_me:$LINENO: \$? = $ac_status" >&5
86137   (exit $ac_status); } &&
86138          { ac_try='test -z "$ac_c_werror_flag"
86139                          || test ! -s conftest.err'
86140   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
86141   (eval $ac_try) 2>&5
86142   ac_status=$?
86143   echo "$as_me:$LINENO: \$? = $ac_status" >&5
86144   (exit $ac_status); }; } &&
86145          { ac_try='test -s conftest$ac_exeext'
86146   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
86147   (eval $ac_try) 2>&5
86148   ac_status=$?
86149   echo "$as_me:$LINENO: \$? = $ac_status" >&5
86150   (exit $ac_status); }; }; then
86151   eval "$as_ac_var=yes"
86152 else
86153   echo "$as_me: failed program was:" >&5
86154 sed 's/^/| /' conftest.$ac_ext >&5
86155
86156 eval "$as_ac_var=no"
86157 fi
86158 rm -f conftest.err conftest.$ac_objext \
86159       conftest$ac_exeext conftest.$ac_ext
86160 fi
86161 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
86162 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
86163 if test `eval echo '${'$as_ac_var'}'` = yes; then
86164   cat >>confdefs.h <<_ACEOF
86165 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
86166 _ACEOF
86167
86168 fi
86169 done
86170
86171     fi
86172   fi
86173
86174
86175
86176
86177
86178
86179   echo "$as_me:$LINENO: checking for sqrtf declaration" >&5
86180 echo $ECHO_N "checking for sqrtf declaration... $ECHO_C" >&6
86181   if test x${glibcxx_cv_func_sqrtf_use+set} != xset; then
86182     if test "${glibcxx_cv_func_sqrtf_use+set}" = set; then
86183   echo $ECHO_N "(cached) $ECHO_C" >&6
86184 else
86185
86186
86187
86188       ac_ext=cc
86189 ac_cpp='$CXXCPP $CPPFLAGS'
86190 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
86191 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
86192 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
86193
86194       cat >conftest.$ac_ext <<_ACEOF
86195 /* confdefs.h.  */
86196 _ACEOF
86197 cat confdefs.h >>conftest.$ac_ext
86198 cat >>conftest.$ac_ext <<_ACEOF
86199 /* end confdefs.h.  */
86200 #include <math.h>
86201                       #ifdef HAVE_IEEEFP_H
86202                       #include <ieeefp.h>
86203                       #endif
86204
86205 int
86206 main ()
86207 {
86208  sqrtf(0);
86209   ;
86210   return 0;
86211 }
86212 _ACEOF
86213 rm -f conftest.$ac_objext
86214 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
86215   (eval $ac_compile) 2>conftest.er1
86216   ac_status=$?
86217   grep -v '^ *+' conftest.er1 >conftest.err
86218   rm -f conftest.er1
86219   cat conftest.err >&5
86220   echo "$as_me:$LINENO: \$? = $ac_status" >&5
86221   (exit $ac_status); } &&
86222          { ac_try='test -z "$ac_cxx_werror_flag"
86223                          || test ! -s conftest.err'
86224   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
86225   (eval $ac_try) 2>&5
86226   ac_status=$?
86227   echo "$as_me:$LINENO: \$? = $ac_status" >&5
86228   (exit $ac_status); }; } &&
86229          { ac_try='test -s conftest.$ac_objext'
86230   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
86231   (eval $ac_try) 2>&5
86232   ac_status=$?
86233   echo "$as_me:$LINENO: \$? = $ac_status" >&5
86234   (exit $ac_status); }; }; then
86235   glibcxx_cv_func_sqrtf_use=yes
86236 else
86237   echo "$as_me: failed program was:" >&5
86238 sed 's/^/| /' conftest.$ac_ext >&5
86239
86240 glibcxx_cv_func_sqrtf_use=no
86241 fi
86242 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
86243       ac_ext=c
86244 ac_cpp='$CPP $CPPFLAGS'
86245 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
86246 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
86247 ac_compiler_gnu=$ac_cv_c_compiler_gnu
86248
86249
86250 fi
86251
86252   fi
86253   echo "$as_me:$LINENO: result: $glibcxx_cv_func_sqrtf_use" >&5
86254 echo "${ECHO_T}$glibcxx_cv_func_sqrtf_use" >&6
86255
86256   if test x$glibcxx_cv_func_sqrtf_use = x"yes"; then
86257
86258 for ac_func in sqrtf
86259 do
86260 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
86261 echo "$as_me:$LINENO: checking for $ac_func" >&5
86262 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
86263 if eval "test \"\${$as_ac_var+set}\" = set"; then
86264   echo $ECHO_N "(cached) $ECHO_C" >&6
86265 else
86266   if test x$gcc_no_link = xyes; then
86267   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
86268 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
86269    { (exit 1); exit 1; }; }
86270 fi
86271 cat >conftest.$ac_ext <<_ACEOF
86272 /* confdefs.h.  */
86273 _ACEOF
86274 cat confdefs.h >>conftest.$ac_ext
86275 cat >>conftest.$ac_ext <<_ACEOF
86276 /* end confdefs.h.  */
86277 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
86278    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
86279 #define $ac_func innocuous_$ac_func
86280
86281 /* System header to define __stub macros and hopefully few prototypes,
86282     which can conflict with char $ac_func (); below.
86283     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
86284     <limits.h> exists even on freestanding compilers.  */
86285
86286 #ifdef __STDC__
86287 # include <limits.h>
86288 #else
86289 # include <assert.h>
86290 #endif
86291
86292 #undef $ac_func
86293
86294 /* Override any gcc2 internal prototype to avoid an error.  */
86295 #ifdef __cplusplus
86296 extern "C"
86297 {
86298 #endif
86299 /* We use char because int might match the return type of a gcc2
86300    builtin and then its argument prototype would still apply.  */
86301 char $ac_func ();
86302 /* The GNU C library defines this for functions which it implements
86303     to always fail with ENOSYS.  Some functions are actually named
86304     something starting with __ and the normal name is an alias.  */
86305 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
86306 choke me
86307 #else
86308 char (*f) () = $ac_func;
86309 #endif
86310 #ifdef __cplusplus
86311 }
86312 #endif
86313
86314 int
86315 main ()
86316 {
86317 return f != $ac_func;
86318   ;
86319   return 0;
86320 }
86321 _ACEOF
86322 rm -f conftest.$ac_objext conftest$ac_exeext
86323 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
86324   (eval $ac_link) 2>conftest.er1
86325   ac_status=$?
86326   grep -v '^ *+' conftest.er1 >conftest.err
86327   rm -f conftest.er1
86328   cat conftest.err >&5
86329   echo "$as_me:$LINENO: \$? = $ac_status" >&5
86330   (exit $ac_status); } &&
86331          { ac_try='test -z "$ac_c_werror_flag"
86332                          || test ! -s conftest.err'
86333   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
86334   (eval $ac_try) 2>&5
86335   ac_status=$?
86336   echo "$as_me:$LINENO: \$? = $ac_status" >&5
86337   (exit $ac_status); }; } &&
86338          { ac_try='test -s conftest$ac_exeext'
86339   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
86340   (eval $ac_try) 2>&5
86341   ac_status=$?
86342   echo "$as_me:$LINENO: \$? = $ac_status" >&5
86343   (exit $ac_status); }; }; then
86344   eval "$as_ac_var=yes"
86345 else
86346   echo "$as_me: failed program was:" >&5
86347 sed 's/^/| /' conftest.$ac_ext >&5
86348
86349 eval "$as_ac_var=no"
86350 fi
86351 rm -f conftest.err conftest.$ac_objext \
86352       conftest$ac_exeext conftest.$ac_ext
86353 fi
86354 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
86355 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
86356 if test `eval echo '${'$as_ac_var'}'` = yes; then
86357   cat >>confdefs.h <<_ACEOF
86358 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
86359 _ACEOF
86360
86361 fi
86362 done
86363
86364   else
86365
86366   echo "$as_me:$LINENO: checking for _sqrtf declaration" >&5
86367 echo $ECHO_N "checking for _sqrtf declaration... $ECHO_C" >&6
86368   if test x${glibcxx_cv_func__sqrtf_use+set} != xset; then
86369     if test "${glibcxx_cv_func__sqrtf_use+set}" = set; then
86370   echo $ECHO_N "(cached) $ECHO_C" >&6
86371 else
86372
86373
86374
86375       ac_ext=cc
86376 ac_cpp='$CXXCPP $CPPFLAGS'
86377 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
86378 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
86379 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
86380
86381       cat >conftest.$ac_ext <<_ACEOF
86382 /* confdefs.h.  */
86383 _ACEOF
86384 cat confdefs.h >>conftest.$ac_ext
86385 cat >>conftest.$ac_ext <<_ACEOF
86386 /* end confdefs.h.  */
86387 #include <math.h>
86388                       #ifdef HAVE_IEEEFP_H
86389                       #include <ieeefp.h>
86390                       #endif
86391
86392 int
86393 main ()
86394 {
86395  _sqrtf(0);
86396   ;
86397   return 0;
86398 }
86399 _ACEOF
86400 rm -f conftest.$ac_objext
86401 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
86402   (eval $ac_compile) 2>conftest.er1
86403   ac_status=$?
86404   grep -v '^ *+' conftest.er1 >conftest.err
86405   rm -f conftest.er1
86406   cat conftest.err >&5
86407   echo "$as_me:$LINENO: \$? = $ac_status" >&5
86408   (exit $ac_status); } &&
86409          { ac_try='test -z "$ac_cxx_werror_flag"
86410                          || test ! -s conftest.err'
86411   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
86412   (eval $ac_try) 2>&5
86413   ac_status=$?
86414   echo "$as_me:$LINENO: \$? = $ac_status" >&5
86415   (exit $ac_status); }; } &&
86416          { ac_try='test -s conftest.$ac_objext'
86417   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
86418   (eval $ac_try) 2>&5
86419   ac_status=$?
86420   echo "$as_me:$LINENO: \$? = $ac_status" >&5
86421   (exit $ac_status); }; }; then
86422   glibcxx_cv_func__sqrtf_use=yes
86423 else
86424   echo "$as_me: failed program was:" >&5
86425 sed 's/^/| /' conftest.$ac_ext >&5
86426
86427 glibcxx_cv_func__sqrtf_use=no
86428 fi
86429 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
86430       ac_ext=c
86431 ac_cpp='$CPP $CPPFLAGS'
86432 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
86433 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
86434 ac_compiler_gnu=$ac_cv_c_compiler_gnu
86435
86436
86437 fi
86438
86439   fi
86440   echo "$as_me:$LINENO: result: $glibcxx_cv_func__sqrtf_use" >&5
86441 echo "${ECHO_T}$glibcxx_cv_func__sqrtf_use" >&6
86442
86443     if test x$glibcxx_cv_func__sqrtf_use = x"yes"; then
86444
86445 for ac_func in _sqrtf
86446 do
86447 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
86448 echo "$as_me:$LINENO: checking for $ac_func" >&5
86449 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
86450 if eval "test \"\${$as_ac_var+set}\" = set"; then
86451   echo $ECHO_N "(cached) $ECHO_C" >&6
86452 else
86453   if test x$gcc_no_link = xyes; then
86454   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
86455 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
86456    { (exit 1); exit 1; }; }
86457 fi
86458 cat >conftest.$ac_ext <<_ACEOF
86459 /* confdefs.h.  */
86460 _ACEOF
86461 cat confdefs.h >>conftest.$ac_ext
86462 cat >>conftest.$ac_ext <<_ACEOF
86463 /* end confdefs.h.  */
86464 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
86465    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
86466 #define $ac_func innocuous_$ac_func
86467
86468 /* System header to define __stub macros and hopefully few prototypes,
86469     which can conflict with char $ac_func (); below.
86470     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
86471     <limits.h> exists even on freestanding compilers.  */
86472
86473 #ifdef __STDC__
86474 # include <limits.h>
86475 #else
86476 # include <assert.h>
86477 #endif
86478
86479 #undef $ac_func
86480
86481 /* Override any gcc2 internal prototype to avoid an error.  */
86482 #ifdef __cplusplus
86483 extern "C"
86484 {
86485 #endif
86486 /* We use char because int might match the return type of a gcc2
86487    builtin and then its argument prototype would still apply.  */
86488 char $ac_func ();
86489 /* The GNU C library defines this for functions which it implements
86490     to always fail with ENOSYS.  Some functions are actually named
86491     something starting with __ and the normal name is an alias.  */
86492 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
86493 choke me
86494 #else
86495 char (*f) () = $ac_func;
86496 #endif
86497 #ifdef __cplusplus
86498 }
86499 #endif
86500
86501 int
86502 main ()
86503 {
86504 return f != $ac_func;
86505   ;
86506   return 0;
86507 }
86508 _ACEOF
86509 rm -f conftest.$ac_objext conftest$ac_exeext
86510 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
86511   (eval $ac_link) 2>conftest.er1
86512   ac_status=$?
86513   grep -v '^ *+' conftest.er1 >conftest.err
86514   rm -f conftest.er1
86515   cat conftest.err >&5
86516   echo "$as_me:$LINENO: \$? = $ac_status" >&5
86517   (exit $ac_status); } &&
86518          { ac_try='test -z "$ac_c_werror_flag"
86519                          || test ! -s conftest.err'
86520   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
86521   (eval $ac_try) 2>&5
86522   ac_status=$?
86523   echo "$as_me:$LINENO: \$? = $ac_status" >&5
86524   (exit $ac_status); }; } &&
86525          { ac_try='test -s conftest$ac_exeext'
86526   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
86527   (eval $ac_try) 2>&5
86528   ac_status=$?
86529   echo "$as_me:$LINENO: \$? = $ac_status" >&5
86530   (exit $ac_status); }; }; then
86531   eval "$as_ac_var=yes"
86532 else
86533   echo "$as_me: failed program was:" >&5
86534 sed 's/^/| /' conftest.$ac_ext >&5
86535
86536 eval "$as_ac_var=no"
86537 fi
86538 rm -f conftest.err conftest.$ac_objext \
86539       conftest$ac_exeext conftest.$ac_ext
86540 fi
86541 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
86542 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
86543 if test `eval echo '${'$as_ac_var'}'` = yes; then
86544   cat >>confdefs.h <<_ACEOF
86545 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
86546 _ACEOF
86547
86548 fi
86549 done
86550
86551     fi
86552   fi
86553
86554
86555
86556
86557
86558
86559   echo "$as_me:$LINENO: checking for sincosf declaration" >&5
86560 echo $ECHO_N "checking for sincosf declaration... $ECHO_C" >&6
86561   if test x${glibcxx_cv_func_sincosf_use+set} != xset; then
86562     if test "${glibcxx_cv_func_sincosf_use+set}" = set; then
86563   echo $ECHO_N "(cached) $ECHO_C" >&6
86564 else
86565
86566
86567
86568       ac_ext=cc
86569 ac_cpp='$CXXCPP $CPPFLAGS'
86570 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
86571 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
86572 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
86573
86574       cat >conftest.$ac_ext <<_ACEOF
86575 /* confdefs.h.  */
86576 _ACEOF
86577 cat confdefs.h >>conftest.$ac_ext
86578 cat >>conftest.$ac_ext <<_ACEOF
86579 /* end confdefs.h.  */
86580 #include <math.h>
86581 int
86582 main ()
86583 {
86584  sincosf(0, 0, 0);
86585   ;
86586   return 0;
86587 }
86588 _ACEOF
86589 rm -f conftest.$ac_objext
86590 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
86591   (eval $ac_compile) 2>conftest.er1
86592   ac_status=$?
86593   grep -v '^ *+' conftest.er1 >conftest.err
86594   rm -f conftest.er1
86595   cat conftest.err >&5
86596   echo "$as_me:$LINENO: \$? = $ac_status" >&5
86597   (exit $ac_status); } &&
86598          { ac_try='test -z "$ac_cxx_werror_flag"
86599                          || test ! -s conftest.err'
86600   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
86601   (eval $ac_try) 2>&5
86602   ac_status=$?
86603   echo "$as_me:$LINENO: \$? = $ac_status" >&5
86604   (exit $ac_status); }; } &&
86605          { ac_try='test -s conftest.$ac_objext'
86606   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
86607   (eval $ac_try) 2>&5
86608   ac_status=$?
86609   echo "$as_me:$LINENO: \$? = $ac_status" >&5
86610   (exit $ac_status); }; }; then
86611   glibcxx_cv_func_sincosf_use=yes
86612 else
86613   echo "$as_me: failed program was:" >&5
86614 sed 's/^/| /' conftest.$ac_ext >&5
86615
86616 glibcxx_cv_func_sincosf_use=no
86617 fi
86618 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
86619       ac_ext=c
86620 ac_cpp='$CPP $CPPFLAGS'
86621 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
86622 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
86623 ac_compiler_gnu=$ac_cv_c_compiler_gnu
86624
86625
86626 fi
86627
86628   fi
86629   echo "$as_me:$LINENO: result: $glibcxx_cv_func_sincosf_use" >&5
86630 echo "${ECHO_T}$glibcxx_cv_func_sincosf_use" >&6
86631
86632   if test x$glibcxx_cv_func_sincosf_use = x"yes"; then
86633
86634 for ac_func in sincosf
86635 do
86636 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
86637 echo "$as_me:$LINENO: checking for $ac_func" >&5
86638 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
86639 if eval "test \"\${$as_ac_var+set}\" = set"; then
86640   echo $ECHO_N "(cached) $ECHO_C" >&6
86641 else
86642   if test x$gcc_no_link = xyes; then
86643   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
86644 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
86645    { (exit 1); exit 1; }; }
86646 fi
86647 cat >conftest.$ac_ext <<_ACEOF
86648 /* confdefs.h.  */
86649 _ACEOF
86650 cat confdefs.h >>conftest.$ac_ext
86651 cat >>conftest.$ac_ext <<_ACEOF
86652 /* end confdefs.h.  */
86653 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
86654    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
86655 #define $ac_func innocuous_$ac_func
86656
86657 /* System header to define __stub macros and hopefully few prototypes,
86658     which can conflict with char $ac_func (); below.
86659     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
86660     <limits.h> exists even on freestanding compilers.  */
86661
86662 #ifdef __STDC__
86663 # include <limits.h>
86664 #else
86665 # include <assert.h>
86666 #endif
86667
86668 #undef $ac_func
86669
86670 /* Override any gcc2 internal prototype to avoid an error.  */
86671 #ifdef __cplusplus
86672 extern "C"
86673 {
86674 #endif
86675 /* We use char because int might match the return type of a gcc2
86676    builtin and then its argument prototype would still apply.  */
86677 char $ac_func ();
86678 /* The GNU C library defines this for functions which it implements
86679     to always fail with ENOSYS.  Some functions are actually named
86680     something starting with __ and the normal name is an alias.  */
86681 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
86682 choke me
86683 #else
86684 char (*f) () = $ac_func;
86685 #endif
86686 #ifdef __cplusplus
86687 }
86688 #endif
86689
86690 int
86691 main ()
86692 {
86693 return f != $ac_func;
86694   ;
86695   return 0;
86696 }
86697 _ACEOF
86698 rm -f conftest.$ac_objext conftest$ac_exeext
86699 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
86700   (eval $ac_link) 2>conftest.er1
86701   ac_status=$?
86702   grep -v '^ *+' conftest.er1 >conftest.err
86703   rm -f conftest.er1
86704   cat conftest.err >&5
86705   echo "$as_me:$LINENO: \$? = $ac_status" >&5
86706   (exit $ac_status); } &&
86707          { ac_try='test -z "$ac_c_werror_flag"
86708                          || test ! -s conftest.err'
86709   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
86710   (eval $ac_try) 2>&5
86711   ac_status=$?
86712   echo "$as_me:$LINENO: \$? = $ac_status" >&5
86713   (exit $ac_status); }; } &&
86714          { ac_try='test -s conftest$ac_exeext'
86715   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
86716   (eval $ac_try) 2>&5
86717   ac_status=$?
86718   echo "$as_me:$LINENO: \$? = $ac_status" >&5
86719   (exit $ac_status); }; }; then
86720   eval "$as_ac_var=yes"
86721 else
86722   echo "$as_me: failed program was:" >&5
86723 sed 's/^/| /' conftest.$ac_ext >&5
86724
86725 eval "$as_ac_var=no"
86726 fi
86727 rm -f conftest.err conftest.$ac_objext \
86728       conftest$ac_exeext conftest.$ac_ext
86729 fi
86730 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
86731 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
86732 if test `eval echo '${'$as_ac_var'}'` = yes; then
86733   cat >>confdefs.h <<_ACEOF
86734 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
86735 _ACEOF
86736
86737 fi
86738 done
86739
86740   else
86741
86742   echo "$as_me:$LINENO: checking for _sincosf declaration" >&5
86743 echo $ECHO_N "checking for _sincosf declaration... $ECHO_C" >&6
86744   if test x${glibcxx_cv_func__sincosf_use+set} != xset; then
86745     if test "${glibcxx_cv_func__sincosf_use+set}" = set; then
86746   echo $ECHO_N "(cached) $ECHO_C" >&6
86747 else
86748
86749
86750
86751       ac_ext=cc
86752 ac_cpp='$CXXCPP $CPPFLAGS'
86753 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
86754 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
86755 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
86756
86757       cat >conftest.$ac_ext <<_ACEOF
86758 /* confdefs.h.  */
86759 _ACEOF
86760 cat confdefs.h >>conftest.$ac_ext
86761 cat >>conftest.$ac_ext <<_ACEOF
86762 /* end confdefs.h.  */
86763 #include <math.h>
86764 int
86765 main ()
86766 {
86767  _sincosf(0, 0, 0);
86768   ;
86769   return 0;
86770 }
86771 _ACEOF
86772 rm -f conftest.$ac_objext
86773 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
86774   (eval $ac_compile) 2>conftest.er1
86775   ac_status=$?
86776   grep -v '^ *+' conftest.er1 >conftest.err
86777   rm -f conftest.er1
86778   cat conftest.err >&5
86779   echo "$as_me:$LINENO: \$? = $ac_status" >&5
86780   (exit $ac_status); } &&
86781          { ac_try='test -z "$ac_cxx_werror_flag"
86782                          || test ! -s conftest.err'
86783   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
86784   (eval $ac_try) 2>&5
86785   ac_status=$?
86786   echo "$as_me:$LINENO: \$? = $ac_status" >&5
86787   (exit $ac_status); }; } &&
86788          { ac_try='test -s conftest.$ac_objext'
86789   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
86790   (eval $ac_try) 2>&5
86791   ac_status=$?
86792   echo "$as_me:$LINENO: \$? = $ac_status" >&5
86793   (exit $ac_status); }; }; then
86794   glibcxx_cv_func__sincosf_use=yes
86795 else
86796   echo "$as_me: failed program was:" >&5
86797 sed 's/^/| /' conftest.$ac_ext >&5
86798
86799 glibcxx_cv_func__sincosf_use=no
86800 fi
86801 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
86802       ac_ext=c
86803 ac_cpp='$CPP $CPPFLAGS'
86804 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
86805 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
86806 ac_compiler_gnu=$ac_cv_c_compiler_gnu
86807
86808
86809 fi
86810
86811   fi
86812   echo "$as_me:$LINENO: result: $glibcxx_cv_func__sincosf_use" >&5
86813 echo "${ECHO_T}$glibcxx_cv_func__sincosf_use" >&6
86814
86815     if test x$glibcxx_cv_func__sincosf_use = x"yes"; then
86816
86817 for ac_func in _sincosf
86818 do
86819 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
86820 echo "$as_me:$LINENO: checking for $ac_func" >&5
86821 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
86822 if eval "test \"\${$as_ac_var+set}\" = set"; then
86823   echo $ECHO_N "(cached) $ECHO_C" >&6
86824 else
86825   if test x$gcc_no_link = xyes; then
86826   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
86827 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
86828    { (exit 1); exit 1; }; }
86829 fi
86830 cat >conftest.$ac_ext <<_ACEOF
86831 /* confdefs.h.  */
86832 _ACEOF
86833 cat confdefs.h >>conftest.$ac_ext
86834 cat >>conftest.$ac_ext <<_ACEOF
86835 /* end confdefs.h.  */
86836 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
86837    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
86838 #define $ac_func innocuous_$ac_func
86839
86840 /* System header to define __stub macros and hopefully few prototypes,
86841     which can conflict with char $ac_func (); below.
86842     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
86843     <limits.h> exists even on freestanding compilers.  */
86844
86845 #ifdef __STDC__
86846 # include <limits.h>
86847 #else
86848 # include <assert.h>
86849 #endif
86850
86851 #undef $ac_func
86852
86853 /* Override any gcc2 internal prototype to avoid an error.  */
86854 #ifdef __cplusplus
86855 extern "C"
86856 {
86857 #endif
86858 /* We use char because int might match the return type of a gcc2
86859    builtin and then its argument prototype would still apply.  */
86860 char $ac_func ();
86861 /* The GNU C library defines this for functions which it implements
86862     to always fail with ENOSYS.  Some functions are actually named
86863     something starting with __ and the normal name is an alias.  */
86864 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
86865 choke me
86866 #else
86867 char (*f) () = $ac_func;
86868 #endif
86869 #ifdef __cplusplus
86870 }
86871 #endif
86872
86873 int
86874 main ()
86875 {
86876 return f != $ac_func;
86877   ;
86878   return 0;
86879 }
86880 _ACEOF
86881 rm -f conftest.$ac_objext conftest$ac_exeext
86882 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
86883   (eval $ac_link) 2>conftest.er1
86884   ac_status=$?
86885   grep -v '^ *+' conftest.er1 >conftest.err
86886   rm -f conftest.er1
86887   cat conftest.err >&5
86888   echo "$as_me:$LINENO: \$? = $ac_status" >&5
86889   (exit $ac_status); } &&
86890          { ac_try='test -z "$ac_c_werror_flag"
86891                          || test ! -s conftest.err'
86892   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
86893   (eval $ac_try) 2>&5
86894   ac_status=$?
86895   echo "$as_me:$LINENO: \$? = $ac_status" >&5
86896   (exit $ac_status); }; } &&
86897          { ac_try='test -s conftest$ac_exeext'
86898   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
86899   (eval $ac_try) 2>&5
86900   ac_status=$?
86901   echo "$as_me:$LINENO: \$? = $ac_status" >&5
86902   (exit $ac_status); }; }; then
86903   eval "$as_ac_var=yes"
86904 else
86905   echo "$as_me: failed program was:" >&5
86906 sed 's/^/| /' conftest.$ac_ext >&5
86907
86908 eval "$as_ac_var=no"
86909 fi
86910 rm -f conftest.err conftest.$ac_objext \
86911       conftest$ac_exeext conftest.$ac_ext
86912 fi
86913 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
86914 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
86915 if test `eval echo '${'$as_ac_var'}'` = yes; then
86916   cat >>confdefs.h <<_ACEOF
86917 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
86918 _ACEOF
86919
86920 fi
86921 done
86922
86923     fi
86924   fi
86925
86926
86927
86928
86929
86930
86931   echo "$as_me:$LINENO: checking for finitef declaration" >&5
86932 echo $ECHO_N "checking for finitef declaration... $ECHO_C" >&6
86933   if test x${glibcxx_cv_func_finitef_use+set} != xset; then
86934     if test "${glibcxx_cv_func_finitef_use+set}" = set; then
86935   echo $ECHO_N "(cached) $ECHO_C" >&6
86936 else
86937
86938
86939
86940       ac_ext=cc
86941 ac_cpp='$CXXCPP $CPPFLAGS'
86942 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
86943 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
86944 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
86945
86946       cat >conftest.$ac_ext <<_ACEOF
86947 /* confdefs.h.  */
86948 _ACEOF
86949 cat confdefs.h >>conftest.$ac_ext
86950 cat >>conftest.$ac_ext <<_ACEOF
86951 /* end confdefs.h.  */
86952 #include <math.h>
86953                       #ifdef HAVE_IEEEFP_H
86954                       #include <ieeefp.h>
86955                       #endif
86956
86957 int
86958 main ()
86959 {
86960  finitef(0);
86961   ;
86962   return 0;
86963 }
86964 _ACEOF
86965 rm -f conftest.$ac_objext
86966 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
86967   (eval $ac_compile) 2>conftest.er1
86968   ac_status=$?
86969   grep -v '^ *+' conftest.er1 >conftest.err
86970   rm -f conftest.er1
86971   cat conftest.err >&5
86972   echo "$as_me:$LINENO: \$? = $ac_status" >&5
86973   (exit $ac_status); } &&
86974          { ac_try='test -z "$ac_cxx_werror_flag"
86975                          || test ! -s conftest.err'
86976   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
86977   (eval $ac_try) 2>&5
86978   ac_status=$?
86979   echo "$as_me:$LINENO: \$? = $ac_status" >&5
86980   (exit $ac_status); }; } &&
86981          { ac_try='test -s conftest.$ac_objext'
86982   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
86983   (eval $ac_try) 2>&5
86984   ac_status=$?
86985   echo "$as_me:$LINENO: \$? = $ac_status" >&5
86986   (exit $ac_status); }; }; then
86987   glibcxx_cv_func_finitef_use=yes
86988 else
86989   echo "$as_me: failed program was:" >&5
86990 sed 's/^/| /' conftest.$ac_ext >&5
86991
86992 glibcxx_cv_func_finitef_use=no
86993 fi
86994 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
86995       ac_ext=c
86996 ac_cpp='$CPP $CPPFLAGS'
86997 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
86998 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
86999 ac_compiler_gnu=$ac_cv_c_compiler_gnu
87000
87001
87002 fi
87003
87004   fi
87005   echo "$as_me:$LINENO: result: $glibcxx_cv_func_finitef_use" >&5
87006 echo "${ECHO_T}$glibcxx_cv_func_finitef_use" >&6
87007
87008   if test x$glibcxx_cv_func_finitef_use = x"yes"; then
87009
87010 for ac_func in finitef
87011 do
87012 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
87013 echo "$as_me:$LINENO: checking for $ac_func" >&5
87014 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
87015 if eval "test \"\${$as_ac_var+set}\" = set"; then
87016   echo $ECHO_N "(cached) $ECHO_C" >&6
87017 else
87018   if test x$gcc_no_link = xyes; then
87019   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
87020 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
87021    { (exit 1); exit 1; }; }
87022 fi
87023 cat >conftest.$ac_ext <<_ACEOF
87024 /* confdefs.h.  */
87025 _ACEOF
87026 cat confdefs.h >>conftest.$ac_ext
87027 cat >>conftest.$ac_ext <<_ACEOF
87028 /* end confdefs.h.  */
87029 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
87030    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
87031 #define $ac_func innocuous_$ac_func
87032
87033 /* System header to define __stub macros and hopefully few prototypes,
87034     which can conflict with char $ac_func (); below.
87035     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
87036     <limits.h> exists even on freestanding compilers.  */
87037
87038 #ifdef __STDC__
87039 # include <limits.h>
87040 #else
87041 # include <assert.h>
87042 #endif
87043
87044 #undef $ac_func
87045
87046 /* Override any gcc2 internal prototype to avoid an error.  */
87047 #ifdef __cplusplus
87048 extern "C"
87049 {
87050 #endif
87051 /* We use char because int might match the return type of a gcc2
87052    builtin and then its argument prototype would still apply.  */
87053 char $ac_func ();
87054 /* The GNU C library defines this for functions which it implements
87055     to always fail with ENOSYS.  Some functions are actually named
87056     something starting with __ and the normal name is an alias.  */
87057 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
87058 choke me
87059 #else
87060 char (*f) () = $ac_func;
87061 #endif
87062 #ifdef __cplusplus
87063 }
87064 #endif
87065
87066 int
87067 main ()
87068 {
87069 return f != $ac_func;
87070   ;
87071   return 0;
87072 }
87073 _ACEOF
87074 rm -f conftest.$ac_objext conftest$ac_exeext
87075 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
87076   (eval $ac_link) 2>conftest.er1
87077   ac_status=$?
87078   grep -v '^ *+' conftest.er1 >conftest.err
87079   rm -f conftest.er1
87080   cat conftest.err >&5
87081   echo "$as_me:$LINENO: \$? = $ac_status" >&5
87082   (exit $ac_status); } &&
87083          { ac_try='test -z "$ac_c_werror_flag"
87084                          || test ! -s conftest.err'
87085   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
87086   (eval $ac_try) 2>&5
87087   ac_status=$?
87088   echo "$as_me:$LINENO: \$? = $ac_status" >&5
87089   (exit $ac_status); }; } &&
87090          { ac_try='test -s conftest$ac_exeext'
87091   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
87092   (eval $ac_try) 2>&5
87093   ac_status=$?
87094   echo "$as_me:$LINENO: \$? = $ac_status" >&5
87095   (exit $ac_status); }; }; then
87096   eval "$as_ac_var=yes"
87097 else
87098   echo "$as_me: failed program was:" >&5
87099 sed 's/^/| /' conftest.$ac_ext >&5
87100
87101 eval "$as_ac_var=no"
87102 fi
87103 rm -f conftest.err conftest.$ac_objext \
87104       conftest$ac_exeext conftest.$ac_ext
87105 fi
87106 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
87107 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
87108 if test `eval echo '${'$as_ac_var'}'` = yes; then
87109   cat >>confdefs.h <<_ACEOF
87110 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
87111 _ACEOF
87112
87113 fi
87114 done
87115
87116   else
87117
87118   echo "$as_me:$LINENO: checking for _finitef declaration" >&5
87119 echo $ECHO_N "checking for _finitef declaration... $ECHO_C" >&6
87120   if test x${glibcxx_cv_func__finitef_use+set} != xset; then
87121     if test "${glibcxx_cv_func__finitef_use+set}" = set; then
87122   echo $ECHO_N "(cached) $ECHO_C" >&6
87123 else
87124
87125
87126
87127       ac_ext=cc
87128 ac_cpp='$CXXCPP $CPPFLAGS'
87129 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
87130 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
87131 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
87132
87133       cat >conftest.$ac_ext <<_ACEOF
87134 /* confdefs.h.  */
87135 _ACEOF
87136 cat confdefs.h >>conftest.$ac_ext
87137 cat >>conftest.$ac_ext <<_ACEOF
87138 /* end confdefs.h.  */
87139 #include <math.h>
87140                       #ifdef HAVE_IEEEFP_H
87141                       #include <ieeefp.h>
87142                       #endif
87143
87144 int
87145 main ()
87146 {
87147  _finitef(0);
87148   ;
87149   return 0;
87150 }
87151 _ACEOF
87152 rm -f conftest.$ac_objext
87153 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
87154   (eval $ac_compile) 2>conftest.er1
87155   ac_status=$?
87156   grep -v '^ *+' conftest.er1 >conftest.err
87157   rm -f conftest.er1
87158   cat conftest.err >&5
87159   echo "$as_me:$LINENO: \$? = $ac_status" >&5
87160   (exit $ac_status); } &&
87161          { ac_try='test -z "$ac_cxx_werror_flag"
87162                          || test ! -s conftest.err'
87163   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
87164   (eval $ac_try) 2>&5
87165   ac_status=$?
87166   echo "$as_me:$LINENO: \$? = $ac_status" >&5
87167   (exit $ac_status); }; } &&
87168          { ac_try='test -s conftest.$ac_objext'
87169   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
87170   (eval $ac_try) 2>&5
87171   ac_status=$?
87172   echo "$as_me:$LINENO: \$? = $ac_status" >&5
87173   (exit $ac_status); }; }; then
87174   glibcxx_cv_func__finitef_use=yes
87175 else
87176   echo "$as_me: failed program was:" >&5
87177 sed 's/^/| /' conftest.$ac_ext >&5
87178
87179 glibcxx_cv_func__finitef_use=no
87180 fi
87181 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
87182       ac_ext=c
87183 ac_cpp='$CPP $CPPFLAGS'
87184 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
87185 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
87186 ac_compiler_gnu=$ac_cv_c_compiler_gnu
87187
87188
87189 fi
87190
87191   fi
87192   echo "$as_me:$LINENO: result: $glibcxx_cv_func__finitef_use" >&5
87193 echo "${ECHO_T}$glibcxx_cv_func__finitef_use" >&6
87194
87195     if test x$glibcxx_cv_func__finitef_use = x"yes"; then
87196
87197 for ac_func in _finitef
87198 do
87199 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
87200 echo "$as_me:$LINENO: checking for $ac_func" >&5
87201 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
87202 if eval "test \"\${$as_ac_var+set}\" = set"; then
87203   echo $ECHO_N "(cached) $ECHO_C" >&6
87204 else
87205   if test x$gcc_no_link = xyes; then
87206   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
87207 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
87208    { (exit 1); exit 1; }; }
87209 fi
87210 cat >conftest.$ac_ext <<_ACEOF
87211 /* confdefs.h.  */
87212 _ACEOF
87213 cat confdefs.h >>conftest.$ac_ext
87214 cat >>conftest.$ac_ext <<_ACEOF
87215 /* end confdefs.h.  */
87216 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
87217    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
87218 #define $ac_func innocuous_$ac_func
87219
87220 /* System header to define __stub macros and hopefully few prototypes,
87221     which can conflict with char $ac_func (); below.
87222     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
87223     <limits.h> exists even on freestanding compilers.  */
87224
87225 #ifdef __STDC__
87226 # include <limits.h>
87227 #else
87228 # include <assert.h>
87229 #endif
87230
87231 #undef $ac_func
87232
87233 /* Override any gcc2 internal prototype to avoid an error.  */
87234 #ifdef __cplusplus
87235 extern "C"
87236 {
87237 #endif
87238 /* We use char because int might match the return type of a gcc2
87239    builtin and then its argument prototype would still apply.  */
87240 char $ac_func ();
87241 /* The GNU C library defines this for functions which it implements
87242     to always fail with ENOSYS.  Some functions are actually named
87243     something starting with __ and the normal name is an alias.  */
87244 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
87245 choke me
87246 #else
87247 char (*f) () = $ac_func;
87248 #endif
87249 #ifdef __cplusplus
87250 }
87251 #endif
87252
87253 int
87254 main ()
87255 {
87256 return f != $ac_func;
87257   ;
87258   return 0;
87259 }
87260 _ACEOF
87261 rm -f conftest.$ac_objext conftest$ac_exeext
87262 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
87263   (eval $ac_link) 2>conftest.er1
87264   ac_status=$?
87265   grep -v '^ *+' conftest.er1 >conftest.err
87266   rm -f conftest.er1
87267   cat conftest.err >&5
87268   echo "$as_me:$LINENO: \$? = $ac_status" >&5
87269   (exit $ac_status); } &&
87270          { ac_try='test -z "$ac_c_werror_flag"
87271                          || test ! -s conftest.err'
87272   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
87273   (eval $ac_try) 2>&5
87274   ac_status=$?
87275   echo "$as_me:$LINENO: \$? = $ac_status" >&5
87276   (exit $ac_status); }; } &&
87277          { ac_try='test -s conftest$ac_exeext'
87278   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
87279   (eval $ac_try) 2>&5
87280   ac_status=$?
87281   echo "$as_me:$LINENO: \$? = $ac_status" >&5
87282   (exit $ac_status); }; }; then
87283   eval "$as_ac_var=yes"
87284 else
87285   echo "$as_me: failed program was:" >&5
87286 sed 's/^/| /' conftest.$ac_ext >&5
87287
87288 eval "$as_ac_var=no"
87289 fi
87290 rm -f conftest.err conftest.$ac_objext \
87291       conftest$ac_exeext conftest.$ac_ext
87292 fi
87293 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
87294 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
87295 if test `eval echo '${'$as_ac_var'}'` = yes; then
87296   cat >>confdefs.h <<_ACEOF
87297 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
87298 _ACEOF
87299
87300 fi
87301 done
87302
87303     fi
87304   fi
87305
87306
87307
87308
87309
87310
87311     echo "$as_me:$LINENO: checking for long double trig functions" >&5
87312 echo $ECHO_N "checking for long double trig functions... $ECHO_C" >&6
87313   if test "${glibcxx_cv_func_long_double_trig_use+set}" = set; then
87314   echo $ECHO_N "(cached) $ECHO_C" >&6
87315 else
87316
87317
87318
87319     ac_ext=cc
87320 ac_cpp='$CXXCPP $CPPFLAGS'
87321 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
87322 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
87323 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
87324
87325     cat >conftest.$ac_ext <<_ACEOF
87326 /* confdefs.h.  */
87327 _ACEOF
87328 cat confdefs.h >>conftest.$ac_ext
87329 cat >>conftest.$ac_ext <<_ACEOF
87330 /* end confdefs.h.  */
87331 #include <math.h>
87332 int
87333 main ()
87334 {
87335 acosl (0); asinl (0); atanl (0); cosl (0); sinl (0); tanl (0); coshl (0); sinhl (0); tanhl (0);
87336   ;
87337   return 0;
87338 }
87339 _ACEOF
87340 rm -f conftest.$ac_objext
87341 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
87342   (eval $ac_compile) 2>conftest.er1
87343   ac_status=$?
87344   grep -v '^ *+' conftest.er1 >conftest.err
87345   rm -f conftest.er1
87346   cat conftest.err >&5
87347   echo "$as_me:$LINENO: \$? = $ac_status" >&5
87348   (exit $ac_status); } &&
87349          { ac_try='test -z "$ac_cxx_werror_flag"
87350                          || test ! -s conftest.err'
87351   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
87352   (eval $ac_try) 2>&5
87353   ac_status=$?
87354   echo "$as_me:$LINENO: \$? = $ac_status" >&5
87355   (exit $ac_status); }; } &&
87356          { ac_try='test -s conftest.$ac_objext'
87357   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
87358   (eval $ac_try) 2>&5
87359   ac_status=$?
87360   echo "$as_me:$LINENO: \$? = $ac_status" >&5
87361   (exit $ac_status); }; }; then
87362   glibcxx_cv_func_long_double_trig_use=yes
87363 else
87364   echo "$as_me: failed program was:" >&5
87365 sed 's/^/| /' conftest.$ac_ext >&5
87366
87367 glibcxx_cv_func_long_double_trig_use=no
87368 fi
87369 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
87370     ac_ext=c
87371 ac_cpp='$CPP $CPPFLAGS'
87372 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
87373 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
87374 ac_compiler_gnu=$ac_cv_c_compiler_gnu
87375
87376 fi
87377
87378   echo "$as_me:$LINENO: result: $glibcxx_cv_func_long_double_trig_use" >&5
87379 echo "${ECHO_T}$glibcxx_cv_func_long_double_trig_use" >&6
87380   if test x$glibcxx_cv_func_long_double_trig_use = x"yes"; then
87381
87382
87383
87384
87385
87386
87387
87388
87389
87390 for ac_func in acosl asinl atanl cosl sinl tanl coshl sinhl tanhl
87391 do
87392 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
87393 echo "$as_me:$LINENO: checking for $ac_func" >&5
87394 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
87395 if eval "test \"\${$as_ac_var+set}\" = set"; then
87396   echo $ECHO_N "(cached) $ECHO_C" >&6
87397 else
87398   if test x$gcc_no_link = xyes; then
87399   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
87400 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
87401    { (exit 1); exit 1; }; }
87402 fi
87403 cat >conftest.$ac_ext <<_ACEOF
87404 /* confdefs.h.  */
87405 _ACEOF
87406 cat confdefs.h >>conftest.$ac_ext
87407 cat >>conftest.$ac_ext <<_ACEOF
87408 /* end confdefs.h.  */
87409 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
87410    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
87411 #define $ac_func innocuous_$ac_func
87412
87413 /* System header to define __stub macros and hopefully few prototypes,
87414     which can conflict with char $ac_func (); below.
87415     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
87416     <limits.h> exists even on freestanding compilers.  */
87417
87418 #ifdef __STDC__
87419 # include <limits.h>
87420 #else
87421 # include <assert.h>
87422 #endif
87423
87424 #undef $ac_func
87425
87426 /* Override any gcc2 internal prototype to avoid an error.  */
87427 #ifdef __cplusplus
87428 extern "C"
87429 {
87430 #endif
87431 /* We use char because int might match the return type of a gcc2
87432    builtin and then its argument prototype would still apply.  */
87433 char $ac_func ();
87434 /* The GNU C library defines this for functions which it implements
87435     to always fail with ENOSYS.  Some functions are actually named
87436     something starting with __ and the normal name is an alias.  */
87437 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
87438 choke me
87439 #else
87440 char (*f) () = $ac_func;
87441 #endif
87442 #ifdef __cplusplus
87443 }
87444 #endif
87445
87446 int
87447 main ()
87448 {
87449 return f != $ac_func;
87450   ;
87451   return 0;
87452 }
87453 _ACEOF
87454 rm -f conftest.$ac_objext conftest$ac_exeext
87455 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
87456   (eval $ac_link) 2>conftest.er1
87457   ac_status=$?
87458   grep -v '^ *+' conftest.er1 >conftest.err
87459   rm -f conftest.er1
87460   cat conftest.err >&5
87461   echo "$as_me:$LINENO: \$? = $ac_status" >&5
87462   (exit $ac_status); } &&
87463          { ac_try='test -z "$ac_c_werror_flag"
87464                          || test ! -s conftest.err'
87465   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
87466   (eval $ac_try) 2>&5
87467   ac_status=$?
87468   echo "$as_me:$LINENO: \$? = $ac_status" >&5
87469   (exit $ac_status); }; } &&
87470          { ac_try='test -s conftest$ac_exeext'
87471   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
87472   (eval $ac_try) 2>&5
87473   ac_status=$?
87474   echo "$as_me:$LINENO: \$? = $ac_status" >&5
87475   (exit $ac_status); }; }; then
87476   eval "$as_ac_var=yes"
87477 else
87478   echo "$as_me: failed program was:" >&5
87479 sed 's/^/| /' conftest.$ac_ext >&5
87480
87481 eval "$as_ac_var=no"
87482 fi
87483 rm -f conftest.err conftest.$ac_objext \
87484       conftest$ac_exeext conftest.$ac_ext
87485 fi
87486 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
87487 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
87488 if test `eval echo '${'$as_ac_var'}'` = yes; then
87489   cat >>confdefs.h <<_ACEOF
87490 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
87491 _ACEOF
87492
87493 fi
87494 done
87495
87496   else
87497     echo "$as_me:$LINENO: checking for _long double trig functions" >&5
87498 echo $ECHO_N "checking for _long double trig functions... $ECHO_C" >&6
87499     if test "${glibcxx_cv_func__long_double_trig_use+set}" = set; then
87500   echo $ECHO_N "(cached) $ECHO_C" >&6
87501 else
87502
87503
87504
87505       ac_ext=cc
87506 ac_cpp='$CXXCPP $CPPFLAGS'
87507 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
87508 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
87509 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
87510
87511       cat >conftest.$ac_ext <<_ACEOF
87512 /* confdefs.h.  */
87513 _ACEOF
87514 cat confdefs.h >>conftest.$ac_ext
87515 cat >>conftest.$ac_ext <<_ACEOF
87516 /* end confdefs.h.  */
87517 #include <math.h>
87518 int
87519 main ()
87520 {
87521 _acosl (0); _asinl (0); _atanl (0); _cosl (0); _sinl (0); _tanl (0); _coshl (0); _sinhl (0); _tanhl (0);
87522   ;
87523   return 0;
87524 }
87525 _ACEOF
87526 rm -f conftest.$ac_objext
87527 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
87528   (eval $ac_compile) 2>conftest.er1
87529   ac_status=$?
87530   grep -v '^ *+' conftest.er1 >conftest.err
87531   rm -f conftest.er1
87532   cat conftest.err >&5
87533   echo "$as_me:$LINENO: \$? = $ac_status" >&5
87534   (exit $ac_status); } &&
87535          { ac_try='test -z "$ac_cxx_werror_flag"
87536                          || test ! -s conftest.err'
87537   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
87538   (eval $ac_try) 2>&5
87539   ac_status=$?
87540   echo "$as_me:$LINENO: \$? = $ac_status" >&5
87541   (exit $ac_status); }; } &&
87542          { ac_try='test -s conftest.$ac_objext'
87543   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
87544   (eval $ac_try) 2>&5
87545   ac_status=$?
87546   echo "$as_me:$LINENO: \$? = $ac_status" >&5
87547   (exit $ac_status); }; }; then
87548   glibcxx_cv_func__long_double_trig_use=yes
87549 else
87550   echo "$as_me: failed program was:" >&5
87551 sed 's/^/| /' conftest.$ac_ext >&5
87552
87553 glibcxx_cv_func__long_double_trig_use=no
87554 fi
87555 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
87556       ac_ext=c
87557 ac_cpp='$CPP $CPPFLAGS'
87558 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
87559 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
87560 ac_compiler_gnu=$ac_cv_c_compiler_gnu
87561
87562 fi
87563
87564     echo "$as_me:$LINENO: result: $glibcxx_cv_func__long_double_trig_use" >&5
87565 echo "${ECHO_T}$glibcxx_cv_func__long_double_trig_use" >&6
87566     if test x$glibcxx_cv_func__long_double_trig_use = x"yes"; then
87567
87568
87569
87570
87571
87572
87573
87574
87575
87576 for ac_func in _acosl _asinl _atanl _cosl _sinl _tanl _coshl _sinhl _tanhl
87577 do
87578 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
87579 echo "$as_me:$LINENO: checking for $ac_func" >&5
87580 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
87581 if eval "test \"\${$as_ac_var+set}\" = set"; then
87582   echo $ECHO_N "(cached) $ECHO_C" >&6
87583 else
87584   if test x$gcc_no_link = xyes; then
87585   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
87586 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
87587    { (exit 1); exit 1; }; }
87588 fi
87589 cat >conftest.$ac_ext <<_ACEOF
87590 /* confdefs.h.  */
87591 _ACEOF
87592 cat confdefs.h >>conftest.$ac_ext
87593 cat >>conftest.$ac_ext <<_ACEOF
87594 /* end confdefs.h.  */
87595 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
87596    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
87597 #define $ac_func innocuous_$ac_func
87598
87599 /* System header to define __stub macros and hopefully few prototypes,
87600     which can conflict with char $ac_func (); below.
87601     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
87602     <limits.h> exists even on freestanding compilers.  */
87603
87604 #ifdef __STDC__
87605 # include <limits.h>
87606 #else
87607 # include <assert.h>
87608 #endif
87609
87610 #undef $ac_func
87611
87612 /* Override any gcc2 internal prototype to avoid an error.  */
87613 #ifdef __cplusplus
87614 extern "C"
87615 {
87616 #endif
87617 /* We use char because int might match the return type of a gcc2
87618    builtin and then its argument prototype would still apply.  */
87619 char $ac_func ();
87620 /* The GNU C library defines this for functions which it implements
87621     to always fail with ENOSYS.  Some functions are actually named
87622     something starting with __ and the normal name is an alias.  */
87623 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
87624 choke me
87625 #else
87626 char (*f) () = $ac_func;
87627 #endif
87628 #ifdef __cplusplus
87629 }
87630 #endif
87631
87632 int
87633 main ()
87634 {
87635 return f != $ac_func;
87636   ;
87637   return 0;
87638 }
87639 _ACEOF
87640 rm -f conftest.$ac_objext conftest$ac_exeext
87641 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
87642   (eval $ac_link) 2>conftest.er1
87643   ac_status=$?
87644   grep -v '^ *+' conftest.er1 >conftest.err
87645   rm -f conftest.er1
87646   cat conftest.err >&5
87647   echo "$as_me:$LINENO: \$? = $ac_status" >&5
87648   (exit $ac_status); } &&
87649          { ac_try='test -z "$ac_c_werror_flag"
87650                          || test ! -s conftest.err'
87651   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
87652   (eval $ac_try) 2>&5
87653   ac_status=$?
87654   echo "$as_me:$LINENO: \$? = $ac_status" >&5
87655   (exit $ac_status); }; } &&
87656          { ac_try='test -s conftest$ac_exeext'
87657   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
87658   (eval $ac_try) 2>&5
87659   ac_status=$?
87660   echo "$as_me:$LINENO: \$? = $ac_status" >&5
87661   (exit $ac_status); }; }; then
87662   eval "$as_ac_var=yes"
87663 else
87664   echo "$as_me: failed program was:" >&5
87665 sed 's/^/| /' conftest.$ac_ext >&5
87666
87667 eval "$as_ac_var=no"
87668 fi
87669 rm -f conftest.err conftest.$ac_objext \
87670       conftest$ac_exeext conftest.$ac_ext
87671 fi
87672 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
87673 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
87674 if test `eval echo '${'$as_ac_var'}'` = yes; then
87675   cat >>confdefs.h <<_ACEOF
87676 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
87677 _ACEOF
87678
87679 fi
87680 done
87681
87682     fi
87683   fi
87684
87685
87686
87687
87688
87689
87690
87691
87692
87693
87694
87695
87696
87697
87698     echo "$as_me:$LINENO: checking for long double round functions" >&5
87699 echo $ECHO_N "checking for long double round functions... $ECHO_C" >&6
87700   if test "${glibcxx_cv_func_long_double_round_use+set}" = set; then
87701   echo $ECHO_N "(cached) $ECHO_C" >&6
87702 else
87703
87704
87705
87706     ac_ext=cc
87707 ac_cpp='$CXXCPP $CPPFLAGS'
87708 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
87709 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
87710 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
87711
87712     cat >conftest.$ac_ext <<_ACEOF
87713 /* confdefs.h.  */
87714 _ACEOF
87715 cat confdefs.h >>conftest.$ac_ext
87716 cat >>conftest.$ac_ext <<_ACEOF
87717 /* end confdefs.h.  */
87718 #include <math.h>
87719 int
87720 main ()
87721 {
87722 ceill (0); floorl (0);
87723   ;
87724   return 0;
87725 }
87726 _ACEOF
87727 rm -f conftest.$ac_objext
87728 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
87729   (eval $ac_compile) 2>conftest.er1
87730   ac_status=$?
87731   grep -v '^ *+' conftest.er1 >conftest.err
87732   rm -f conftest.er1
87733   cat conftest.err >&5
87734   echo "$as_me:$LINENO: \$? = $ac_status" >&5
87735   (exit $ac_status); } &&
87736          { ac_try='test -z "$ac_cxx_werror_flag"
87737                          || test ! -s conftest.err'
87738   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
87739   (eval $ac_try) 2>&5
87740   ac_status=$?
87741   echo "$as_me:$LINENO: \$? = $ac_status" >&5
87742   (exit $ac_status); }; } &&
87743          { ac_try='test -s conftest.$ac_objext'
87744   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
87745   (eval $ac_try) 2>&5
87746   ac_status=$?
87747   echo "$as_me:$LINENO: \$? = $ac_status" >&5
87748   (exit $ac_status); }; }; then
87749   glibcxx_cv_func_long_double_round_use=yes
87750 else
87751   echo "$as_me: failed program was:" >&5
87752 sed 's/^/| /' conftest.$ac_ext >&5
87753
87754 glibcxx_cv_func_long_double_round_use=no
87755 fi
87756 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
87757     ac_ext=c
87758 ac_cpp='$CPP $CPPFLAGS'
87759 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
87760 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
87761 ac_compiler_gnu=$ac_cv_c_compiler_gnu
87762
87763 fi
87764
87765   echo "$as_me:$LINENO: result: $glibcxx_cv_func_long_double_round_use" >&5
87766 echo "${ECHO_T}$glibcxx_cv_func_long_double_round_use" >&6
87767   if test x$glibcxx_cv_func_long_double_round_use = x"yes"; then
87768
87769
87770 for ac_func in ceill floorl
87771 do
87772 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
87773 echo "$as_me:$LINENO: checking for $ac_func" >&5
87774 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
87775 if eval "test \"\${$as_ac_var+set}\" = set"; then
87776   echo $ECHO_N "(cached) $ECHO_C" >&6
87777 else
87778   if test x$gcc_no_link = xyes; then
87779   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
87780 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
87781    { (exit 1); exit 1; }; }
87782 fi
87783 cat >conftest.$ac_ext <<_ACEOF
87784 /* confdefs.h.  */
87785 _ACEOF
87786 cat confdefs.h >>conftest.$ac_ext
87787 cat >>conftest.$ac_ext <<_ACEOF
87788 /* end confdefs.h.  */
87789 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
87790    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
87791 #define $ac_func innocuous_$ac_func
87792
87793 /* System header to define __stub macros and hopefully few prototypes,
87794     which can conflict with char $ac_func (); below.
87795     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
87796     <limits.h> exists even on freestanding compilers.  */
87797
87798 #ifdef __STDC__
87799 # include <limits.h>
87800 #else
87801 # include <assert.h>
87802 #endif
87803
87804 #undef $ac_func
87805
87806 /* Override any gcc2 internal prototype to avoid an error.  */
87807 #ifdef __cplusplus
87808 extern "C"
87809 {
87810 #endif
87811 /* We use char because int might match the return type of a gcc2
87812    builtin and then its argument prototype would still apply.  */
87813 char $ac_func ();
87814 /* The GNU C library defines this for functions which it implements
87815     to always fail with ENOSYS.  Some functions are actually named
87816     something starting with __ and the normal name is an alias.  */
87817 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
87818 choke me
87819 #else
87820 char (*f) () = $ac_func;
87821 #endif
87822 #ifdef __cplusplus
87823 }
87824 #endif
87825
87826 int
87827 main ()
87828 {
87829 return f != $ac_func;
87830   ;
87831   return 0;
87832 }
87833 _ACEOF
87834 rm -f conftest.$ac_objext conftest$ac_exeext
87835 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
87836   (eval $ac_link) 2>conftest.er1
87837   ac_status=$?
87838   grep -v '^ *+' conftest.er1 >conftest.err
87839   rm -f conftest.er1
87840   cat conftest.err >&5
87841   echo "$as_me:$LINENO: \$? = $ac_status" >&5
87842   (exit $ac_status); } &&
87843          { ac_try='test -z "$ac_c_werror_flag"
87844                          || test ! -s conftest.err'
87845   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
87846   (eval $ac_try) 2>&5
87847   ac_status=$?
87848   echo "$as_me:$LINENO: \$? = $ac_status" >&5
87849   (exit $ac_status); }; } &&
87850          { ac_try='test -s conftest$ac_exeext'
87851   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
87852   (eval $ac_try) 2>&5
87853   ac_status=$?
87854   echo "$as_me:$LINENO: \$? = $ac_status" >&5
87855   (exit $ac_status); }; }; then
87856   eval "$as_ac_var=yes"
87857 else
87858   echo "$as_me: failed program was:" >&5
87859 sed 's/^/| /' conftest.$ac_ext >&5
87860
87861 eval "$as_ac_var=no"
87862 fi
87863 rm -f conftest.err conftest.$ac_objext \
87864       conftest$ac_exeext conftest.$ac_ext
87865 fi
87866 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
87867 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
87868 if test `eval echo '${'$as_ac_var'}'` = yes; then
87869   cat >>confdefs.h <<_ACEOF
87870 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
87871 _ACEOF
87872
87873 fi
87874 done
87875
87876   else
87877     echo "$as_me:$LINENO: checking for _long double round functions" >&5
87878 echo $ECHO_N "checking for _long double round functions... $ECHO_C" >&6
87879     if test "${glibcxx_cv_func__long_double_round_use+set}" = set; then
87880   echo $ECHO_N "(cached) $ECHO_C" >&6
87881 else
87882
87883
87884
87885       ac_ext=cc
87886 ac_cpp='$CXXCPP $CPPFLAGS'
87887 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
87888 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
87889 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
87890
87891       cat >conftest.$ac_ext <<_ACEOF
87892 /* confdefs.h.  */
87893 _ACEOF
87894 cat confdefs.h >>conftest.$ac_ext
87895 cat >>conftest.$ac_ext <<_ACEOF
87896 /* end confdefs.h.  */
87897 #include <math.h>
87898 int
87899 main ()
87900 {
87901 _ceill (0); _floorl (0);
87902   ;
87903   return 0;
87904 }
87905 _ACEOF
87906 rm -f conftest.$ac_objext
87907 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
87908   (eval $ac_compile) 2>conftest.er1
87909   ac_status=$?
87910   grep -v '^ *+' conftest.er1 >conftest.err
87911   rm -f conftest.er1
87912   cat conftest.err >&5
87913   echo "$as_me:$LINENO: \$? = $ac_status" >&5
87914   (exit $ac_status); } &&
87915          { ac_try='test -z "$ac_cxx_werror_flag"
87916                          || test ! -s conftest.err'
87917   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
87918   (eval $ac_try) 2>&5
87919   ac_status=$?
87920   echo "$as_me:$LINENO: \$? = $ac_status" >&5
87921   (exit $ac_status); }; } &&
87922          { ac_try='test -s conftest.$ac_objext'
87923   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
87924   (eval $ac_try) 2>&5
87925   ac_status=$?
87926   echo "$as_me:$LINENO: \$? = $ac_status" >&5
87927   (exit $ac_status); }; }; then
87928   glibcxx_cv_func__long_double_round_use=yes
87929 else
87930   echo "$as_me: failed program was:" >&5
87931 sed 's/^/| /' conftest.$ac_ext >&5
87932
87933 glibcxx_cv_func__long_double_round_use=no
87934 fi
87935 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
87936       ac_ext=c
87937 ac_cpp='$CPP $CPPFLAGS'
87938 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
87939 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
87940 ac_compiler_gnu=$ac_cv_c_compiler_gnu
87941
87942 fi
87943
87944     echo "$as_me:$LINENO: result: $glibcxx_cv_func__long_double_round_use" >&5
87945 echo "${ECHO_T}$glibcxx_cv_func__long_double_round_use" >&6
87946     if test x$glibcxx_cv_func__long_double_round_use = x"yes"; then
87947
87948
87949 for ac_func in _ceill _floorl
87950 do
87951 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
87952 echo "$as_me:$LINENO: checking for $ac_func" >&5
87953 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
87954 if eval "test \"\${$as_ac_var+set}\" = set"; then
87955   echo $ECHO_N "(cached) $ECHO_C" >&6
87956 else
87957   if test x$gcc_no_link = xyes; then
87958   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
87959 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
87960    { (exit 1); exit 1; }; }
87961 fi
87962 cat >conftest.$ac_ext <<_ACEOF
87963 /* confdefs.h.  */
87964 _ACEOF
87965 cat confdefs.h >>conftest.$ac_ext
87966 cat >>conftest.$ac_ext <<_ACEOF
87967 /* end confdefs.h.  */
87968 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
87969    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
87970 #define $ac_func innocuous_$ac_func
87971
87972 /* System header to define __stub macros and hopefully few prototypes,
87973     which can conflict with char $ac_func (); below.
87974     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
87975     <limits.h> exists even on freestanding compilers.  */
87976
87977 #ifdef __STDC__
87978 # include <limits.h>
87979 #else
87980 # include <assert.h>
87981 #endif
87982
87983 #undef $ac_func
87984
87985 /* Override any gcc2 internal prototype to avoid an error.  */
87986 #ifdef __cplusplus
87987 extern "C"
87988 {
87989 #endif
87990 /* We use char because int might match the return type of a gcc2
87991    builtin and then its argument prototype would still apply.  */
87992 char $ac_func ();
87993 /* The GNU C library defines this for functions which it implements
87994     to always fail with ENOSYS.  Some functions are actually named
87995     something starting with __ and the normal name is an alias.  */
87996 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
87997 choke me
87998 #else
87999 char (*f) () = $ac_func;
88000 #endif
88001 #ifdef __cplusplus
88002 }
88003 #endif
88004
88005 int
88006 main ()
88007 {
88008 return f != $ac_func;
88009   ;
88010   return 0;
88011 }
88012 _ACEOF
88013 rm -f conftest.$ac_objext conftest$ac_exeext
88014 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
88015   (eval $ac_link) 2>conftest.er1
88016   ac_status=$?
88017   grep -v '^ *+' conftest.er1 >conftest.err
88018   rm -f conftest.er1
88019   cat conftest.err >&5
88020   echo "$as_me:$LINENO: \$? = $ac_status" >&5
88021   (exit $ac_status); } &&
88022          { ac_try='test -z "$ac_c_werror_flag"
88023                          || test ! -s conftest.err'
88024   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
88025   (eval $ac_try) 2>&5
88026   ac_status=$?
88027   echo "$as_me:$LINENO: \$? = $ac_status" >&5
88028   (exit $ac_status); }; } &&
88029          { ac_try='test -s conftest$ac_exeext'
88030   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
88031   (eval $ac_try) 2>&5
88032   ac_status=$?
88033   echo "$as_me:$LINENO: \$? = $ac_status" >&5
88034   (exit $ac_status); }; }; then
88035   eval "$as_ac_var=yes"
88036 else
88037   echo "$as_me: failed program was:" >&5
88038 sed 's/^/| /' conftest.$ac_ext >&5
88039
88040 eval "$as_ac_var=no"
88041 fi
88042 rm -f conftest.err conftest.$ac_objext \
88043       conftest$ac_exeext conftest.$ac_ext
88044 fi
88045 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
88046 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
88047 if test `eval echo '${'$as_ac_var'}'` = yes; then
88048   cat >>confdefs.h <<_ACEOF
88049 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
88050 _ACEOF
88051
88052 fi
88053 done
88054
88055     fi
88056   fi
88057
88058
88059
88060
88061
88062
88063
88064
88065   echo "$as_me:$LINENO: checking for isnanl declaration" >&5
88066 echo $ECHO_N "checking for isnanl declaration... $ECHO_C" >&6
88067   if test x${glibcxx_cv_func_isnanl_use+set} != xset; then
88068     if test "${glibcxx_cv_func_isnanl_use+set}" = set; then
88069   echo $ECHO_N "(cached) $ECHO_C" >&6
88070 else
88071
88072
88073
88074       ac_ext=cc
88075 ac_cpp='$CXXCPP $CPPFLAGS'
88076 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
88077 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
88078 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
88079
88080       cat >conftest.$ac_ext <<_ACEOF
88081 /* confdefs.h.  */
88082 _ACEOF
88083 cat confdefs.h >>conftest.$ac_ext
88084 cat >>conftest.$ac_ext <<_ACEOF
88085 /* end confdefs.h.  */
88086 #include <math.h>
88087                       #ifdef HAVE_IEEEFP_H
88088                       #include <ieeefp.h>
88089                       #endif
88090
88091 int
88092 main ()
88093 {
88094  isnanl(0);
88095   ;
88096   return 0;
88097 }
88098 _ACEOF
88099 rm -f conftest.$ac_objext
88100 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
88101   (eval $ac_compile) 2>conftest.er1
88102   ac_status=$?
88103   grep -v '^ *+' conftest.er1 >conftest.err
88104   rm -f conftest.er1
88105   cat conftest.err >&5
88106   echo "$as_me:$LINENO: \$? = $ac_status" >&5
88107   (exit $ac_status); } &&
88108          { ac_try='test -z "$ac_cxx_werror_flag"
88109                          || test ! -s conftest.err'
88110   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
88111   (eval $ac_try) 2>&5
88112   ac_status=$?
88113   echo "$as_me:$LINENO: \$? = $ac_status" >&5
88114   (exit $ac_status); }; } &&
88115          { ac_try='test -s conftest.$ac_objext'
88116   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
88117   (eval $ac_try) 2>&5
88118   ac_status=$?
88119   echo "$as_me:$LINENO: \$? = $ac_status" >&5
88120   (exit $ac_status); }; }; then
88121   glibcxx_cv_func_isnanl_use=yes
88122 else
88123   echo "$as_me: failed program was:" >&5
88124 sed 's/^/| /' conftest.$ac_ext >&5
88125
88126 glibcxx_cv_func_isnanl_use=no
88127 fi
88128 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
88129       ac_ext=c
88130 ac_cpp='$CPP $CPPFLAGS'
88131 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
88132 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
88133 ac_compiler_gnu=$ac_cv_c_compiler_gnu
88134
88135
88136 fi
88137
88138   fi
88139   echo "$as_me:$LINENO: result: $glibcxx_cv_func_isnanl_use" >&5
88140 echo "${ECHO_T}$glibcxx_cv_func_isnanl_use" >&6
88141
88142   if test x$glibcxx_cv_func_isnanl_use = x"yes"; then
88143
88144 for ac_func in isnanl
88145 do
88146 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
88147 echo "$as_me:$LINENO: checking for $ac_func" >&5
88148 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
88149 if eval "test \"\${$as_ac_var+set}\" = set"; then
88150   echo $ECHO_N "(cached) $ECHO_C" >&6
88151 else
88152   if test x$gcc_no_link = xyes; then
88153   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
88154 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
88155    { (exit 1); exit 1; }; }
88156 fi
88157 cat >conftest.$ac_ext <<_ACEOF
88158 /* confdefs.h.  */
88159 _ACEOF
88160 cat confdefs.h >>conftest.$ac_ext
88161 cat >>conftest.$ac_ext <<_ACEOF
88162 /* end confdefs.h.  */
88163 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
88164    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
88165 #define $ac_func innocuous_$ac_func
88166
88167 /* System header to define __stub macros and hopefully few prototypes,
88168     which can conflict with char $ac_func (); below.
88169     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
88170     <limits.h> exists even on freestanding compilers.  */
88171
88172 #ifdef __STDC__
88173 # include <limits.h>
88174 #else
88175 # include <assert.h>
88176 #endif
88177
88178 #undef $ac_func
88179
88180 /* Override any gcc2 internal prototype to avoid an error.  */
88181 #ifdef __cplusplus
88182 extern "C"
88183 {
88184 #endif
88185 /* We use char because int might match the return type of a gcc2
88186    builtin and then its argument prototype would still apply.  */
88187 char $ac_func ();
88188 /* The GNU C library defines this for functions which it implements
88189     to always fail with ENOSYS.  Some functions are actually named
88190     something starting with __ and the normal name is an alias.  */
88191 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
88192 choke me
88193 #else
88194 char (*f) () = $ac_func;
88195 #endif
88196 #ifdef __cplusplus
88197 }
88198 #endif
88199
88200 int
88201 main ()
88202 {
88203 return f != $ac_func;
88204   ;
88205   return 0;
88206 }
88207 _ACEOF
88208 rm -f conftest.$ac_objext conftest$ac_exeext
88209 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
88210   (eval $ac_link) 2>conftest.er1
88211   ac_status=$?
88212   grep -v '^ *+' conftest.er1 >conftest.err
88213   rm -f conftest.er1
88214   cat conftest.err >&5
88215   echo "$as_me:$LINENO: \$? = $ac_status" >&5
88216   (exit $ac_status); } &&
88217          { ac_try='test -z "$ac_c_werror_flag"
88218                          || test ! -s conftest.err'
88219   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
88220   (eval $ac_try) 2>&5
88221   ac_status=$?
88222   echo "$as_me:$LINENO: \$? = $ac_status" >&5
88223   (exit $ac_status); }; } &&
88224          { ac_try='test -s conftest$ac_exeext'
88225   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
88226   (eval $ac_try) 2>&5
88227   ac_status=$?
88228   echo "$as_me:$LINENO: \$? = $ac_status" >&5
88229   (exit $ac_status); }; }; then
88230   eval "$as_ac_var=yes"
88231 else
88232   echo "$as_me: failed program was:" >&5
88233 sed 's/^/| /' conftest.$ac_ext >&5
88234
88235 eval "$as_ac_var=no"
88236 fi
88237 rm -f conftest.err conftest.$ac_objext \
88238       conftest$ac_exeext conftest.$ac_ext
88239 fi
88240 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
88241 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
88242 if test `eval echo '${'$as_ac_var'}'` = yes; then
88243   cat >>confdefs.h <<_ACEOF
88244 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
88245 _ACEOF
88246
88247 fi
88248 done
88249
88250   else
88251
88252   echo "$as_me:$LINENO: checking for _isnanl declaration" >&5
88253 echo $ECHO_N "checking for _isnanl declaration... $ECHO_C" >&6
88254   if test x${glibcxx_cv_func__isnanl_use+set} != xset; then
88255     if test "${glibcxx_cv_func__isnanl_use+set}" = set; then
88256   echo $ECHO_N "(cached) $ECHO_C" >&6
88257 else
88258
88259
88260
88261       ac_ext=cc
88262 ac_cpp='$CXXCPP $CPPFLAGS'
88263 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
88264 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
88265 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
88266
88267       cat >conftest.$ac_ext <<_ACEOF
88268 /* confdefs.h.  */
88269 _ACEOF
88270 cat confdefs.h >>conftest.$ac_ext
88271 cat >>conftest.$ac_ext <<_ACEOF
88272 /* end confdefs.h.  */
88273 #include <math.h>
88274                       #ifdef HAVE_IEEEFP_H
88275                       #include <ieeefp.h>
88276                       #endif
88277
88278 int
88279 main ()
88280 {
88281  _isnanl(0);
88282   ;
88283   return 0;
88284 }
88285 _ACEOF
88286 rm -f conftest.$ac_objext
88287 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
88288   (eval $ac_compile) 2>conftest.er1
88289   ac_status=$?
88290   grep -v '^ *+' conftest.er1 >conftest.err
88291   rm -f conftest.er1
88292   cat conftest.err >&5
88293   echo "$as_me:$LINENO: \$? = $ac_status" >&5
88294   (exit $ac_status); } &&
88295          { ac_try='test -z "$ac_cxx_werror_flag"
88296                          || test ! -s conftest.err'
88297   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
88298   (eval $ac_try) 2>&5
88299   ac_status=$?
88300   echo "$as_me:$LINENO: \$? = $ac_status" >&5
88301   (exit $ac_status); }; } &&
88302          { ac_try='test -s conftest.$ac_objext'
88303   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
88304   (eval $ac_try) 2>&5
88305   ac_status=$?
88306   echo "$as_me:$LINENO: \$? = $ac_status" >&5
88307   (exit $ac_status); }; }; then
88308   glibcxx_cv_func__isnanl_use=yes
88309 else
88310   echo "$as_me: failed program was:" >&5
88311 sed 's/^/| /' conftest.$ac_ext >&5
88312
88313 glibcxx_cv_func__isnanl_use=no
88314 fi
88315 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
88316       ac_ext=c
88317 ac_cpp='$CPP $CPPFLAGS'
88318 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
88319 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
88320 ac_compiler_gnu=$ac_cv_c_compiler_gnu
88321
88322
88323 fi
88324
88325   fi
88326   echo "$as_me:$LINENO: result: $glibcxx_cv_func__isnanl_use" >&5
88327 echo "${ECHO_T}$glibcxx_cv_func__isnanl_use" >&6
88328
88329     if test x$glibcxx_cv_func__isnanl_use = x"yes"; then
88330
88331 for ac_func in _isnanl
88332 do
88333 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
88334 echo "$as_me:$LINENO: checking for $ac_func" >&5
88335 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
88336 if eval "test \"\${$as_ac_var+set}\" = set"; then
88337   echo $ECHO_N "(cached) $ECHO_C" >&6
88338 else
88339   if test x$gcc_no_link = xyes; then
88340   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
88341 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
88342    { (exit 1); exit 1; }; }
88343 fi
88344 cat >conftest.$ac_ext <<_ACEOF
88345 /* confdefs.h.  */
88346 _ACEOF
88347 cat confdefs.h >>conftest.$ac_ext
88348 cat >>conftest.$ac_ext <<_ACEOF
88349 /* end confdefs.h.  */
88350 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
88351    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
88352 #define $ac_func innocuous_$ac_func
88353
88354 /* System header to define __stub macros and hopefully few prototypes,
88355     which can conflict with char $ac_func (); below.
88356     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
88357     <limits.h> exists even on freestanding compilers.  */
88358
88359 #ifdef __STDC__
88360 # include <limits.h>
88361 #else
88362 # include <assert.h>
88363 #endif
88364
88365 #undef $ac_func
88366
88367 /* Override any gcc2 internal prototype to avoid an error.  */
88368 #ifdef __cplusplus
88369 extern "C"
88370 {
88371 #endif
88372 /* We use char because int might match the return type of a gcc2
88373    builtin and then its argument prototype would still apply.  */
88374 char $ac_func ();
88375 /* The GNU C library defines this for functions which it implements
88376     to always fail with ENOSYS.  Some functions are actually named
88377     something starting with __ and the normal name is an alias.  */
88378 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
88379 choke me
88380 #else
88381 char (*f) () = $ac_func;
88382 #endif
88383 #ifdef __cplusplus
88384 }
88385 #endif
88386
88387 int
88388 main ()
88389 {
88390 return f != $ac_func;
88391   ;
88392   return 0;
88393 }
88394 _ACEOF
88395 rm -f conftest.$ac_objext conftest$ac_exeext
88396 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
88397   (eval $ac_link) 2>conftest.er1
88398   ac_status=$?
88399   grep -v '^ *+' conftest.er1 >conftest.err
88400   rm -f conftest.er1
88401   cat conftest.err >&5
88402   echo "$as_me:$LINENO: \$? = $ac_status" >&5
88403   (exit $ac_status); } &&
88404          { ac_try='test -z "$ac_c_werror_flag"
88405                          || test ! -s conftest.err'
88406   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
88407   (eval $ac_try) 2>&5
88408   ac_status=$?
88409   echo "$as_me:$LINENO: \$? = $ac_status" >&5
88410   (exit $ac_status); }; } &&
88411          { ac_try='test -s conftest$ac_exeext'
88412   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
88413   (eval $ac_try) 2>&5
88414   ac_status=$?
88415   echo "$as_me:$LINENO: \$? = $ac_status" >&5
88416   (exit $ac_status); }; }; then
88417   eval "$as_ac_var=yes"
88418 else
88419   echo "$as_me: failed program was:" >&5
88420 sed 's/^/| /' conftest.$ac_ext >&5
88421
88422 eval "$as_ac_var=no"
88423 fi
88424 rm -f conftest.err conftest.$ac_objext \
88425       conftest$ac_exeext conftest.$ac_ext
88426 fi
88427 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
88428 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
88429 if test `eval echo '${'$as_ac_var'}'` = yes; then
88430   cat >>confdefs.h <<_ACEOF
88431 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
88432 _ACEOF
88433
88434 fi
88435 done
88436
88437     fi
88438   fi
88439
88440
88441
88442
88443
88444
88445   echo "$as_me:$LINENO: checking for isinfl declaration" >&5
88446 echo $ECHO_N "checking for isinfl declaration... $ECHO_C" >&6
88447   if test x${glibcxx_cv_func_isinfl_use+set} != xset; then
88448     if test "${glibcxx_cv_func_isinfl_use+set}" = set; then
88449   echo $ECHO_N "(cached) $ECHO_C" >&6
88450 else
88451
88452
88453
88454       ac_ext=cc
88455 ac_cpp='$CXXCPP $CPPFLAGS'
88456 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
88457 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
88458 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
88459
88460       cat >conftest.$ac_ext <<_ACEOF
88461 /* confdefs.h.  */
88462 _ACEOF
88463 cat confdefs.h >>conftest.$ac_ext
88464 cat >>conftest.$ac_ext <<_ACEOF
88465 /* end confdefs.h.  */
88466 #include <math.h>
88467                       #ifdef HAVE_IEEEFP_H
88468                       #include <ieeefp.h>
88469                       #endif
88470
88471 int
88472 main ()
88473 {
88474  isinfl(0);
88475   ;
88476   return 0;
88477 }
88478 _ACEOF
88479 rm -f conftest.$ac_objext
88480 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
88481   (eval $ac_compile) 2>conftest.er1
88482   ac_status=$?
88483   grep -v '^ *+' conftest.er1 >conftest.err
88484   rm -f conftest.er1
88485   cat conftest.err >&5
88486   echo "$as_me:$LINENO: \$? = $ac_status" >&5
88487   (exit $ac_status); } &&
88488          { ac_try='test -z "$ac_cxx_werror_flag"
88489                          || test ! -s conftest.err'
88490   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
88491   (eval $ac_try) 2>&5
88492   ac_status=$?
88493   echo "$as_me:$LINENO: \$? = $ac_status" >&5
88494   (exit $ac_status); }; } &&
88495          { ac_try='test -s conftest.$ac_objext'
88496   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
88497   (eval $ac_try) 2>&5
88498   ac_status=$?
88499   echo "$as_me:$LINENO: \$? = $ac_status" >&5
88500   (exit $ac_status); }; }; then
88501   glibcxx_cv_func_isinfl_use=yes
88502 else
88503   echo "$as_me: failed program was:" >&5
88504 sed 's/^/| /' conftest.$ac_ext >&5
88505
88506 glibcxx_cv_func_isinfl_use=no
88507 fi
88508 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
88509       ac_ext=c
88510 ac_cpp='$CPP $CPPFLAGS'
88511 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
88512 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
88513 ac_compiler_gnu=$ac_cv_c_compiler_gnu
88514
88515
88516 fi
88517
88518   fi
88519   echo "$as_me:$LINENO: result: $glibcxx_cv_func_isinfl_use" >&5
88520 echo "${ECHO_T}$glibcxx_cv_func_isinfl_use" >&6
88521
88522   if test x$glibcxx_cv_func_isinfl_use = x"yes"; then
88523
88524 for ac_func in isinfl
88525 do
88526 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
88527 echo "$as_me:$LINENO: checking for $ac_func" >&5
88528 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
88529 if eval "test \"\${$as_ac_var+set}\" = set"; then
88530   echo $ECHO_N "(cached) $ECHO_C" >&6
88531 else
88532   if test x$gcc_no_link = xyes; then
88533   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
88534 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
88535    { (exit 1); exit 1; }; }
88536 fi
88537 cat >conftest.$ac_ext <<_ACEOF
88538 /* confdefs.h.  */
88539 _ACEOF
88540 cat confdefs.h >>conftest.$ac_ext
88541 cat >>conftest.$ac_ext <<_ACEOF
88542 /* end confdefs.h.  */
88543 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
88544    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
88545 #define $ac_func innocuous_$ac_func
88546
88547 /* System header to define __stub macros and hopefully few prototypes,
88548     which can conflict with char $ac_func (); below.
88549     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
88550     <limits.h> exists even on freestanding compilers.  */
88551
88552 #ifdef __STDC__
88553 # include <limits.h>
88554 #else
88555 # include <assert.h>
88556 #endif
88557
88558 #undef $ac_func
88559
88560 /* Override any gcc2 internal prototype to avoid an error.  */
88561 #ifdef __cplusplus
88562 extern "C"
88563 {
88564 #endif
88565 /* We use char because int might match the return type of a gcc2
88566    builtin and then its argument prototype would still apply.  */
88567 char $ac_func ();
88568 /* The GNU C library defines this for functions which it implements
88569     to always fail with ENOSYS.  Some functions are actually named
88570     something starting with __ and the normal name is an alias.  */
88571 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
88572 choke me
88573 #else
88574 char (*f) () = $ac_func;
88575 #endif
88576 #ifdef __cplusplus
88577 }
88578 #endif
88579
88580 int
88581 main ()
88582 {
88583 return f != $ac_func;
88584   ;
88585   return 0;
88586 }
88587 _ACEOF
88588 rm -f conftest.$ac_objext conftest$ac_exeext
88589 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
88590   (eval $ac_link) 2>conftest.er1
88591   ac_status=$?
88592   grep -v '^ *+' conftest.er1 >conftest.err
88593   rm -f conftest.er1
88594   cat conftest.err >&5
88595   echo "$as_me:$LINENO: \$? = $ac_status" >&5
88596   (exit $ac_status); } &&
88597          { ac_try='test -z "$ac_c_werror_flag"
88598                          || test ! -s conftest.err'
88599   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
88600   (eval $ac_try) 2>&5
88601   ac_status=$?
88602   echo "$as_me:$LINENO: \$? = $ac_status" >&5
88603   (exit $ac_status); }; } &&
88604          { ac_try='test -s conftest$ac_exeext'
88605   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
88606   (eval $ac_try) 2>&5
88607   ac_status=$?
88608   echo "$as_me:$LINENO: \$? = $ac_status" >&5
88609   (exit $ac_status); }; }; then
88610   eval "$as_ac_var=yes"
88611 else
88612   echo "$as_me: failed program was:" >&5
88613 sed 's/^/| /' conftest.$ac_ext >&5
88614
88615 eval "$as_ac_var=no"
88616 fi
88617 rm -f conftest.err conftest.$ac_objext \
88618       conftest$ac_exeext conftest.$ac_ext
88619 fi
88620 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
88621 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
88622 if test `eval echo '${'$as_ac_var'}'` = yes; then
88623   cat >>confdefs.h <<_ACEOF
88624 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
88625 _ACEOF
88626
88627 fi
88628 done
88629
88630   else
88631
88632   echo "$as_me:$LINENO: checking for _isinfl declaration" >&5
88633 echo $ECHO_N "checking for _isinfl declaration... $ECHO_C" >&6
88634   if test x${glibcxx_cv_func__isinfl_use+set} != xset; then
88635     if test "${glibcxx_cv_func__isinfl_use+set}" = set; then
88636   echo $ECHO_N "(cached) $ECHO_C" >&6
88637 else
88638
88639
88640
88641       ac_ext=cc
88642 ac_cpp='$CXXCPP $CPPFLAGS'
88643 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
88644 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
88645 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
88646
88647       cat >conftest.$ac_ext <<_ACEOF
88648 /* confdefs.h.  */
88649 _ACEOF
88650 cat confdefs.h >>conftest.$ac_ext
88651 cat >>conftest.$ac_ext <<_ACEOF
88652 /* end confdefs.h.  */
88653 #include <math.h>
88654                       #ifdef HAVE_IEEEFP_H
88655                       #include <ieeefp.h>
88656                       #endif
88657
88658 int
88659 main ()
88660 {
88661  _isinfl(0);
88662   ;
88663   return 0;
88664 }
88665 _ACEOF
88666 rm -f conftest.$ac_objext
88667 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
88668   (eval $ac_compile) 2>conftest.er1
88669   ac_status=$?
88670   grep -v '^ *+' conftest.er1 >conftest.err
88671   rm -f conftest.er1
88672   cat conftest.err >&5
88673   echo "$as_me:$LINENO: \$? = $ac_status" >&5
88674   (exit $ac_status); } &&
88675          { ac_try='test -z "$ac_cxx_werror_flag"
88676                          || test ! -s conftest.err'
88677   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
88678   (eval $ac_try) 2>&5
88679   ac_status=$?
88680   echo "$as_me:$LINENO: \$? = $ac_status" >&5
88681   (exit $ac_status); }; } &&
88682          { ac_try='test -s conftest.$ac_objext'
88683   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
88684   (eval $ac_try) 2>&5
88685   ac_status=$?
88686   echo "$as_me:$LINENO: \$? = $ac_status" >&5
88687   (exit $ac_status); }; }; then
88688   glibcxx_cv_func__isinfl_use=yes
88689 else
88690   echo "$as_me: failed program was:" >&5
88691 sed 's/^/| /' conftest.$ac_ext >&5
88692
88693 glibcxx_cv_func__isinfl_use=no
88694 fi
88695 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
88696       ac_ext=c
88697 ac_cpp='$CPP $CPPFLAGS'
88698 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
88699 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
88700 ac_compiler_gnu=$ac_cv_c_compiler_gnu
88701
88702
88703 fi
88704
88705   fi
88706   echo "$as_me:$LINENO: result: $glibcxx_cv_func__isinfl_use" >&5
88707 echo "${ECHO_T}$glibcxx_cv_func__isinfl_use" >&6
88708
88709     if test x$glibcxx_cv_func__isinfl_use = x"yes"; then
88710
88711 for ac_func in _isinfl
88712 do
88713 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
88714 echo "$as_me:$LINENO: checking for $ac_func" >&5
88715 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
88716 if eval "test \"\${$as_ac_var+set}\" = set"; then
88717   echo $ECHO_N "(cached) $ECHO_C" >&6
88718 else
88719   if test x$gcc_no_link = xyes; then
88720   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
88721 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
88722    { (exit 1); exit 1; }; }
88723 fi
88724 cat >conftest.$ac_ext <<_ACEOF
88725 /* confdefs.h.  */
88726 _ACEOF
88727 cat confdefs.h >>conftest.$ac_ext
88728 cat >>conftest.$ac_ext <<_ACEOF
88729 /* end confdefs.h.  */
88730 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
88731    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
88732 #define $ac_func innocuous_$ac_func
88733
88734 /* System header to define __stub macros and hopefully few prototypes,
88735     which can conflict with char $ac_func (); below.
88736     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
88737     <limits.h> exists even on freestanding compilers.  */
88738
88739 #ifdef __STDC__
88740 # include <limits.h>
88741 #else
88742 # include <assert.h>
88743 #endif
88744
88745 #undef $ac_func
88746
88747 /* Override any gcc2 internal prototype to avoid an error.  */
88748 #ifdef __cplusplus
88749 extern "C"
88750 {
88751 #endif
88752 /* We use char because int might match the return type of a gcc2
88753    builtin and then its argument prototype would still apply.  */
88754 char $ac_func ();
88755 /* The GNU C library defines this for functions which it implements
88756     to always fail with ENOSYS.  Some functions are actually named
88757     something starting with __ and the normal name is an alias.  */
88758 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
88759 choke me
88760 #else
88761 char (*f) () = $ac_func;
88762 #endif
88763 #ifdef __cplusplus
88764 }
88765 #endif
88766
88767 int
88768 main ()
88769 {
88770 return f != $ac_func;
88771   ;
88772   return 0;
88773 }
88774 _ACEOF
88775 rm -f conftest.$ac_objext conftest$ac_exeext
88776 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
88777   (eval $ac_link) 2>conftest.er1
88778   ac_status=$?
88779   grep -v '^ *+' conftest.er1 >conftest.err
88780   rm -f conftest.er1
88781   cat conftest.err >&5
88782   echo "$as_me:$LINENO: \$? = $ac_status" >&5
88783   (exit $ac_status); } &&
88784          { ac_try='test -z "$ac_c_werror_flag"
88785                          || test ! -s conftest.err'
88786   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
88787   (eval $ac_try) 2>&5
88788   ac_status=$?
88789   echo "$as_me:$LINENO: \$? = $ac_status" >&5
88790   (exit $ac_status); }; } &&
88791          { ac_try='test -s conftest$ac_exeext'
88792   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
88793   (eval $ac_try) 2>&5
88794   ac_status=$?
88795   echo "$as_me:$LINENO: \$? = $ac_status" >&5
88796   (exit $ac_status); }; }; then
88797   eval "$as_ac_var=yes"
88798 else
88799   echo "$as_me: failed program was:" >&5
88800 sed 's/^/| /' conftest.$ac_ext >&5
88801
88802 eval "$as_ac_var=no"
88803 fi
88804 rm -f conftest.err conftest.$ac_objext \
88805       conftest$ac_exeext conftest.$ac_ext
88806 fi
88807 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
88808 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
88809 if test `eval echo '${'$as_ac_var'}'` = yes; then
88810   cat >>confdefs.h <<_ACEOF
88811 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
88812 _ACEOF
88813
88814 fi
88815 done
88816
88817     fi
88818   fi
88819
88820
88821
88822
88823
88824
88825   echo "$as_me:$LINENO: checking for copysignl declaration" >&5
88826 echo $ECHO_N "checking for copysignl declaration... $ECHO_C" >&6
88827   if test x${glibcxx_cv_func_copysignl_use+set} != xset; then
88828     if test "${glibcxx_cv_func_copysignl_use+set}" = set; then
88829   echo $ECHO_N "(cached) $ECHO_C" >&6
88830 else
88831
88832
88833
88834       ac_ext=cc
88835 ac_cpp='$CXXCPP $CPPFLAGS'
88836 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
88837 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
88838 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
88839
88840       cat >conftest.$ac_ext <<_ACEOF
88841 /* confdefs.h.  */
88842 _ACEOF
88843 cat confdefs.h >>conftest.$ac_ext
88844 cat >>conftest.$ac_ext <<_ACEOF
88845 /* end confdefs.h.  */
88846 #include <math.h>
88847 int
88848 main ()
88849 {
88850  copysignl(0, 0);
88851   ;
88852   return 0;
88853 }
88854 _ACEOF
88855 rm -f conftest.$ac_objext
88856 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
88857   (eval $ac_compile) 2>conftest.er1
88858   ac_status=$?
88859   grep -v '^ *+' conftest.er1 >conftest.err
88860   rm -f conftest.er1
88861   cat conftest.err >&5
88862   echo "$as_me:$LINENO: \$? = $ac_status" >&5
88863   (exit $ac_status); } &&
88864          { ac_try='test -z "$ac_cxx_werror_flag"
88865                          || test ! -s conftest.err'
88866   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
88867   (eval $ac_try) 2>&5
88868   ac_status=$?
88869   echo "$as_me:$LINENO: \$? = $ac_status" >&5
88870   (exit $ac_status); }; } &&
88871          { ac_try='test -s conftest.$ac_objext'
88872   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
88873   (eval $ac_try) 2>&5
88874   ac_status=$?
88875   echo "$as_me:$LINENO: \$? = $ac_status" >&5
88876   (exit $ac_status); }; }; then
88877   glibcxx_cv_func_copysignl_use=yes
88878 else
88879   echo "$as_me: failed program was:" >&5
88880 sed 's/^/| /' conftest.$ac_ext >&5
88881
88882 glibcxx_cv_func_copysignl_use=no
88883 fi
88884 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
88885       ac_ext=c
88886 ac_cpp='$CPP $CPPFLAGS'
88887 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
88888 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
88889 ac_compiler_gnu=$ac_cv_c_compiler_gnu
88890
88891
88892 fi
88893
88894   fi
88895   echo "$as_me:$LINENO: result: $glibcxx_cv_func_copysignl_use" >&5
88896 echo "${ECHO_T}$glibcxx_cv_func_copysignl_use" >&6
88897
88898   if test x$glibcxx_cv_func_copysignl_use = x"yes"; then
88899
88900 for ac_func in copysignl
88901 do
88902 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
88903 echo "$as_me:$LINENO: checking for $ac_func" >&5
88904 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
88905 if eval "test \"\${$as_ac_var+set}\" = set"; then
88906   echo $ECHO_N "(cached) $ECHO_C" >&6
88907 else
88908   if test x$gcc_no_link = xyes; then
88909   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
88910 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
88911    { (exit 1); exit 1; }; }
88912 fi
88913 cat >conftest.$ac_ext <<_ACEOF
88914 /* confdefs.h.  */
88915 _ACEOF
88916 cat confdefs.h >>conftest.$ac_ext
88917 cat >>conftest.$ac_ext <<_ACEOF
88918 /* end confdefs.h.  */
88919 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
88920    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
88921 #define $ac_func innocuous_$ac_func
88922
88923 /* System header to define __stub macros and hopefully few prototypes,
88924     which can conflict with char $ac_func (); below.
88925     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
88926     <limits.h> exists even on freestanding compilers.  */
88927
88928 #ifdef __STDC__
88929 # include <limits.h>
88930 #else
88931 # include <assert.h>
88932 #endif
88933
88934 #undef $ac_func
88935
88936 /* Override any gcc2 internal prototype to avoid an error.  */
88937 #ifdef __cplusplus
88938 extern "C"
88939 {
88940 #endif
88941 /* We use char because int might match the return type of a gcc2
88942    builtin and then its argument prototype would still apply.  */
88943 char $ac_func ();
88944 /* The GNU C library defines this for functions which it implements
88945     to always fail with ENOSYS.  Some functions are actually named
88946     something starting with __ and the normal name is an alias.  */
88947 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
88948 choke me
88949 #else
88950 char (*f) () = $ac_func;
88951 #endif
88952 #ifdef __cplusplus
88953 }
88954 #endif
88955
88956 int
88957 main ()
88958 {
88959 return f != $ac_func;
88960   ;
88961   return 0;
88962 }
88963 _ACEOF
88964 rm -f conftest.$ac_objext conftest$ac_exeext
88965 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
88966   (eval $ac_link) 2>conftest.er1
88967   ac_status=$?
88968   grep -v '^ *+' conftest.er1 >conftest.err
88969   rm -f conftest.er1
88970   cat conftest.err >&5
88971   echo "$as_me:$LINENO: \$? = $ac_status" >&5
88972   (exit $ac_status); } &&
88973          { ac_try='test -z "$ac_c_werror_flag"
88974                          || test ! -s conftest.err'
88975   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
88976   (eval $ac_try) 2>&5
88977   ac_status=$?
88978   echo "$as_me:$LINENO: \$? = $ac_status" >&5
88979   (exit $ac_status); }; } &&
88980          { ac_try='test -s conftest$ac_exeext'
88981   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
88982   (eval $ac_try) 2>&5
88983   ac_status=$?
88984   echo "$as_me:$LINENO: \$? = $ac_status" >&5
88985   (exit $ac_status); }; }; then
88986   eval "$as_ac_var=yes"
88987 else
88988   echo "$as_me: failed program was:" >&5
88989 sed 's/^/| /' conftest.$ac_ext >&5
88990
88991 eval "$as_ac_var=no"
88992 fi
88993 rm -f conftest.err conftest.$ac_objext \
88994       conftest$ac_exeext conftest.$ac_ext
88995 fi
88996 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
88997 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
88998 if test `eval echo '${'$as_ac_var'}'` = yes; then
88999   cat >>confdefs.h <<_ACEOF
89000 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
89001 _ACEOF
89002
89003 fi
89004 done
89005
89006   else
89007
89008   echo "$as_me:$LINENO: checking for _copysignl declaration" >&5
89009 echo $ECHO_N "checking for _copysignl declaration... $ECHO_C" >&6
89010   if test x${glibcxx_cv_func__copysignl_use+set} != xset; then
89011     if test "${glibcxx_cv_func__copysignl_use+set}" = set; then
89012   echo $ECHO_N "(cached) $ECHO_C" >&6
89013 else
89014
89015
89016
89017       ac_ext=cc
89018 ac_cpp='$CXXCPP $CPPFLAGS'
89019 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
89020 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
89021 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
89022
89023       cat >conftest.$ac_ext <<_ACEOF
89024 /* confdefs.h.  */
89025 _ACEOF
89026 cat confdefs.h >>conftest.$ac_ext
89027 cat >>conftest.$ac_ext <<_ACEOF
89028 /* end confdefs.h.  */
89029 #include <math.h>
89030 int
89031 main ()
89032 {
89033  _copysignl(0, 0);
89034   ;
89035   return 0;
89036 }
89037 _ACEOF
89038 rm -f conftest.$ac_objext
89039 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
89040   (eval $ac_compile) 2>conftest.er1
89041   ac_status=$?
89042   grep -v '^ *+' conftest.er1 >conftest.err
89043   rm -f conftest.er1
89044   cat conftest.err >&5
89045   echo "$as_me:$LINENO: \$? = $ac_status" >&5
89046   (exit $ac_status); } &&
89047          { ac_try='test -z "$ac_cxx_werror_flag"
89048                          || test ! -s conftest.err'
89049   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
89050   (eval $ac_try) 2>&5
89051   ac_status=$?
89052   echo "$as_me:$LINENO: \$? = $ac_status" >&5
89053   (exit $ac_status); }; } &&
89054          { ac_try='test -s conftest.$ac_objext'
89055   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
89056   (eval $ac_try) 2>&5
89057   ac_status=$?
89058   echo "$as_me:$LINENO: \$? = $ac_status" >&5
89059   (exit $ac_status); }; }; then
89060   glibcxx_cv_func__copysignl_use=yes
89061 else
89062   echo "$as_me: failed program was:" >&5
89063 sed 's/^/| /' conftest.$ac_ext >&5
89064
89065 glibcxx_cv_func__copysignl_use=no
89066 fi
89067 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
89068       ac_ext=c
89069 ac_cpp='$CPP $CPPFLAGS'
89070 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
89071 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
89072 ac_compiler_gnu=$ac_cv_c_compiler_gnu
89073
89074
89075 fi
89076
89077   fi
89078   echo "$as_me:$LINENO: result: $glibcxx_cv_func__copysignl_use" >&5
89079 echo "${ECHO_T}$glibcxx_cv_func__copysignl_use" >&6
89080
89081     if test x$glibcxx_cv_func__copysignl_use = x"yes"; then
89082
89083 for ac_func in _copysignl
89084 do
89085 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
89086 echo "$as_me:$LINENO: checking for $ac_func" >&5
89087 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
89088 if eval "test \"\${$as_ac_var+set}\" = set"; then
89089   echo $ECHO_N "(cached) $ECHO_C" >&6
89090 else
89091   if test x$gcc_no_link = xyes; then
89092   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
89093 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
89094    { (exit 1); exit 1; }; }
89095 fi
89096 cat >conftest.$ac_ext <<_ACEOF
89097 /* confdefs.h.  */
89098 _ACEOF
89099 cat confdefs.h >>conftest.$ac_ext
89100 cat >>conftest.$ac_ext <<_ACEOF
89101 /* end confdefs.h.  */
89102 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
89103    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
89104 #define $ac_func innocuous_$ac_func
89105
89106 /* System header to define __stub macros and hopefully few prototypes,
89107     which can conflict with char $ac_func (); below.
89108     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
89109     <limits.h> exists even on freestanding compilers.  */
89110
89111 #ifdef __STDC__
89112 # include <limits.h>
89113 #else
89114 # include <assert.h>
89115 #endif
89116
89117 #undef $ac_func
89118
89119 /* Override any gcc2 internal prototype to avoid an error.  */
89120 #ifdef __cplusplus
89121 extern "C"
89122 {
89123 #endif
89124 /* We use char because int might match the return type of a gcc2
89125    builtin and then its argument prototype would still apply.  */
89126 char $ac_func ();
89127 /* The GNU C library defines this for functions which it implements
89128     to always fail with ENOSYS.  Some functions are actually named
89129     something starting with __ and the normal name is an alias.  */
89130 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
89131 choke me
89132 #else
89133 char (*f) () = $ac_func;
89134 #endif
89135 #ifdef __cplusplus
89136 }
89137 #endif
89138
89139 int
89140 main ()
89141 {
89142 return f != $ac_func;
89143   ;
89144   return 0;
89145 }
89146 _ACEOF
89147 rm -f conftest.$ac_objext conftest$ac_exeext
89148 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
89149   (eval $ac_link) 2>conftest.er1
89150   ac_status=$?
89151   grep -v '^ *+' conftest.er1 >conftest.err
89152   rm -f conftest.er1
89153   cat conftest.err >&5
89154   echo "$as_me:$LINENO: \$? = $ac_status" >&5
89155   (exit $ac_status); } &&
89156          { ac_try='test -z "$ac_c_werror_flag"
89157                          || test ! -s conftest.err'
89158   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
89159   (eval $ac_try) 2>&5
89160   ac_status=$?
89161   echo "$as_me:$LINENO: \$? = $ac_status" >&5
89162   (exit $ac_status); }; } &&
89163          { ac_try='test -s conftest$ac_exeext'
89164   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
89165   (eval $ac_try) 2>&5
89166   ac_status=$?
89167   echo "$as_me:$LINENO: \$? = $ac_status" >&5
89168   (exit $ac_status); }; }; then
89169   eval "$as_ac_var=yes"
89170 else
89171   echo "$as_me: failed program was:" >&5
89172 sed 's/^/| /' conftest.$ac_ext >&5
89173
89174 eval "$as_ac_var=no"
89175 fi
89176 rm -f conftest.err conftest.$ac_objext \
89177       conftest$ac_exeext conftest.$ac_ext
89178 fi
89179 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
89180 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
89181 if test `eval echo '${'$as_ac_var'}'` = yes; then
89182   cat >>confdefs.h <<_ACEOF
89183 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
89184 _ACEOF
89185
89186 fi
89187 done
89188
89189     fi
89190   fi
89191
89192
89193
89194
89195
89196
89197   echo "$as_me:$LINENO: checking for atan2l declaration" >&5
89198 echo $ECHO_N "checking for atan2l declaration... $ECHO_C" >&6
89199   if test x${glibcxx_cv_func_atan2l_use+set} != xset; then
89200     if test "${glibcxx_cv_func_atan2l_use+set}" = set; then
89201   echo $ECHO_N "(cached) $ECHO_C" >&6
89202 else
89203
89204
89205
89206       ac_ext=cc
89207 ac_cpp='$CXXCPP $CPPFLAGS'
89208 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
89209 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
89210 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
89211
89212       cat >conftest.$ac_ext <<_ACEOF
89213 /* confdefs.h.  */
89214 _ACEOF
89215 cat confdefs.h >>conftest.$ac_ext
89216 cat >>conftest.$ac_ext <<_ACEOF
89217 /* end confdefs.h.  */
89218 #include <math.h>
89219 int
89220 main ()
89221 {
89222  atan2l(0, 0);
89223   ;
89224   return 0;
89225 }
89226 _ACEOF
89227 rm -f conftest.$ac_objext
89228 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
89229   (eval $ac_compile) 2>conftest.er1
89230   ac_status=$?
89231   grep -v '^ *+' conftest.er1 >conftest.err
89232   rm -f conftest.er1
89233   cat conftest.err >&5
89234   echo "$as_me:$LINENO: \$? = $ac_status" >&5
89235   (exit $ac_status); } &&
89236          { ac_try='test -z "$ac_cxx_werror_flag"
89237                          || test ! -s conftest.err'
89238   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
89239   (eval $ac_try) 2>&5
89240   ac_status=$?
89241   echo "$as_me:$LINENO: \$? = $ac_status" >&5
89242   (exit $ac_status); }; } &&
89243          { ac_try='test -s conftest.$ac_objext'
89244   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
89245   (eval $ac_try) 2>&5
89246   ac_status=$?
89247   echo "$as_me:$LINENO: \$? = $ac_status" >&5
89248   (exit $ac_status); }; }; then
89249   glibcxx_cv_func_atan2l_use=yes
89250 else
89251   echo "$as_me: failed program was:" >&5
89252 sed 's/^/| /' conftest.$ac_ext >&5
89253
89254 glibcxx_cv_func_atan2l_use=no
89255 fi
89256 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
89257       ac_ext=c
89258 ac_cpp='$CPP $CPPFLAGS'
89259 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
89260 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
89261 ac_compiler_gnu=$ac_cv_c_compiler_gnu
89262
89263
89264 fi
89265
89266   fi
89267   echo "$as_me:$LINENO: result: $glibcxx_cv_func_atan2l_use" >&5
89268 echo "${ECHO_T}$glibcxx_cv_func_atan2l_use" >&6
89269
89270   if test x$glibcxx_cv_func_atan2l_use = x"yes"; then
89271
89272 for ac_func in atan2l
89273 do
89274 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
89275 echo "$as_me:$LINENO: checking for $ac_func" >&5
89276 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
89277 if eval "test \"\${$as_ac_var+set}\" = set"; then
89278   echo $ECHO_N "(cached) $ECHO_C" >&6
89279 else
89280   if test x$gcc_no_link = xyes; then
89281   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
89282 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
89283    { (exit 1); exit 1; }; }
89284 fi
89285 cat >conftest.$ac_ext <<_ACEOF
89286 /* confdefs.h.  */
89287 _ACEOF
89288 cat confdefs.h >>conftest.$ac_ext
89289 cat >>conftest.$ac_ext <<_ACEOF
89290 /* end confdefs.h.  */
89291 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
89292    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
89293 #define $ac_func innocuous_$ac_func
89294
89295 /* System header to define __stub macros and hopefully few prototypes,
89296     which can conflict with char $ac_func (); below.
89297     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
89298     <limits.h> exists even on freestanding compilers.  */
89299
89300 #ifdef __STDC__
89301 # include <limits.h>
89302 #else
89303 # include <assert.h>
89304 #endif
89305
89306 #undef $ac_func
89307
89308 /* Override any gcc2 internal prototype to avoid an error.  */
89309 #ifdef __cplusplus
89310 extern "C"
89311 {
89312 #endif
89313 /* We use char because int might match the return type of a gcc2
89314    builtin and then its argument prototype would still apply.  */
89315 char $ac_func ();
89316 /* The GNU C library defines this for functions which it implements
89317     to always fail with ENOSYS.  Some functions are actually named
89318     something starting with __ and the normal name is an alias.  */
89319 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
89320 choke me
89321 #else
89322 char (*f) () = $ac_func;
89323 #endif
89324 #ifdef __cplusplus
89325 }
89326 #endif
89327
89328 int
89329 main ()
89330 {
89331 return f != $ac_func;
89332   ;
89333   return 0;
89334 }
89335 _ACEOF
89336 rm -f conftest.$ac_objext conftest$ac_exeext
89337 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
89338   (eval $ac_link) 2>conftest.er1
89339   ac_status=$?
89340   grep -v '^ *+' conftest.er1 >conftest.err
89341   rm -f conftest.er1
89342   cat conftest.err >&5
89343   echo "$as_me:$LINENO: \$? = $ac_status" >&5
89344   (exit $ac_status); } &&
89345          { ac_try='test -z "$ac_c_werror_flag"
89346                          || test ! -s conftest.err'
89347   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
89348   (eval $ac_try) 2>&5
89349   ac_status=$?
89350   echo "$as_me:$LINENO: \$? = $ac_status" >&5
89351   (exit $ac_status); }; } &&
89352          { ac_try='test -s conftest$ac_exeext'
89353   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
89354   (eval $ac_try) 2>&5
89355   ac_status=$?
89356   echo "$as_me:$LINENO: \$? = $ac_status" >&5
89357   (exit $ac_status); }; }; then
89358   eval "$as_ac_var=yes"
89359 else
89360   echo "$as_me: failed program was:" >&5
89361 sed 's/^/| /' conftest.$ac_ext >&5
89362
89363 eval "$as_ac_var=no"
89364 fi
89365 rm -f conftest.err conftest.$ac_objext \
89366       conftest$ac_exeext conftest.$ac_ext
89367 fi
89368 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
89369 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
89370 if test `eval echo '${'$as_ac_var'}'` = yes; then
89371   cat >>confdefs.h <<_ACEOF
89372 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
89373 _ACEOF
89374
89375 fi
89376 done
89377
89378   else
89379
89380   echo "$as_me:$LINENO: checking for _atan2l declaration" >&5
89381 echo $ECHO_N "checking for _atan2l declaration... $ECHO_C" >&6
89382   if test x${glibcxx_cv_func__atan2l_use+set} != xset; then
89383     if test "${glibcxx_cv_func__atan2l_use+set}" = set; then
89384   echo $ECHO_N "(cached) $ECHO_C" >&6
89385 else
89386
89387
89388
89389       ac_ext=cc
89390 ac_cpp='$CXXCPP $CPPFLAGS'
89391 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
89392 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
89393 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
89394
89395       cat >conftest.$ac_ext <<_ACEOF
89396 /* confdefs.h.  */
89397 _ACEOF
89398 cat confdefs.h >>conftest.$ac_ext
89399 cat >>conftest.$ac_ext <<_ACEOF
89400 /* end confdefs.h.  */
89401 #include <math.h>
89402 int
89403 main ()
89404 {
89405  _atan2l(0, 0);
89406   ;
89407   return 0;
89408 }
89409 _ACEOF
89410 rm -f conftest.$ac_objext
89411 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
89412   (eval $ac_compile) 2>conftest.er1
89413   ac_status=$?
89414   grep -v '^ *+' conftest.er1 >conftest.err
89415   rm -f conftest.er1
89416   cat conftest.err >&5
89417   echo "$as_me:$LINENO: \$? = $ac_status" >&5
89418   (exit $ac_status); } &&
89419          { ac_try='test -z "$ac_cxx_werror_flag"
89420                          || test ! -s conftest.err'
89421   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
89422   (eval $ac_try) 2>&5
89423   ac_status=$?
89424   echo "$as_me:$LINENO: \$? = $ac_status" >&5
89425   (exit $ac_status); }; } &&
89426          { ac_try='test -s conftest.$ac_objext'
89427   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
89428   (eval $ac_try) 2>&5
89429   ac_status=$?
89430   echo "$as_me:$LINENO: \$? = $ac_status" >&5
89431   (exit $ac_status); }; }; then
89432   glibcxx_cv_func__atan2l_use=yes
89433 else
89434   echo "$as_me: failed program was:" >&5
89435 sed 's/^/| /' conftest.$ac_ext >&5
89436
89437 glibcxx_cv_func__atan2l_use=no
89438 fi
89439 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
89440       ac_ext=c
89441 ac_cpp='$CPP $CPPFLAGS'
89442 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
89443 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
89444 ac_compiler_gnu=$ac_cv_c_compiler_gnu
89445
89446
89447 fi
89448
89449   fi
89450   echo "$as_me:$LINENO: result: $glibcxx_cv_func__atan2l_use" >&5
89451 echo "${ECHO_T}$glibcxx_cv_func__atan2l_use" >&6
89452
89453     if test x$glibcxx_cv_func__atan2l_use = x"yes"; then
89454
89455 for ac_func in _atan2l
89456 do
89457 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
89458 echo "$as_me:$LINENO: checking for $ac_func" >&5
89459 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
89460 if eval "test \"\${$as_ac_var+set}\" = set"; then
89461   echo $ECHO_N "(cached) $ECHO_C" >&6
89462 else
89463   if test x$gcc_no_link = xyes; then
89464   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
89465 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
89466    { (exit 1); exit 1; }; }
89467 fi
89468 cat >conftest.$ac_ext <<_ACEOF
89469 /* confdefs.h.  */
89470 _ACEOF
89471 cat confdefs.h >>conftest.$ac_ext
89472 cat >>conftest.$ac_ext <<_ACEOF
89473 /* end confdefs.h.  */
89474 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
89475    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
89476 #define $ac_func innocuous_$ac_func
89477
89478 /* System header to define __stub macros and hopefully few prototypes,
89479     which can conflict with char $ac_func (); below.
89480     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
89481     <limits.h> exists even on freestanding compilers.  */
89482
89483 #ifdef __STDC__
89484 # include <limits.h>
89485 #else
89486 # include <assert.h>
89487 #endif
89488
89489 #undef $ac_func
89490
89491 /* Override any gcc2 internal prototype to avoid an error.  */
89492 #ifdef __cplusplus
89493 extern "C"
89494 {
89495 #endif
89496 /* We use char because int might match the return type of a gcc2
89497    builtin and then its argument prototype would still apply.  */
89498 char $ac_func ();
89499 /* The GNU C library defines this for functions which it implements
89500     to always fail with ENOSYS.  Some functions are actually named
89501     something starting with __ and the normal name is an alias.  */
89502 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
89503 choke me
89504 #else
89505 char (*f) () = $ac_func;
89506 #endif
89507 #ifdef __cplusplus
89508 }
89509 #endif
89510
89511 int
89512 main ()
89513 {
89514 return f != $ac_func;
89515   ;
89516   return 0;
89517 }
89518 _ACEOF
89519 rm -f conftest.$ac_objext conftest$ac_exeext
89520 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
89521   (eval $ac_link) 2>conftest.er1
89522   ac_status=$?
89523   grep -v '^ *+' conftest.er1 >conftest.err
89524   rm -f conftest.er1
89525   cat conftest.err >&5
89526   echo "$as_me:$LINENO: \$? = $ac_status" >&5
89527   (exit $ac_status); } &&
89528          { ac_try='test -z "$ac_c_werror_flag"
89529                          || test ! -s conftest.err'
89530   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
89531   (eval $ac_try) 2>&5
89532   ac_status=$?
89533   echo "$as_me:$LINENO: \$? = $ac_status" >&5
89534   (exit $ac_status); }; } &&
89535          { ac_try='test -s conftest$ac_exeext'
89536   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
89537   (eval $ac_try) 2>&5
89538   ac_status=$?
89539   echo "$as_me:$LINENO: \$? = $ac_status" >&5
89540   (exit $ac_status); }; }; then
89541   eval "$as_ac_var=yes"
89542 else
89543   echo "$as_me: failed program was:" >&5
89544 sed 's/^/| /' conftest.$ac_ext >&5
89545
89546 eval "$as_ac_var=no"
89547 fi
89548 rm -f conftest.err conftest.$ac_objext \
89549       conftest$ac_exeext conftest.$ac_ext
89550 fi
89551 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
89552 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
89553 if test `eval echo '${'$as_ac_var'}'` = yes; then
89554   cat >>confdefs.h <<_ACEOF
89555 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
89556 _ACEOF
89557
89558 fi
89559 done
89560
89561     fi
89562   fi
89563
89564
89565
89566
89567
89568
89569   echo "$as_me:$LINENO: checking for expl declaration" >&5
89570 echo $ECHO_N "checking for expl declaration... $ECHO_C" >&6
89571   if test x${glibcxx_cv_func_expl_use+set} != xset; then
89572     if test "${glibcxx_cv_func_expl_use+set}" = set; then
89573   echo $ECHO_N "(cached) $ECHO_C" >&6
89574 else
89575
89576
89577
89578       ac_ext=cc
89579 ac_cpp='$CXXCPP $CPPFLAGS'
89580 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
89581 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
89582 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
89583
89584       cat >conftest.$ac_ext <<_ACEOF
89585 /* confdefs.h.  */
89586 _ACEOF
89587 cat confdefs.h >>conftest.$ac_ext
89588 cat >>conftest.$ac_ext <<_ACEOF
89589 /* end confdefs.h.  */
89590 #include <math.h>
89591                       #ifdef HAVE_IEEEFP_H
89592                       #include <ieeefp.h>
89593                       #endif
89594
89595 int
89596 main ()
89597 {
89598  expl(0);
89599   ;
89600   return 0;
89601 }
89602 _ACEOF
89603 rm -f conftest.$ac_objext
89604 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
89605   (eval $ac_compile) 2>conftest.er1
89606   ac_status=$?
89607   grep -v '^ *+' conftest.er1 >conftest.err
89608   rm -f conftest.er1
89609   cat conftest.err >&5
89610   echo "$as_me:$LINENO: \$? = $ac_status" >&5
89611   (exit $ac_status); } &&
89612          { ac_try='test -z "$ac_cxx_werror_flag"
89613                          || test ! -s conftest.err'
89614   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
89615   (eval $ac_try) 2>&5
89616   ac_status=$?
89617   echo "$as_me:$LINENO: \$? = $ac_status" >&5
89618   (exit $ac_status); }; } &&
89619          { ac_try='test -s conftest.$ac_objext'
89620   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
89621   (eval $ac_try) 2>&5
89622   ac_status=$?
89623   echo "$as_me:$LINENO: \$? = $ac_status" >&5
89624   (exit $ac_status); }; }; then
89625   glibcxx_cv_func_expl_use=yes
89626 else
89627   echo "$as_me: failed program was:" >&5
89628 sed 's/^/| /' conftest.$ac_ext >&5
89629
89630 glibcxx_cv_func_expl_use=no
89631 fi
89632 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
89633       ac_ext=c
89634 ac_cpp='$CPP $CPPFLAGS'
89635 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
89636 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
89637 ac_compiler_gnu=$ac_cv_c_compiler_gnu
89638
89639
89640 fi
89641
89642   fi
89643   echo "$as_me:$LINENO: result: $glibcxx_cv_func_expl_use" >&5
89644 echo "${ECHO_T}$glibcxx_cv_func_expl_use" >&6
89645
89646   if test x$glibcxx_cv_func_expl_use = x"yes"; then
89647
89648 for ac_func in expl
89649 do
89650 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
89651 echo "$as_me:$LINENO: checking for $ac_func" >&5
89652 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
89653 if eval "test \"\${$as_ac_var+set}\" = set"; then
89654   echo $ECHO_N "(cached) $ECHO_C" >&6
89655 else
89656   if test x$gcc_no_link = xyes; then
89657   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
89658 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
89659    { (exit 1); exit 1; }; }
89660 fi
89661 cat >conftest.$ac_ext <<_ACEOF
89662 /* confdefs.h.  */
89663 _ACEOF
89664 cat confdefs.h >>conftest.$ac_ext
89665 cat >>conftest.$ac_ext <<_ACEOF
89666 /* end confdefs.h.  */
89667 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
89668    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
89669 #define $ac_func innocuous_$ac_func
89670
89671 /* System header to define __stub macros and hopefully few prototypes,
89672     which can conflict with char $ac_func (); below.
89673     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
89674     <limits.h> exists even on freestanding compilers.  */
89675
89676 #ifdef __STDC__
89677 # include <limits.h>
89678 #else
89679 # include <assert.h>
89680 #endif
89681
89682 #undef $ac_func
89683
89684 /* Override any gcc2 internal prototype to avoid an error.  */
89685 #ifdef __cplusplus
89686 extern "C"
89687 {
89688 #endif
89689 /* We use char because int might match the return type of a gcc2
89690    builtin and then its argument prototype would still apply.  */
89691 char $ac_func ();
89692 /* The GNU C library defines this for functions which it implements
89693     to always fail with ENOSYS.  Some functions are actually named
89694     something starting with __ and the normal name is an alias.  */
89695 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
89696 choke me
89697 #else
89698 char (*f) () = $ac_func;
89699 #endif
89700 #ifdef __cplusplus
89701 }
89702 #endif
89703
89704 int
89705 main ()
89706 {
89707 return f != $ac_func;
89708   ;
89709   return 0;
89710 }
89711 _ACEOF
89712 rm -f conftest.$ac_objext conftest$ac_exeext
89713 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
89714   (eval $ac_link) 2>conftest.er1
89715   ac_status=$?
89716   grep -v '^ *+' conftest.er1 >conftest.err
89717   rm -f conftest.er1
89718   cat conftest.err >&5
89719   echo "$as_me:$LINENO: \$? = $ac_status" >&5
89720   (exit $ac_status); } &&
89721          { ac_try='test -z "$ac_c_werror_flag"
89722                          || test ! -s conftest.err'
89723   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
89724   (eval $ac_try) 2>&5
89725   ac_status=$?
89726   echo "$as_me:$LINENO: \$? = $ac_status" >&5
89727   (exit $ac_status); }; } &&
89728          { ac_try='test -s conftest$ac_exeext'
89729   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
89730   (eval $ac_try) 2>&5
89731   ac_status=$?
89732   echo "$as_me:$LINENO: \$? = $ac_status" >&5
89733   (exit $ac_status); }; }; then
89734   eval "$as_ac_var=yes"
89735 else
89736   echo "$as_me: failed program was:" >&5
89737 sed 's/^/| /' conftest.$ac_ext >&5
89738
89739 eval "$as_ac_var=no"
89740 fi
89741 rm -f conftest.err conftest.$ac_objext \
89742       conftest$ac_exeext conftest.$ac_ext
89743 fi
89744 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
89745 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
89746 if test `eval echo '${'$as_ac_var'}'` = yes; then
89747   cat >>confdefs.h <<_ACEOF
89748 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
89749 _ACEOF
89750
89751 fi
89752 done
89753
89754   else
89755
89756   echo "$as_me:$LINENO: checking for _expl declaration" >&5
89757 echo $ECHO_N "checking for _expl declaration... $ECHO_C" >&6
89758   if test x${glibcxx_cv_func__expl_use+set} != xset; then
89759     if test "${glibcxx_cv_func__expl_use+set}" = set; then
89760   echo $ECHO_N "(cached) $ECHO_C" >&6
89761 else
89762
89763
89764
89765       ac_ext=cc
89766 ac_cpp='$CXXCPP $CPPFLAGS'
89767 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
89768 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
89769 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
89770
89771       cat >conftest.$ac_ext <<_ACEOF
89772 /* confdefs.h.  */
89773 _ACEOF
89774 cat confdefs.h >>conftest.$ac_ext
89775 cat >>conftest.$ac_ext <<_ACEOF
89776 /* end confdefs.h.  */
89777 #include <math.h>
89778                       #ifdef HAVE_IEEEFP_H
89779                       #include <ieeefp.h>
89780                       #endif
89781
89782 int
89783 main ()
89784 {
89785  _expl(0);
89786   ;
89787   return 0;
89788 }
89789 _ACEOF
89790 rm -f conftest.$ac_objext
89791 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
89792   (eval $ac_compile) 2>conftest.er1
89793   ac_status=$?
89794   grep -v '^ *+' conftest.er1 >conftest.err
89795   rm -f conftest.er1
89796   cat conftest.err >&5
89797   echo "$as_me:$LINENO: \$? = $ac_status" >&5
89798   (exit $ac_status); } &&
89799          { ac_try='test -z "$ac_cxx_werror_flag"
89800                          || test ! -s conftest.err'
89801   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
89802   (eval $ac_try) 2>&5
89803   ac_status=$?
89804   echo "$as_me:$LINENO: \$? = $ac_status" >&5
89805   (exit $ac_status); }; } &&
89806          { ac_try='test -s conftest.$ac_objext'
89807   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
89808   (eval $ac_try) 2>&5
89809   ac_status=$?
89810   echo "$as_me:$LINENO: \$? = $ac_status" >&5
89811   (exit $ac_status); }; }; then
89812   glibcxx_cv_func__expl_use=yes
89813 else
89814   echo "$as_me: failed program was:" >&5
89815 sed 's/^/| /' conftest.$ac_ext >&5
89816
89817 glibcxx_cv_func__expl_use=no
89818 fi
89819 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
89820       ac_ext=c
89821 ac_cpp='$CPP $CPPFLAGS'
89822 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
89823 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
89824 ac_compiler_gnu=$ac_cv_c_compiler_gnu
89825
89826
89827 fi
89828
89829   fi
89830   echo "$as_me:$LINENO: result: $glibcxx_cv_func__expl_use" >&5
89831 echo "${ECHO_T}$glibcxx_cv_func__expl_use" >&6
89832
89833     if test x$glibcxx_cv_func__expl_use = x"yes"; then
89834
89835 for ac_func in _expl
89836 do
89837 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
89838 echo "$as_me:$LINENO: checking for $ac_func" >&5
89839 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
89840 if eval "test \"\${$as_ac_var+set}\" = set"; then
89841   echo $ECHO_N "(cached) $ECHO_C" >&6
89842 else
89843   if test x$gcc_no_link = xyes; then
89844   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
89845 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
89846    { (exit 1); exit 1; }; }
89847 fi
89848 cat >conftest.$ac_ext <<_ACEOF
89849 /* confdefs.h.  */
89850 _ACEOF
89851 cat confdefs.h >>conftest.$ac_ext
89852 cat >>conftest.$ac_ext <<_ACEOF
89853 /* end confdefs.h.  */
89854 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
89855    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
89856 #define $ac_func innocuous_$ac_func
89857
89858 /* System header to define __stub macros and hopefully few prototypes,
89859     which can conflict with char $ac_func (); below.
89860     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
89861     <limits.h> exists even on freestanding compilers.  */
89862
89863 #ifdef __STDC__
89864 # include <limits.h>
89865 #else
89866 # include <assert.h>
89867 #endif
89868
89869 #undef $ac_func
89870
89871 /* Override any gcc2 internal prototype to avoid an error.  */
89872 #ifdef __cplusplus
89873 extern "C"
89874 {
89875 #endif
89876 /* We use char because int might match the return type of a gcc2
89877    builtin and then its argument prototype would still apply.  */
89878 char $ac_func ();
89879 /* The GNU C library defines this for functions which it implements
89880     to always fail with ENOSYS.  Some functions are actually named
89881     something starting with __ and the normal name is an alias.  */
89882 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
89883 choke me
89884 #else
89885 char (*f) () = $ac_func;
89886 #endif
89887 #ifdef __cplusplus
89888 }
89889 #endif
89890
89891 int
89892 main ()
89893 {
89894 return f != $ac_func;
89895   ;
89896   return 0;
89897 }
89898 _ACEOF
89899 rm -f conftest.$ac_objext conftest$ac_exeext
89900 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
89901   (eval $ac_link) 2>conftest.er1
89902   ac_status=$?
89903   grep -v '^ *+' conftest.er1 >conftest.err
89904   rm -f conftest.er1
89905   cat conftest.err >&5
89906   echo "$as_me:$LINENO: \$? = $ac_status" >&5
89907   (exit $ac_status); } &&
89908          { ac_try='test -z "$ac_c_werror_flag"
89909                          || test ! -s conftest.err'
89910   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
89911   (eval $ac_try) 2>&5
89912   ac_status=$?
89913   echo "$as_me:$LINENO: \$? = $ac_status" >&5
89914   (exit $ac_status); }; } &&
89915          { ac_try='test -s conftest$ac_exeext'
89916   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
89917   (eval $ac_try) 2>&5
89918   ac_status=$?
89919   echo "$as_me:$LINENO: \$? = $ac_status" >&5
89920   (exit $ac_status); }; }; then
89921   eval "$as_ac_var=yes"
89922 else
89923   echo "$as_me: failed program was:" >&5
89924 sed 's/^/| /' conftest.$ac_ext >&5
89925
89926 eval "$as_ac_var=no"
89927 fi
89928 rm -f conftest.err conftest.$ac_objext \
89929       conftest$ac_exeext conftest.$ac_ext
89930 fi
89931 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
89932 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
89933 if test `eval echo '${'$as_ac_var'}'` = yes; then
89934   cat >>confdefs.h <<_ACEOF
89935 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
89936 _ACEOF
89937
89938 fi
89939 done
89940
89941     fi
89942   fi
89943
89944
89945
89946
89947
89948
89949   echo "$as_me:$LINENO: checking for fabsl declaration" >&5
89950 echo $ECHO_N "checking for fabsl declaration... $ECHO_C" >&6
89951   if test x${glibcxx_cv_func_fabsl_use+set} != xset; then
89952     if test "${glibcxx_cv_func_fabsl_use+set}" = set; then
89953   echo $ECHO_N "(cached) $ECHO_C" >&6
89954 else
89955
89956
89957
89958       ac_ext=cc
89959 ac_cpp='$CXXCPP $CPPFLAGS'
89960 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
89961 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
89962 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
89963
89964       cat >conftest.$ac_ext <<_ACEOF
89965 /* confdefs.h.  */
89966 _ACEOF
89967 cat confdefs.h >>conftest.$ac_ext
89968 cat >>conftest.$ac_ext <<_ACEOF
89969 /* end confdefs.h.  */
89970 #include <math.h>
89971                       #ifdef HAVE_IEEEFP_H
89972                       #include <ieeefp.h>
89973                       #endif
89974
89975 int
89976 main ()
89977 {
89978  fabsl(0);
89979   ;
89980   return 0;
89981 }
89982 _ACEOF
89983 rm -f conftest.$ac_objext
89984 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
89985   (eval $ac_compile) 2>conftest.er1
89986   ac_status=$?
89987   grep -v '^ *+' conftest.er1 >conftest.err
89988   rm -f conftest.er1
89989   cat conftest.err >&5
89990   echo "$as_me:$LINENO: \$? = $ac_status" >&5
89991   (exit $ac_status); } &&
89992          { ac_try='test -z "$ac_cxx_werror_flag"
89993                          || test ! -s conftest.err'
89994   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
89995   (eval $ac_try) 2>&5
89996   ac_status=$?
89997   echo "$as_me:$LINENO: \$? = $ac_status" >&5
89998   (exit $ac_status); }; } &&
89999          { ac_try='test -s conftest.$ac_objext'
90000   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
90001   (eval $ac_try) 2>&5
90002   ac_status=$?
90003   echo "$as_me:$LINENO: \$? = $ac_status" >&5
90004   (exit $ac_status); }; }; then
90005   glibcxx_cv_func_fabsl_use=yes
90006 else
90007   echo "$as_me: failed program was:" >&5
90008 sed 's/^/| /' conftest.$ac_ext >&5
90009
90010 glibcxx_cv_func_fabsl_use=no
90011 fi
90012 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
90013       ac_ext=c
90014 ac_cpp='$CPP $CPPFLAGS'
90015 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
90016 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
90017 ac_compiler_gnu=$ac_cv_c_compiler_gnu
90018
90019
90020 fi
90021
90022   fi
90023   echo "$as_me:$LINENO: result: $glibcxx_cv_func_fabsl_use" >&5
90024 echo "${ECHO_T}$glibcxx_cv_func_fabsl_use" >&6
90025
90026   if test x$glibcxx_cv_func_fabsl_use = x"yes"; then
90027
90028 for ac_func in fabsl
90029 do
90030 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
90031 echo "$as_me:$LINENO: checking for $ac_func" >&5
90032 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
90033 if eval "test \"\${$as_ac_var+set}\" = set"; then
90034   echo $ECHO_N "(cached) $ECHO_C" >&6
90035 else
90036   if test x$gcc_no_link = xyes; then
90037   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
90038 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
90039    { (exit 1); exit 1; }; }
90040 fi
90041 cat >conftest.$ac_ext <<_ACEOF
90042 /* confdefs.h.  */
90043 _ACEOF
90044 cat confdefs.h >>conftest.$ac_ext
90045 cat >>conftest.$ac_ext <<_ACEOF
90046 /* end confdefs.h.  */
90047 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
90048    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
90049 #define $ac_func innocuous_$ac_func
90050
90051 /* System header to define __stub macros and hopefully few prototypes,
90052     which can conflict with char $ac_func (); below.
90053     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
90054     <limits.h> exists even on freestanding compilers.  */
90055
90056 #ifdef __STDC__
90057 # include <limits.h>
90058 #else
90059 # include <assert.h>
90060 #endif
90061
90062 #undef $ac_func
90063
90064 /* Override any gcc2 internal prototype to avoid an error.  */
90065 #ifdef __cplusplus
90066 extern "C"
90067 {
90068 #endif
90069 /* We use char because int might match the return type of a gcc2
90070    builtin and then its argument prototype would still apply.  */
90071 char $ac_func ();
90072 /* The GNU C library defines this for functions which it implements
90073     to always fail with ENOSYS.  Some functions are actually named
90074     something starting with __ and the normal name is an alias.  */
90075 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
90076 choke me
90077 #else
90078 char (*f) () = $ac_func;
90079 #endif
90080 #ifdef __cplusplus
90081 }
90082 #endif
90083
90084 int
90085 main ()
90086 {
90087 return f != $ac_func;
90088   ;
90089   return 0;
90090 }
90091 _ACEOF
90092 rm -f conftest.$ac_objext conftest$ac_exeext
90093 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
90094   (eval $ac_link) 2>conftest.er1
90095   ac_status=$?
90096   grep -v '^ *+' conftest.er1 >conftest.err
90097   rm -f conftest.er1
90098   cat conftest.err >&5
90099   echo "$as_me:$LINENO: \$? = $ac_status" >&5
90100   (exit $ac_status); } &&
90101          { ac_try='test -z "$ac_c_werror_flag"
90102                          || test ! -s conftest.err'
90103   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
90104   (eval $ac_try) 2>&5
90105   ac_status=$?
90106   echo "$as_me:$LINENO: \$? = $ac_status" >&5
90107   (exit $ac_status); }; } &&
90108          { ac_try='test -s conftest$ac_exeext'
90109   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
90110   (eval $ac_try) 2>&5
90111   ac_status=$?
90112   echo "$as_me:$LINENO: \$? = $ac_status" >&5
90113   (exit $ac_status); }; }; then
90114   eval "$as_ac_var=yes"
90115 else
90116   echo "$as_me: failed program was:" >&5
90117 sed 's/^/| /' conftest.$ac_ext >&5
90118
90119 eval "$as_ac_var=no"
90120 fi
90121 rm -f conftest.err conftest.$ac_objext \
90122       conftest$ac_exeext conftest.$ac_ext
90123 fi
90124 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
90125 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
90126 if test `eval echo '${'$as_ac_var'}'` = yes; then
90127   cat >>confdefs.h <<_ACEOF
90128 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
90129 _ACEOF
90130
90131 fi
90132 done
90133
90134   else
90135
90136   echo "$as_me:$LINENO: checking for _fabsl declaration" >&5
90137 echo $ECHO_N "checking for _fabsl declaration... $ECHO_C" >&6
90138   if test x${glibcxx_cv_func__fabsl_use+set} != xset; then
90139     if test "${glibcxx_cv_func__fabsl_use+set}" = set; then
90140   echo $ECHO_N "(cached) $ECHO_C" >&6
90141 else
90142
90143
90144
90145       ac_ext=cc
90146 ac_cpp='$CXXCPP $CPPFLAGS'
90147 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
90148 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
90149 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
90150
90151       cat >conftest.$ac_ext <<_ACEOF
90152 /* confdefs.h.  */
90153 _ACEOF
90154 cat confdefs.h >>conftest.$ac_ext
90155 cat >>conftest.$ac_ext <<_ACEOF
90156 /* end confdefs.h.  */
90157 #include <math.h>
90158                       #ifdef HAVE_IEEEFP_H
90159                       #include <ieeefp.h>
90160                       #endif
90161
90162 int
90163 main ()
90164 {
90165  _fabsl(0);
90166   ;
90167   return 0;
90168 }
90169 _ACEOF
90170 rm -f conftest.$ac_objext
90171 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
90172   (eval $ac_compile) 2>conftest.er1
90173   ac_status=$?
90174   grep -v '^ *+' conftest.er1 >conftest.err
90175   rm -f conftest.er1
90176   cat conftest.err >&5
90177   echo "$as_me:$LINENO: \$? = $ac_status" >&5
90178   (exit $ac_status); } &&
90179          { ac_try='test -z "$ac_cxx_werror_flag"
90180                          || test ! -s conftest.err'
90181   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
90182   (eval $ac_try) 2>&5
90183   ac_status=$?
90184   echo "$as_me:$LINENO: \$? = $ac_status" >&5
90185   (exit $ac_status); }; } &&
90186          { ac_try='test -s conftest.$ac_objext'
90187   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
90188   (eval $ac_try) 2>&5
90189   ac_status=$?
90190   echo "$as_me:$LINENO: \$? = $ac_status" >&5
90191   (exit $ac_status); }; }; then
90192   glibcxx_cv_func__fabsl_use=yes
90193 else
90194   echo "$as_me: failed program was:" >&5
90195 sed 's/^/| /' conftest.$ac_ext >&5
90196
90197 glibcxx_cv_func__fabsl_use=no
90198 fi
90199 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
90200       ac_ext=c
90201 ac_cpp='$CPP $CPPFLAGS'
90202 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
90203 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
90204 ac_compiler_gnu=$ac_cv_c_compiler_gnu
90205
90206
90207 fi
90208
90209   fi
90210   echo "$as_me:$LINENO: result: $glibcxx_cv_func__fabsl_use" >&5
90211 echo "${ECHO_T}$glibcxx_cv_func__fabsl_use" >&6
90212
90213     if test x$glibcxx_cv_func__fabsl_use = x"yes"; then
90214
90215 for ac_func in _fabsl
90216 do
90217 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
90218 echo "$as_me:$LINENO: checking for $ac_func" >&5
90219 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
90220 if eval "test \"\${$as_ac_var+set}\" = set"; then
90221   echo $ECHO_N "(cached) $ECHO_C" >&6
90222 else
90223   if test x$gcc_no_link = xyes; then
90224   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
90225 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
90226    { (exit 1); exit 1; }; }
90227 fi
90228 cat >conftest.$ac_ext <<_ACEOF
90229 /* confdefs.h.  */
90230 _ACEOF
90231 cat confdefs.h >>conftest.$ac_ext
90232 cat >>conftest.$ac_ext <<_ACEOF
90233 /* end confdefs.h.  */
90234 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
90235    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
90236 #define $ac_func innocuous_$ac_func
90237
90238 /* System header to define __stub macros and hopefully few prototypes,
90239     which can conflict with char $ac_func (); below.
90240     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
90241     <limits.h> exists even on freestanding compilers.  */
90242
90243 #ifdef __STDC__
90244 # include <limits.h>
90245 #else
90246 # include <assert.h>
90247 #endif
90248
90249 #undef $ac_func
90250
90251 /* Override any gcc2 internal prototype to avoid an error.  */
90252 #ifdef __cplusplus
90253 extern "C"
90254 {
90255 #endif
90256 /* We use char because int might match the return type of a gcc2
90257    builtin and then its argument prototype would still apply.  */
90258 char $ac_func ();
90259 /* The GNU C library defines this for functions which it implements
90260     to always fail with ENOSYS.  Some functions are actually named
90261     something starting with __ and the normal name is an alias.  */
90262 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
90263 choke me
90264 #else
90265 char (*f) () = $ac_func;
90266 #endif
90267 #ifdef __cplusplus
90268 }
90269 #endif
90270
90271 int
90272 main ()
90273 {
90274 return f != $ac_func;
90275   ;
90276   return 0;
90277 }
90278 _ACEOF
90279 rm -f conftest.$ac_objext conftest$ac_exeext
90280 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
90281   (eval $ac_link) 2>conftest.er1
90282   ac_status=$?
90283   grep -v '^ *+' conftest.er1 >conftest.err
90284   rm -f conftest.er1
90285   cat conftest.err >&5
90286   echo "$as_me:$LINENO: \$? = $ac_status" >&5
90287   (exit $ac_status); } &&
90288          { ac_try='test -z "$ac_c_werror_flag"
90289                          || test ! -s conftest.err'
90290   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
90291   (eval $ac_try) 2>&5
90292   ac_status=$?
90293   echo "$as_me:$LINENO: \$? = $ac_status" >&5
90294   (exit $ac_status); }; } &&
90295          { ac_try='test -s conftest$ac_exeext'
90296   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
90297   (eval $ac_try) 2>&5
90298   ac_status=$?
90299   echo "$as_me:$LINENO: \$? = $ac_status" >&5
90300   (exit $ac_status); }; }; then
90301   eval "$as_ac_var=yes"
90302 else
90303   echo "$as_me: failed program was:" >&5
90304 sed 's/^/| /' conftest.$ac_ext >&5
90305
90306 eval "$as_ac_var=no"
90307 fi
90308 rm -f conftest.err conftest.$ac_objext \
90309       conftest$ac_exeext conftest.$ac_ext
90310 fi
90311 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
90312 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
90313 if test `eval echo '${'$as_ac_var'}'` = yes; then
90314   cat >>confdefs.h <<_ACEOF
90315 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
90316 _ACEOF
90317
90318 fi
90319 done
90320
90321     fi
90322   fi
90323
90324
90325
90326
90327
90328
90329   echo "$as_me:$LINENO: checking for fmodl declaration" >&5
90330 echo $ECHO_N "checking for fmodl declaration... $ECHO_C" >&6
90331   if test x${glibcxx_cv_func_fmodl_use+set} != xset; then
90332     if test "${glibcxx_cv_func_fmodl_use+set}" = set; then
90333   echo $ECHO_N "(cached) $ECHO_C" >&6
90334 else
90335
90336
90337
90338       ac_ext=cc
90339 ac_cpp='$CXXCPP $CPPFLAGS'
90340 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
90341 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
90342 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
90343
90344       cat >conftest.$ac_ext <<_ACEOF
90345 /* confdefs.h.  */
90346 _ACEOF
90347 cat confdefs.h >>conftest.$ac_ext
90348 cat >>conftest.$ac_ext <<_ACEOF
90349 /* end confdefs.h.  */
90350 #include <math.h>
90351 int
90352 main ()
90353 {
90354  fmodl(0, 0);
90355   ;
90356   return 0;
90357 }
90358 _ACEOF
90359 rm -f conftest.$ac_objext
90360 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
90361   (eval $ac_compile) 2>conftest.er1
90362   ac_status=$?
90363   grep -v '^ *+' conftest.er1 >conftest.err
90364   rm -f conftest.er1
90365   cat conftest.err >&5
90366   echo "$as_me:$LINENO: \$? = $ac_status" >&5
90367   (exit $ac_status); } &&
90368          { ac_try='test -z "$ac_cxx_werror_flag"
90369                          || test ! -s conftest.err'
90370   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
90371   (eval $ac_try) 2>&5
90372   ac_status=$?
90373   echo "$as_me:$LINENO: \$? = $ac_status" >&5
90374   (exit $ac_status); }; } &&
90375          { ac_try='test -s conftest.$ac_objext'
90376   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
90377   (eval $ac_try) 2>&5
90378   ac_status=$?
90379   echo "$as_me:$LINENO: \$? = $ac_status" >&5
90380   (exit $ac_status); }; }; then
90381   glibcxx_cv_func_fmodl_use=yes
90382 else
90383   echo "$as_me: failed program was:" >&5
90384 sed 's/^/| /' conftest.$ac_ext >&5
90385
90386 glibcxx_cv_func_fmodl_use=no
90387 fi
90388 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
90389       ac_ext=c
90390 ac_cpp='$CPP $CPPFLAGS'
90391 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
90392 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
90393 ac_compiler_gnu=$ac_cv_c_compiler_gnu
90394
90395
90396 fi
90397
90398   fi
90399   echo "$as_me:$LINENO: result: $glibcxx_cv_func_fmodl_use" >&5
90400 echo "${ECHO_T}$glibcxx_cv_func_fmodl_use" >&6
90401
90402   if test x$glibcxx_cv_func_fmodl_use = x"yes"; then
90403
90404 for ac_func in fmodl
90405 do
90406 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
90407 echo "$as_me:$LINENO: checking for $ac_func" >&5
90408 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
90409 if eval "test \"\${$as_ac_var+set}\" = set"; then
90410   echo $ECHO_N "(cached) $ECHO_C" >&6
90411 else
90412   if test x$gcc_no_link = xyes; then
90413   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
90414 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
90415    { (exit 1); exit 1; }; }
90416 fi
90417 cat >conftest.$ac_ext <<_ACEOF
90418 /* confdefs.h.  */
90419 _ACEOF
90420 cat confdefs.h >>conftest.$ac_ext
90421 cat >>conftest.$ac_ext <<_ACEOF
90422 /* end confdefs.h.  */
90423 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
90424    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
90425 #define $ac_func innocuous_$ac_func
90426
90427 /* System header to define __stub macros and hopefully few prototypes,
90428     which can conflict with char $ac_func (); below.
90429     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
90430     <limits.h> exists even on freestanding compilers.  */
90431
90432 #ifdef __STDC__
90433 # include <limits.h>
90434 #else
90435 # include <assert.h>
90436 #endif
90437
90438 #undef $ac_func
90439
90440 /* Override any gcc2 internal prototype to avoid an error.  */
90441 #ifdef __cplusplus
90442 extern "C"
90443 {
90444 #endif
90445 /* We use char because int might match the return type of a gcc2
90446    builtin and then its argument prototype would still apply.  */
90447 char $ac_func ();
90448 /* The GNU C library defines this for functions which it implements
90449     to always fail with ENOSYS.  Some functions are actually named
90450     something starting with __ and the normal name is an alias.  */
90451 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
90452 choke me
90453 #else
90454 char (*f) () = $ac_func;
90455 #endif
90456 #ifdef __cplusplus
90457 }
90458 #endif
90459
90460 int
90461 main ()
90462 {
90463 return f != $ac_func;
90464   ;
90465   return 0;
90466 }
90467 _ACEOF
90468 rm -f conftest.$ac_objext conftest$ac_exeext
90469 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
90470   (eval $ac_link) 2>conftest.er1
90471   ac_status=$?
90472   grep -v '^ *+' conftest.er1 >conftest.err
90473   rm -f conftest.er1
90474   cat conftest.err >&5
90475   echo "$as_me:$LINENO: \$? = $ac_status" >&5
90476   (exit $ac_status); } &&
90477          { ac_try='test -z "$ac_c_werror_flag"
90478                          || test ! -s conftest.err'
90479   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
90480   (eval $ac_try) 2>&5
90481   ac_status=$?
90482   echo "$as_me:$LINENO: \$? = $ac_status" >&5
90483   (exit $ac_status); }; } &&
90484          { ac_try='test -s conftest$ac_exeext'
90485   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
90486   (eval $ac_try) 2>&5
90487   ac_status=$?
90488   echo "$as_me:$LINENO: \$? = $ac_status" >&5
90489   (exit $ac_status); }; }; then
90490   eval "$as_ac_var=yes"
90491 else
90492   echo "$as_me: failed program was:" >&5
90493 sed 's/^/| /' conftest.$ac_ext >&5
90494
90495 eval "$as_ac_var=no"
90496 fi
90497 rm -f conftest.err conftest.$ac_objext \
90498       conftest$ac_exeext conftest.$ac_ext
90499 fi
90500 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
90501 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
90502 if test `eval echo '${'$as_ac_var'}'` = yes; then
90503   cat >>confdefs.h <<_ACEOF
90504 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
90505 _ACEOF
90506
90507 fi
90508 done
90509
90510   else
90511
90512   echo "$as_me:$LINENO: checking for _fmodl declaration" >&5
90513 echo $ECHO_N "checking for _fmodl declaration... $ECHO_C" >&6
90514   if test x${glibcxx_cv_func__fmodl_use+set} != xset; then
90515     if test "${glibcxx_cv_func__fmodl_use+set}" = set; then
90516   echo $ECHO_N "(cached) $ECHO_C" >&6
90517 else
90518
90519
90520
90521       ac_ext=cc
90522 ac_cpp='$CXXCPP $CPPFLAGS'
90523 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
90524 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
90525 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
90526
90527       cat >conftest.$ac_ext <<_ACEOF
90528 /* confdefs.h.  */
90529 _ACEOF
90530 cat confdefs.h >>conftest.$ac_ext
90531 cat >>conftest.$ac_ext <<_ACEOF
90532 /* end confdefs.h.  */
90533 #include <math.h>
90534 int
90535 main ()
90536 {
90537  _fmodl(0, 0);
90538   ;
90539   return 0;
90540 }
90541 _ACEOF
90542 rm -f conftest.$ac_objext
90543 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
90544   (eval $ac_compile) 2>conftest.er1
90545   ac_status=$?
90546   grep -v '^ *+' conftest.er1 >conftest.err
90547   rm -f conftest.er1
90548   cat conftest.err >&5
90549   echo "$as_me:$LINENO: \$? = $ac_status" >&5
90550   (exit $ac_status); } &&
90551          { ac_try='test -z "$ac_cxx_werror_flag"
90552                          || test ! -s conftest.err'
90553   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
90554   (eval $ac_try) 2>&5
90555   ac_status=$?
90556   echo "$as_me:$LINENO: \$? = $ac_status" >&5
90557   (exit $ac_status); }; } &&
90558          { ac_try='test -s conftest.$ac_objext'
90559   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
90560   (eval $ac_try) 2>&5
90561   ac_status=$?
90562   echo "$as_me:$LINENO: \$? = $ac_status" >&5
90563   (exit $ac_status); }; }; then
90564   glibcxx_cv_func__fmodl_use=yes
90565 else
90566   echo "$as_me: failed program was:" >&5
90567 sed 's/^/| /' conftest.$ac_ext >&5
90568
90569 glibcxx_cv_func__fmodl_use=no
90570 fi
90571 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
90572       ac_ext=c
90573 ac_cpp='$CPP $CPPFLAGS'
90574 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
90575 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
90576 ac_compiler_gnu=$ac_cv_c_compiler_gnu
90577
90578
90579 fi
90580
90581   fi
90582   echo "$as_me:$LINENO: result: $glibcxx_cv_func__fmodl_use" >&5
90583 echo "${ECHO_T}$glibcxx_cv_func__fmodl_use" >&6
90584
90585     if test x$glibcxx_cv_func__fmodl_use = x"yes"; then
90586
90587 for ac_func in _fmodl
90588 do
90589 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
90590 echo "$as_me:$LINENO: checking for $ac_func" >&5
90591 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
90592 if eval "test \"\${$as_ac_var+set}\" = set"; then
90593   echo $ECHO_N "(cached) $ECHO_C" >&6
90594 else
90595   if test x$gcc_no_link = xyes; then
90596   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
90597 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
90598    { (exit 1); exit 1; }; }
90599 fi
90600 cat >conftest.$ac_ext <<_ACEOF
90601 /* confdefs.h.  */
90602 _ACEOF
90603 cat confdefs.h >>conftest.$ac_ext
90604 cat >>conftest.$ac_ext <<_ACEOF
90605 /* end confdefs.h.  */
90606 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
90607    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
90608 #define $ac_func innocuous_$ac_func
90609
90610 /* System header to define __stub macros and hopefully few prototypes,
90611     which can conflict with char $ac_func (); below.
90612     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
90613     <limits.h> exists even on freestanding compilers.  */
90614
90615 #ifdef __STDC__
90616 # include <limits.h>
90617 #else
90618 # include <assert.h>
90619 #endif
90620
90621 #undef $ac_func
90622
90623 /* Override any gcc2 internal prototype to avoid an error.  */
90624 #ifdef __cplusplus
90625 extern "C"
90626 {
90627 #endif
90628 /* We use char because int might match the return type of a gcc2
90629    builtin and then its argument prototype would still apply.  */
90630 char $ac_func ();
90631 /* The GNU C library defines this for functions which it implements
90632     to always fail with ENOSYS.  Some functions are actually named
90633     something starting with __ and the normal name is an alias.  */
90634 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
90635 choke me
90636 #else
90637 char (*f) () = $ac_func;
90638 #endif
90639 #ifdef __cplusplus
90640 }
90641 #endif
90642
90643 int
90644 main ()
90645 {
90646 return f != $ac_func;
90647   ;
90648   return 0;
90649 }
90650 _ACEOF
90651 rm -f conftest.$ac_objext conftest$ac_exeext
90652 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
90653   (eval $ac_link) 2>conftest.er1
90654   ac_status=$?
90655   grep -v '^ *+' conftest.er1 >conftest.err
90656   rm -f conftest.er1
90657   cat conftest.err >&5
90658   echo "$as_me:$LINENO: \$? = $ac_status" >&5
90659   (exit $ac_status); } &&
90660          { ac_try='test -z "$ac_c_werror_flag"
90661                          || test ! -s conftest.err'
90662   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
90663   (eval $ac_try) 2>&5
90664   ac_status=$?
90665   echo "$as_me:$LINENO: \$? = $ac_status" >&5
90666   (exit $ac_status); }; } &&
90667          { ac_try='test -s conftest$ac_exeext'
90668   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
90669   (eval $ac_try) 2>&5
90670   ac_status=$?
90671   echo "$as_me:$LINENO: \$? = $ac_status" >&5
90672   (exit $ac_status); }; }; then
90673   eval "$as_ac_var=yes"
90674 else
90675   echo "$as_me: failed program was:" >&5
90676 sed 's/^/| /' conftest.$ac_ext >&5
90677
90678 eval "$as_ac_var=no"
90679 fi
90680 rm -f conftest.err conftest.$ac_objext \
90681       conftest$ac_exeext conftest.$ac_ext
90682 fi
90683 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
90684 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
90685 if test `eval echo '${'$as_ac_var'}'` = yes; then
90686   cat >>confdefs.h <<_ACEOF
90687 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
90688 _ACEOF
90689
90690 fi
90691 done
90692
90693     fi
90694   fi
90695
90696
90697
90698
90699
90700
90701   echo "$as_me:$LINENO: checking for frexpl declaration" >&5
90702 echo $ECHO_N "checking for frexpl declaration... $ECHO_C" >&6
90703   if test x${glibcxx_cv_func_frexpl_use+set} != xset; then
90704     if test "${glibcxx_cv_func_frexpl_use+set}" = set; then
90705   echo $ECHO_N "(cached) $ECHO_C" >&6
90706 else
90707
90708
90709
90710       ac_ext=cc
90711 ac_cpp='$CXXCPP $CPPFLAGS'
90712 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
90713 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
90714 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
90715
90716       cat >conftest.$ac_ext <<_ACEOF
90717 /* confdefs.h.  */
90718 _ACEOF
90719 cat confdefs.h >>conftest.$ac_ext
90720 cat >>conftest.$ac_ext <<_ACEOF
90721 /* end confdefs.h.  */
90722 #include <math.h>
90723 int
90724 main ()
90725 {
90726  frexpl(0, 0);
90727   ;
90728   return 0;
90729 }
90730 _ACEOF
90731 rm -f conftest.$ac_objext
90732 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
90733   (eval $ac_compile) 2>conftest.er1
90734   ac_status=$?
90735   grep -v '^ *+' conftest.er1 >conftest.err
90736   rm -f conftest.er1
90737   cat conftest.err >&5
90738   echo "$as_me:$LINENO: \$? = $ac_status" >&5
90739   (exit $ac_status); } &&
90740          { ac_try='test -z "$ac_cxx_werror_flag"
90741                          || test ! -s conftest.err'
90742   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
90743   (eval $ac_try) 2>&5
90744   ac_status=$?
90745   echo "$as_me:$LINENO: \$? = $ac_status" >&5
90746   (exit $ac_status); }; } &&
90747          { ac_try='test -s conftest.$ac_objext'
90748   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
90749   (eval $ac_try) 2>&5
90750   ac_status=$?
90751   echo "$as_me:$LINENO: \$? = $ac_status" >&5
90752   (exit $ac_status); }; }; then
90753   glibcxx_cv_func_frexpl_use=yes
90754 else
90755   echo "$as_me: failed program was:" >&5
90756 sed 's/^/| /' conftest.$ac_ext >&5
90757
90758 glibcxx_cv_func_frexpl_use=no
90759 fi
90760 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
90761       ac_ext=c
90762 ac_cpp='$CPP $CPPFLAGS'
90763 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
90764 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
90765 ac_compiler_gnu=$ac_cv_c_compiler_gnu
90766
90767
90768 fi
90769
90770   fi
90771   echo "$as_me:$LINENO: result: $glibcxx_cv_func_frexpl_use" >&5
90772 echo "${ECHO_T}$glibcxx_cv_func_frexpl_use" >&6
90773
90774   if test x$glibcxx_cv_func_frexpl_use = x"yes"; then
90775
90776 for ac_func in frexpl
90777 do
90778 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
90779 echo "$as_me:$LINENO: checking for $ac_func" >&5
90780 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
90781 if eval "test \"\${$as_ac_var+set}\" = set"; then
90782   echo $ECHO_N "(cached) $ECHO_C" >&6
90783 else
90784   if test x$gcc_no_link = xyes; then
90785   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
90786 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
90787    { (exit 1); exit 1; }; }
90788 fi
90789 cat >conftest.$ac_ext <<_ACEOF
90790 /* confdefs.h.  */
90791 _ACEOF
90792 cat confdefs.h >>conftest.$ac_ext
90793 cat >>conftest.$ac_ext <<_ACEOF
90794 /* end confdefs.h.  */
90795 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
90796    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
90797 #define $ac_func innocuous_$ac_func
90798
90799 /* System header to define __stub macros and hopefully few prototypes,
90800     which can conflict with char $ac_func (); below.
90801     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
90802     <limits.h> exists even on freestanding compilers.  */
90803
90804 #ifdef __STDC__
90805 # include <limits.h>
90806 #else
90807 # include <assert.h>
90808 #endif
90809
90810 #undef $ac_func
90811
90812 /* Override any gcc2 internal prototype to avoid an error.  */
90813 #ifdef __cplusplus
90814 extern "C"
90815 {
90816 #endif
90817 /* We use char because int might match the return type of a gcc2
90818    builtin and then its argument prototype would still apply.  */
90819 char $ac_func ();
90820 /* The GNU C library defines this for functions which it implements
90821     to always fail with ENOSYS.  Some functions are actually named
90822     something starting with __ and the normal name is an alias.  */
90823 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
90824 choke me
90825 #else
90826 char (*f) () = $ac_func;
90827 #endif
90828 #ifdef __cplusplus
90829 }
90830 #endif
90831
90832 int
90833 main ()
90834 {
90835 return f != $ac_func;
90836   ;
90837   return 0;
90838 }
90839 _ACEOF
90840 rm -f conftest.$ac_objext conftest$ac_exeext
90841 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
90842   (eval $ac_link) 2>conftest.er1
90843   ac_status=$?
90844   grep -v '^ *+' conftest.er1 >conftest.err
90845   rm -f conftest.er1
90846   cat conftest.err >&5
90847   echo "$as_me:$LINENO: \$? = $ac_status" >&5
90848   (exit $ac_status); } &&
90849          { ac_try='test -z "$ac_c_werror_flag"
90850                          || test ! -s conftest.err'
90851   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
90852   (eval $ac_try) 2>&5
90853   ac_status=$?
90854   echo "$as_me:$LINENO: \$? = $ac_status" >&5
90855   (exit $ac_status); }; } &&
90856          { ac_try='test -s conftest$ac_exeext'
90857   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
90858   (eval $ac_try) 2>&5
90859   ac_status=$?
90860   echo "$as_me:$LINENO: \$? = $ac_status" >&5
90861   (exit $ac_status); }; }; then
90862   eval "$as_ac_var=yes"
90863 else
90864   echo "$as_me: failed program was:" >&5
90865 sed 's/^/| /' conftest.$ac_ext >&5
90866
90867 eval "$as_ac_var=no"
90868 fi
90869 rm -f conftest.err conftest.$ac_objext \
90870       conftest$ac_exeext conftest.$ac_ext
90871 fi
90872 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
90873 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
90874 if test `eval echo '${'$as_ac_var'}'` = yes; then
90875   cat >>confdefs.h <<_ACEOF
90876 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
90877 _ACEOF
90878
90879 fi
90880 done
90881
90882   else
90883
90884   echo "$as_me:$LINENO: checking for _frexpl declaration" >&5
90885 echo $ECHO_N "checking for _frexpl declaration... $ECHO_C" >&6
90886   if test x${glibcxx_cv_func__frexpl_use+set} != xset; then
90887     if test "${glibcxx_cv_func__frexpl_use+set}" = set; then
90888   echo $ECHO_N "(cached) $ECHO_C" >&6
90889 else
90890
90891
90892
90893       ac_ext=cc
90894 ac_cpp='$CXXCPP $CPPFLAGS'
90895 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
90896 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
90897 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
90898
90899       cat >conftest.$ac_ext <<_ACEOF
90900 /* confdefs.h.  */
90901 _ACEOF
90902 cat confdefs.h >>conftest.$ac_ext
90903 cat >>conftest.$ac_ext <<_ACEOF
90904 /* end confdefs.h.  */
90905 #include <math.h>
90906 int
90907 main ()
90908 {
90909  _frexpl(0, 0);
90910   ;
90911   return 0;
90912 }
90913 _ACEOF
90914 rm -f conftest.$ac_objext
90915 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
90916   (eval $ac_compile) 2>conftest.er1
90917   ac_status=$?
90918   grep -v '^ *+' conftest.er1 >conftest.err
90919   rm -f conftest.er1
90920   cat conftest.err >&5
90921   echo "$as_me:$LINENO: \$? = $ac_status" >&5
90922   (exit $ac_status); } &&
90923          { ac_try='test -z "$ac_cxx_werror_flag"
90924                          || test ! -s conftest.err'
90925   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
90926   (eval $ac_try) 2>&5
90927   ac_status=$?
90928   echo "$as_me:$LINENO: \$? = $ac_status" >&5
90929   (exit $ac_status); }; } &&
90930          { ac_try='test -s conftest.$ac_objext'
90931   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
90932   (eval $ac_try) 2>&5
90933   ac_status=$?
90934   echo "$as_me:$LINENO: \$? = $ac_status" >&5
90935   (exit $ac_status); }; }; then
90936   glibcxx_cv_func__frexpl_use=yes
90937 else
90938   echo "$as_me: failed program was:" >&5
90939 sed 's/^/| /' conftest.$ac_ext >&5
90940
90941 glibcxx_cv_func__frexpl_use=no
90942 fi
90943 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
90944       ac_ext=c
90945 ac_cpp='$CPP $CPPFLAGS'
90946 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
90947 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
90948 ac_compiler_gnu=$ac_cv_c_compiler_gnu
90949
90950
90951 fi
90952
90953   fi
90954   echo "$as_me:$LINENO: result: $glibcxx_cv_func__frexpl_use" >&5
90955 echo "${ECHO_T}$glibcxx_cv_func__frexpl_use" >&6
90956
90957     if test x$glibcxx_cv_func__frexpl_use = x"yes"; then
90958
90959 for ac_func in _frexpl
90960 do
90961 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
90962 echo "$as_me:$LINENO: checking for $ac_func" >&5
90963 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
90964 if eval "test \"\${$as_ac_var+set}\" = set"; then
90965   echo $ECHO_N "(cached) $ECHO_C" >&6
90966 else
90967   if test x$gcc_no_link = xyes; then
90968   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
90969 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
90970    { (exit 1); exit 1; }; }
90971 fi
90972 cat >conftest.$ac_ext <<_ACEOF
90973 /* confdefs.h.  */
90974 _ACEOF
90975 cat confdefs.h >>conftest.$ac_ext
90976 cat >>conftest.$ac_ext <<_ACEOF
90977 /* end confdefs.h.  */
90978 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
90979    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
90980 #define $ac_func innocuous_$ac_func
90981
90982 /* System header to define __stub macros and hopefully few prototypes,
90983     which can conflict with char $ac_func (); below.
90984     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
90985     <limits.h> exists even on freestanding compilers.  */
90986
90987 #ifdef __STDC__
90988 # include <limits.h>
90989 #else
90990 # include <assert.h>
90991 #endif
90992
90993 #undef $ac_func
90994
90995 /* Override any gcc2 internal prototype to avoid an error.  */
90996 #ifdef __cplusplus
90997 extern "C"
90998 {
90999 #endif
91000 /* We use char because int might match the return type of a gcc2
91001    builtin and then its argument prototype would still apply.  */
91002 char $ac_func ();
91003 /* The GNU C library defines this for functions which it implements
91004     to always fail with ENOSYS.  Some functions are actually named
91005     something starting with __ and the normal name is an alias.  */
91006 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
91007 choke me
91008 #else
91009 char (*f) () = $ac_func;
91010 #endif
91011 #ifdef __cplusplus
91012 }
91013 #endif
91014
91015 int
91016 main ()
91017 {
91018 return f != $ac_func;
91019   ;
91020   return 0;
91021 }
91022 _ACEOF
91023 rm -f conftest.$ac_objext conftest$ac_exeext
91024 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
91025   (eval $ac_link) 2>conftest.er1
91026   ac_status=$?
91027   grep -v '^ *+' conftest.er1 >conftest.err
91028   rm -f conftest.er1
91029   cat conftest.err >&5
91030   echo "$as_me:$LINENO: \$? = $ac_status" >&5
91031   (exit $ac_status); } &&
91032          { ac_try='test -z "$ac_c_werror_flag"
91033                          || test ! -s conftest.err'
91034   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
91035   (eval $ac_try) 2>&5
91036   ac_status=$?
91037   echo "$as_me:$LINENO: \$? = $ac_status" >&5
91038   (exit $ac_status); }; } &&
91039          { ac_try='test -s conftest$ac_exeext'
91040   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
91041   (eval $ac_try) 2>&5
91042   ac_status=$?
91043   echo "$as_me:$LINENO: \$? = $ac_status" >&5
91044   (exit $ac_status); }; }; then
91045   eval "$as_ac_var=yes"
91046 else
91047   echo "$as_me: failed program was:" >&5
91048 sed 's/^/| /' conftest.$ac_ext >&5
91049
91050 eval "$as_ac_var=no"
91051 fi
91052 rm -f conftest.err conftest.$ac_objext \
91053       conftest$ac_exeext conftest.$ac_ext
91054 fi
91055 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
91056 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
91057 if test `eval echo '${'$as_ac_var'}'` = yes; then
91058   cat >>confdefs.h <<_ACEOF
91059 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
91060 _ACEOF
91061
91062 fi
91063 done
91064
91065     fi
91066   fi
91067
91068
91069
91070
91071
91072
91073   echo "$as_me:$LINENO: checking for hypotl declaration" >&5
91074 echo $ECHO_N "checking for hypotl declaration... $ECHO_C" >&6
91075   if test x${glibcxx_cv_func_hypotl_use+set} != xset; then
91076     if test "${glibcxx_cv_func_hypotl_use+set}" = set; then
91077   echo $ECHO_N "(cached) $ECHO_C" >&6
91078 else
91079
91080
91081
91082       ac_ext=cc
91083 ac_cpp='$CXXCPP $CPPFLAGS'
91084 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
91085 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
91086 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
91087
91088       cat >conftest.$ac_ext <<_ACEOF
91089 /* confdefs.h.  */
91090 _ACEOF
91091 cat confdefs.h >>conftest.$ac_ext
91092 cat >>conftest.$ac_ext <<_ACEOF
91093 /* end confdefs.h.  */
91094 #include <math.h>
91095 int
91096 main ()
91097 {
91098  hypotl(0, 0);
91099   ;
91100   return 0;
91101 }
91102 _ACEOF
91103 rm -f conftest.$ac_objext
91104 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
91105   (eval $ac_compile) 2>conftest.er1
91106   ac_status=$?
91107   grep -v '^ *+' conftest.er1 >conftest.err
91108   rm -f conftest.er1
91109   cat conftest.err >&5
91110   echo "$as_me:$LINENO: \$? = $ac_status" >&5
91111   (exit $ac_status); } &&
91112          { ac_try='test -z "$ac_cxx_werror_flag"
91113                          || test ! -s conftest.err'
91114   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
91115   (eval $ac_try) 2>&5
91116   ac_status=$?
91117   echo "$as_me:$LINENO: \$? = $ac_status" >&5
91118   (exit $ac_status); }; } &&
91119          { ac_try='test -s conftest.$ac_objext'
91120   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
91121   (eval $ac_try) 2>&5
91122   ac_status=$?
91123   echo "$as_me:$LINENO: \$? = $ac_status" >&5
91124   (exit $ac_status); }; }; then
91125   glibcxx_cv_func_hypotl_use=yes
91126 else
91127   echo "$as_me: failed program was:" >&5
91128 sed 's/^/| /' conftest.$ac_ext >&5
91129
91130 glibcxx_cv_func_hypotl_use=no
91131 fi
91132 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
91133       ac_ext=c
91134 ac_cpp='$CPP $CPPFLAGS'
91135 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
91136 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
91137 ac_compiler_gnu=$ac_cv_c_compiler_gnu
91138
91139
91140 fi
91141
91142   fi
91143   echo "$as_me:$LINENO: result: $glibcxx_cv_func_hypotl_use" >&5
91144 echo "${ECHO_T}$glibcxx_cv_func_hypotl_use" >&6
91145
91146   if test x$glibcxx_cv_func_hypotl_use = x"yes"; then
91147
91148 for ac_func in hypotl
91149 do
91150 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
91151 echo "$as_me:$LINENO: checking for $ac_func" >&5
91152 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
91153 if eval "test \"\${$as_ac_var+set}\" = set"; then
91154   echo $ECHO_N "(cached) $ECHO_C" >&6
91155 else
91156   if test x$gcc_no_link = xyes; then
91157   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
91158 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
91159    { (exit 1); exit 1; }; }
91160 fi
91161 cat >conftest.$ac_ext <<_ACEOF
91162 /* confdefs.h.  */
91163 _ACEOF
91164 cat confdefs.h >>conftest.$ac_ext
91165 cat >>conftest.$ac_ext <<_ACEOF
91166 /* end confdefs.h.  */
91167 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
91168    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
91169 #define $ac_func innocuous_$ac_func
91170
91171 /* System header to define __stub macros and hopefully few prototypes,
91172     which can conflict with char $ac_func (); below.
91173     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
91174     <limits.h> exists even on freestanding compilers.  */
91175
91176 #ifdef __STDC__
91177 # include <limits.h>
91178 #else
91179 # include <assert.h>
91180 #endif
91181
91182 #undef $ac_func
91183
91184 /* Override any gcc2 internal prototype to avoid an error.  */
91185 #ifdef __cplusplus
91186 extern "C"
91187 {
91188 #endif
91189 /* We use char because int might match the return type of a gcc2
91190    builtin and then its argument prototype would still apply.  */
91191 char $ac_func ();
91192 /* The GNU C library defines this for functions which it implements
91193     to always fail with ENOSYS.  Some functions are actually named
91194     something starting with __ and the normal name is an alias.  */
91195 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
91196 choke me
91197 #else
91198 char (*f) () = $ac_func;
91199 #endif
91200 #ifdef __cplusplus
91201 }
91202 #endif
91203
91204 int
91205 main ()
91206 {
91207 return f != $ac_func;
91208   ;
91209   return 0;
91210 }
91211 _ACEOF
91212 rm -f conftest.$ac_objext conftest$ac_exeext
91213 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
91214   (eval $ac_link) 2>conftest.er1
91215   ac_status=$?
91216   grep -v '^ *+' conftest.er1 >conftest.err
91217   rm -f conftest.er1
91218   cat conftest.err >&5
91219   echo "$as_me:$LINENO: \$? = $ac_status" >&5
91220   (exit $ac_status); } &&
91221          { ac_try='test -z "$ac_c_werror_flag"
91222                          || test ! -s conftest.err'
91223   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
91224   (eval $ac_try) 2>&5
91225   ac_status=$?
91226   echo "$as_me:$LINENO: \$? = $ac_status" >&5
91227   (exit $ac_status); }; } &&
91228          { ac_try='test -s conftest$ac_exeext'
91229   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
91230   (eval $ac_try) 2>&5
91231   ac_status=$?
91232   echo "$as_me:$LINENO: \$? = $ac_status" >&5
91233   (exit $ac_status); }; }; then
91234   eval "$as_ac_var=yes"
91235 else
91236   echo "$as_me: failed program was:" >&5
91237 sed 's/^/| /' conftest.$ac_ext >&5
91238
91239 eval "$as_ac_var=no"
91240 fi
91241 rm -f conftest.err conftest.$ac_objext \
91242       conftest$ac_exeext conftest.$ac_ext
91243 fi
91244 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
91245 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
91246 if test `eval echo '${'$as_ac_var'}'` = yes; then
91247   cat >>confdefs.h <<_ACEOF
91248 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
91249 _ACEOF
91250
91251 fi
91252 done
91253
91254   else
91255
91256   echo "$as_me:$LINENO: checking for _hypotl declaration" >&5
91257 echo $ECHO_N "checking for _hypotl declaration... $ECHO_C" >&6
91258   if test x${glibcxx_cv_func__hypotl_use+set} != xset; then
91259     if test "${glibcxx_cv_func__hypotl_use+set}" = set; then
91260   echo $ECHO_N "(cached) $ECHO_C" >&6
91261 else
91262
91263
91264
91265       ac_ext=cc
91266 ac_cpp='$CXXCPP $CPPFLAGS'
91267 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
91268 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
91269 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
91270
91271       cat >conftest.$ac_ext <<_ACEOF
91272 /* confdefs.h.  */
91273 _ACEOF
91274 cat confdefs.h >>conftest.$ac_ext
91275 cat >>conftest.$ac_ext <<_ACEOF
91276 /* end confdefs.h.  */
91277 #include <math.h>
91278 int
91279 main ()
91280 {
91281  _hypotl(0, 0);
91282   ;
91283   return 0;
91284 }
91285 _ACEOF
91286 rm -f conftest.$ac_objext
91287 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
91288   (eval $ac_compile) 2>conftest.er1
91289   ac_status=$?
91290   grep -v '^ *+' conftest.er1 >conftest.err
91291   rm -f conftest.er1
91292   cat conftest.err >&5
91293   echo "$as_me:$LINENO: \$? = $ac_status" >&5
91294   (exit $ac_status); } &&
91295          { ac_try='test -z "$ac_cxx_werror_flag"
91296                          || test ! -s conftest.err'
91297   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
91298   (eval $ac_try) 2>&5
91299   ac_status=$?
91300   echo "$as_me:$LINENO: \$? = $ac_status" >&5
91301   (exit $ac_status); }; } &&
91302          { ac_try='test -s conftest.$ac_objext'
91303   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
91304   (eval $ac_try) 2>&5
91305   ac_status=$?
91306   echo "$as_me:$LINENO: \$? = $ac_status" >&5
91307   (exit $ac_status); }; }; then
91308   glibcxx_cv_func__hypotl_use=yes
91309 else
91310   echo "$as_me: failed program was:" >&5
91311 sed 's/^/| /' conftest.$ac_ext >&5
91312
91313 glibcxx_cv_func__hypotl_use=no
91314 fi
91315 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
91316       ac_ext=c
91317 ac_cpp='$CPP $CPPFLAGS'
91318 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
91319 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
91320 ac_compiler_gnu=$ac_cv_c_compiler_gnu
91321
91322
91323 fi
91324
91325   fi
91326   echo "$as_me:$LINENO: result: $glibcxx_cv_func__hypotl_use" >&5
91327 echo "${ECHO_T}$glibcxx_cv_func__hypotl_use" >&6
91328
91329     if test x$glibcxx_cv_func__hypotl_use = x"yes"; then
91330
91331 for ac_func in _hypotl
91332 do
91333 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
91334 echo "$as_me:$LINENO: checking for $ac_func" >&5
91335 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
91336 if eval "test \"\${$as_ac_var+set}\" = set"; then
91337   echo $ECHO_N "(cached) $ECHO_C" >&6
91338 else
91339   if test x$gcc_no_link = xyes; then
91340   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
91341 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
91342    { (exit 1); exit 1; }; }
91343 fi
91344 cat >conftest.$ac_ext <<_ACEOF
91345 /* confdefs.h.  */
91346 _ACEOF
91347 cat confdefs.h >>conftest.$ac_ext
91348 cat >>conftest.$ac_ext <<_ACEOF
91349 /* end confdefs.h.  */
91350 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
91351    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
91352 #define $ac_func innocuous_$ac_func
91353
91354 /* System header to define __stub macros and hopefully few prototypes,
91355     which can conflict with char $ac_func (); below.
91356     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
91357     <limits.h> exists even on freestanding compilers.  */
91358
91359 #ifdef __STDC__
91360 # include <limits.h>
91361 #else
91362 # include <assert.h>
91363 #endif
91364
91365 #undef $ac_func
91366
91367 /* Override any gcc2 internal prototype to avoid an error.  */
91368 #ifdef __cplusplus
91369 extern "C"
91370 {
91371 #endif
91372 /* We use char because int might match the return type of a gcc2
91373    builtin and then its argument prototype would still apply.  */
91374 char $ac_func ();
91375 /* The GNU C library defines this for functions which it implements
91376     to always fail with ENOSYS.  Some functions are actually named
91377     something starting with __ and the normal name is an alias.  */
91378 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
91379 choke me
91380 #else
91381 char (*f) () = $ac_func;
91382 #endif
91383 #ifdef __cplusplus
91384 }
91385 #endif
91386
91387 int
91388 main ()
91389 {
91390 return f != $ac_func;
91391   ;
91392   return 0;
91393 }
91394 _ACEOF
91395 rm -f conftest.$ac_objext conftest$ac_exeext
91396 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
91397   (eval $ac_link) 2>conftest.er1
91398   ac_status=$?
91399   grep -v '^ *+' conftest.er1 >conftest.err
91400   rm -f conftest.er1
91401   cat conftest.err >&5
91402   echo "$as_me:$LINENO: \$? = $ac_status" >&5
91403   (exit $ac_status); } &&
91404          { ac_try='test -z "$ac_c_werror_flag"
91405                          || test ! -s conftest.err'
91406   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
91407   (eval $ac_try) 2>&5
91408   ac_status=$?
91409   echo "$as_me:$LINENO: \$? = $ac_status" >&5
91410   (exit $ac_status); }; } &&
91411          { ac_try='test -s conftest$ac_exeext'
91412   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
91413   (eval $ac_try) 2>&5
91414   ac_status=$?
91415   echo "$as_me:$LINENO: \$? = $ac_status" >&5
91416   (exit $ac_status); }; }; then
91417   eval "$as_ac_var=yes"
91418 else
91419   echo "$as_me: failed program was:" >&5
91420 sed 's/^/| /' conftest.$ac_ext >&5
91421
91422 eval "$as_ac_var=no"
91423 fi
91424 rm -f conftest.err conftest.$ac_objext \
91425       conftest$ac_exeext conftest.$ac_ext
91426 fi
91427 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
91428 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
91429 if test `eval echo '${'$as_ac_var'}'` = yes; then
91430   cat >>confdefs.h <<_ACEOF
91431 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
91432 _ACEOF
91433
91434 fi
91435 done
91436
91437     fi
91438   fi
91439
91440
91441
91442
91443
91444
91445   echo "$as_me:$LINENO: checking for ldexpl declaration" >&5
91446 echo $ECHO_N "checking for ldexpl declaration... $ECHO_C" >&6
91447   if test x${glibcxx_cv_func_ldexpl_use+set} != xset; then
91448     if test "${glibcxx_cv_func_ldexpl_use+set}" = set; then
91449   echo $ECHO_N "(cached) $ECHO_C" >&6
91450 else
91451
91452
91453
91454       ac_ext=cc
91455 ac_cpp='$CXXCPP $CPPFLAGS'
91456 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
91457 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
91458 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
91459
91460       cat >conftest.$ac_ext <<_ACEOF
91461 /* confdefs.h.  */
91462 _ACEOF
91463 cat confdefs.h >>conftest.$ac_ext
91464 cat >>conftest.$ac_ext <<_ACEOF
91465 /* end confdefs.h.  */
91466 #include <math.h>
91467 int
91468 main ()
91469 {
91470  ldexpl(0, 0);
91471   ;
91472   return 0;
91473 }
91474 _ACEOF
91475 rm -f conftest.$ac_objext
91476 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
91477   (eval $ac_compile) 2>conftest.er1
91478   ac_status=$?
91479   grep -v '^ *+' conftest.er1 >conftest.err
91480   rm -f conftest.er1
91481   cat conftest.err >&5
91482   echo "$as_me:$LINENO: \$? = $ac_status" >&5
91483   (exit $ac_status); } &&
91484          { ac_try='test -z "$ac_cxx_werror_flag"
91485                          || test ! -s conftest.err'
91486   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
91487   (eval $ac_try) 2>&5
91488   ac_status=$?
91489   echo "$as_me:$LINENO: \$? = $ac_status" >&5
91490   (exit $ac_status); }; } &&
91491          { ac_try='test -s conftest.$ac_objext'
91492   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
91493   (eval $ac_try) 2>&5
91494   ac_status=$?
91495   echo "$as_me:$LINENO: \$? = $ac_status" >&5
91496   (exit $ac_status); }; }; then
91497   glibcxx_cv_func_ldexpl_use=yes
91498 else
91499   echo "$as_me: failed program was:" >&5
91500 sed 's/^/| /' conftest.$ac_ext >&5
91501
91502 glibcxx_cv_func_ldexpl_use=no
91503 fi
91504 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
91505       ac_ext=c
91506 ac_cpp='$CPP $CPPFLAGS'
91507 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
91508 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
91509 ac_compiler_gnu=$ac_cv_c_compiler_gnu
91510
91511
91512 fi
91513
91514   fi
91515   echo "$as_me:$LINENO: result: $glibcxx_cv_func_ldexpl_use" >&5
91516 echo "${ECHO_T}$glibcxx_cv_func_ldexpl_use" >&6
91517
91518   if test x$glibcxx_cv_func_ldexpl_use = x"yes"; then
91519
91520 for ac_func in ldexpl
91521 do
91522 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
91523 echo "$as_me:$LINENO: checking for $ac_func" >&5
91524 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
91525 if eval "test \"\${$as_ac_var+set}\" = set"; then
91526   echo $ECHO_N "(cached) $ECHO_C" >&6
91527 else
91528   if test x$gcc_no_link = xyes; then
91529   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
91530 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
91531    { (exit 1); exit 1; }; }
91532 fi
91533 cat >conftest.$ac_ext <<_ACEOF
91534 /* confdefs.h.  */
91535 _ACEOF
91536 cat confdefs.h >>conftest.$ac_ext
91537 cat >>conftest.$ac_ext <<_ACEOF
91538 /* end confdefs.h.  */
91539 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
91540    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
91541 #define $ac_func innocuous_$ac_func
91542
91543 /* System header to define __stub macros and hopefully few prototypes,
91544     which can conflict with char $ac_func (); below.
91545     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
91546     <limits.h> exists even on freestanding compilers.  */
91547
91548 #ifdef __STDC__
91549 # include <limits.h>
91550 #else
91551 # include <assert.h>
91552 #endif
91553
91554 #undef $ac_func
91555
91556 /* Override any gcc2 internal prototype to avoid an error.  */
91557 #ifdef __cplusplus
91558 extern "C"
91559 {
91560 #endif
91561 /* We use char because int might match the return type of a gcc2
91562    builtin and then its argument prototype would still apply.  */
91563 char $ac_func ();
91564 /* The GNU C library defines this for functions which it implements
91565     to always fail with ENOSYS.  Some functions are actually named
91566     something starting with __ and the normal name is an alias.  */
91567 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
91568 choke me
91569 #else
91570 char (*f) () = $ac_func;
91571 #endif
91572 #ifdef __cplusplus
91573 }
91574 #endif
91575
91576 int
91577 main ()
91578 {
91579 return f != $ac_func;
91580   ;
91581   return 0;
91582 }
91583 _ACEOF
91584 rm -f conftest.$ac_objext conftest$ac_exeext
91585 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
91586   (eval $ac_link) 2>conftest.er1
91587   ac_status=$?
91588   grep -v '^ *+' conftest.er1 >conftest.err
91589   rm -f conftest.er1
91590   cat conftest.err >&5
91591   echo "$as_me:$LINENO: \$? = $ac_status" >&5
91592   (exit $ac_status); } &&
91593          { ac_try='test -z "$ac_c_werror_flag"
91594                          || test ! -s conftest.err'
91595   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
91596   (eval $ac_try) 2>&5
91597   ac_status=$?
91598   echo "$as_me:$LINENO: \$? = $ac_status" >&5
91599   (exit $ac_status); }; } &&
91600          { ac_try='test -s conftest$ac_exeext'
91601   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
91602   (eval $ac_try) 2>&5
91603   ac_status=$?
91604   echo "$as_me:$LINENO: \$? = $ac_status" >&5
91605   (exit $ac_status); }; }; then
91606   eval "$as_ac_var=yes"
91607 else
91608   echo "$as_me: failed program was:" >&5
91609 sed 's/^/| /' conftest.$ac_ext >&5
91610
91611 eval "$as_ac_var=no"
91612 fi
91613 rm -f conftest.err conftest.$ac_objext \
91614       conftest$ac_exeext conftest.$ac_ext
91615 fi
91616 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
91617 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
91618 if test `eval echo '${'$as_ac_var'}'` = yes; then
91619   cat >>confdefs.h <<_ACEOF
91620 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
91621 _ACEOF
91622
91623 fi
91624 done
91625
91626   else
91627
91628   echo "$as_me:$LINENO: checking for _ldexpl declaration" >&5
91629 echo $ECHO_N "checking for _ldexpl declaration... $ECHO_C" >&6
91630   if test x${glibcxx_cv_func__ldexpl_use+set} != xset; then
91631     if test "${glibcxx_cv_func__ldexpl_use+set}" = set; then
91632   echo $ECHO_N "(cached) $ECHO_C" >&6
91633 else
91634
91635
91636
91637       ac_ext=cc
91638 ac_cpp='$CXXCPP $CPPFLAGS'
91639 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
91640 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
91641 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
91642
91643       cat >conftest.$ac_ext <<_ACEOF
91644 /* confdefs.h.  */
91645 _ACEOF
91646 cat confdefs.h >>conftest.$ac_ext
91647 cat >>conftest.$ac_ext <<_ACEOF
91648 /* end confdefs.h.  */
91649 #include <math.h>
91650 int
91651 main ()
91652 {
91653  _ldexpl(0, 0);
91654   ;
91655   return 0;
91656 }
91657 _ACEOF
91658 rm -f conftest.$ac_objext
91659 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
91660   (eval $ac_compile) 2>conftest.er1
91661   ac_status=$?
91662   grep -v '^ *+' conftest.er1 >conftest.err
91663   rm -f conftest.er1
91664   cat conftest.err >&5
91665   echo "$as_me:$LINENO: \$? = $ac_status" >&5
91666   (exit $ac_status); } &&
91667          { ac_try='test -z "$ac_cxx_werror_flag"
91668                          || test ! -s conftest.err'
91669   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
91670   (eval $ac_try) 2>&5
91671   ac_status=$?
91672   echo "$as_me:$LINENO: \$? = $ac_status" >&5
91673   (exit $ac_status); }; } &&
91674          { ac_try='test -s conftest.$ac_objext'
91675   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
91676   (eval $ac_try) 2>&5
91677   ac_status=$?
91678   echo "$as_me:$LINENO: \$? = $ac_status" >&5
91679   (exit $ac_status); }; }; then
91680   glibcxx_cv_func__ldexpl_use=yes
91681 else
91682   echo "$as_me: failed program was:" >&5
91683 sed 's/^/| /' conftest.$ac_ext >&5
91684
91685 glibcxx_cv_func__ldexpl_use=no
91686 fi
91687 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
91688       ac_ext=c
91689 ac_cpp='$CPP $CPPFLAGS'
91690 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
91691 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
91692 ac_compiler_gnu=$ac_cv_c_compiler_gnu
91693
91694
91695 fi
91696
91697   fi
91698   echo "$as_me:$LINENO: result: $glibcxx_cv_func__ldexpl_use" >&5
91699 echo "${ECHO_T}$glibcxx_cv_func__ldexpl_use" >&6
91700
91701     if test x$glibcxx_cv_func__ldexpl_use = x"yes"; then
91702
91703 for ac_func in _ldexpl
91704 do
91705 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
91706 echo "$as_me:$LINENO: checking for $ac_func" >&5
91707 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
91708 if eval "test \"\${$as_ac_var+set}\" = set"; then
91709   echo $ECHO_N "(cached) $ECHO_C" >&6
91710 else
91711   if test x$gcc_no_link = xyes; then
91712   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
91713 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
91714    { (exit 1); exit 1; }; }
91715 fi
91716 cat >conftest.$ac_ext <<_ACEOF
91717 /* confdefs.h.  */
91718 _ACEOF
91719 cat confdefs.h >>conftest.$ac_ext
91720 cat >>conftest.$ac_ext <<_ACEOF
91721 /* end confdefs.h.  */
91722 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
91723    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
91724 #define $ac_func innocuous_$ac_func
91725
91726 /* System header to define __stub macros and hopefully few prototypes,
91727     which can conflict with char $ac_func (); below.
91728     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
91729     <limits.h> exists even on freestanding compilers.  */
91730
91731 #ifdef __STDC__
91732 # include <limits.h>
91733 #else
91734 # include <assert.h>
91735 #endif
91736
91737 #undef $ac_func
91738
91739 /* Override any gcc2 internal prototype to avoid an error.  */
91740 #ifdef __cplusplus
91741 extern "C"
91742 {
91743 #endif
91744 /* We use char because int might match the return type of a gcc2
91745    builtin and then its argument prototype would still apply.  */
91746 char $ac_func ();
91747 /* The GNU C library defines this for functions which it implements
91748     to always fail with ENOSYS.  Some functions are actually named
91749     something starting with __ and the normal name is an alias.  */
91750 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
91751 choke me
91752 #else
91753 char (*f) () = $ac_func;
91754 #endif
91755 #ifdef __cplusplus
91756 }
91757 #endif
91758
91759 int
91760 main ()
91761 {
91762 return f != $ac_func;
91763   ;
91764   return 0;
91765 }
91766 _ACEOF
91767 rm -f conftest.$ac_objext conftest$ac_exeext
91768 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
91769   (eval $ac_link) 2>conftest.er1
91770   ac_status=$?
91771   grep -v '^ *+' conftest.er1 >conftest.err
91772   rm -f conftest.er1
91773   cat conftest.err >&5
91774   echo "$as_me:$LINENO: \$? = $ac_status" >&5
91775   (exit $ac_status); } &&
91776          { ac_try='test -z "$ac_c_werror_flag"
91777                          || test ! -s conftest.err'
91778   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
91779   (eval $ac_try) 2>&5
91780   ac_status=$?
91781   echo "$as_me:$LINENO: \$? = $ac_status" >&5
91782   (exit $ac_status); }; } &&
91783          { ac_try='test -s conftest$ac_exeext'
91784   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
91785   (eval $ac_try) 2>&5
91786   ac_status=$?
91787   echo "$as_me:$LINENO: \$? = $ac_status" >&5
91788   (exit $ac_status); }; }; then
91789   eval "$as_ac_var=yes"
91790 else
91791   echo "$as_me: failed program was:" >&5
91792 sed 's/^/| /' conftest.$ac_ext >&5
91793
91794 eval "$as_ac_var=no"
91795 fi
91796 rm -f conftest.err conftest.$ac_objext \
91797       conftest$ac_exeext conftest.$ac_ext
91798 fi
91799 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
91800 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
91801 if test `eval echo '${'$as_ac_var'}'` = yes; then
91802   cat >>confdefs.h <<_ACEOF
91803 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
91804 _ACEOF
91805
91806 fi
91807 done
91808
91809     fi
91810   fi
91811
91812
91813
91814
91815
91816
91817   echo "$as_me:$LINENO: checking for logl declaration" >&5
91818 echo $ECHO_N "checking for logl declaration... $ECHO_C" >&6
91819   if test x${glibcxx_cv_func_logl_use+set} != xset; then
91820     if test "${glibcxx_cv_func_logl_use+set}" = set; then
91821   echo $ECHO_N "(cached) $ECHO_C" >&6
91822 else
91823
91824
91825
91826       ac_ext=cc
91827 ac_cpp='$CXXCPP $CPPFLAGS'
91828 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
91829 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
91830 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
91831
91832       cat >conftest.$ac_ext <<_ACEOF
91833 /* confdefs.h.  */
91834 _ACEOF
91835 cat confdefs.h >>conftest.$ac_ext
91836 cat >>conftest.$ac_ext <<_ACEOF
91837 /* end confdefs.h.  */
91838 #include <math.h>
91839                       #ifdef HAVE_IEEEFP_H
91840                       #include <ieeefp.h>
91841                       #endif
91842
91843 int
91844 main ()
91845 {
91846  logl(0);
91847   ;
91848   return 0;
91849 }
91850 _ACEOF
91851 rm -f conftest.$ac_objext
91852 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
91853   (eval $ac_compile) 2>conftest.er1
91854   ac_status=$?
91855   grep -v '^ *+' conftest.er1 >conftest.err
91856   rm -f conftest.er1
91857   cat conftest.err >&5
91858   echo "$as_me:$LINENO: \$? = $ac_status" >&5
91859   (exit $ac_status); } &&
91860          { ac_try='test -z "$ac_cxx_werror_flag"
91861                          || test ! -s conftest.err'
91862   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
91863   (eval $ac_try) 2>&5
91864   ac_status=$?
91865   echo "$as_me:$LINENO: \$? = $ac_status" >&5
91866   (exit $ac_status); }; } &&
91867          { ac_try='test -s conftest.$ac_objext'
91868   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
91869   (eval $ac_try) 2>&5
91870   ac_status=$?
91871   echo "$as_me:$LINENO: \$? = $ac_status" >&5
91872   (exit $ac_status); }; }; then
91873   glibcxx_cv_func_logl_use=yes
91874 else
91875   echo "$as_me: failed program was:" >&5
91876 sed 's/^/| /' conftest.$ac_ext >&5
91877
91878 glibcxx_cv_func_logl_use=no
91879 fi
91880 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
91881       ac_ext=c
91882 ac_cpp='$CPP $CPPFLAGS'
91883 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
91884 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
91885 ac_compiler_gnu=$ac_cv_c_compiler_gnu
91886
91887
91888 fi
91889
91890   fi
91891   echo "$as_me:$LINENO: result: $glibcxx_cv_func_logl_use" >&5
91892 echo "${ECHO_T}$glibcxx_cv_func_logl_use" >&6
91893
91894   if test x$glibcxx_cv_func_logl_use = x"yes"; then
91895
91896 for ac_func in logl
91897 do
91898 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
91899 echo "$as_me:$LINENO: checking for $ac_func" >&5
91900 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
91901 if eval "test \"\${$as_ac_var+set}\" = set"; then
91902   echo $ECHO_N "(cached) $ECHO_C" >&6
91903 else
91904   if test x$gcc_no_link = xyes; then
91905   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
91906 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
91907    { (exit 1); exit 1; }; }
91908 fi
91909 cat >conftest.$ac_ext <<_ACEOF
91910 /* confdefs.h.  */
91911 _ACEOF
91912 cat confdefs.h >>conftest.$ac_ext
91913 cat >>conftest.$ac_ext <<_ACEOF
91914 /* end confdefs.h.  */
91915 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
91916    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
91917 #define $ac_func innocuous_$ac_func
91918
91919 /* System header to define __stub macros and hopefully few prototypes,
91920     which can conflict with char $ac_func (); below.
91921     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
91922     <limits.h> exists even on freestanding compilers.  */
91923
91924 #ifdef __STDC__
91925 # include <limits.h>
91926 #else
91927 # include <assert.h>
91928 #endif
91929
91930 #undef $ac_func
91931
91932 /* Override any gcc2 internal prototype to avoid an error.  */
91933 #ifdef __cplusplus
91934 extern "C"
91935 {
91936 #endif
91937 /* We use char because int might match the return type of a gcc2
91938    builtin and then its argument prototype would still apply.  */
91939 char $ac_func ();
91940 /* The GNU C library defines this for functions which it implements
91941     to always fail with ENOSYS.  Some functions are actually named
91942     something starting with __ and the normal name is an alias.  */
91943 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
91944 choke me
91945 #else
91946 char (*f) () = $ac_func;
91947 #endif
91948 #ifdef __cplusplus
91949 }
91950 #endif
91951
91952 int
91953 main ()
91954 {
91955 return f != $ac_func;
91956   ;
91957   return 0;
91958 }
91959 _ACEOF
91960 rm -f conftest.$ac_objext conftest$ac_exeext
91961 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
91962   (eval $ac_link) 2>conftest.er1
91963   ac_status=$?
91964   grep -v '^ *+' conftest.er1 >conftest.err
91965   rm -f conftest.er1
91966   cat conftest.err >&5
91967   echo "$as_me:$LINENO: \$? = $ac_status" >&5
91968   (exit $ac_status); } &&
91969          { ac_try='test -z "$ac_c_werror_flag"
91970                          || test ! -s conftest.err'
91971   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
91972   (eval $ac_try) 2>&5
91973   ac_status=$?
91974   echo "$as_me:$LINENO: \$? = $ac_status" >&5
91975   (exit $ac_status); }; } &&
91976          { ac_try='test -s conftest$ac_exeext'
91977   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
91978   (eval $ac_try) 2>&5
91979   ac_status=$?
91980   echo "$as_me:$LINENO: \$? = $ac_status" >&5
91981   (exit $ac_status); }; }; then
91982   eval "$as_ac_var=yes"
91983 else
91984   echo "$as_me: failed program was:" >&5
91985 sed 's/^/| /' conftest.$ac_ext >&5
91986
91987 eval "$as_ac_var=no"
91988 fi
91989 rm -f conftest.err conftest.$ac_objext \
91990       conftest$ac_exeext conftest.$ac_ext
91991 fi
91992 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
91993 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
91994 if test `eval echo '${'$as_ac_var'}'` = yes; then
91995   cat >>confdefs.h <<_ACEOF
91996 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
91997 _ACEOF
91998
91999 fi
92000 done
92001
92002   else
92003
92004   echo "$as_me:$LINENO: checking for _logl declaration" >&5
92005 echo $ECHO_N "checking for _logl declaration... $ECHO_C" >&6
92006   if test x${glibcxx_cv_func__logl_use+set} != xset; then
92007     if test "${glibcxx_cv_func__logl_use+set}" = set; then
92008   echo $ECHO_N "(cached) $ECHO_C" >&6
92009 else
92010
92011
92012
92013       ac_ext=cc
92014 ac_cpp='$CXXCPP $CPPFLAGS'
92015 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
92016 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
92017 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
92018
92019       cat >conftest.$ac_ext <<_ACEOF
92020 /* confdefs.h.  */
92021 _ACEOF
92022 cat confdefs.h >>conftest.$ac_ext
92023 cat >>conftest.$ac_ext <<_ACEOF
92024 /* end confdefs.h.  */
92025 #include <math.h>
92026                       #ifdef HAVE_IEEEFP_H
92027                       #include <ieeefp.h>
92028                       #endif
92029
92030 int
92031 main ()
92032 {
92033  _logl(0);
92034   ;
92035   return 0;
92036 }
92037 _ACEOF
92038 rm -f conftest.$ac_objext
92039 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
92040   (eval $ac_compile) 2>conftest.er1
92041   ac_status=$?
92042   grep -v '^ *+' conftest.er1 >conftest.err
92043   rm -f conftest.er1
92044   cat conftest.err >&5
92045   echo "$as_me:$LINENO: \$? = $ac_status" >&5
92046   (exit $ac_status); } &&
92047          { ac_try='test -z "$ac_cxx_werror_flag"
92048                          || test ! -s conftest.err'
92049   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
92050   (eval $ac_try) 2>&5
92051   ac_status=$?
92052   echo "$as_me:$LINENO: \$? = $ac_status" >&5
92053   (exit $ac_status); }; } &&
92054          { ac_try='test -s conftest.$ac_objext'
92055   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
92056   (eval $ac_try) 2>&5
92057   ac_status=$?
92058   echo "$as_me:$LINENO: \$? = $ac_status" >&5
92059   (exit $ac_status); }; }; then
92060   glibcxx_cv_func__logl_use=yes
92061 else
92062   echo "$as_me: failed program was:" >&5
92063 sed 's/^/| /' conftest.$ac_ext >&5
92064
92065 glibcxx_cv_func__logl_use=no
92066 fi
92067 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
92068       ac_ext=c
92069 ac_cpp='$CPP $CPPFLAGS'
92070 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
92071 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
92072 ac_compiler_gnu=$ac_cv_c_compiler_gnu
92073
92074
92075 fi
92076
92077   fi
92078   echo "$as_me:$LINENO: result: $glibcxx_cv_func__logl_use" >&5
92079 echo "${ECHO_T}$glibcxx_cv_func__logl_use" >&6
92080
92081     if test x$glibcxx_cv_func__logl_use = x"yes"; then
92082
92083 for ac_func in _logl
92084 do
92085 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
92086 echo "$as_me:$LINENO: checking for $ac_func" >&5
92087 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
92088 if eval "test \"\${$as_ac_var+set}\" = set"; then
92089   echo $ECHO_N "(cached) $ECHO_C" >&6
92090 else
92091   if test x$gcc_no_link = xyes; then
92092   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
92093 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
92094    { (exit 1); exit 1; }; }
92095 fi
92096 cat >conftest.$ac_ext <<_ACEOF
92097 /* confdefs.h.  */
92098 _ACEOF
92099 cat confdefs.h >>conftest.$ac_ext
92100 cat >>conftest.$ac_ext <<_ACEOF
92101 /* end confdefs.h.  */
92102 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
92103    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
92104 #define $ac_func innocuous_$ac_func
92105
92106 /* System header to define __stub macros and hopefully few prototypes,
92107     which can conflict with char $ac_func (); below.
92108     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
92109     <limits.h> exists even on freestanding compilers.  */
92110
92111 #ifdef __STDC__
92112 # include <limits.h>
92113 #else
92114 # include <assert.h>
92115 #endif
92116
92117 #undef $ac_func
92118
92119 /* Override any gcc2 internal prototype to avoid an error.  */
92120 #ifdef __cplusplus
92121 extern "C"
92122 {
92123 #endif
92124 /* We use char because int might match the return type of a gcc2
92125    builtin and then its argument prototype would still apply.  */
92126 char $ac_func ();
92127 /* The GNU C library defines this for functions which it implements
92128     to always fail with ENOSYS.  Some functions are actually named
92129     something starting with __ and the normal name is an alias.  */
92130 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
92131 choke me
92132 #else
92133 char (*f) () = $ac_func;
92134 #endif
92135 #ifdef __cplusplus
92136 }
92137 #endif
92138
92139 int
92140 main ()
92141 {
92142 return f != $ac_func;
92143   ;
92144   return 0;
92145 }
92146 _ACEOF
92147 rm -f conftest.$ac_objext conftest$ac_exeext
92148 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
92149   (eval $ac_link) 2>conftest.er1
92150   ac_status=$?
92151   grep -v '^ *+' conftest.er1 >conftest.err
92152   rm -f conftest.er1
92153   cat conftest.err >&5
92154   echo "$as_me:$LINENO: \$? = $ac_status" >&5
92155   (exit $ac_status); } &&
92156          { ac_try='test -z "$ac_c_werror_flag"
92157                          || test ! -s conftest.err'
92158   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
92159   (eval $ac_try) 2>&5
92160   ac_status=$?
92161   echo "$as_me:$LINENO: \$? = $ac_status" >&5
92162   (exit $ac_status); }; } &&
92163          { ac_try='test -s conftest$ac_exeext'
92164   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
92165   (eval $ac_try) 2>&5
92166   ac_status=$?
92167   echo "$as_me:$LINENO: \$? = $ac_status" >&5
92168   (exit $ac_status); }; }; then
92169   eval "$as_ac_var=yes"
92170 else
92171   echo "$as_me: failed program was:" >&5
92172 sed 's/^/| /' conftest.$ac_ext >&5
92173
92174 eval "$as_ac_var=no"
92175 fi
92176 rm -f conftest.err conftest.$ac_objext \
92177       conftest$ac_exeext conftest.$ac_ext
92178 fi
92179 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
92180 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
92181 if test `eval echo '${'$as_ac_var'}'` = yes; then
92182   cat >>confdefs.h <<_ACEOF
92183 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
92184 _ACEOF
92185
92186 fi
92187 done
92188
92189     fi
92190   fi
92191
92192
92193
92194
92195
92196
92197   echo "$as_me:$LINENO: checking for log10l declaration" >&5
92198 echo $ECHO_N "checking for log10l declaration... $ECHO_C" >&6
92199   if test x${glibcxx_cv_func_log10l_use+set} != xset; then
92200     if test "${glibcxx_cv_func_log10l_use+set}" = set; then
92201   echo $ECHO_N "(cached) $ECHO_C" >&6
92202 else
92203
92204
92205
92206       ac_ext=cc
92207 ac_cpp='$CXXCPP $CPPFLAGS'
92208 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
92209 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
92210 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
92211
92212       cat >conftest.$ac_ext <<_ACEOF
92213 /* confdefs.h.  */
92214 _ACEOF
92215 cat confdefs.h >>conftest.$ac_ext
92216 cat >>conftest.$ac_ext <<_ACEOF
92217 /* end confdefs.h.  */
92218 #include <math.h>
92219                       #ifdef HAVE_IEEEFP_H
92220                       #include <ieeefp.h>
92221                       #endif
92222
92223 int
92224 main ()
92225 {
92226  log10l(0);
92227   ;
92228   return 0;
92229 }
92230 _ACEOF
92231 rm -f conftest.$ac_objext
92232 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
92233   (eval $ac_compile) 2>conftest.er1
92234   ac_status=$?
92235   grep -v '^ *+' conftest.er1 >conftest.err
92236   rm -f conftest.er1
92237   cat conftest.err >&5
92238   echo "$as_me:$LINENO: \$? = $ac_status" >&5
92239   (exit $ac_status); } &&
92240          { ac_try='test -z "$ac_cxx_werror_flag"
92241                          || test ! -s conftest.err'
92242   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
92243   (eval $ac_try) 2>&5
92244   ac_status=$?
92245   echo "$as_me:$LINENO: \$? = $ac_status" >&5
92246   (exit $ac_status); }; } &&
92247          { ac_try='test -s conftest.$ac_objext'
92248   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
92249   (eval $ac_try) 2>&5
92250   ac_status=$?
92251   echo "$as_me:$LINENO: \$? = $ac_status" >&5
92252   (exit $ac_status); }; }; then
92253   glibcxx_cv_func_log10l_use=yes
92254 else
92255   echo "$as_me: failed program was:" >&5
92256 sed 's/^/| /' conftest.$ac_ext >&5
92257
92258 glibcxx_cv_func_log10l_use=no
92259 fi
92260 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
92261       ac_ext=c
92262 ac_cpp='$CPP $CPPFLAGS'
92263 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
92264 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
92265 ac_compiler_gnu=$ac_cv_c_compiler_gnu
92266
92267
92268 fi
92269
92270   fi
92271   echo "$as_me:$LINENO: result: $glibcxx_cv_func_log10l_use" >&5
92272 echo "${ECHO_T}$glibcxx_cv_func_log10l_use" >&6
92273
92274   if test x$glibcxx_cv_func_log10l_use = x"yes"; then
92275
92276 for ac_func in log10l
92277 do
92278 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
92279 echo "$as_me:$LINENO: checking for $ac_func" >&5
92280 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
92281 if eval "test \"\${$as_ac_var+set}\" = set"; then
92282   echo $ECHO_N "(cached) $ECHO_C" >&6
92283 else
92284   if test x$gcc_no_link = xyes; then
92285   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
92286 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
92287    { (exit 1); exit 1; }; }
92288 fi
92289 cat >conftest.$ac_ext <<_ACEOF
92290 /* confdefs.h.  */
92291 _ACEOF
92292 cat confdefs.h >>conftest.$ac_ext
92293 cat >>conftest.$ac_ext <<_ACEOF
92294 /* end confdefs.h.  */
92295 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
92296    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
92297 #define $ac_func innocuous_$ac_func
92298
92299 /* System header to define __stub macros and hopefully few prototypes,
92300     which can conflict with char $ac_func (); below.
92301     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
92302     <limits.h> exists even on freestanding compilers.  */
92303
92304 #ifdef __STDC__
92305 # include <limits.h>
92306 #else
92307 # include <assert.h>
92308 #endif
92309
92310 #undef $ac_func
92311
92312 /* Override any gcc2 internal prototype to avoid an error.  */
92313 #ifdef __cplusplus
92314 extern "C"
92315 {
92316 #endif
92317 /* We use char because int might match the return type of a gcc2
92318    builtin and then its argument prototype would still apply.  */
92319 char $ac_func ();
92320 /* The GNU C library defines this for functions which it implements
92321     to always fail with ENOSYS.  Some functions are actually named
92322     something starting with __ and the normal name is an alias.  */
92323 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
92324 choke me
92325 #else
92326 char (*f) () = $ac_func;
92327 #endif
92328 #ifdef __cplusplus
92329 }
92330 #endif
92331
92332 int
92333 main ()
92334 {
92335 return f != $ac_func;
92336   ;
92337   return 0;
92338 }
92339 _ACEOF
92340 rm -f conftest.$ac_objext conftest$ac_exeext
92341 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
92342   (eval $ac_link) 2>conftest.er1
92343   ac_status=$?
92344   grep -v '^ *+' conftest.er1 >conftest.err
92345   rm -f conftest.er1
92346   cat conftest.err >&5
92347   echo "$as_me:$LINENO: \$? = $ac_status" >&5
92348   (exit $ac_status); } &&
92349          { ac_try='test -z "$ac_c_werror_flag"
92350                          || test ! -s conftest.err'
92351   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
92352   (eval $ac_try) 2>&5
92353   ac_status=$?
92354   echo "$as_me:$LINENO: \$? = $ac_status" >&5
92355   (exit $ac_status); }; } &&
92356          { ac_try='test -s conftest$ac_exeext'
92357   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
92358   (eval $ac_try) 2>&5
92359   ac_status=$?
92360   echo "$as_me:$LINENO: \$? = $ac_status" >&5
92361   (exit $ac_status); }; }; then
92362   eval "$as_ac_var=yes"
92363 else
92364   echo "$as_me: failed program was:" >&5
92365 sed 's/^/| /' conftest.$ac_ext >&5
92366
92367 eval "$as_ac_var=no"
92368 fi
92369 rm -f conftest.err conftest.$ac_objext \
92370       conftest$ac_exeext conftest.$ac_ext
92371 fi
92372 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
92373 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
92374 if test `eval echo '${'$as_ac_var'}'` = yes; then
92375   cat >>confdefs.h <<_ACEOF
92376 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
92377 _ACEOF
92378
92379 fi
92380 done
92381
92382   else
92383
92384   echo "$as_me:$LINENO: checking for _log10l declaration" >&5
92385 echo $ECHO_N "checking for _log10l declaration... $ECHO_C" >&6
92386   if test x${glibcxx_cv_func__log10l_use+set} != xset; then
92387     if test "${glibcxx_cv_func__log10l_use+set}" = set; then
92388   echo $ECHO_N "(cached) $ECHO_C" >&6
92389 else
92390
92391
92392
92393       ac_ext=cc
92394 ac_cpp='$CXXCPP $CPPFLAGS'
92395 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
92396 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
92397 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
92398
92399       cat >conftest.$ac_ext <<_ACEOF
92400 /* confdefs.h.  */
92401 _ACEOF
92402 cat confdefs.h >>conftest.$ac_ext
92403 cat >>conftest.$ac_ext <<_ACEOF
92404 /* end confdefs.h.  */
92405 #include <math.h>
92406                       #ifdef HAVE_IEEEFP_H
92407                       #include <ieeefp.h>
92408                       #endif
92409
92410 int
92411 main ()
92412 {
92413  _log10l(0);
92414   ;
92415   return 0;
92416 }
92417 _ACEOF
92418 rm -f conftest.$ac_objext
92419 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
92420   (eval $ac_compile) 2>conftest.er1
92421   ac_status=$?
92422   grep -v '^ *+' conftest.er1 >conftest.err
92423   rm -f conftest.er1
92424   cat conftest.err >&5
92425   echo "$as_me:$LINENO: \$? = $ac_status" >&5
92426   (exit $ac_status); } &&
92427          { ac_try='test -z "$ac_cxx_werror_flag"
92428                          || test ! -s conftest.err'
92429   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
92430   (eval $ac_try) 2>&5
92431   ac_status=$?
92432   echo "$as_me:$LINENO: \$? = $ac_status" >&5
92433   (exit $ac_status); }; } &&
92434          { ac_try='test -s conftest.$ac_objext'
92435   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
92436   (eval $ac_try) 2>&5
92437   ac_status=$?
92438   echo "$as_me:$LINENO: \$? = $ac_status" >&5
92439   (exit $ac_status); }; }; then
92440   glibcxx_cv_func__log10l_use=yes
92441 else
92442   echo "$as_me: failed program was:" >&5
92443 sed 's/^/| /' conftest.$ac_ext >&5
92444
92445 glibcxx_cv_func__log10l_use=no
92446 fi
92447 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
92448       ac_ext=c
92449 ac_cpp='$CPP $CPPFLAGS'
92450 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
92451 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
92452 ac_compiler_gnu=$ac_cv_c_compiler_gnu
92453
92454
92455 fi
92456
92457   fi
92458   echo "$as_me:$LINENO: result: $glibcxx_cv_func__log10l_use" >&5
92459 echo "${ECHO_T}$glibcxx_cv_func__log10l_use" >&6
92460
92461     if test x$glibcxx_cv_func__log10l_use = x"yes"; then
92462
92463 for ac_func in _log10l
92464 do
92465 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
92466 echo "$as_me:$LINENO: checking for $ac_func" >&5
92467 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
92468 if eval "test \"\${$as_ac_var+set}\" = set"; then
92469   echo $ECHO_N "(cached) $ECHO_C" >&6
92470 else
92471   if test x$gcc_no_link = xyes; then
92472   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
92473 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
92474    { (exit 1); exit 1; }; }
92475 fi
92476 cat >conftest.$ac_ext <<_ACEOF
92477 /* confdefs.h.  */
92478 _ACEOF
92479 cat confdefs.h >>conftest.$ac_ext
92480 cat >>conftest.$ac_ext <<_ACEOF
92481 /* end confdefs.h.  */
92482 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
92483    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
92484 #define $ac_func innocuous_$ac_func
92485
92486 /* System header to define __stub macros and hopefully few prototypes,
92487     which can conflict with char $ac_func (); below.
92488     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
92489     <limits.h> exists even on freestanding compilers.  */
92490
92491 #ifdef __STDC__
92492 # include <limits.h>
92493 #else
92494 # include <assert.h>
92495 #endif
92496
92497 #undef $ac_func
92498
92499 /* Override any gcc2 internal prototype to avoid an error.  */
92500 #ifdef __cplusplus
92501 extern "C"
92502 {
92503 #endif
92504 /* We use char because int might match the return type of a gcc2
92505    builtin and then its argument prototype would still apply.  */
92506 char $ac_func ();
92507 /* The GNU C library defines this for functions which it implements
92508     to always fail with ENOSYS.  Some functions are actually named
92509     something starting with __ and the normal name is an alias.  */
92510 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
92511 choke me
92512 #else
92513 char (*f) () = $ac_func;
92514 #endif
92515 #ifdef __cplusplus
92516 }
92517 #endif
92518
92519 int
92520 main ()
92521 {
92522 return f != $ac_func;
92523   ;
92524   return 0;
92525 }
92526 _ACEOF
92527 rm -f conftest.$ac_objext conftest$ac_exeext
92528 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
92529   (eval $ac_link) 2>conftest.er1
92530   ac_status=$?
92531   grep -v '^ *+' conftest.er1 >conftest.err
92532   rm -f conftest.er1
92533   cat conftest.err >&5
92534   echo "$as_me:$LINENO: \$? = $ac_status" >&5
92535   (exit $ac_status); } &&
92536          { ac_try='test -z "$ac_c_werror_flag"
92537                          || test ! -s conftest.err'
92538   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
92539   (eval $ac_try) 2>&5
92540   ac_status=$?
92541   echo "$as_me:$LINENO: \$? = $ac_status" >&5
92542   (exit $ac_status); }; } &&
92543          { ac_try='test -s conftest$ac_exeext'
92544   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
92545   (eval $ac_try) 2>&5
92546   ac_status=$?
92547   echo "$as_me:$LINENO: \$? = $ac_status" >&5
92548   (exit $ac_status); }; }; then
92549   eval "$as_ac_var=yes"
92550 else
92551   echo "$as_me: failed program was:" >&5
92552 sed 's/^/| /' conftest.$ac_ext >&5
92553
92554 eval "$as_ac_var=no"
92555 fi
92556 rm -f conftest.err conftest.$ac_objext \
92557       conftest$ac_exeext conftest.$ac_ext
92558 fi
92559 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
92560 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
92561 if test `eval echo '${'$as_ac_var'}'` = yes; then
92562   cat >>confdefs.h <<_ACEOF
92563 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
92564 _ACEOF
92565
92566 fi
92567 done
92568
92569     fi
92570   fi
92571
92572
92573
92574
92575
92576
92577   echo "$as_me:$LINENO: checking for modfl declaration" >&5
92578 echo $ECHO_N "checking for modfl declaration... $ECHO_C" >&6
92579   if test x${glibcxx_cv_func_modfl_use+set} != xset; then
92580     if test "${glibcxx_cv_func_modfl_use+set}" = set; then
92581   echo $ECHO_N "(cached) $ECHO_C" >&6
92582 else
92583
92584
92585
92586       ac_ext=cc
92587 ac_cpp='$CXXCPP $CPPFLAGS'
92588 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
92589 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
92590 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
92591
92592       cat >conftest.$ac_ext <<_ACEOF
92593 /* confdefs.h.  */
92594 _ACEOF
92595 cat confdefs.h >>conftest.$ac_ext
92596 cat >>conftest.$ac_ext <<_ACEOF
92597 /* end confdefs.h.  */
92598 #include <math.h>
92599 int
92600 main ()
92601 {
92602  modfl(0, 0);
92603   ;
92604   return 0;
92605 }
92606 _ACEOF
92607 rm -f conftest.$ac_objext
92608 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
92609   (eval $ac_compile) 2>conftest.er1
92610   ac_status=$?
92611   grep -v '^ *+' conftest.er1 >conftest.err
92612   rm -f conftest.er1
92613   cat conftest.err >&5
92614   echo "$as_me:$LINENO: \$? = $ac_status" >&5
92615   (exit $ac_status); } &&
92616          { ac_try='test -z "$ac_cxx_werror_flag"
92617                          || test ! -s conftest.err'
92618   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
92619   (eval $ac_try) 2>&5
92620   ac_status=$?
92621   echo "$as_me:$LINENO: \$? = $ac_status" >&5
92622   (exit $ac_status); }; } &&
92623          { ac_try='test -s conftest.$ac_objext'
92624   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
92625   (eval $ac_try) 2>&5
92626   ac_status=$?
92627   echo "$as_me:$LINENO: \$? = $ac_status" >&5
92628   (exit $ac_status); }; }; then
92629   glibcxx_cv_func_modfl_use=yes
92630 else
92631   echo "$as_me: failed program was:" >&5
92632 sed 's/^/| /' conftest.$ac_ext >&5
92633
92634 glibcxx_cv_func_modfl_use=no
92635 fi
92636 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
92637       ac_ext=c
92638 ac_cpp='$CPP $CPPFLAGS'
92639 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
92640 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
92641 ac_compiler_gnu=$ac_cv_c_compiler_gnu
92642
92643
92644 fi
92645
92646   fi
92647   echo "$as_me:$LINENO: result: $glibcxx_cv_func_modfl_use" >&5
92648 echo "${ECHO_T}$glibcxx_cv_func_modfl_use" >&6
92649
92650   if test x$glibcxx_cv_func_modfl_use = x"yes"; then
92651
92652 for ac_func in modfl
92653 do
92654 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
92655 echo "$as_me:$LINENO: checking for $ac_func" >&5
92656 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
92657 if eval "test \"\${$as_ac_var+set}\" = set"; then
92658   echo $ECHO_N "(cached) $ECHO_C" >&6
92659 else
92660   if test x$gcc_no_link = xyes; then
92661   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
92662 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
92663    { (exit 1); exit 1; }; }
92664 fi
92665 cat >conftest.$ac_ext <<_ACEOF
92666 /* confdefs.h.  */
92667 _ACEOF
92668 cat confdefs.h >>conftest.$ac_ext
92669 cat >>conftest.$ac_ext <<_ACEOF
92670 /* end confdefs.h.  */
92671 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
92672    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
92673 #define $ac_func innocuous_$ac_func
92674
92675 /* System header to define __stub macros and hopefully few prototypes,
92676     which can conflict with char $ac_func (); below.
92677     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
92678     <limits.h> exists even on freestanding compilers.  */
92679
92680 #ifdef __STDC__
92681 # include <limits.h>
92682 #else
92683 # include <assert.h>
92684 #endif
92685
92686 #undef $ac_func
92687
92688 /* Override any gcc2 internal prototype to avoid an error.  */
92689 #ifdef __cplusplus
92690 extern "C"
92691 {
92692 #endif
92693 /* We use char because int might match the return type of a gcc2
92694    builtin and then its argument prototype would still apply.  */
92695 char $ac_func ();
92696 /* The GNU C library defines this for functions which it implements
92697     to always fail with ENOSYS.  Some functions are actually named
92698     something starting with __ and the normal name is an alias.  */
92699 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
92700 choke me
92701 #else
92702 char (*f) () = $ac_func;
92703 #endif
92704 #ifdef __cplusplus
92705 }
92706 #endif
92707
92708 int
92709 main ()
92710 {
92711 return f != $ac_func;
92712   ;
92713   return 0;
92714 }
92715 _ACEOF
92716 rm -f conftest.$ac_objext conftest$ac_exeext
92717 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
92718   (eval $ac_link) 2>conftest.er1
92719   ac_status=$?
92720   grep -v '^ *+' conftest.er1 >conftest.err
92721   rm -f conftest.er1
92722   cat conftest.err >&5
92723   echo "$as_me:$LINENO: \$? = $ac_status" >&5
92724   (exit $ac_status); } &&
92725          { ac_try='test -z "$ac_c_werror_flag"
92726                          || test ! -s conftest.err'
92727   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
92728   (eval $ac_try) 2>&5
92729   ac_status=$?
92730   echo "$as_me:$LINENO: \$? = $ac_status" >&5
92731   (exit $ac_status); }; } &&
92732          { ac_try='test -s conftest$ac_exeext'
92733   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
92734   (eval $ac_try) 2>&5
92735   ac_status=$?
92736   echo "$as_me:$LINENO: \$? = $ac_status" >&5
92737   (exit $ac_status); }; }; then
92738   eval "$as_ac_var=yes"
92739 else
92740   echo "$as_me: failed program was:" >&5
92741 sed 's/^/| /' conftest.$ac_ext >&5
92742
92743 eval "$as_ac_var=no"
92744 fi
92745 rm -f conftest.err conftest.$ac_objext \
92746       conftest$ac_exeext conftest.$ac_ext
92747 fi
92748 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
92749 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
92750 if test `eval echo '${'$as_ac_var'}'` = yes; then
92751   cat >>confdefs.h <<_ACEOF
92752 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
92753 _ACEOF
92754
92755 fi
92756 done
92757
92758   else
92759
92760   echo "$as_me:$LINENO: checking for _modfl declaration" >&5
92761 echo $ECHO_N "checking for _modfl declaration... $ECHO_C" >&6
92762   if test x${glibcxx_cv_func__modfl_use+set} != xset; then
92763     if test "${glibcxx_cv_func__modfl_use+set}" = set; then
92764   echo $ECHO_N "(cached) $ECHO_C" >&6
92765 else
92766
92767
92768
92769       ac_ext=cc
92770 ac_cpp='$CXXCPP $CPPFLAGS'
92771 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
92772 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
92773 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
92774
92775       cat >conftest.$ac_ext <<_ACEOF
92776 /* confdefs.h.  */
92777 _ACEOF
92778 cat confdefs.h >>conftest.$ac_ext
92779 cat >>conftest.$ac_ext <<_ACEOF
92780 /* end confdefs.h.  */
92781 #include <math.h>
92782 int
92783 main ()
92784 {
92785  _modfl(0, 0);
92786   ;
92787   return 0;
92788 }
92789 _ACEOF
92790 rm -f conftest.$ac_objext
92791 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
92792   (eval $ac_compile) 2>conftest.er1
92793   ac_status=$?
92794   grep -v '^ *+' conftest.er1 >conftest.err
92795   rm -f conftest.er1
92796   cat conftest.err >&5
92797   echo "$as_me:$LINENO: \$? = $ac_status" >&5
92798   (exit $ac_status); } &&
92799          { ac_try='test -z "$ac_cxx_werror_flag"
92800                          || test ! -s conftest.err'
92801   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
92802   (eval $ac_try) 2>&5
92803   ac_status=$?
92804   echo "$as_me:$LINENO: \$? = $ac_status" >&5
92805   (exit $ac_status); }; } &&
92806          { ac_try='test -s conftest.$ac_objext'
92807   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
92808   (eval $ac_try) 2>&5
92809   ac_status=$?
92810   echo "$as_me:$LINENO: \$? = $ac_status" >&5
92811   (exit $ac_status); }; }; then
92812   glibcxx_cv_func__modfl_use=yes
92813 else
92814   echo "$as_me: failed program was:" >&5
92815 sed 's/^/| /' conftest.$ac_ext >&5
92816
92817 glibcxx_cv_func__modfl_use=no
92818 fi
92819 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
92820       ac_ext=c
92821 ac_cpp='$CPP $CPPFLAGS'
92822 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
92823 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
92824 ac_compiler_gnu=$ac_cv_c_compiler_gnu
92825
92826
92827 fi
92828
92829   fi
92830   echo "$as_me:$LINENO: result: $glibcxx_cv_func__modfl_use" >&5
92831 echo "${ECHO_T}$glibcxx_cv_func__modfl_use" >&6
92832
92833     if test x$glibcxx_cv_func__modfl_use = x"yes"; then
92834
92835 for ac_func in _modfl
92836 do
92837 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
92838 echo "$as_me:$LINENO: checking for $ac_func" >&5
92839 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
92840 if eval "test \"\${$as_ac_var+set}\" = set"; then
92841   echo $ECHO_N "(cached) $ECHO_C" >&6
92842 else
92843   if test x$gcc_no_link = xyes; then
92844   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
92845 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
92846    { (exit 1); exit 1; }; }
92847 fi
92848 cat >conftest.$ac_ext <<_ACEOF
92849 /* confdefs.h.  */
92850 _ACEOF
92851 cat confdefs.h >>conftest.$ac_ext
92852 cat >>conftest.$ac_ext <<_ACEOF
92853 /* end confdefs.h.  */
92854 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
92855    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
92856 #define $ac_func innocuous_$ac_func
92857
92858 /* System header to define __stub macros and hopefully few prototypes,
92859     which can conflict with char $ac_func (); below.
92860     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
92861     <limits.h> exists even on freestanding compilers.  */
92862
92863 #ifdef __STDC__
92864 # include <limits.h>
92865 #else
92866 # include <assert.h>
92867 #endif
92868
92869 #undef $ac_func
92870
92871 /* Override any gcc2 internal prototype to avoid an error.  */
92872 #ifdef __cplusplus
92873 extern "C"
92874 {
92875 #endif
92876 /* We use char because int might match the return type of a gcc2
92877    builtin and then its argument prototype would still apply.  */
92878 char $ac_func ();
92879 /* The GNU C library defines this for functions which it implements
92880     to always fail with ENOSYS.  Some functions are actually named
92881     something starting with __ and the normal name is an alias.  */
92882 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
92883 choke me
92884 #else
92885 char (*f) () = $ac_func;
92886 #endif
92887 #ifdef __cplusplus
92888 }
92889 #endif
92890
92891 int
92892 main ()
92893 {
92894 return f != $ac_func;
92895   ;
92896   return 0;
92897 }
92898 _ACEOF
92899 rm -f conftest.$ac_objext conftest$ac_exeext
92900 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
92901   (eval $ac_link) 2>conftest.er1
92902   ac_status=$?
92903   grep -v '^ *+' conftest.er1 >conftest.err
92904   rm -f conftest.er1
92905   cat conftest.err >&5
92906   echo "$as_me:$LINENO: \$? = $ac_status" >&5
92907   (exit $ac_status); } &&
92908          { ac_try='test -z "$ac_c_werror_flag"
92909                          || test ! -s conftest.err'
92910   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
92911   (eval $ac_try) 2>&5
92912   ac_status=$?
92913   echo "$as_me:$LINENO: \$? = $ac_status" >&5
92914   (exit $ac_status); }; } &&
92915          { ac_try='test -s conftest$ac_exeext'
92916   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
92917   (eval $ac_try) 2>&5
92918   ac_status=$?
92919   echo "$as_me:$LINENO: \$? = $ac_status" >&5
92920   (exit $ac_status); }; }; then
92921   eval "$as_ac_var=yes"
92922 else
92923   echo "$as_me: failed program was:" >&5
92924 sed 's/^/| /' conftest.$ac_ext >&5
92925
92926 eval "$as_ac_var=no"
92927 fi
92928 rm -f conftest.err conftest.$ac_objext \
92929       conftest$ac_exeext conftest.$ac_ext
92930 fi
92931 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
92932 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
92933 if test `eval echo '${'$as_ac_var'}'` = yes; then
92934   cat >>confdefs.h <<_ACEOF
92935 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
92936 _ACEOF
92937
92938 fi
92939 done
92940
92941     fi
92942   fi
92943
92944
92945
92946
92947
92948
92949   echo "$as_me:$LINENO: checking for powl declaration" >&5
92950 echo $ECHO_N "checking for powl declaration... $ECHO_C" >&6
92951   if test x${glibcxx_cv_func_powl_use+set} != xset; then
92952     if test "${glibcxx_cv_func_powl_use+set}" = set; then
92953   echo $ECHO_N "(cached) $ECHO_C" >&6
92954 else
92955
92956
92957
92958       ac_ext=cc
92959 ac_cpp='$CXXCPP $CPPFLAGS'
92960 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
92961 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
92962 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
92963
92964       cat >conftest.$ac_ext <<_ACEOF
92965 /* confdefs.h.  */
92966 _ACEOF
92967 cat confdefs.h >>conftest.$ac_ext
92968 cat >>conftest.$ac_ext <<_ACEOF
92969 /* end confdefs.h.  */
92970 #include <math.h>
92971 int
92972 main ()
92973 {
92974  powl(0, 0);
92975   ;
92976   return 0;
92977 }
92978 _ACEOF
92979 rm -f conftest.$ac_objext
92980 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
92981   (eval $ac_compile) 2>conftest.er1
92982   ac_status=$?
92983   grep -v '^ *+' conftest.er1 >conftest.err
92984   rm -f conftest.er1
92985   cat conftest.err >&5
92986   echo "$as_me:$LINENO: \$? = $ac_status" >&5
92987   (exit $ac_status); } &&
92988          { ac_try='test -z "$ac_cxx_werror_flag"
92989                          || test ! -s conftest.err'
92990   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
92991   (eval $ac_try) 2>&5
92992   ac_status=$?
92993   echo "$as_me:$LINENO: \$? = $ac_status" >&5
92994   (exit $ac_status); }; } &&
92995          { ac_try='test -s conftest.$ac_objext'
92996   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
92997   (eval $ac_try) 2>&5
92998   ac_status=$?
92999   echo "$as_me:$LINENO: \$? = $ac_status" >&5
93000   (exit $ac_status); }; }; then
93001   glibcxx_cv_func_powl_use=yes
93002 else
93003   echo "$as_me: failed program was:" >&5
93004 sed 's/^/| /' conftest.$ac_ext >&5
93005
93006 glibcxx_cv_func_powl_use=no
93007 fi
93008 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
93009       ac_ext=c
93010 ac_cpp='$CPP $CPPFLAGS'
93011 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
93012 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
93013 ac_compiler_gnu=$ac_cv_c_compiler_gnu
93014
93015
93016 fi
93017
93018   fi
93019   echo "$as_me:$LINENO: result: $glibcxx_cv_func_powl_use" >&5
93020 echo "${ECHO_T}$glibcxx_cv_func_powl_use" >&6
93021
93022   if test x$glibcxx_cv_func_powl_use = x"yes"; then
93023
93024 for ac_func in powl
93025 do
93026 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
93027 echo "$as_me:$LINENO: checking for $ac_func" >&5
93028 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
93029 if eval "test \"\${$as_ac_var+set}\" = set"; then
93030   echo $ECHO_N "(cached) $ECHO_C" >&6
93031 else
93032   if test x$gcc_no_link = xyes; then
93033   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
93034 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
93035    { (exit 1); exit 1; }; }
93036 fi
93037 cat >conftest.$ac_ext <<_ACEOF
93038 /* confdefs.h.  */
93039 _ACEOF
93040 cat confdefs.h >>conftest.$ac_ext
93041 cat >>conftest.$ac_ext <<_ACEOF
93042 /* end confdefs.h.  */
93043 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
93044    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
93045 #define $ac_func innocuous_$ac_func
93046
93047 /* System header to define __stub macros and hopefully few prototypes,
93048     which can conflict with char $ac_func (); below.
93049     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
93050     <limits.h> exists even on freestanding compilers.  */
93051
93052 #ifdef __STDC__
93053 # include <limits.h>
93054 #else
93055 # include <assert.h>
93056 #endif
93057
93058 #undef $ac_func
93059
93060 /* Override any gcc2 internal prototype to avoid an error.  */
93061 #ifdef __cplusplus
93062 extern "C"
93063 {
93064 #endif
93065 /* We use char because int might match the return type of a gcc2
93066    builtin and then its argument prototype would still apply.  */
93067 char $ac_func ();
93068 /* The GNU C library defines this for functions which it implements
93069     to always fail with ENOSYS.  Some functions are actually named
93070     something starting with __ and the normal name is an alias.  */
93071 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
93072 choke me
93073 #else
93074 char (*f) () = $ac_func;
93075 #endif
93076 #ifdef __cplusplus
93077 }
93078 #endif
93079
93080 int
93081 main ()
93082 {
93083 return f != $ac_func;
93084   ;
93085   return 0;
93086 }
93087 _ACEOF
93088 rm -f conftest.$ac_objext conftest$ac_exeext
93089 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
93090   (eval $ac_link) 2>conftest.er1
93091   ac_status=$?
93092   grep -v '^ *+' conftest.er1 >conftest.err
93093   rm -f conftest.er1
93094   cat conftest.err >&5
93095   echo "$as_me:$LINENO: \$? = $ac_status" >&5
93096   (exit $ac_status); } &&
93097          { ac_try='test -z "$ac_c_werror_flag"
93098                          || test ! -s conftest.err'
93099   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
93100   (eval $ac_try) 2>&5
93101   ac_status=$?
93102   echo "$as_me:$LINENO: \$? = $ac_status" >&5
93103   (exit $ac_status); }; } &&
93104          { ac_try='test -s conftest$ac_exeext'
93105   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
93106   (eval $ac_try) 2>&5
93107   ac_status=$?
93108   echo "$as_me:$LINENO: \$? = $ac_status" >&5
93109   (exit $ac_status); }; }; then
93110   eval "$as_ac_var=yes"
93111 else
93112   echo "$as_me: failed program was:" >&5
93113 sed 's/^/| /' conftest.$ac_ext >&5
93114
93115 eval "$as_ac_var=no"
93116 fi
93117 rm -f conftest.err conftest.$ac_objext \
93118       conftest$ac_exeext conftest.$ac_ext
93119 fi
93120 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
93121 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
93122 if test `eval echo '${'$as_ac_var'}'` = yes; then
93123   cat >>confdefs.h <<_ACEOF
93124 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
93125 _ACEOF
93126
93127 fi
93128 done
93129
93130   else
93131
93132   echo "$as_me:$LINENO: checking for _powl declaration" >&5
93133 echo $ECHO_N "checking for _powl declaration... $ECHO_C" >&6
93134   if test x${glibcxx_cv_func__powl_use+set} != xset; then
93135     if test "${glibcxx_cv_func__powl_use+set}" = set; then
93136   echo $ECHO_N "(cached) $ECHO_C" >&6
93137 else
93138
93139
93140
93141       ac_ext=cc
93142 ac_cpp='$CXXCPP $CPPFLAGS'
93143 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
93144 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
93145 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
93146
93147       cat >conftest.$ac_ext <<_ACEOF
93148 /* confdefs.h.  */
93149 _ACEOF
93150 cat confdefs.h >>conftest.$ac_ext
93151 cat >>conftest.$ac_ext <<_ACEOF
93152 /* end confdefs.h.  */
93153 #include <math.h>
93154 int
93155 main ()
93156 {
93157  _powl(0, 0);
93158   ;
93159   return 0;
93160 }
93161 _ACEOF
93162 rm -f conftest.$ac_objext
93163 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
93164   (eval $ac_compile) 2>conftest.er1
93165   ac_status=$?
93166   grep -v '^ *+' conftest.er1 >conftest.err
93167   rm -f conftest.er1
93168   cat conftest.err >&5
93169   echo "$as_me:$LINENO: \$? = $ac_status" >&5
93170   (exit $ac_status); } &&
93171          { ac_try='test -z "$ac_cxx_werror_flag"
93172                          || test ! -s conftest.err'
93173   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
93174   (eval $ac_try) 2>&5
93175   ac_status=$?
93176   echo "$as_me:$LINENO: \$? = $ac_status" >&5
93177   (exit $ac_status); }; } &&
93178          { ac_try='test -s conftest.$ac_objext'
93179   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
93180   (eval $ac_try) 2>&5
93181   ac_status=$?
93182   echo "$as_me:$LINENO: \$? = $ac_status" >&5
93183   (exit $ac_status); }; }; then
93184   glibcxx_cv_func__powl_use=yes
93185 else
93186   echo "$as_me: failed program was:" >&5
93187 sed 's/^/| /' conftest.$ac_ext >&5
93188
93189 glibcxx_cv_func__powl_use=no
93190 fi
93191 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
93192       ac_ext=c
93193 ac_cpp='$CPP $CPPFLAGS'
93194 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
93195 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
93196 ac_compiler_gnu=$ac_cv_c_compiler_gnu
93197
93198
93199 fi
93200
93201   fi
93202   echo "$as_me:$LINENO: result: $glibcxx_cv_func__powl_use" >&5
93203 echo "${ECHO_T}$glibcxx_cv_func__powl_use" >&6
93204
93205     if test x$glibcxx_cv_func__powl_use = x"yes"; then
93206
93207 for ac_func in _powl
93208 do
93209 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
93210 echo "$as_me:$LINENO: checking for $ac_func" >&5
93211 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
93212 if eval "test \"\${$as_ac_var+set}\" = set"; then
93213   echo $ECHO_N "(cached) $ECHO_C" >&6
93214 else
93215   if test x$gcc_no_link = xyes; then
93216   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
93217 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
93218    { (exit 1); exit 1; }; }
93219 fi
93220 cat >conftest.$ac_ext <<_ACEOF
93221 /* confdefs.h.  */
93222 _ACEOF
93223 cat confdefs.h >>conftest.$ac_ext
93224 cat >>conftest.$ac_ext <<_ACEOF
93225 /* end confdefs.h.  */
93226 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
93227    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
93228 #define $ac_func innocuous_$ac_func
93229
93230 /* System header to define __stub macros and hopefully few prototypes,
93231     which can conflict with char $ac_func (); below.
93232     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
93233     <limits.h> exists even on freestanding compilers.  */
93234
93235 #ifdef __STDC__
93236 # include <limits.h>
93237 #else
93238 # include <assert.h>
93239 #endif
93240
93241 #undef $ac_func
93242
93243 /* Override any gcc2 internal prototype to avoid an error.  */
93244 #ifdef __cplusplus
93245 extern "C"
93246 {
93247 #endif
93248 /* We use char because int might match the return type of a gcc2
93249    builtin and then its argument prototype would still apply.  */
93250 char $ac_func ();
93251 /* The GNU C library defines this for functions which it implements
93252     to always fail with ENOSYS.  Some functions are actually named
93253     something starting with __ and the normal name is an alias.  */
93254 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
93255 choke me
93256 #else
93257 char (*f) () = $ac_func;
93258 #endif
93259 #ifdef __cplusplus
93260 }
93261 #endif
93262
93263 int
93264 main ()
93265 {
93266 return f != $ac_func;
93267   ;
93268   return 0;
93269 }
93270 _ACEOF
93271 rm -f conftest.$ac_objext conftest$ac_exeext
93272 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
93273   (eval $ac_link) 2>conftest.er1
93274   ac_status=$?
93275   grep -v '^ *+' conftest.er1 >conftest.err
93276   rm -f conftest.er1
93277   cat conftest.err >&5
93278   echo "$as_me:$LINENO: \$? = $ac_status" >&5
93279   (exit $ac_status); } &&
93280          { ac_try='test -z "$ac_c_werror_flag"
93281                          || test ! -s conftest.err'
93282   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
93283   (eval $ac_try) 2>&5
93284   ac_status=$?
93285   echo "$as_me:$LINENO: \$? = $ac_status" >&5
93286   (exit $ac_status); }; } &&
93287          { ac_try='test -s conftest$ac_exeext'
93288   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
93289   (eval $ac_try) 2>&5
93290   ac_status=$?
93291   echo "$as_me:$LINENO: \$? = $ac_status" >&5
93292   (exit $ac_status); }; }; then
93293   eval "$as_ac_var=yes"
93294 else
93295   echo "$as_me: failed program was:" >&5
93296 sed 's/^/| /' conftest.$ac_ext >&5
93297
93298 eval "$as_ac_var=no"
93299 fi
93300 rm -f conftest.err conftest.$ac_objext \
93301       conftest$ac_exeext conftest.$ac_ext
93302 fi
93303 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
93304 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
93305 if test `eval echo '${'$as_ac_var'}'` = yes; then
93306   cat >>confdefs.h <<_ACEOF
93307 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
93308 _ACEOF
93309
93310 fi
93311 done
93312
93313     fi
93314   fi
93315
93316
93317
93318
93319
93320
93321   echo "$as_me:$LINENO: checking for sqrtl declaration" >&5
93322 echo $ECHO_N "checking for sqrtl declaration... $ECHO_C" >&6
93323   if test x${glibcxx_cv_func_sqrtl_use+set} != xset; then
93324     if test "${glibcxx_cv_func_sqrtl_use+set}" = set; then
93325   echo $ECHO_N "(cached) $ECHO_C" >&6
93326 else
93327
93328
93329
93330       ac_ext=cc
93331 ac_cpp='$CXXCPP $CPPFLAGS'
93332 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
93333 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
93334 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
93335
93336       cat >conftest.$ac_ext <<_ACEOF
93337 /* confdefs.h.  */
93338 _ACEOF
93339 cat confdefs.h >>conftest.$ac_ext
93340 cat >>conftest.$ac_ext <<_ACEOF
93341 /* end confdefs.h.  */
93342 #include <math.h>
93343                       #ifdef HAVE_IEEEFP_H
93344                       #include <ieeefp.h>
93345                       #endif
93346
93347 int
93348 main ()
93349 {
93350  sqrtl(0);
93351   ;
93352   return 0;
93353 }
93354 _ACEOF
93355 rm -f conftest.$ac_objext
93356 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
93357   (eval $ac_compile) 2>conftest.er1
93358   ac_status=$?
93359   grep -v '^ *+' conftest.er1 >conftest.err
93360   rm -f conftest.er1
93361   cat conftest.err >&5
93362   echo "$as_me:$LINENO: \$? = $ac_status" >&5
93363   (exit $ac_status); } &&
93364          { ac_try='test -z "$ac_cxx_werror_flag"
93365                          || test ! -s conftest.err'
93366   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
93367   (eval $ac_try) 2>&5
93368   ac_status=$?
93369   echo "$as_me:$LINENO: \$? = $ac_status" >&5
93370   (exit $ac_status); }; } &&
93371          { ac_try='test -s conftest.$ac_objext'
93372   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
93373   (eval $ac_try) 2>&5
93374   ac_status=$?
93375   echo "$as_me:$LINENO: \$? = $ac_status" >&5
93376   (exit $ac_status); }; }; then
93377   glibcxx_cv_func_sqrtl_use=yes
93378 else
93379   echo "$as_me: failed program was:" >&5
93380 sed 's/^/| /' conftest.$ac_ext >&5
93381
93382 glibcxx_cv_func_sqrtl_use=no
93383 fi
93384 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
93385       ac_ext=c
93386 ac_cpp='$CPP $CPPFLAGS'
93387 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
93388 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
93389 ac_compiler_gnu=$ac_cv_c_compiler_gnu
93390
93391
93392 fi
93393
93394   fi
93395   echo "$as_me:$LINENO: result: $glibcxx_cv_func_sqrtl_use" >&5
93396 echo "${ECHO_T}$glibcxx_cv_func_sqrtl_use" >&6
93397
93398   if test x$glibcxx_cv_func_sqrtl_use = x"yes"; then
93399
93400 for ac_func in sqrtl
93401 do
93402 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
93403 echo "$as_me:$LINENO: checking for $ac_func" >&5
93404 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
93405 if eval "test \"\${$as_ac_var+set}\" = set"; then
93406   echo $ECHO_N "(cached) $ECHO_C" >&6
93407 else
93408   if test x$gcc_no_link = xyes; then
93409   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
93410 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
93411    { (exit 1); exit 1; }; }
93412 fi
93413 cat >conftest.$ac_ext <<_ACEOF
93414 /* confdefs.h.  */
93415 _ACEOF
93416 cat confdefs.h >>conftest.$ac_ext
93417 cat >>conftest.$ac_ext <<_ACEOF
93418 /* end confdefs.h.  */
93419 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
93420    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
93421 #define $ac_func innocuous_$ac_func
93422
93423 /* System header to define __stub macros and hopefully few prototypes,
93424     which can conflict with char $ac_func (); below.
93425     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
93426     <limits.h> exists even on freestanding compilers.  */
93427
93428 #ifdef __STDC__
93429 # include <limits.h>
93430 #else
93431 # include <assert.h>
93432 #endif
93433
93434 #undef $ac_func
93435
93436 /* Override any gcc2 internal prototype to avoid an error.  */
93437 #ifdef __cplusplus
93438 extern "C"
93439 {
93440 #endif
93441 /* We use char because int might match the return type of a gcc2
93442    builtin and then its argument prototype would still apply.  */
93443 char $ac_func ();
93444 /* The GNU C library defines this for functions which it implements
93445     to always fail with ENOSYS.  Some functions are actually named
93446     something starting with __ and the normal name is an alias.  */
93447 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
93448 choke me
93449 #else
93450 char (*f) () = $ac_func;
93451 #endif
93452 #ifdef __cplusplus
93453 }
93454 #endif
93455
93456 int
93457 main ()
93458 {
93459 return f != $ac_func;
93460   ;
93461   return 0;
93462 }
93463 _ACEOF
93464 rm -f conftest.$ac_objext conftest$ac_exeext
93465 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
93466   (eval $ac_link) 2>conftest.er1
93467   ac_status=$?
93468   grep -v '^ *+' conftest.er1 >conftest.err
93469   rm -f conftest.er1
93470   cat conftest.err >&5
93471   echo "$as_me:$LINENO: \$? = $ac_status" >&5
93472   (exit $ac_status); } &&
93473          { ac_try='test -z "$ac_c_werror_flag"
93474                          || test ! -s conftest.err'
93475   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
93476   (eval $ac_try) 2>&5
93477   ac_status=$?
93478   echo "$as_me:$LINENO: \$? = $ac_status" >&5
93479   (exit $ac_status); }; } &&
93480          { ac_try='test -s conftest$ac_exeext'
93481   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
93482   (eval $ac_try) 2>&5
93483   ac_status=$?
93484   echo "$as_me:$LINENO: \$? = $ac_status" >&5
93485   (exit $ac_status); }; }; then
93486   eval "$as_ac_var=yes"
93487 else
93488   echo "$as_me: failed program was:" >&5
93489 sed 's/^/| /' conftest.$ac_ext >&5
93490
93491 eval "$as_ac_var=no"
93492 fi
93493 rm -f conftest.err conftest.$ac_objext \
93494       conftest$ac_exeext conftest.$ac_ext
93495 fi
93496 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
93497 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
93498 if test `eval echo '${'$as_ac_var'}'` = yes; then
93499   cat >>confdefs.h <<_ACEOF
93500 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
93501 _ACEOF
93502
93503 fi
93504 done
93505
93506   else
93507
93508   echo "$as_me:$LINENO: checking for _sqrtl declaration" >&5
93509 echo $ECHO_N "checking for _sqrtl declaration... $ECHO_C" >&6
93510   if test x${glibcxx_cv_func__sqrtl_use+set} != xset; then
93511     if test "${glibcxx_cv_func__sqrtl_use+set}" = set; then
93512   echo $ECHO_N "(cached) $ECHO_C" >&6
93513 else
93514
93515
93516
93517       ac_ext=cc
93518 ac_cpp='$CXXCPP $CPPFLAGS'
93519 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
93520 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
93521 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
93522
93523       cat >conftest.$ac_ext <<_ACEOF
93524 /* confdefs.h.  */
93525 _ACEOF
93526 cat confdefs.h >>conftest.$ac_ext
93527 cat >>conftest.$ac_ext <<_ACEOF
93528 /* end confdefs.h.  */
93529 #include <math.h>
93530                       #ifdef HAVE_IEEEFP_H
93531                       #include <ieeefp.h>
93532                       #endif
93533
93534 int
93535 main ()
93536 {
93537  _sqrtl(0);
93538   ;
93539   return 0;
93540 }
93541 _ACEOF
93542 rm -f conftest.$ac_objext
93543 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
93544   (eval $ac_compile) 2>conftest.er1
93545   ac_status=$?
93546   grep -v '^ *+' conftest.er1 >conftest.err
93547   rm -f conftest.er1
93548   cat conftest.err >&5
93549   echo "$as_me:$LINENO: \$? = $ac_status" >&5
93550   (exit $ac_status); } &&
93551          { ac_try='test -z "$ac_cxx_werror_flag"
93552                          || test ! -s conftest.err'
93553   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
93554   (eval $ac_try) 2>&5
93555   ac_status=$?
93556   echo "$as_me:$LINENO: \$? = $ac_status" >&5
93557   (exit $ac_status); }; } &&
93558          { ac_try='test -s conftest.$ac_objext'
93559   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
93560   (eval $ac_try) 2>&5
93561   ac_status=$?
93562   echo "$as_me:$LINENO: \$? = $ac_status" >&5
93563   (exit $ac_status); }; }; then
93564   glibcxx_cv_func__sqrtl_use=yes
93565 else
93566   echo "$as_me: failed program was:" >&5
93567 sed 's/^/| /' conftest.$ac_ext >&5
93568
93569 glibcxx_cv_func__sqrtl_use=no
93570 fi
93571 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
93572       ac_ext=c
93573 ac_cpp='$CPP $CPPFLAGS'
93574 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
93575 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
93576 ac_compiler_gnu=$ac_cv_c_compiler_gnu
93577
93578
93579 fi
93580
93581   fi
93582   echo "$as_me:$LINENO: result: $glibcxx_cv_func__sqrtl_use" >&5
93583 echo "${ECHO_T}$glibcxx_cv_func__sqrtl_use" >&6
93584
93585     if test x$glibcxx_cv_func__sqrtl_use = x"yes"; then
93586
93587 for ac_func in _sqrtl
93588 do
93589 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
93590 echo "$as_me:$LINENO: checking for $ac_func" >&5
93591 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
93592 if eval "test \"\${$as_ac_var+set}\" = set"; then
93593   echo $ECHO_N "(cached) $ECHO_C" >&6
93594 else
93595   if test x$gcc_no_link = xyes; then
93596   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
93597 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
93598    { (exit 1); exit 1; }; }
93599 fi
93600 cat >conftest.$ac_ext <<_ACEOF
93601 /* confdefs.h.  */
93602 _ACEOF
93603 cat confdefs.h >>conftest.$ac_ext
93604 cat >>conftest.$ac_ext <<_ACEOF
93605 /* end confdefs.h.  */
93606 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
93607    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
93608 #define $ac_func innocuous_$ac_func
93609
93610 /* System header to define __stub macros and hopefully few prototypes,
93611     which can conflict with char $ac_func (); below.
93612     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
93613     <limits.h> exists even on freestanding compilers.  */
93614
93615 #ifdef __STDC__
93616 # include <limits.h>
93617 #else
93618 # include <assert.h>
93619 #endif
93620
93621 #undef $ac_func
93622
93623 /* Override any gcc2 internal prototype to avoid an error.  */
93624 #ifdef __cplusplus
93625 extern "C"
93626 {
93627 #endif
93628 /* We use char because int might match the return type of a gcc2
93629    builtin and then its argument prototype would still apply.  */
93630 char $ac_func ();
93631 /* The GNU C library defines this for functions which it implements
93632     to always fail with ENOSYS.  Some functions are actually named
93633     something starting with __ and the normal name is an alias.  */
93634 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
93635 choke me
93636 #else
93637 char (*f) () = $ac_func;
93638 #endif
93639 #ifdef __cplusplus
93640 }
93641 #endif
93642
93643 int
93644 main ()
93645 {
93646 return f != $ac_func;
93647   ;
93648   return 0;
93649 }
93650 _ACEOF
93651 rm -f conftest.$ac_objext conftest$ac_exeext
93652 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
93653   (eval $ac_link) 2>conftest.er1
93654   ac_status=$?
93655   grep -v '^ *+' conftest.er1 >conftest.err
93656   rm -f conftest.er1
93657   cat conftest.err >&5
93658   echo "$as_me:$LINENO: \$? = $ac_status" >&5
93659   (exit $ac_status); } &&
93660          { ac_try='test -z "$ac_c_werror_flag"
93661                          || test ! -s conftest.err'
93662   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
93663   (eval $ac_try) 2>&5
93664   ac_status=$?
93665   echo "$as_me:$LINENO: \$? = $ac_status" >&5
93666   (exit $ac_status); }; } &&
93667          { ac_try='test -s conftest$ac_exeext'
93668   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
93669   (eval $ac_try) 2>&5
93670   ac_status=$?
93671   echo "$as_me:$LINENO: \$? = $ac_status" >&5
93672   (exit $ac_status); }; }; then
93673   eval "$as_ac_var=yes"
93674 else
93675   echo "$as_me: failed program was:" >&5
93676 sed 's/^/| /' conftest.$ac_ext >&5
93677
93678 eval "$as_ac_var=no"
93679 fi
93680 rm -f conftest.err conftest.$ac_objext \
93681       conftest$ac_exeext conftest.$ac_ext
93682 fi
93683 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
93684 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
93685 if test `eval echo '${'$as_ac_var'}'` = yes; then
93686   cat >>confdefs.h <<_ACEOF
93687 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
93688 _ACEOF
93689
93690 fi
93691 done
93692
93693     fi
93694   fi
93695
93696
93697
93698
93699
93700
93701   echo "$as_me:$LINENO: checking for sincosl declaration" >&5
93702 echo $ECHO_N "checking for sincosl declaration... $ECHO_C" >&6
93703   if test x${glibcxx_cv_func_sincosl_use+set} != xset; then
93704     if test "${glibcxx_cv_func_sincosl_use+set}" = set; then
93705   echo $ECHO_N "(cached) $ECHO_C" >&6
93706 else
93707
93708
93709
93710       ac_ext=cc
93711 ac_cpp='$CXXCPP $CPPFLAGS'
93712 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
93713 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
93714 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
93715
93716       cat >conftest.$ac_ext <<_ACEOF
93717 /* confdefs.h.  */
93718 _ACEOF
93719 cat confdefs.h >>conftest.$ac_ext
93720 cat >>conftest.$ac_ext <<_ACEOF
93721 /* end confdefs.h.  */
93722 #include <math.h>
93723 int
93724 main ()
93725 {
93726  sincosl(0, 0, 0);
93727   ;
93728   return 0;
93729 }
93730 _ACEOF
93731 rm -f conftest.$ac_objext
93732 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
93733   (eval $ac_compile) 2>conftest.er1
93734   ac_status=$?
93735   grep -v '^ *+' conftest.er1 >conftest.err
93736   rm -f conftest.er1
93737   cat conftest.err >&5
93738   echo "$as_me:$LINENO: \$? = $ac_status" >&5
93739   (exit $ac_status); } &&
93740          { ac_try='test -z "$ac_cxx_werror_flag"
93741                          || test ! -s conftest.err'
93742   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
93743   (eval $ac_try) 2>&5
93744   ac_status=$?
93745   echo "$as_me:$LINENO: \$? = $ac_status" >&5
93746   (exit $ac_status); }; } &&
93747          { ac_try='test -s conftest.$ac_objext'
93748   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
93749   (eval $ac_try) 2>&5
93750   ac_status=$?
93751   echo "$as_me:$LINENO: \$? = $ac_status" >&5
93752   (exit $ac_status); }; }; then
93753   glibcxx_cv_func_sincosl_use=yes
93754 else
93755   echo "$as_me: failed program was:" >&5
93756 sed 's/^/| /' conftest.$ac_ext >&5
93757
93758 glibcxx_cv_func_sincosl_use=no
93759 fi
93760 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
93761       ac_ext=c
93762 ac_cpp='$CPP $CPPFLAGS'
93763 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
93764 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
93765 ac_compiler_gnu=$ac_cv_c_compiler_gnu
93766
93767
93768 fi
93769
93770   fi
93771   echo "$as_me:$LINENO: result: $glibcxx_cv_func_sincosl_use" >&5
93772 echo "${ECHO_T}$glibcxx_cv_func_sincosl_use" >&6
93773
93774   if test x$glibcxx_cv_func_sincosl_use = x"yes"; then
93775
93776 for ac_func in sincosl
93777 do
93778 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
93779 echo "$as_me:$LINENO: checking for $ac_func" >&5
93780 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
93781 if eval "test \"\${$as_ac_var+set}\" = set"; then
93782   echo $ECHO_N "(cached) $ECHO_C" >&6
93783 else
93784   if test x$gcc_no_link = xyes; then
93785   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
93786 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
93787    { (exit 1); exit 1; }; }
93788 fi
93789 cat >conftest.$ac_ext <<_ACEOF
93790 /* confdefs.h.  */
93791 _ACEOF
93792 cat confdefs.h >>conftest.$ac_ext
93793 cat >>conftest.$ac_ext <<_ACEOF
93794 /* end confdefs.h.  */
93795 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
93796    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
93797 #define $ac_func innocuous_$ac_func
93798
93799 /* System header to define __stub macros and hopefully few prototypes,
93800     which can conflict with char $ac_func (); below.
93801     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
93802     <limits.h> exists even on freestanding compilers.  */
93803
93804 #ifdef __STDC__
93805 # include <limits.h>
93806 #else
93807 # include <assert.h>
93808 #endif
93809
93810 #undef $ac_func
93811
93812 /* Override any gcc2 internal prototype to avoid an error.  */
93813 #ifdef __cplusplus
93814 extern "C"
93815 {
93816 #endif
93817 /* We use char because int might match the return type of a gcc2
93818    builtin and then its argument prototype would still apply.  */
93819 char $ac_func ();
93820 /* The GNU C library defines this for functions which it implements
93821     to always fail with ENOSYS.  Some functions are actually named
93822     something starting with __ and the normal name is an alias.  */
93823 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
93824 choke me
93825 #else
93826 char (*f) () = $ac_func;
93827 #endif
93828 #ifdef __cplusplus
93829 }
93830 #endif
93831
93832 int
93833 main ()
93834 {
93835 return f != $ac_func;
93836   ;
93837   return 0;
93838 }
93839 _ACEOF
93840 rm -f conftest.$ac_objext conftest$ac_exeext
93841 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
93842   (eval $ac_link) 2>conftest.er1
93843   ac_status=$?
93844   grep -v '^ *+' conftest.er1 >conftest.err
93845   rm -f conftest.er1
93846   cat conftest.err >&5
93847   echo "$as_me:$LINENO: \$? = $ac_status" >&5
93848   (exit $ac_status); } &&
93849          { ac_try='test -z "$ac_c_werror_flag"
93850                          || test ! -s conftest.err'
93851   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
93852   (eval $ac_try) 2>&5
93853   ac_status=$?
93854   echo "$as_me:$LINENO: \$? = $ac_status" >&5
93855   (exit $ac_status); }; } &&
93856          { ac_try='test -s conftest$ac_exeext'
93857   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
93858   (eval $ac_try) 2>&5
93859   ac_status=$?
93860   echo "$as_me:$LINENO: \$? = $ac_status" >&5
93861   (exit $ac_status); }; }; then
93862   eval "$as_ac_var=yes"
93863 else
93864   echo "$as_me: failed program was:" >&5
93865 sed 's/^/| /' conftest.$ac_ext >&5
93866
93867 eval "$as_ac_var=no"
93868 fi
93869 rm -f conftest.err conftest.$ac_objext \
93870       conftest$ac_exeext conftest.$ac_ext
93871 fi
93872 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
93873 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
93874 if test `eval echo '${'$as_ac_var'}'` = yes; then
93875   cat >>confdefs.h <<_ACEOF
93876 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
93877 _ACEOF
93878
93879 fi
93880 done
93881
93882   else
93883
93884   echo "$as_me:$LINENO: checking for _sincosl declaration" >&5
93885 echo $ECHO_N "checking for _sincosl declaration... $ECHO_C" >&6
93886   if test x${glibcxx_cv_func__sincosl_use+set} != xset; then
93887     if test "${glibcxx_cv_func__sincosl_use+set}" = set; then
93888   echo $ECHO_N "(cached) $ECHO_C" >&6
93889 else
93890
93891
93892
93893       ac_ext=cc
93894 ac_cpp='$CXXCPP $CPPFLAGS'
93895 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
93896 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
93897 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
93898
93899       cat >conftest.$ac_ext <<_ACEOF
93900 /* confdefs.h.  */
93901 _ACEOF
93902 cat confdefs.h >>conftest.$ac_ext
93903 cat >>conftest.$ac_ext <<_ACEOF
93904 /* end confdefs.h.  */
93905 #include <math.h>
93906 int
93907 main ()
93908 {
93909  _sincosl(0, 0, 0);
93910   ;
93911   return 0;
93912 }
93913 _ACEOF
93914 rm -f conftest.$ac_objext
93915 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
93916   (eval $ac_compile) 2>conftest.er1
93917   ac_status=$?
93918   grep -v '^ *+' conftest.er1 >conftest.err
93919   rm -f conftest.er1
93920   cat conftest.err >&5
93921   echo "$as_me:$LINENO: \$? = $ac_status" >&5
93922   (exit $ac_status); } &&
93923          { ac_try='test -z "$ac_cxx_werror_flag"
93924                          || test ! -s conftest.err'
93925   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
93926   (eval $ac_try) 2>&5
93927   ac_status=$?
93928   echo "$as_me:$LINENO: \$? = $ac_status" >&5
93929   (exit $ac_status); }; } &&
93930          { ac_try='test -s conftest.$ac_objext'
93931   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
93932   (eval $ac_try) 2>&5
93933   ac_status=$?
93934   echo "$as_me:$LINENO: \$? = $ac_status" >&5
93935   (exit $ac_status); }; }; then
93936   glibcxx_cv_func__sincosl_use=yes
93937 else
93938   echo "$as_me: failed program was:" >&5
93939 sed 's/^/| /' conftest.$ac_ext >&5
93940
93941 glibcxx_cv_func__sincosl_use=no
93942 fi
93943 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
93944       ac_ext=c
93945 ac_cpp='$CPP $CPPFLAGS'
93946 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
93947 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
93948 ac_compiler_gnu=$ac_cv_c_compiler_gnu
93949
93950
93951 fi
93952
93953   fi
93954   echo "$as_me:$LINENO: result: $glibcxx_cv_func__sincosl_use" >&5
93955 echo "${ECHO_T}$glibcxx_cv_func__sincosl_use" >&6
93956
93957     if test x$glibcxx_cv_func__sincosl_use = x"yes"; then
93958
93959 for ac_func in _sincosl
93960 do
93961 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
93962 echo "$as_me:$LINENO: checking for $ac_func" >&5
93963 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
93964 if eval "test \"\${$as_ac_var+set}\" = set"; then
93965   echo $ECHO_N "(cached) $ECHO_C" >&6
93966 else
93967   if test x$gcc_no_link = xyes; then
93968   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
93969 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
93970    { (exit 1); exit 1; }; }
93971 fi
93972 cat >conftest.$ac_ext <<_ACEOF
93973 /* confdefs.h.  */
93974 _ACEOF
93975 cat confdefs.h >>conftest.$ac_ext
93976 cat >>conftest.$ac_ext <<_ACEOF
93977 /* end confdefs.h.  */
93978 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
93979    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
93980 #define $ac_func innocuous_$ac_func
93981
93982 /* System header to define __stub macros and hopefully few prototypes,
93983     which can conflict with char $ac_func (); below.
93984     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
93985     <limits.h> exists even on freestanding compilers.  */
93986
93987 #ifdef __STDC__
93988 # include <limits.h>
93989 #else
93990 # include <assert.h>
93991 #endif
93992
93993 #undef $ac_func
93994
93995 /* Override any gcc2 internal prototype to avoid an error.  */
93996 #ifdef __cplusplus
93997 extern "C"
93998 {
93999 #endif
94000 /* We use char because int might match the return type of a gcc2
94001    builtin and then its argument prototype would still apply.  */
94002 char $ac_func ();
94003 /* The GNU C library defines this for functions which it implements
94004     to always fail with ENOSYS.  Some functions are actually named
94005     something starting with __ and the normal name is an alias.  */
94006 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
94007 choke me
94008 #else
94009 char (*f) () = $ac_func;
94010 #endif
94011 #ifdef __cplusplus
94012 }
94013 #endif
94014
94015 int
94016 main ()
94017 {
94018 return f != $ac_func;
94019   ;
94020   return 0;
94021 }
94022 _ACEOF
94023 rm -f conftest.$ac_objext conftest$ac_exeext
94024 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
94025   (eval $ac_link) 2>conftest.er1
94026   ac_status=$?
94027   grep -v '^ *+' conftest.er1 >conftest.err
94028   rm -f conftest.er1
94029   cat conftest.err >&5
94030   echo "$as_me:$LINENO: \$? = $ac_status" >&5
94031   (exit $ac_status); } &&
94032          { ac_try='test -z "$ac_c_werror_flag"
94033                          || test ! -s conftest.err'
94034   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
94035   (eval $ac_try) 2>&5
94036   ac_status=$?
94037   echo "$as_me:$LINENO: \$? = $ac_status" >&5
94038   (exit $ac_status); }; } &&
94039          { ac_try='test -s conftest$ac_exeext'
94040   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
94041   (eval $ac_try) 2>&5
94042   ac_status=$?
94043   echo "$as_me:$LINENO: \$? = $ac_status" >&5
94044   (exit $ac_status); }; }; then
94045   eval "$as_ac_var=yes"
94046 else
94047   echo "$as_me: failed program was:" >&5
94048 sed 's/^/| /' conftest.$ac_ext >&5
94049
94050 eval "$as_ac_var=no"
94051 fi
94052 rm -f conftest.err conftest.$ac_objext \
94053       conftest$ac_exeext conftest.$ac_ext
94054 fi
94055 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
94056 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
94057 if test `eval echo '${'$as_ac_var'}'` = yes; then
94058   cat >>confdefs.h <<_ACEOF
94059 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
94060 _ACEOF
94061
94062 fi
94063 done
94064
94065     fi
94066   fi
94067
94068
94069
94070
94071
94072
94073   echo "$as_me:$LINENO: checking for finitel declaration" >&5
94074 echo $ECHO_N "checking for finitel declaration... $ECHO_C" >&6
94075   if test x${glibcxx_cv_func_finitel_use+set} != xset; then
94076     if test "${glibcxx_cv_func_finitel_use+set}" = set; then
94077   echo $ECHO_N "(cached) $ECHO_C" >&6
94078 else
94079
94080
94081
94082       ac_ext=cc
94083 ac_cpp='$CXXCPP $CPPFLAGS'
94084 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
94085 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
94086 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
94087
94088       cat >conftest.$ac_ext <<_ACEOF
94089 /* confdefs.h.  */
94090 _ACEOF
94091 cat confdefs.h >>conftest.$ac_ext
94092 cat >>conftest.$ac_ext <<_ACEOF
94093 /* end confdefs.h.  */
94094 #include <math.h>
94095                       #ifdef HAVE_IEEEFP_H
94096                       #include <ieeefp.h>
94097                       #endif
94098
94099 int
94100 main ()
94101 {
94102  finitel(0);
94103   ;
94104   return 0;
94105 }
94106 _ACEOF
94107 rm -f conftest.$ac_objext
94108 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
94109   (eval $ac_compile) 2>conftest.er1
94110   ac_status=$?
94111   grep -v '^ *+' conftest.er1 >conftest.err
94112   rm -f conftest.er1
94113   cat conftest.err >&5
94114   echo "$as_me:$LINENO: \$? = $ac_status" >&5
94115   (exit $ac_status); } &&
94116          { ac_try='test -z "$ac_cxx_werror_flag"
94117                          || test ! -s conftest.err'
94118   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
94119   (eval $ac_try) 2>&5
94120   ac_status=$?
94121   echo "$as_me:$LINENO: \$? = $ac_status" >&5
94122   (exit $ac_status); }; } &&
94123          { ac_try='test -s conftest.$ac_objext'
94124   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
94125   (eval $ac_try) 2>&5
94126   ac_status=$?
94127   echo "$as_me:$LINENO: \$? = $ac_status" >&5
94128   (exit $ac_status); }; }; then
94129   glibcxx_cv_func_finitel_use=yes
94130 else
94131   echo "$as_me: failed program was:" >&5
94132 sed 's/^/| /' conftest.$ac_ext >&5
94133
94134 glibcxx_cv_func_finitel_use=no
94135 fi
94136 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
94137       ac_ext=c
94138 ac_cpp='$CPP $CPPFLAGS'
94139 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
94140 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
94141 ac_compiler_gnu=$ac_cv_c_compiler_gnu
94142
94143
94144 fi
94145
94146   fi
94147   echo "$as_me:$LINENO: result: $glibcxx_cv_func_finitel_use" >&5
94148 echo "${ECHO_T}$glibcxx_cv_func_finitel_use" >&6
94149
94150   if test x$glibcxx_cv_func_finitel_use = x"yes"; then
94151
94152 for ac_func in finitel
94153 do
94154 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
94155 echo "$as_me:$LINENO: checking for $ac_func" >&5
94156 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
94157 if eval "test \"\${$as_ac_var+set}\" = set"; then
94158   echo $ECHO_N "(cached) $ECHO_C" >&6
94159 else
94160   if test x$gcc_no_link = xyes; then
94161   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
94162 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
94163    { (exit 1); exit 1; }; }
94164 fi
94165 cat >conftest.$ac_ext <<_ACEOF
94166 /* confdefs.h.  */
94167 _ACEOF
94168 cat confdefs.h >>conftest.$ac_ext
94169 cat >>conftest.$ac_ext <<_ACEOF
94170 /* end confdefs.h.  */
94171 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
94172    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
94173 #define $ac_func innocuous_$ac_func
94174
94175 /* System header to define __stub macros and hopefully few prototypes,
94176     which can conflict with char $ac_func (); below.
94177     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
94178     <limits.h> exists even on freestanding compilers.  */
94179
94180 #ifdef __STDC__
94181 # include <limits.h>
94182 #else
94183 # include <assert.h>
94184 #endif
94185
94186 #undef $ac_func
94187
94188 /* Override any gcc2 internal prototype to avoid an error.  */
94189 #ifdef __cplusplus
94190 extern "C"
94191 {
94192 #endif
94193 /* We use char because int might match the return type of a gcc2
94194    builtin and then its argument prototype would still apply.  */
94195 char $ac_func ();
94196 /* The GNU C library defines this for functions which it implements
94197     to always fail with ENOSYS.  Some functions are actually named
94198     something starting with __ and the normal name is an alias.  */
94199 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
94200 choke me
94201 #else
94202 char (*f) () = $ac_func;
94203 #endif
94204 #ifdef __cplusplus
94205 }
94206 #endif
94207
94208 int
94209 main ()
94210 {
94211 return f != $ac_func;
94212   ;
94213   return 0;
94214 }
94215 _ACEOF
94216 rm -f conftest.$ac_objext conftest$ac_exeext
94217 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
94218   (eval $ac_link) 2>conftest.er1
94219   ac_status=$?
94220   grep -v '^ *+' conftest.er1 >conftest.err
94221   rm -f conftest.er1
94222   cat conftest.err >&5
94223   echo "$as_me:$LINENO: \$? = $ac_status" >&5
94224   (exit $ac_status); } &&
94225          { ac_try='test -z "$ac_c_werror_flag"
94226                          || test ! -s conftest.err'
94227   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
94228   (eval $ac_try) 2>&5
94229   ac_status=$?
94230   echo "$as_me:$LINENO: \$? = $ac_status" >&5
94231   (exit $ac_status); }; } &&
94232          { ac_try='test -s conftest$ac_exeext'
94233   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
94234   (eval $ac_try) 2>&5
94235   ac_status=$?
94236   echo "$as_me:$LINENO: \$? = $ac_status" >&5
94237   (exit $ac_status); }; }; then
94238   eval "$as_ac_var=yes"
94239 else
94240   echo "$as_me: failed program was:" >&5
94241 sed 's/^/| /' conftest.$ac_ext >&5
94242
94243 eval "$as_ac_var=no"
94244 fi
94245 rm -f conftest.err conftest.$ac_objext \
94246       conftest$ac_exeext conftest.$ac_ext
94247 fi
94248 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
94249 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
94250 if test `eval echo '${'$as_ac_var'}'` = yes; then
94251   cat >>confdefs.h <<_ACEOF
94252 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
94253 _ACEOF
94254
94255 fi
94256 done
94257
94258   else
94259
94260   echo "$as_me:$LINENO: checking for _finitel declaration" >&5
94261 echo $ECHO_N "checking for _finitel declaration... $ECHO_C" >&6
94262   if test x${glibcxx_cv_func__finitel_use+set} != xset; then
94263     if test "${glibcxx_cv_func__finitel_use+set}" = set; then
94264   echo $ECHO_N "(cached) $ECHO_C" >&6
94265 else
94266
94267
94268
94269       ac_ext=cc
94270 ac_cpp='$CXXCPP $CPPFLAGS'
94271 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
94272 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
94273 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
94274
94275       cat >conftest.$ac_ext <<_ACEOF
94276 /* confdefs.h.  */
94277 _ACEOF
94278 cat confdefs.h >>conftest.$ac_ext
94279 cat >>conftest.$ac_ext <<_ACEOF
94280 /* end confdefs.h.  */
94281 #include <math.h>
94282                       #ifdef HAVE_IEEEFP_H
94283                       #include <ieeefp.h>
94284                       #endif
94285
94286 int
94287 main ()
94288 {
94289  _finitel(0);
94290   ;
94291   return 0;
94292 }
94293 _ACEOF
94294 rm -f conftest.$ac_objext
94295 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
94296   (eval $ac_compile) 2>conftest.er1
94297   ac_status=$?
94298   grep -v '^ *+' conftest.er1 >conftest.err
94299   rm -f conftest.er1
94300   cat conftest.err >&5
94301   echo "$as_me:$LINENO: \$? = $ac_status" >&5
94302   (exit $ac_status); } &&
94303          { ac_try='test -z "$ac_cxx_werror_flag"
94304                          || test ! -s conftest.err'
94305   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
94306   (eval $ac_try) 2>&5
94307   ac_status=$?
94308   echo "$as_me:$LINENO: \$? = $ac_status" >&5
94309   (exit $ac_status); }; } &&
94310          { ac_try='test -s conftest.$ac_objext'
94311   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
94312   (eval $ac_try) 2>&5
94313   ac_status=$?
94314   echo "$as_me:$LINENO: \$? = $ac_status" >&5
94315   (exit $ac_status); }; }; then
94316   glibcxx_cv_func__finitel_use=yes
94317 else
94318   echo "$as_me: failed program was:" >&5
94319 sed 's/^/| /' conftest.$ac_ext >&5
94320
94321 glibcxx_cv_func__finitel_use=no
94322 fi
94323 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
94324       ac_ext=c
94325 ac_cpp='$CPP $CPPFLAGS'
94326 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
94327 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
94328 ac_compiler_gnu=$ac_cv_c_compiler_gnu
94329
94330
94331 fi
94332
94333   fi
94334   echo "$as_me:$LINENO: result: $glibcxx_cv_func__finitel_use" >&5
94335 echo "${ECHO_T}$glibcxx_cv_func__finitel_use" >&6
94336
94337     if test x$glibcxx_cv_func__finitel_use = x"yes"; then
94338
94339 for ac_func in _finitel
94340 do
94341 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
94342 echo "$as_me:$LINENO: checking for $ac_func" >&5
94343 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
94344 if eval "test \"\${$as_ac_var+set}\" = set"; then
94345   echo $ECHO_N "(cached) $ECHO_C" >&6
94346 else
94347   if test x$gcc_no_link = xyes; then
94348   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
94349 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
94350    { (exit 1); exit 1; }; }
94351 fi
94352 cat >conftest.$ac_ext <<_ACEOF
94353 /* confdefs.h.  */
94354 _ACEOF
94355 cat confdefs.h >>conftest.$ac_ext
94356 cat >>conftest.$ac_ext <<_ACEOF
94357 /* end confdefs.h.  */
94358 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
94359    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
94360 #define $ac_func innocuous_$ac_func
94361
94362 /* System header to define __stub macros and hopefully few prototypes,
94363     which can conflict with char $ac_func (); below.
94364     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
94365     <limits.h> exists even on freestanding compilers.  */
94366
94367 #ifdef __STDC__
94368 # include <limits.h>
94369 #else
94370 # include <assert.h>
94371 #endif
94372
94373 #undef $ac_func
94374
94375 /* Override any gcc2 internal prototype to avoid an error.  */
94376 #ifdef __cplusplus
94377 extern "C"
94378 {
94379 #endif
94380 /* We use char because int might match the return type of a gcc2
94381    builtin and then its argument prototype would still apply.  */
94382 char $ac_func ();
94383 /* The GNU C library defines this for functions which it implements
94384     to always fail with ENOSYS.  Some functions are actually named
94385     something starting with __ and the normal name is an alias.  */
94386 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
94387 choke me
94388 #else
94389 char (*f) () = $ac_func;
94390 #endif
94391 #ifdef __cplusplus
94392 }
94393 #endif
94394
94395 int
94396 main ()
94397 {
94398 return f != $ac_func;
94399   ;
94400   return 0;
94401 }
94402 _ACEOF
94403 rm -f conftest.$ac_objext conftest$ac_exeext
94404 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
94405   (eval $ac_link) 2>conftest.er1
94406   ac_status=$?
94407   grep -v '^ *+' conftest.er1 >conftest.err
94408   rm -f conftest.er1
94409   cat conftest.err >&5
94410   echo "$as_me:$LINENO: \$? = $ac_status" >&5
94411   (exit $ac_status); } &&
94412          { ac_try='test -z "$ac_c_werror_flag"
94413                          || test ! -s conftest.err'
94414   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
94415   (eval $ac_try) 2>&5
94416   ac_status=$?
94417   echo "$as_me:$LINENO: \$? = $ac_status" >&5
94418   (exit $ac_status); }; } &&
94419          { ac_try='test -s conftest$ac_exeext'
94420   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
94421   (eval $ac_try) 2>&5
94422   ac_status=$?
94423   echo "$as_me:$LINENO: \$? = $ac_status" >&5
94424   (exit $ac_status); }; }; then
94425   eval "$as_ac_var=yes"
94426 else
94427   echo "$as_me: failed program was:" >&5
94428 sed 's/^/| /' conftest.$ac_ext >&5
94429
94430 eval "$as_ac_var=no"
94431 fi
94432 rm -f conftest.err conftest.$ac_objext \
94433       conftest$ac_exeext conftest.$ac_ext
94434 fi
94435 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
94436 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
94437 if test `eval echo '${'$as_ac_var'}'` = yes; then
94438   cat >>confdefs.h <<_ACEOF
94439 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
94440 _ACEOF
94441
94442 fi
94443 done
94444
94445     fi
94446   fi
94447
94448
94449
94450
94451
94452   LIBS="$ac_save_LIBS"
94453   CXXFLAGS="$ac_save_CXXFLAGS"
94454
94455
94456
94457   echo "$as_me:$LINENO: checking for __builtin_abs declaration" >&5
94458 echo $ECHO_N "checking for __builtin_abs declaration... $ECHO_C" >&6
94459   if test x${glibcxx_cv_func___builtin_abs_use+set} != xset; then
94460     if test "${glibcxx_cv_func___builtin_abs_use+set}" = set; then
94461   echo $ECHO_N "(cached) $ECHO_C" >&6
94462 else
94463
94464
94465
94466       ac_ext=cc
94467 ac_cpp='$CXXCPP $CPPFLAGS'
94468 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
94469 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
94470 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
94471
94472       cat >conftest.$ac_ext <<_ACEOF
94473 /* confdefs.h.  */
94474 _ACEOF
94475 cat confdefs.h >>conftest.$ac_ext
94476 cat >>conftest.$ac_ext <<_ACEOF
94477 /* end confdefs.h.  */
94478 #include <math.h>
94479 int
94480 main ()
94481 {
94482  __builtin_abs(0);
94483   ;
94484   return 0;
94485 }
94486 _ACEOF
94487 rm -f conftest.$ac_objext
94488 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
94489   (eval $ac_compile) 2>conftest.er1
94490   ac_status=$?
94491   grep -v '^ *+' conftest.er1 >conftest.err
94492   rm -f conftest.er1
94493   cat conftest.err >&5
94494   echo "$as_me:$LINENO: \$? = $ac_status" >&5
94495   (exit $ac_status); } &&
94496          { ac_try='test -z "$ac_cxx_werror_flag"
94497                          || test ! -s conftest.err'
94498   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
94499   (eval $ac_try) 2>&5
94500   ac_status=$?
94501   echo "$as_me:$LINENO: \$? = $ac_status" >&5
94502   (exit $ac_status); }; } &&
94503          { ac_try='test -s conftest.$ac_objext'
94504   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
94505   (eval $ac_try) 2>&5
94506   ac_status=$?
94507   echo "$as_me:$LINENO: \$? = $ac_status" >&5
94508   (exit $ac_status); }; }; then
94509   glibcxx_cv_func___builtin_abs_use=yes
94510 else
94511   echo "$as_me: failed program was:" >&5
94512 sed 's/^/| /' conftest.$ac_ext >&5
94513
94514 glibcxx_cv_func___builtin_abs_use=no
94515 fi
94516 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
94517       ac_ext=c
94518 ac_cpp='$CPP $CPPFLAGS'
94519 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
94520 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
94521 ac_compiler_gnu=$ac_cv_c_compiler_gnu
94522
94523
94524 fi
94525
94526   fi
94527   echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_abs_use" >&5
94528 echo "${ECHO_T}$glibcxx_cv_func___builtin_abs_use" >&6
94529   if test x$glibcxx_cv_func___builtin_abs_use = x"yes"; then
94530     echo "$as_me:$LINENO: checking for __builtin_abs linkage" >&5
94531 echo $ECHO_N "checking for __builtin_abs linkage... $ECHO_C" >&6
94532     if test x${glibcxx_cv_func___builtin_abs_link+set} != xset; then
94533       if test "${glibcxx_cv_func___builtin_abs_link+set}" = set; then
94534   echo $ECHO_N "(cached) $ECHO_C" >&6
94535 else
94536
94537         if test x$gcc_no_link = xyes; then
94538   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
94539 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
94540    { (exit 1); exit 1; }; }
94541 fi
94542 cat >conftest.$ac_ext <<_ACEOF
94543 /* confdefs.h.  */
94544 _ACEOF
94545 cat confdefs.h >>conftest.$ac_ext
94546 cat >>conftest.$ac_ext <<_ACEOF
94547 /* end confdefs.h.  */
94548 #include <math.h>
94549 int
94550 main ()
94551 {
94552  __builtin_abs(0);
94553   ;
94554   return 0;
94555 }
94556 _ACEOF
94557 rm -f conftest.$ac_objext conftest$ac_exeext
94558 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
94559   (eval $ac_link) 2>conftest.er1
94560   ac_status=$?
94561   grep -v '^ *+' conftest.er1 >conftest.err
94562   rm -f conftest.er1
94563   cat conftest.err >&5
94564   echo "$as_me:$LINENO: \$? = $ac_status" >&5
94565   (exit $ac_status); } &&
94566          { ac_try='test -z "$ac_c_werror_flag"
94567                          || test ! -s conftest.err'
94568   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
94569   (eval $ac_try) 2>&5
94570   ac_status=$?
94571   echo "$as_me:$LINENO: \$? = $ac_status" >&5
94572   (exit $ac_status); }; } &&
94573          { ac_try='test -s conftest$ac_exeext'
94574   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
94575   (eval $ac_try) 2>&5
94576   ac_status=$?
94577   echo "$as_me:$LINENO: \$? = $ac_status" >&5
94578   (exit $ac_status); }; }; then
94579   glibcxx_cv_func___builtin_abs_link=yes
94580 else
94581   echo "$as_me: failed program was:" >&5
94582 sed 's/^/| /' conftest.$ac_ext >&5
94583
94584 glibcxx_cv_func___builtin_abs_link=no
94585 fi
94586 rm -f conftest.err conftest.$ac_objext \
94587       conftest$ac_exeext conftest.$ac_ext
94588
94589 fi
94590
94591     fi
94592     echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_abs_link" >&5
94593 echo "${ECHO_T}$glibcxx_cv_func___builtin_abs_link" >&6
94594
94595     if test x$glibcxx_cv_func___builtin_abs_link = x"yes"; then
94596
94597 cat >>confdefs.h <<\_ACEOF
94598 #define HAVE___BUILTIN_ABS 1
94599 _ACEOF
94600
94601     fi
94602
94603   fi
94604
94605
94606   echo "$as_me:$LINENO: checking for __builtin_fabsf declaration" >&5
94607 echo $ECHO_N "checking for __builtin_fabsf declaration... $ECHO_C" >&6
94608   if test x${glibcxx_cv_func___builtin_fabsf_use+set} != xset; then
94609     if test "${glibcxx_cv_func___builtin_fabsf_use+set}" = set; then
94610   echo $ECHO_N "(cached) $ECHO_C" >&6
94611 else
94612
94613
94614
94615       ac_ext=cc
94616 ac_cpp='$CXXCPP $CPPFLAGS'
94617 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
94618 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
94619 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
94620
94621       cat >conftest.$ac_ext <<_ACEOF
94622 /* confdefs.h.  */
94623 _ACEOF
94624 cat confdefs.h >>conftest.$ac_ext
94625 cat >>conftest.$ac_ext <<_ACEOF
94626 /* end confdefs.h.  */
94627 #include <math.h>
94628 int
94629 main ()
94630 {
94631  __builtin_fabsf(0);
94632   ;
94633   return 0;
94634 }
94635 _ACEOF
94636 rm -f conftest.$ac_objext
94637 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
94638   (eval $ac_compile) 2>conftest.er1
94639   ac_status=$?
94640   grep -v '^ *+' conftest.er1 >conftest.err
94641   rm -f conftest.er1
94642   cat conftest.err >&5
94643   echo "$as_me:$LINENO: \$? = $ac_status" >&5
94644   (exit $ac_status); } &&
94645          { ac_try='test -z "$ac_cxx_werror_flag"
94646                          || test ! -s conftest.err'
94647   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
94648   (eval $ac_try) 2>&5
94649   ac_status=$?
94650   echo "$as_me:$LINENO: \$? = $ac_status" >&5
94651   (exit $ac_status); }; } &&
94652          { ac_try='test -s conftest.$ac_objext'
94653   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
94654   (eval $ac_try) 2>&5
94655   ac_status=$?
94656   echo "$as_me:$LINENO: \$? = $ac_status" >&5
94657   (exit $ac_status); }; }; then
94658   glibcxx_cv_func___builtin_fabsf_use=yes
94659 else
94660   echo "$as_me: failed program was:" >&5
94661 sed 's/^/| /' conftest.$ac_ext >&5
94662
94663 glibcxx_cv_func___builtin_fabsf_use=no
94664 fi
94665 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
94666       ac_ext=c
94667 ac_cpp='$CPP $CPPFLAGS'
94668 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
94669 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
94670 ac_compiler_gnu=$ac_cv_c_compiler_gnu
94671
94672
94673 fi
94674
94675   fi
94676   echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_fabsf_use" >&5
94677 echo "${ECHO_T}$glibcxx_cv_func___builtin_fabsf_use" >&6
94678   if test x$glibcxx_cv_func___builtin_fabsf_use = x"yes"; then
94679     echo "$as_me:$LINENO: checking for __builtin_fabsf linkage" >&5
94680 echo $ECHO_N "checking for __builtin_fabsf linkage... $ECHO_C" >&6
94681     if test x${glibcxx_cv_func___builtin_fabsf_link+set} != xset; then
94682       if test "${glibcxx_cv_func___builtin_fabsf_link+set}" = set; then
94683   echo $ECHO_N "(cached) $ECHO_C" >&6
94684 else
94685
94686         if test x$gcc_no_link = xyes; then
94687   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
94688 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
94689    { (exit 1); exit 1; }; }
94690 fi
94691 cat >conftest.$ac_ext <<_ACEOF
94692 /* confdefs.h.  */
94693 _ACEOF
94694 cat confdefs.h >>conftest.$ac_ext
94695 cat >>conftest.$ac_ext <<_ACEOF
94696 /* end confdefs.h.  */
94697 #include <math.h>
94698 int
94699 main ()
94700 {
94701  __builtin_fabsf(0);
94702   ;
94703   return 0;
94704 }
94705 _ACEOF
94706 rm -f conftest.$ac_objext conftest$ac_exeext
94707 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
94708   (eval $ac_link) 2>conftest.er1
94709   ac_status=$?
94710   grep -v '^ *+' conftest.er1 >conftest.err
94711   rm -f conftest.er1
94712   cat conftest.err >&5
94713   echo "$as_me:$LINENO: \$? = $ac_status" >&5
94714   (exit $ac_status); } &&
94715          { ac_try='test -z "$ac_c_werror_flag"
94716                          || test ! -s conftest.err'
94717   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
94718   (eval $ac_try) 2>&5
94719   ac_status=$?
94720   echo "$as_me:$LINENO: \$? = $ac_status" >&5
94721   (exit $ac_status); }; } &&
94722          { ac_try='test -s conftest$ac_exeext'
94723   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
94724   (eval $ac_try) 2>&5
94725   ac_status=$?
94726   echo "$as_me:$LINENO: \$? = $ac_status" >&5
94727   (exit $ac_status); }; }; then
94728   glibcxx_cv_func___builtin_fabsf_link=yes
94729 else
94730   echo "$as_me: failed program was:" >&5
94731 sed 's/^/| /' conftest.$ac_ext >&5
94732
94733 glibcxx_cv_func___builtin_fabsf_link=no
94734 fi
94735 rm -f conftest.err conftest.$ac_objext \
94736       conftest$ac_exeext conftest.$ac_ext
94737
94738 fi
94739
94740     fi
94741     echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_fabsf_link" >&5
94742 echo "${ECHO_T}$glibcxx_cv_func___builtin_fabsf_link" >&6
94743
94744     if test x$glibcxx_cv_func___builtin_fabsf_link = x"yes"; then
94745
94746 cat >>confdefs.h <<\_ACEOF
94747 #define HAVE___BUILTIN_FABSF 1
94748 _ACEOF
94749
94750     fi
94751
94752   fi
94753
94754
94755   echo "$as_me:$LINENO: checking for __builtin_fabs declaration" >&5
94756 echo $ECHO_N "checking for __builtin_fabs declaration... $ECHO_C" >&6
94757   if test x${glibcxx_cv_func___builtin_fabs_use+set} != xset; then
94758     if test "${glibcxx_cv_func___builtin_fabs_use+set}" = set; then
94759   echo $ECHO_N "(cached) $ECHO_C" >&6
94760 else
94761
94762
94763
94764       ac_ext=cc
94765 ac_cpp='$CXXCPP $CPPFLAGS'
94766 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
94767 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
94768 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
94769
94770       cat >conftest.$ac_ext <<_ACEOF
94771 /* confdefs.h.  */
94772 _ACEOF
94773 cat confdefs.h >>conftest.$ac_ext
94774 cat >>conftest.$ac_ext <<_ACEOF
94775 /* end confdefs.h.  */
94776 #include <math.h>
94777 int
94778 main ()
94779 {
94780  __builtin_fabs(0);
94781   ;
94782   return 0;
94783 }
94784 _ACEOF
94785 rm -f conftest.$ac_objext
94786 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
94787   (eval $ac_compile) 2>conftest.er1
94788   ac_status=$?
94789   grep -v '^ *+' conftest.er1 >conftest.err
94790   rm -f conftest.er1
94791   cat conftest.err >&5
94792   echo "$as_me:$LINENO: \$? = $ac_status" >&5
94793   (exit $ac_status); } &&
94794          { ac_try='test -z "$ac_cxx_werror_flag"
94795                          || test ! -s conftest.err'
94796   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
94797   (eval $ac_try) 2>&5
94798   ac_status=$?
94799   echo "$as_me:$LINENO: \$? = $ac_status" >&5
94800   (exit $ac_status); }; } &&
94801          { ac_try='test -s conftest.$ac_objext'
94802   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
94803   (eval $ac_try) 2>&5
94804   ac_status=$?
94805   echo "$as_me:$LINENO: \$? = $ac_status" >&5
94806   (exit $ac_status); }; }; then
94807   glibcxx_cv_func___builtin_fabs_use=yes
94808 else
94809   echo "$as_me: failed program was:" >&5
94810 sed 's/^/| /' conftest.$ac_ext >&5
94811
94812 glibcxx_cv_func___builtin_fabs_use=no
94813 fi
94814 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
94815       ac_ext=c
94816 ac_cpp='$CPP $CPPFLAGS'
94817 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
94818 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
94819 ac_compiler_gnu=$ac_cv_c_compiler_gnu
94820
94821
94822 fi
94823
94824   fi
94825   echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_fabs_use" >&5
94826 echo "${ECHO_T}$glibcxx_cv_func___builtin_fabs_use" >&6
94827   if test x$glibcxx_cv_func___builtin_fabs_use = x"yes"; then
94828     echo "$as_me:$LINENO: checking for __builtin_fabs linkage" >&5
94829 echo $ECHO_N "checking for __builtin_fabs linkage... $ECHO_C" >&6
94830     if test x${glibcxx_cv_func___builtin_fabs_link+set} != xset; then
94831       if test "${glibcxx_cv_func___builtin_fabs_link+set}" = set; then
94832   echo $ECHO_N "(cached) $ECHO_C" >&6
94833 else
94834
94835         if test x$gcc_no_link = xyes; then
94836   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
94837 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
94838    { (exit 1); exit 1; }; }
94839 fi
94840 cat >conftest.$ac_ext <<_ACEOF
94841 /* confdefs.h.  */
94842 _ACEOF
94843 cat confdefs.h >>conftest.$ac_ext
94844 cat >>conftest.$ac_ext <<_ACEOF
94845 /* end confdefs.h.  */
94846 #include <math.h>
94847 int
94848 main ()
94849 {
94850  __builtin_fabs(0);
94851   ;
94852   return 0;
94853 }
94854 _ACEOF
94855 rm -f conftest.$ac_objext conftest$ac_exeext
94856 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
94857   (eval $ac_link) 2>conftest.er1
94858   ac_status=$?
94859   grep -v '^ *+' conftest.er1 >conftest.err
94860   rm -f conftest.er1
94861   cat conftest.err >&5
94862   echo "$as_me:$LINENO: \$? = $ac_status" >&5
94863   (exit $ac_status); } &&
94864          { ac_try='test -z "$ac_c_werror_flag"
94865                          || test ! -s conftest.err'
94866   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
94867   (eval $ac_try) 2>&5
94868   ac_status=$?
94869   echo "$as_me:$LINENO: \$? = $ac_status" >&5
94870   (exit $ac_status); }; } &&
94871          { ac_try='test -s conftest$ac_exeext'
94872   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
94873   (eval $ac_try) 2>&5
94874   ac_status=$?
94875   echo "$as_me:$LINENO: \$? = $ac_status" >&5
94876   (exit $ac_status); }; }; then
94877   glibcxx_cv_func___builtin_fabs_link=yes
94878 else
94879   echo "$as_me: failed program was:" >&5
94880 sed 's/^/| /' conftest.$ac_ext >&5
94881
94882 glibcxx_cv_func___builtin_fabs_link=no
94883 fi
94884 rm -f conftest.err conftest.$ac_objext \
94885       conftest$ac_exeext conftest.$ac_ext
94886
94887 fi
94888
94889     fi
94890     echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_fabs_link" >&5
94891 echo "${ECHO_T}$glibcxx_cv_func___builtin_fabs_link" >&6
94892
94893     if test x$glibcxx_cv_func___builtin_fabs_link = x"yes"; then
94894
94895 cat >>confdefs.h <<\_ACEOF
94896 #define HAVE___BUILTIN_FABS 1
94897 _ACEOF
94898
94899     fi
94900
94901   fi
94902
94903
94904   echo "$as_me:$LINENO: checking for __builtin_fabsl declaration" >&5
94905 echo $ECHO_N "checking for __builtin_fabsl declaration... $ECHO_C" >&6
94906   if test x${glibcxx_cv_func___builtin_fabsl_use+set} != xset; then
94907     if test "${glibcxx_cv_func___builtin_fabsl_use+set}" = set; then
94908   echo $ECHO_N "(cached) $ECHO_C" >&6
94909 else
94910
94911
94912
94913       ac_ext=cc
94914 ac_cpp='$CXXCPP $CPPFLAGS'
94915 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
94916 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
94917 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
94918
94919       cat >conftest.$ac_ext <<_ACEOF
94920 /* confdefs.h.  */
94921 _ACEOF
94922 cat confdefs.h >>conftest.$ac_ext
94923 cat >>conftest.$ac_ext <<_ACEOF
94924 /* end confdefs.h.  */
94925 #include <math.h>
94926 int
94927 main ()
94928 {
94929  __builtin_fabsl(0);
94930   ;
94931   return 0;
94932 }
94933 _ACEOF
94934 rm -f conftest.$ac_objext
94935 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
94936   (eval $ac_compile) 2>conftest.er1
94937   ac_status=$?
94938   grep -v '^ *+' conftest.er1 >conftest.err
94939   rm -f conftest.er1
94940   cat conftest.err >&5
94941   echo "$as_me:$LINENO: \$? = $ac_status" >&5
94942   (exit $ac_status); } &&
94943          { ac_try='test -z "$ac_cxx_werror_flag"
94944                          || test ! -s conftest.err'
94945   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
94946   (eval $ac_try) 2>&5
94947   ac_status=$?
94948   echo "$as_me:$LINENO: \$? = $ac_status" >&5
94949   (exit $ac_status); }; } &&
94950          { ac_try='test -s conftest.$ac_objext'
94951   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
94952   (eval $ac_try) 2>&5
94953   ac_status=$?
94954   echo "$as_me:$LINENO: \$? = $ac_status" >&5
94955   (exit $ac_status); }; }; then
94956   glibcxx_cv_func___builtin_fabsl_use=yes
94957 else
94958   echo "$as_me: failed program was:" >&5
94959 sed 's/^/| /' conftest.$ac_ext >&5
94960
94961 glibcxx_cv_func___builtin_fabsl_use=no
94962 fi
94963 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
94964       ac_ext=c
94965 ac_cpp='$CPP $CPPFLAGS'
94966 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
94967 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
94968 ac_compiler_gnu=$ac_cv_c_compiler_gnu
94969
94970
94971 fi
94972
94973   fi
94974   echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_fabsl_use" >&5
94975 echo "${ECHO_T}$glibcxx_cv_func___builtin_fabsl_use" >&6
94976   if test x$glibcxx_cv_func___builtin_fabsl_use = x"yes"; then
94977     echo "$as_me:$LINENO: checking for __builtin_fabsl linkage" >&5
94978 echo $ECHO_N "checking for __builtin_fabsl linkage... $ECHO_C" >&6
94979     if test x${glibcxx_cv_func___builtin_fabsl_link+set} != xset; then
94980       if test "${glibcxx_cv_func___builtin_fabsl_link+set}" = set; then
94981   echo $ECHO_N "(cached) $ECHO_C" >&6
94982 else
94983
94984         if test x$gcc_no_link = xyes; then
94985   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
94986 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
94987    { (exit 1); exit 1; }; }
94988 fi
94989 cat >conftest.$ac_ext <<_ACEOF
94990 /* confdefs.h.  */
94991 _ACEOF
94992 cat confdefs.h >>conftest.$ac_ext
94993 cat >>conftest.$ac_ext <<_ACEOF
94994 /* end confdefs.h.  */
94995 #include <math.h>
94996 int
94997 main ()
94998 {
94999  __builtin_fabsl(0);
95000   ;
95001   return 0;
95002 }
95003 _ACEOF
95004 rm -f conftest.$ac_objext conftest$ac_exeext
95005 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
95006   (eval $ac_link) 2>conftest.er1
95007   ac_status=$?
95008   grep -v '^ *+' conftest.er1 >conftest.err
95009   rm -f conftest.er1
95010   cat conftest.err >&5
95011   echo "$as_me:$LINENO: \$? = $ac_status" >&5
95012   (exit $ac_status); } &&
95013          { ac_try='test -z "$ac_c_werror_flag"
95014                          || test ! -s conftest.err'
95015   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
95016   (eval $ac_try) 2>&5
95017   ac_status=$?
95018   echo "$as_me:$LINENO: \$? = $ac_status" >&5
95019   (exit $ac_status); }; } &&
95020          { ac_try='test -s conftest$ac_exeext'
95021   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
95022   (eval $ac_try) 2>&5
95023   ac_status=$?
95024   echo "$as_me:$LINENO: \$? = $ac_status" >&5
95025   (exit $ac_status); }; }; then
95026   glibcxx_cv_func___builtin_fabsl_link=yes
95027 else
95028   echo "$as_me: failed program was:" >&5
95029 sed 's/^/| /' conftest.$ac_ext >&5
95030
95031 glibcxx_cv_func___builtin_fabsl_link=no
95032 fi
95033 rm -f conftest.err conftest.$ac_objext \
95034       conftest$ac_exeext conftest.$ac_ext
95035
95036 fi
95037
95038     fi
95039     echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_fabsl_link" >&5
95040 echo "${ECHO_T}$glibcxx_cv_func___builtin_fabsl_link" >&6
95041
95042     if test x$glibcxx_cv_func___builtin_fabsl_link = x"yes"; then
95043
95044 cat >>confdefs.h <<\_ACEOF
95045 #define HAVE___BUILTIN_FABSL 1
95046 _ACEOF
95047
95048     fi
95049
95050   fi
95051
95052
95053   echo "$as_me:$LINENO: checking for __builtin_labs declaration" >&5
95054 echo $ECHO_N "checking for __builtin_labs declaration... $ECHO_C" >&6
95055   if test x${glibcxx_cv_func___builtin_labs_use+set} != xset; then
95056     if test "${glibcxx_cv_func___builtin_labs_use+set}" = set; then
95057   echo $ECHO_N "(cached) $ECHO_C" >&6
95058 else
95059
95060
95061
95062       ac_ext=cc
95063 ac_cpp='$CXXCPP $CPPFLAGS'
95064 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
95065 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
95066 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
95067
95068       cat >conftest.$ac_ext <<_ACEOF
95069 /* confdefs.h.  */
95070 _ACEOF
95071 cat confdefs.h >>conftest.$ac_ext
95072 cat >>conftest.$ac_ext <<_ACEOF
95073 /* end confdefs.h.  */
95074 #include <math.h>
95075 int
95076 main ()
95077 {
95078  __builtin_labs(0);
95079   ;
95080   return 0;
95081 }
95082 _ACEOF
95083 rm -f conftest.$ac_objext
95084 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
95085   (eval $ac_compile) 2>conftest.er1
95086   ac_status=$?
95087   grep -v '^ *+' conftest.er1 >conftest.err
95088   rm -f conftest.er1
95089   cat conftest.err >&5
95090   echo "$as_me:$LINENO: \$? = $ac_status" >&5
95091   (exit $ac_status); } &&
95092          { ac_try='test -z "$ac_cxx_werror_flag"
95093                          || test ! -s conftest.err'
95094   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
95095   (eval $ac_try) 2>&5
95096   ac_status=$?
95097   echo "$as_me:$LINENO: \$? = $ac_status" >&5
95098   (exit $ac_status); }; } &&
95099          { ac_try='test -s conftest.$ac_objext'
95100   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
95101   (eval $ac_try) 2>&5
95102   ac_status=$?
95103   echo "$as_me:$LINENO: \$? = $ac_status" >&5
95104   (exit $ac_status); }; }; then
95105   glibcxx_cv_func___builtin_labs_use=yes
95106 else
95107   echo "$as_me: failed program was:" >&5
95108 sed 's/^/| /' conftest.$ac_ext >&5
95109
95110 glibcxx_cv_func___builtin_labs_use=no
95111 fi
95112 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
95113       ac_ext=c
95114 ac_cpp='$CPP $CPPFLAGS'
95115 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
95116 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
95117 ac_compiler_gnu=$ac_cv_c_compiler_gnu
95118
95119
95120 fi
95121
95122   fi
95123   echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_labs_use" >&5
95124 echo "${ECHO_T}$glibcxx_cv_func___builtin_labs_use" >&6
95125   if test x$glibcxx_cv_func___builtin_labs_use = x"yes"; then
95126     echo "$as_me:$LINENO: checking for __builtin_labs linkage" >&5
95127 echo $ECHO_N "checking for __builtin_labs linkage... $ECHO_C" >&6
95128     if test x${glibcxx_cv_func___builtin_labs_link+set} != xset; then
95129       if test "${glibcxx_cv_func___builtin_labs_link+set}" = set; then
95130   echo $ECHO_N "(cached) $ECHO_C" >&6
95131 else
95132
95133         if test x$gcc_no_link = xyes; then
95134   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
95135 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
95136    { (exit 1); exit 1; }; }
95137 fi
95138 cat >conftest.$ac_ext <<_ACEOF
95139 /* confdefs.h.  */
95140 _ACEOF
95141 cat confdefs.h >>conftest.$ac_ext
95142 cat >>conftest.$ac_ext <<_ACEOF
95143 /* end confdefs.h.  */
95144 #include <math.h>
95145 int
95146 main ()
95147 {
95148  __builtin_labs(0);
95149   ;
95150   return 0;
95151 }
95152 _ACEOF
95153 rm -f conftest.$ac_objext conftest$ac_exeext
95154 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
95155   (eval $ac_link) 2>conftest.er1
95156   ac_status=$?
95157   grep -v '^ *+' conftest.er1 >conftest.err
95158   rm -f conftest.er1
95159   cat conftest.err >&5
95160   echo "$as_me:$LINENO: \$? = $ac_status" >&5
95161   (exit $ac_status); } &&
95162          { ac_try='test -z "$ac_c_werror_flag"
95163                          || test ! -s conftest.err'
95164   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
95165   (eval $ac_try) 2>&5
95166   ac_status=$?
95167   echo "$as_me:$LINENO: \$? = $ac_status" >&5
95168   (exit $ac_status); }; } &&
95169          { ac_try='test -s conftest$ac_exeext'
95170   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
95171   (eval $ac_try) 2>&5
95172   ac_status=$?
95173   echo "$as_me:$LINENO: \$? = $ac_status" >&5
95174   (exit $ac_status); }; }; then
95175   glibcxx_cv_func___builtin_labs_link=yes
95176 else
95177   echo "$as_me: failed program was:" >&5
95178 sed 's/^/| /' conftest.$ac_ext >&5
95179
95180 glibcxx_cv_func___builtin_labs_link=no
95181 fi
95182 rm -f conftest.err conftest.$ac_objext \
95183       conftest$ac_exeext conftest.$ac_ext
95184
95185 fi
95186
95187     fi
95188     echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_labs_link" >&5
95189 echo "${ECHO_T}$glibcxx_cv_func___builtin_labs_link" >&6
95190
95191     if test x$glibcxx_cv_func___builtin_labs_link = x"yes"; then
95192
95193 cat >>confdefs.h <<\_ACEOF
95194 #define HAVE___BUILTIN_LABS 1
95195 _ACEOF
95196
95197     fi
95198
95199   fi
95200
95201
95202
95203   echo "$as_me:$LINENO: checking for __builtin_sqrtf declaration" >&5
95204 echo $ECHO_N "checking for __builtin_sqrtf declaration... $ECHO_C" >&6
95205   if test x${glibcxx_cv_func___builtin_sqrtf_use+set} != xset; then
95206     if test "${glibcxx_cv_func___builtin_sqrtf_use+set}" = set; then
95207   echo $ECHO_N "(cached) $ECHO_C" >&6
95208 else
95209
95210
95211
95212       ac_ext=cc
95213 ac_cpp='$CXXCPP $CPPFLAGS'
95214 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
95215 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
95216 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
95217
95218       cat >conftest.$ac_ext <<_ACEOF
95219 /* confdefs.h.  */
95220 _ACEOF
95221 cat confdefs.h >>conftest.$ac_ext
95222 cat >>conftest.$ac_ext <<_ACEOF
95223 /* end confdefs.h.  */
95224 #include <math.h>
95225 int
95226 main ()
95227 {
95228  __builtin_sqrtf(0);
95229   ;
95230   return 0;
95231 }
95232 _ACEOF
95233 rm -f conftest.$ac_objext
95234 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
95235   (eval $ac_compile) 2>conftest.er1
95236   ac_status=$?
95237   grep -v '^ *+' conftest.er1 >conftest.err
95238   rm -f conftest.er1
95239   cat conftest.err >&5
95240   echo "$as_me:$LINENO: \$? = $ac_status" >&5
95241   (exit $ac_status); } &&
95242          { ac_try='test -z "$ac_cxx_werror_flag"
95243                          || test ! -s conftest.err'
95244   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
95245   (eval $ac_try) 2>&5
95246   ac_status=$?
95247   echo "$as_me:$LINENO: \$? = $ac_status" >&5
95248   (exit $ac_status); }; } &&
95249          { ac_try='test -s conftest.$ac_objext'
95250   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
95251   (eval $ac_try) 2>&5
95252   ac_status=$?
95253   echo "$as_me:$LINENO: \$? = $ac_status" >&5
95254   (exit $ac_status); }; }; then
95255   glibcxx_cv_func___builtin_sqrtf_use=yes
95256 else
95257   echo "$as_me: failed program was:" >&5
95258 sed 's/^/| /' conftest.$ac_ext >&5
95259
95260 glibcxx_cv_func___builtin_sqrtf_use=no
95261 fi
95262 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
95263       ac_ext=c
95264 ac_cpp='$CPP $CPPFLAGS'
95265 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
95266 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
95267 ac_compiler_gnu=$ac_cv_c_compiler_gnu
95268
95269
95270 fi
95271
95272   fi
95273   echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sqrtf_use" >&5
95274 echo "${ECHO_T}$glibcxx_cv_func___builtin_sqrtf_use" >&6
95275   if test x$glibcxx_cv_func___builtin_sqrtf_use = x"yes"; then
95276     echo "$as_me:$LINENO: checking for __builtin_sqrtf linkage" >&5
95277 echo $ECHO_N "checking for __builtin_sqrtf linkage... $ECHO_C" >&6
95278     if test x${glibcxx_cv_func___builtin_sqrtf_link+set} != xset; then
95279       if test "${glibcxx_cv_func___builtin_sqrtf_link+set}" = set; then
95280   echo $ECHO_N "(cached) $ECHO_C" >&6
95281 else
95282
95283         if test x$gcc_no_link = xyes; then
95284   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
95285 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
95286    { (exit 1); exit 1; }; }
95287 fi
95288 cat >conftest.$ac_ext <<_ACEOF
95289 /* confdefs.h.  */
95290 _ACEOF
95291 cat confdefs.h >>conftest.$ac_ext
95292 cat >>conftest.$ac_ext <<_ACEOF
95293 /* end confdefs.h.  */
95294 #include <math.h>
95295 int
95296 main ()
95297 {
95298  __builtin_sqrtf(0);
95299   ;
95300   return 0;
95301 }
95302 _ACEOF
95303 rm -f conftest.$ac_objext conftest$ac_exeext
95304 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
95305   (eval $ac_link) 2>conftest.er1
95306   ac_status=$?
95307   grep -v '^ *+' conftest.er1 >conftest.err
95308   rm -f conftest.er1
95309   cat conftest.err >&5
95310   echo "$as_me:$LINENO: \$? = $ac_status" >&5
95311   (exit $ac_status); } &&
95312          { ac_try='test -z "$ac_c_werror_flag"
95313                          || test ! -s conftest.err'
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); }; } &&
95319          { ac_try='test -s conftest$ac_exeext'
95320   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
95321   (eval $ac_try) 2>&5
95322   ac_status=$?
95323   echo "$as_me:$LINENO: \$? = $ac_status" >&5
95324   (exit $ac_status); }; }; then
95325   glibcxx_cv_func___builtin_sqrtf_link=yes
95326 else
95327   echo "$as_me: failed program was:" >&5
95328 sed 's/^/| /' conftest.$ac_ext >&5
95329
95330 glibcxx_cv_func___builtin_sqrtf_link=no
95331 fi
95332 rm -f conftest.err conftest.$ac_objext \
95333       conftest$ac_exeext conftest.$ac_ext
95334
95335 fi
95336
95337     fi
95338     echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sqrtf_link" >&5
95339 echo "${ECHO_T}$glibcxx_cv_func___builtin_sqrtf_link" >&6
95340
95341     if test x$glibcxx_cv_func___builtin_sqrtf_link = x"yes"; then
95342
95343 cat >>confdefs.h <<\_ACEOF
95344 #define HAVE___BUILTIN_SQRTF 1
95345 _ACEOF
95346
95347     fi
95348
95349   fi
95350
95351
95352   echo "$as_me:$LINENO: checking for __builtin_sqrt declaration" >&5
95353 echo $ECHO_N "checking for __builtin_sqrt declaration... $ECHO_C" >&6
95354   if test x${glibcxx_cv_func___builtin_sqrt_use+set} != xset; then
95355     if test "${glibcxx_cv_func___builtin_sqrt_use+set}" = set; then
95356   echo $ECHO_N "(cached) $ECHO_C" >&6
95357 else
95358
95359
95360
95361       ac_ext=cc
95362 ac_cpp='$CXXCPP $CPPFLAGS'
95363 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
95364 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
95365 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
95366
95367       cat >conftest.$ac_ext <<_ACEOF
95368 /* confdefs.h.  */
95369 _ACEOF
95370 cat confdefs.h >>conftest.$ac_ext
95371 cat >>conftest.$ac_ext <<_ACEOF
95372 /* end confdefs.h.  */
95373 #include <math.h>
95374 int
95375 main ()
95376 {
95377  __builtin_sqrt(0);
95378   ;
95379   return 0;
95380 }
95381 _ACEOF
95382 rm -f conftest.$ac_objext
95383 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
95384   (eval $ac_compile) 2>conftest.er1
95385   ac_status=$?
95386   grep -v '^ *+' conftest.er1 >conftest.err
95387   rm -f conftest.er1
95388   cat conftest.err >&5
95389   echo "$as_me:$LINENO: \$? = $ac_status" >&5
95390   (exit $ac_status); } &&
95391          { ac_try='test -z "$ac_cxx_werror_flag"
95392                          || test ! -s conftest.err'
95393   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
95394   (eval $ac_try) 2>&5
95395   ac_status=$?
95396   echo "$as_me:$LINENO: \$? = $ac_status" >&5
95397   (exit $ac_status); }; } &&
95398          { ac_try='test -s conftest.$ac_objext'
95399   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
95400   (eval $ac_try) 2>&5
95401   ac_status=$?
95402   echo "$as_me:$LINENO: \$? = $ac_status" >&5
95403   (exit $ac_status); }; }; then
95404   glibcxx_cv_func___builtin_sqrt_use=yes
95405 else
95406   echo "$as_me: failed program was:" >&5
95407 sed 's/^/| /' conftest.$ac_ext >&5
95408
95409 glibcxx_cv_func___builtin_sqrt_use=no
95410 fi
95411 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
95412       ac_ext=c
95413 ac_cpp='$CPP $CPPFLAGS'
95414 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
95415 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
95416 ac_compiler_gnu=$ac_cv_c_compiler_gnu
95417
95418
95419 fi
95420
95421   fi
95422   echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sqrt_use" >&5
95423 echo "${ECHO_T}$glibcxx_cv_func___builtin_sqrt_use" >&6
95424   if test x$glibcxx_cv_func___builtin_sqrt_use = x"yes"; then
95425     echo "$as_me:$LINENO: checking for __builtin_sqrt linkage" >&5
95426 echo $ECHO_N "checking for __builtin_sqrt linkage... $ECHO_C" >&6
95427     if test x${glibcxx_cv_func___builtin_sqrt_link+set} != xset; then
95428       if test "${glibcxx_cv_func___builtin_sqrt_link+set}" = set; then
95429   echo $ECHO_N "(cached) $ECHO_C" >&6
95430 else
95431
95432         if test x$gcc_no_link = xyes; then
95433   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
95434 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
95435    { (exit 1); exit 1; }; }
95436 fi
95437 cat >conftest.$ac_ext <<_ACEOF
95438 /* confdefs.h.  */
95439 _ACEOF
95440 cat confdefs.h >>conftest.$ac_ext
95441 cat >>conftest.$ac_ext <<_ACEOF
95442 /* end confdefs.h.  */
95443 #include <math.h>
95444 int
95445 main ()
95446 {
95447  __builtin_sqrt(0);
95448   ;
95449   return 0;
95450 }
95451 _ACEOF
95452 rm -f conftest.$ac_objext conftest$ac_exeext
95453 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
95454   (eval $ac_link) 2>conftest.er1
95455   ac_status=$?
95456   grep -v '^ *+' conftest.er1 >conftest.err
95457   rm -f conftest.er1
95458   cat conftest.err >&5
95459   echo "$as_me:$LINENO: \$? = $ac_status" >&5
95460   (exit $ac_status); } &&
95461          { ac_try='test -z "$ac_c_werror_flag"
95462                          || test ! -s conftest.err'
95463   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
95464   (eval $ac_try) 2>&5
95465   ac_status=$?
95466   echo "$as_me:$LINENO: \$? = $ac_status" >&5
95467   (exit $ac_status); }; } &&
95468          { ac_try='test -s conftest$ac_exeext'
95469   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
95470   (eval $ac_try) 2>&5
95471   ac_status=$?
95472   echo "$as_me:$LINENO: \$? = $ac_status" >&5
95473   (exit $ac_status); }; }; then
95474   glibcxx_cv_func___builtin_sqrt_link=yes
95475 else
95476   echo "$as_me: failed program was:" >&5
95477 sed 's/^/| /' conftest.$ac_ext >&5
95478
95479 glibcxx_cv_func___builtin_sqrt_link=no
95480 fi
95481 rm -f conftest.err conftest.$ac_objext \
95482       conftest$ac_exeext conftest.$ac_ext
95483
95484 fi
95485
95486     fi
95487     echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sqrt_link" >&5
95488 echo "${ECHO_T}$glibcxx_cv_func___builtin_sqrt_link" >&6
95489
95490     if test x$glibcxx_cv_func___builtin_sqrt_link = x"yes"; then
95491
95492 cat >>confdefs.h <<\_ACEOF
95493 #define HAVE___BUILTIN_SQRT 1
95494 _ACEOF
95495
95496     fi
95497
95498   fi
95499
95500
95501   echo "$as_me:$LINENO: checking for __builtin_sqrtl declaration" >&5
95502 echo $ECHO_N "checking for __builtin_sqrtl declaration... $ECHO_C" >&6
95503   if test x${glibcxx_cv_func___builtin_sqrtl_use+set} != xset; then
95504     if test "${glibcxx_cv_func___builtin_sqrtl_use+set}" = set; then
95505   echo $ECHO_N "(cached) $ECHO_C" >&6
95506 else
95507
95508
95509
95510       ac_ext=cc
95511 ac_cpp='$CXXCPP $CPPFLAGS'
95512 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
95513 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
95514 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
95515
95516       cat >conftest.$ac_ext <<_ACEOF
95517 /* confdefs.h.  */
95518 _ACEOF
95519 cat confdefs.h >>conftest.$ac_ext
95520 cat >>conftest.$ac_ext <<_ACEOF
95521 /* end confdefs.h.  */
95522 #include <math.h>
95523 int
95524 main ()
95525 {
95526  __builtin_sqrtl(0);
95527   ;
95528   return 0;
95529 }
95530 _ACEOF
95531 rm -f conftest.$ac_objext
95532 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
95533   (eval $ac_compile) 2>conftest.er1
95534   ac_status=$?
95535   grep -v '^ *+' conftest.er1 >conftest.err
95536   rm -f conftest.er1
95537   cat conftest.err >&5
95538   echo "$as_me:$LINENO: \$? = $ac_status" >&5
95539   (exit $ac_status); } &&
95540          { ac_try='test -z "$ac_cxx_werror_flag"
95541                          || test ! -s conftest.err'
95542   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
95543   (eval $ac_try) 2>&5
95544   ac_status=$?
95545   echo "$as_me:$LINENO: \$? = $ac_status" >&5
95546   (exit $ac_status); }; } &&
95547          { ac_try='test -s conftest.$ac_objext'
95548   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
95549   (eval $ac_try) 2>&5
95550   ac_status=$?
95551   echo "$as_me:$LINENO: \$? = $ac_status" >&5
95552   (exit $ac_status); }; }; then
95553   glibcxx_cv_func___builtin_sqrtl_use=yes
95554 else
95555   echo "$as_me: failed program was:" >&5
95556 sed 's/^/| /' conftest.$ac_ext >&5
95557
95558 glibcxx_cv_func___builtin_sqrtl_use=no
95559 fi
95560 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
95561       ac_ext=c
95562 ac_cpp='$CPP $CPPFLAGS'
95563 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
95564 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
95565 ac_compiler_gnu=$ac_cv_c_compiler_gnu
95566
95567
95568 fi
95569
95570   fi
95571   echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sqrtl_use" >&5
95572 echo "${ECHO_T}$glibcxx_cv_func___builtin_sqrtl_use" >&6
95573   if test x$glibcxx_cv_func___builtin_sqrtl_use = x"yes"; then
95574     echo "$as_me:$LINENO: checking for __builtin_sqrtl linkage" >&5
95575 echo $ECHO_N "checking for __builtin_sqrtl linkage... $ECHO_C" >&6
95576     if test x${glibcxx_cv_func___builtin_sqrtl_link+set} != xset; then
95577       if test "${glibcxx_cv_func___builtin_sqrtl_link+set}" = set; then
95578   echo $ECHO_N "(cached) $ECHO_C" >&6
95579 else
95580
95581         if test x$gcc_no_link = xyes; then
95582   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
95583 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
95584    { (exit 1); exit 1; }; }
95585 fi
95586 cat >conftest.$ac_ext <<_ACEOF
95587 /* confdefs.h.  */
95588 _ACEOF
95589 cat confdefs.h >>conftest.$ac_ext
95590 cat >>conftest.$ac_ext <<_ACEOF
95591 /* end confdefs.h.  */
95592 #include <math.h>
95593 int
95594 main ()
95595 {
95596  __builtin_sqrtl(0);
95597   ;
95598   return 0;
95599 }
95600 _ACEOF
95601 rm -f conftest.$ac_objext conftest$ac_exeext
95602 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
95603   (eval $ac_link) 2>conftest.er1
95604   ac_status=$?
95605   grep -v '^ *+' conftest.er1 >conftest.err
95606   rm -f conftest.er1
95607   cat conftest.err >&5
95608   echo "$as_me:$LINENO: \$? = $ac_status" >&5
95609   (exit $ac_status); } &&
95610          { ac_try='test -z "$ac_c_werror_flag"
95611                          || test ! -s conftest.err'
95612   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
95613   (eval $ac_try) 2>&5
95614   ac_status=$?
95615   echo "$as_me:$LINENO: \$? = $ac_status" >&5
95616   (exit $ac_status); }; } &&
95617          { ac_try='test -s conftest$ac_exeext'
95618   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
95619   (eval $ac_try) 2>&5
95620   ac_status=$?
95621   echo "$as_me:$LINENO: \$? = $ac_status" >&5
95622   (exit $ac_status); }; }; then
95623   glibcxx_cv_func___builtin_sqrtl_link=yes
95624 else
95625   echo "$as_me: failed program was:" >&5
95626 sed 's/^/| /' conftest.$ac_ext >&5
95627
95628 glibcxx_cv_func___builtin_sqrtl_link=no
95629 fi
95630 rm -f conftest.err conftest.$ac_objext \
95631       conftest$ac_exeext conftest.$ac_ext
95632
95633 fi
95634
95635     fi
95636     echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sqrtl_link" >&5
95637 echo "${ECHO_T}$glibcxx_cv_func___builtin_sqrtl_link" >&6
95638
95639     if test x$glibcxx_cv_func___builtin_sqrtl_link = x"yes"; then
95640
95641 cat >>confdefs.h <<\_ACEOF
95642 #define HAVE___BUILTIN_SQRTL 1
95643 _ACEOF
95644
95645     fi
95646
95647   fi
95648
95649
95650
95651   echo "$as_me:$LINENO: checking for __builtin_sinf declaration" >&5
95652 echo $ECHO_N "checking for __builtin_sinf declaration... $ECHO_C" >&6
95653   if test x${glibcxx_cv_func___builtin_sinf_use+set} != xset; then
95654     if test "${glibcxx_cv_func___builtin_sinf_use+set}" = set; then
95655   echo $ECHO_N "(cached) $ECHO_C" >&6
95656 else
95657
95658
95659
95660       ac_ext=cc
95661 ac_cpp='$CXXCPP $CPPFLAGS'
95662 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
95663 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
95664 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
95665
95666       cat >conftest.$ac_ext <<_ACEOF
95667 /* confdefs.h.  */
95668 _ACEOF
95669 cat confdefs.h >>conftest.$ac_ext
95670 cat >>conftest.$ac_ext <<_ACEOF
95671 /* end confdefs.h.  */
95672 #include <math.h>
95673 int
95674 main ()
95675 {
95676  __builtin_sinf(0);
95677   ;
95678   return 0;
95679 }
95680 _ACEOF
95681 rm -f conftest.$ac_objext
95682 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
95683   (eval $ac_compile) 2>conftest.er1
95684   ac_status=$?
95685   grep -v '^ *+' conftest.er1 >conftest.err
95686   rm -f conftest.er1
95687   cat conftest.err >&5
95688   echo "$as_me:$LINENO: \$? = $ac_status" >&5
95689   (exit $ac_status); } &&
95690          { ac_try='test -z "$ac_cxx_werror_flag"
95691                          || test ! -s conftest.err'
95692   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
95693   (eval $ac_try) 2>&5
95694   ac_status=$?
95695   echo "$as_me:$LINENO: \$? = $ac_status" >&5
95696   (exit $ac_status); }; } &&
95697          { ac_try='test -s conftest.$ac_objext'
95698   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
95699   (eval $ac_try) 2>&5
95700   ac_status=$?
95701   echo "$as_me:$LINENO: \$? = $ac_status" >&5
95702   (exit $ac_status); }; }; then
95703   glibcxx_cv_func___builtin_sinf_use=yes
95704 else
95705   echo "$as_me: failed program was:" >&5
95706 sed 's/^/| /' conftest.$ac_ext >&5
95707
95708 glibcxx_cv_func___builtin_sinf_use=no
95709 fi
95710 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
95711       ac_ext=c
95712 ac_cpp='$CPP $CPPFLAGS'
95713 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
95714 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
95715 ac_compiler_gnu=$ac_cv_c_compiler_gnu
95716
95717
95718 fi
95719
95720   fi
95721   echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sinf_use" >&5
95722 echo "${ECHO_T}$glibcxx_cv_func___builtin_sinf_use" >&6
95723   if test x$glibcxx_cv_func___builtin_sinf_use = x"yes"; then
95724     echo "$as_me:$LINENO: checking for __builtin_sinf linkage" >&5
95725 echo $ECHO_N "checking for __builtin_sinf linkage... $ECHO_C" >&6
95726     if test x${glibcxx_cv_func___builtin_sinf_link+set} != xset; then
95727       if test "${glibcxx_cv_func___builtin_sinf_link+set}" = set; then
95728   echo $ECHO_N "(cached) $ECHO_C" >&6
95729 else
95730
95731         if test x$gcc_no_link = xyes; then
95732   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
95733 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
95734    { (exit 1); exit 1; }; }
95735 fi
95736 cat >conftest.$ac_ext <<_ACEOF
95737 /* confdefs.h.  */
95738 _ACEOF
95739 cat confdefs.h >>conftest.$ac_ext
95740 cat >>conftest.$ac_ext <<_ACEOF
95741 /* end confdefs.h.  */
95742 #include <math.h>
95743 int
95744 main ()
95745 {
95746  __builtin_sinf(0);
95747   ;
95748   return 0;
95749 }
95750 _ACEOF
95751 rm -f conftest.$ac_objext conftest$ac_exeext
95752 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
95753   (eval $ac_link) 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_c_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_exeext'
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___builtin_sinf_link=yes
95774 else
95775   echo "$as_me: failed program was:" >&5
95776 sed 's/^/| /' conftest.$ac_ext >&5
95777
95778 glibcxx_cv_func___builtin_sinf_link=no
95779 fi
95780 rm -f conftest.err conftest.$ac_objext \
95781       conftest$ac_exeext conftest.$ac_ext
95782
95783 fi
95784
95785     fi
95786     echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sinf_link" >&5
95787 echo "${ECHO_T}$glibcxx_cv_func___builtin_sinf_link" >&6
95788
95789     if test x$glibcxx_cv_func___builtin_sinf_link = x"yes"; then
95790
95791 cat >>confdefs.h <<\_ACEOF
95792 #define HAVE___BUILTIN_SINF 1
95793 _ACEOF
95794
95795     fi
95796
95797   fi
95798
95799
95800   echo "$as_me:$LINENO: checking for __builtin_sin declaration" >&5
95801 echo $ECHO_N "checking for __builtin_sin declaration... $ECHO_C" >&6
95802   if test x${glibcxx_cv_func___builtin_sin_use+set} != xset; then
95803     if test "${glibcxx_cv_func___builtin_sin_use+set}" = set; then
95804   echo $ECHO_N "(cached) $ECHO_C" >&6
95805 else
95806
95807
95808
95809       ac_ext=cc
95810 ac_cpp='$CXXCPP $CPPFLAGS'
95811 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
95812 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
95813 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
95814
95815       cat >conftest.$ac_ext <<_ACEOF
95816 /* confdefs.h.  */
95817 _ACEOF
95818 cat confdefs.h >>conftest.$ac_ext
95819 cat >>conftest.$ac_ext <<_ACEOF
95820 /* end confdefs.h.  */
95821 #include <math.h>
95822 int
95823 main ()
95824 {
95825  __builtin_sin(0);
95826   ;
95827   return 0;
95828 }
95829 _ACEOF
95830 rm -f conftest.$ac_objext
95831 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
95832   (eval $ac_compile) 2>conftest.er1
95833   ac_status=$?
95834   grep -v '^ *+' conftest.er1 >conftest.err
95835   rm -f conftest.er1
95836   cat conftest.err >&5
95837   echo "$as_me:$LINENO: \$? = $ac_status" >&5
95838   (exit $ac_status); } &&
95839          { ac_try='test -z "$ac_cxx_werror_flag"
95840                          || test ! -s conftest.err'
95841   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
95842   (eval $ac_try) 2>&5
95843   ac_status=$?
95844   echo "$as_me:$LINENO: \$? = $ac_status" >&5
95845   (exit $ac_status); }; } &&
95846          { ac_try='test -s conftest.$ac_objext'
95847   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
95848   (eval $ac_try) 2>&5
95849   ac_status=$?
95850   echo "$as_me:$LINENO: \$? = $ac_status" >&5
95851   (exit $ac_status); }; }; then
95852   glibcxx_cv_func___builtin_sin_use=yes
95853 else
95854   echo "$as_me: failed program was:" >&5
95855 sed 's/^/| /' conftest.$ac_ext >&5
95856
95857 glibcxx_cv_func___builtin_sin_use=no
95858 fi
95859 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
95860       ac_ext=c
95861 ac_cpp='$CPP $CPPFLAGS'
95862 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
95863 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
95864 ac_compiler_gnu=$ac_cv_c_compiler_gnu
95865
95866
95867 fi
95868
95869   fi
95870   echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sin_use" >&5
95871 echo "${ECHO_T}$glibcxx_cv_func___builtin_sin_use" >&6
95872   if test x$glibcxx_cv_func___builtin_sin_use = x"yes"; then
95873     echo "$as_me:$LINENO: checking for __builtin_sin linkage" >&5
95874 echo $ECHO_N "checking for __builtin_sin linkage... $ECHO_C" >&6
95875     if test x${glibcxx_cv_func___builtin_sin_link+set} != xset; then
95876       if test "${glibcxx_cv_func___builtin_sin_link+set}" = set; then
95877   echo $ECHO_N "(cached) $ECHO_C" >&6
95878 else
95879
95880         if test x$gcc_no_link = xyes; then
95881   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
95882 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
95883    { (exit 1); exit 1; }; }
95884 fi
95885 cat >conftest.$ac_ext <<_ACEOF
95886 /* confdefs.h.  */
95887 _ACEOF
95888 cat confdefs.h >>conftest.$ac_ext
95889 cat >>conftest.$ac_ext <<_ACEOF
95890 /* end confdefs.h.  */
95891 #include <math.h>
95892 int
95893 main ()
95894 {
95895  __builtin_sin(0);
95896   ;
95897   return 0;
95898 }
95899 _ACEOF
95900 rm -f conftest.$ac_objext conftest$ac_exeext
95901 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
95902   (eval $ac_link) 2>conftest.er1
95903   ac_status=$?
95904   grep -v '^ *+' conftest.er1 >conftest.err
95905   rm -f conftest.er1
95906   cat conftest.err >&5
95907   echo "$as_me:$LINENO: \$? = $ac_status" >&5
95908   (exit $ac_status); } &&
95909          { ac_try='test -z "$ac_c_werror_flag"
95910                          || test ! -s conftest.err'
95911   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
95912   (eval $ac_try) 2>&5
95913   ac_status=$?
95914   echo "$as_me:$LINENO: \$? = $ac_status" >&5
95915   (exit $ac_status); }; } &&
95916          { ac_try='test -s conftest$ac_exeext'
95917   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
95918   (eval $ac_try) 2>&5
95919   ac_status=$?
95920   echo "$as_me:$LINENO: \$? = $ac_status" >&5
95921   (exit $ac_status); }; }; then
95922   glibcxx_cv_func___builtin_sin_link=yes
95923 else
95924   echo "$as_me: failed program was:" >&5
95925 sed 's/^/| /' conftest.$ac_ext >&5
95926
95927 glibcxx_cv_func___builtin_sin_link=no
95928 fi
95929 rm -f conftest.err conftest.$ac_objext \
95930       conftest$ac_exeext conftest.$ac_ext
95931
95932 fi
95933
95934     fi
95935     echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sin_link" >&5
95936 echo "${ECHO_T}$glibcxx_cv_func___builtin_sin_link" >&6
95937
95938     if test x$glibcxx_cv_func___builtin_sin_link = x"yes"; then
95939
95940 cat >>confdefs.h <<\_ACEOF
95941 #define HAVE___BUILTIN_SIN 1
95942 _ACEOF
95943
95944     fi
95945
95946   fi
95947
95948
95949   echo "$as_me:$LINENO: checking for __builtin_sinl declaration" >&5
95950 echo $ECHO_N "checking for __builtin_sinl declaration... $ECHO_C" >&6
95951   if test x${glibcxx_cv_func___builtin_sinl_use+set} != xset; then
95952     if test "${glibcxx_cv_func___builtin_sinl_use+set}" = set; then
95953   echo $ECHO_N "(cached) $ECHO_C" >&6
95954 else
95955
95956
95957
95958       ac_ext=cc
95959 ac_cpp='$CXXCPP $CPPFLAGS'
95960 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
95961 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
95962 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
95963
95964       cat >conftest.$ac_ext <<_ACEOF
95965 /* confdefs.h.  */
95966 _ACEOF
95967 cat confdefs.h >>conftest.$ac_ext
95968 cat >>conftest.$ac_ext <<_ACEOF
95969 /* end confdefs.h.  */
95970 #include <math.h>
95971 int
95972 main ()
95973 {
95974  __builtin_sinl(0);
95975   ;
95976   return 0;
95977 }
95978 _ACEOF
95979 rm -f conftest.$ac_objext
95980 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
95981   (eval $ac_compile) 2>conftest.er1
95982   ac_status=$?
95983   grep -v '^ *+' conftest.er1 >conftest.err
95984   rm -f conftest.er1
95985   cat conftest.err >&5
95986   echo "$as_me:$LINENO: \$? = $ac_status" >&5
95987   (exit $ac_status); } &&
95988          { ac_try='test -z "$ac_cxx_werror_flag"
95989                          || test ! -s conftest.err'
95990   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
95991   (eval $ac_try) 2>&5
95992   ac_status=$?
95993   echo "$as_me:$LINENO: \$? = $ac_status" >&5
95994   (exit $ac_status); }; } &&
95995          { ac_try='test -s conftest.$ac_objext'
95996   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
95997   (eval $ac_try) 2>&5
95998   ac_status=$?
95999   echo "$as_me:$LINENO: \$? = $ac_status" >&5
96000   (exit $ac_status); }; }; then
96001   glibcxx_cv_func___builtin_sinl_use=yes
96002 else
96003   echo "$as_me: failed program was:" >&5
96004 sed 's/^/| /' conftest.$ac_ext >&5
96005
96006 glibcxx_cv_func___builtin_sinl_use=no
96007 fi
96008 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
96009       ac_ext=c
96010 ac_cpp='$CPP $CPPFLAGS'
96011 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
96012 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
96013 ac_compiler_gnu=$ac_cv_c_compiler_gnu
96014
96015
96016 fi
96017
96018   fi
96019   echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sinl_use" >&5
96020 echo "${ECHO_T}$glibcxx_cv_func___builtin_sinl_use" >&6
96021   if test x$glibcxx_cv_func___builtin_sinl_use = x"yes"; then
96022     echo "$as_me:$LINENO: checking for __builtin_sinl linkage" >&5
96023 echo $ECHO_N "checking for __builtin_sinl linkage... $ECHO_C" >&6
96024     if test x${glibcxx_cv_func___builtin_sinl_link+set} != xset; then
96025       if test "${glibcxx_cv_func___builtin_sinl_link+set}" = set; then
96026   echo $ECHO_N "(cached) $ECHO_C" >&6
96027 else
96028
96029         if test x$gcc_no_link = xyes; then
96030   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
96031 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
96032    { (exit 1); exit 1; }; }
96033 fi
96034 cat >conftest.$ac_ext <<_ACEOF
96035 /* confdefs.h.  */
96036 _ACEOF
96037 cat confdefs.h >>conftest.$ac_ext
96038 cat >>conftest.$ac_ext <<_ACEOF
96039 /* end confdefs.h.  */
96040 #include <math.h>
96041 int
96042 main ()
96043 {
96044  __builtin_sinl(0);
96045   ;
96046   return 0;
96047 }
96048 _ACEOF
96049 rm -f conftest.$ac_objext conftest$ac_exeext
96050 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
96051   (eval $ac_link) 2>conftest.er1
96052   ac_status=$?
96053   grep -v '^ *+' conftest.er1 >conftest.err
96054   rm -f conftest.er1
96055   cat conftest.err >&5
96056   echo "$as_me:$LINENO: \$? = $ac_status" >&5
96057   (exit $ac_status); } &&
96058          { ac_try='test -z "$ac_c_werror_flag"
96059                          || test ! -s conftest.err'
96060   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
96061   (eval $ac_try) 2>&5
96062   ac_status=$?
96063   echo "$as_me:$LINENO: \$? = $ac_status" >&5
96064   (exit $ac_status); }; } &&
96065          { ac_try='test -s conftest$ac_exeext'
96066   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
96067   (eval $ac_try) 2>&5
96068   ac_status=$?
96069   echo "$as_me:$LINENO: \$? = $ac_status" >&5
96070   (exit $ac_status); }; }; then
96071   glibcxx_cv_func___builtin_sinl_link=yes
96072 else
96073   echo "$as_me: failed program was:" >&5
96074 sed 's/^/| /' conftest.$ac_ext >&5
96075
96076 glibcxx_cv_func___builtin_sinl_link=no
96077 fi
96078 rm -f conftest.err conftest.$ac_objext \
96079       conftest$ac_exeext conftest.$ac_ext
96080
96081 fi
96082
96083     fi
96084     echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sinl_link" >&5
96085 echo "${ECHO_T}$glibcxx_cv_func___builtin_sinl_link" >&6
96086
96087     if test x$glibcxx_cv_func___builtin_sinl_link = x"yes"; then
96088
96089 cat >>confdefs.h <<\_ACEOF
96090 #define HAVE___BUILTIN_SINL 1
96091 _ACEOF
96092
96093     fi
96094
96095   fi
96096
96097
96098
96099   echo "$as_me:$LINENO: checking for __builtin_cosf declaration" >&5
96100 echo $ECHO_N "checking for __builtin_cosf declaration... $ECHO_C" >&6
96101   if test x${glibcxx_cv_func___builtin_cosf_use+set} != xset; then
96102     if test "${glibcxx_cv_func___builtin_cosf_use+set}" = set; then
96103   echo $ECHO_N "(cached) $ECHO_C" >&6
96104 else
96105
96106
96107
96108       ac_ext=cc
96109 ac_cpp='$CXXCPP $CPPFLAGS'
96110 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
96111 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
96112 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
96113
96114       cat >conftest.$ac_ext <<_ACEOF
96115 /* confdefs.h.  */
96116 _ACEOF
96117 cat confdefs.h >>conftest.$ac_ext
96118 cat >>conftest.$ac_ext <<_ACEOF
96119 /* end confdefs.h.  */
96120 #include <math.h>
96121 int
96122 main ()
96123 {
96124  __builtin_cosf(0);
96125   ;
96126   return 0;
96127 }
96128 _ACEOF
96129 rm -f conftest.$ac_objext
96130 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
96131   (eval $ac_compile) 2>conftest.er1
96132   ac_status=$?
96133   grep -v '^ *+' conftest.er1 >conftest.err
96134   rm -f conftest.er1
96135   cat conftest.err >&5
96136   echo "$as_me:$LINENO: \$? = $ac_status" >&5
96137   (exit $ac_status); } &&
96138          { ac_try='test -z "$ac_cxx_werror_flag"
96139                          || test ! -s conftest.err'
96140   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
96141   (eval $ac_try) 2>&5
96142   ac_status=$?
96143   echo "$as_me:$LINENO: \$? = $ac_status" >&5
96144   (exit $ac_status); }; } &&
96145          { ac_try='test -s conftest.$ac_objext'
96146   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
96147   (eval $ac_try) 2>&5
96148   ac_status=$?
96149   echo "$as_me:$LINENO: \$? = $ac_status" >&5
96150   (exit $ac_status); }; }; then
96151   glibcxx_cv_func___builtin_cosf_use=yes
96152 else
96153   echo "$as_me: failed program was:" >&5
96154 sed 's/^/| /' conftest.$ac_ext >&5
96155
96156 glibcxx_cv_func___builtin_cosf_use=no
96157 fi
96158 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
96159       ac_ext=c
96160 ac_cpp='$CPP $CPPFLAGS'
96161 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
96162 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
96163 ac_compiler_gnu=$ac_cv_c_compiler_gnu
96164
96165
96166 fi
96167
96168   fi
96169   echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_cosf_use" >&5
96170 echo "${ECHO_T}$glibcxx_cv_func___builtin_cosf_use" >&6
96171   if test x$glibcxx_cv_func___builtin_cosf_use = x"yes"; then
96172     echo "$as_me:$LINENO: checking for __builtin_cosf linkage" >&5
96173 echo $ECHO_N "checking for __builtin_cosf linkage... $ECHO_C" >&6
96174     if test x${glibcxx_cv_func___builtin_cosf_link+set} != xset; then
96175       if test "${glibcxx_cv_func___builtin_cosf_link+set}" = set; then
96176   echo $ECHO_N "(cached) $ECHO_C" >&6
96177 else
96178
96179         if test x$gcc_no_link = xyes; then
96180   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
96181 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
96182    { (exit 1); exit 1; }; }
96183 fi
96184 cat >conftest.$ac_ext <<_ACEOF
96185 /* confdefs.h.  */
96186 _ACEOF
96187 cat confdefs.h >>conftest.$ac_ext
96188 cat >>conftest.$ac_ext <<_ACEOF
96189 /* end confdefs.h.  */
96190 #include <math.h>
96191 int
96192 main ()
96193 {
96194  __builtin_cosf(0);
96195   ;
96196   return 0;
96197 }
96198 _ACEOF
96199 rm -f conftest.$ac_objext conftest$ac_exeext
96200 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
96201   (eval $ac_link) 2>conftest.er1
96202   ac_status=$?
96203   grep -v '^ *+' conftest.er1 >conftest.err
96204   rm -f conftest.er1
96205   cat conftest.err >&5
96206   echo "$as_me:$LINENO: \$? = $ac_status" >&5
96207   (exit $ac_status); } &&
96208          { ac_try='test -z "$ac_c_werror_flag"
96209                          || test ! -s conftest.err'
96210   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
96211   (eval $ac_try) 2>&5
96212   ac_status=$?
96213   echo "$as_me:$LINENO: \$? = $ac_status" >&5
96214   (exit $ac_status); }; } &&
96215          { ac_try='test -s conftest$ac_exeext'
96216   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
96217   (eval $ac_try) 2>&5
96218   ac_status=$?
96219   echo "$as_me:$LINENO: \$? = $ac_status" >&5
96220   (exit $ac_status); }; }; then
96221   glibcxx_cv_func___builtin_cosf_link=yes
96222 else
96223   echo "$as_me: failed program was:" >&5
96224 sed 's/^/| /' conftest.$ac_ext >&5
96225
96226 glibcxx_cv_func___builtin_cosf_link=no
96227 fi
96228 rm -f conftest.err conftest.$ac_objext \
96229       conftest$ac_exeext conftest.$ac_ext
96230
96231 fi
96232
96233     fi
96234     echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_cosf_link" >&5
96235 echo "${ECHO_T}$glibcxx_cv_func___builtin_cosf_link" >&6
96236
96237     if test x$glibcxx_cv_func___builtin_cosf_link = x"yes"; then
96238
96239 cat >>confdefs.h <<\_ACEOF
96240 #define HAVE___BUILTIN_COSF 1
96241 _ACEOF
96242
96243     fi
96244
96245   fi
96246
96247
96248   echo "$as_me:$LINENO: checking for __builtin_cos declaration" >&5
96249 echo $ECHO_N "checking for __builtin_cos declaration... $ECHO_C" >&6
96250   if test x${glibcxx_cv_func___builtin_cos_use+set} != xset; then
96251     if test "${glibcxx_cv_func___builtin_cos_use+set}" = set; then
96252   echo $ECHO_N "(cached) $ECHO_C" >&6
96253 else
96254
96255
96256
96257       ac_ext=cc
96258 ac_cpp='$CXXCPP $CPPFLAGS'
96259 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
96260 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
96261 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
96262
96263       cat >conftest.$ac_ext <<_ACEOF
96264 /* confdefs.h.  */
96265 _ACEOF
96266 cat confdefs.h >>conftest.$ac_ext
96267 cat >>conftest.$ac_ext <<_ACEOF
96268 /* end confdefs.h.  */
96269 #include <math.h>
96270 int
96271 main ()
96272 {
96273  __builtin_cos(0);
96274   ;
96275   return 0;
96276 }
96277 _ACEOF
96278 rm -f conftest.$ac_objext
96279 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
96280   (eval $ac_compile) 2>conftest.er1
96281   ac_status=$?
96282   grep -v '^ *+' conftest.er1 >conftest.err
96283   rm -f conftest.er1
96284   cat conftest.err >&5
96285   echo "$as_me:$LINENO: \$? = $ac_status" >&5
96286   (exit $ac_status); } &&
96287          { ac_try='test -z "$ac_cxx_werror_flag"
96288                          || test ! -s conftest.err'
96289   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
96290   (eval $ac_try) 2>&5
96291   ac_status=$?
96292   echo "$as_me:$LINENO: \$? = $ac_status" >&5
96293   (exit $ac_status); }; } &&
96294          { ac_try='test -s conftest.$ac_objext'
96295   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
96296   (eval $ac_try) 2>&5
96297   ac_status=$?
96298   echo "$as_me:$LINENO: \$? = $ac_status" >&5
96299   (exit $ac_status); }; }; then
96300   glibcxx_cv_func___builtin_cos_use=yes
96301 else
96302   echo "$as_me: failed program was:" >&5
96303 sed 's/^/| /' conftest.$ac_ext >&5
96304
96305 glibcxx_cv_func___builtin_cos_use=no
96306 fi
96307 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
96308       ac_ext=c
96309 ac_cpp='$CPP $CPPFLAGS'
96310 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
96311 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
96312 ac_compiler_gnu=$ac_cv_c_compiler_gnu
96313
96314
96315 fi
96316
96317   fi
96318   echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_cos_use" >&5
96319 echo "${ECHO_T}$glibcxx_cv_func___builtin_cos_use" >&6
96320   if test x$glibcxx_cv_func___builtin_cos_use = x"yes"; then
96321     echo "$as_me:$LINENO: checking for __builtin_cos linkage" >&5
96322 echo $ECHO_N "checking for __builtin_cos linkage... $ECHO_C" >&6
96323     if test x${glibcxx_cv_func___builtin_cos_link+set} != xset; then
96324       if test "${glibcxx_cv_func___builtin_cos_link+set}" = set; then
96325   echo $ECHO_N "(cached) $ECHO_C" >&6
96326 else
96327
96328         if test x$gcc_no_link = xyes; then
96329   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
96330 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
96331    { (exit 1); exit 1; }; }
96332 fi
96333 cat >conftest.$ac_ext <<_ACEOF
96334 /* confdefs.h.  */
96335 _ACEOF
96336 cat confdefs.h >>conftest.$ac_ext
96337 cat >>conftest.$ac_ext <<_ACEOF
96338 /* end confdefs.h.  */
96339 #include <math.h>
96340 int
96341 main ()
96342 {
96343  __builtin_cos(0);
96344   ;
96345   return 0;
96346 }
96347 _ACEOF
96348 rm -f conftest.$ac_objext conftest$ac_exeext
96349 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
96350   (eval $ac_link) 2>conftest.er1
96351   ac_status=$?
96352   grep -v '^ *+' conftest.er1 >conftest.err
96353   rm -f conftest.er1
96354   cat conftest.err >&5
96355   echo "$as_me:$LINENO: \$? = $ac_status" >&5
96356   (exit $ac_status); } &&
96357          { ac_try='test -z "$ac_c_werror_flag"
96358                          || test ! -s conftest.err'
96359   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
96360   (eval $ac_try) 2>&5
96361   ac_status=$?
96362   echo "$as_me:$LINENO: \$? = $ac_status" >&5
96363   (exit $ac_status); }; } &&
96364          { ac_try='test -s conftest$ac_exeext'
96365   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
96366   (eval $ac_try) 2>&5
96367   ac_status=$?
96368   echo "$as_me:$LINENO: \$? = $ac_status" >&5
96369   (exit $ac_status); }; }; then
96370   glibcxx_cv_func___builtin_cos_link=yes
96371 else
96372   echo "$as_me: failed program was:" >&5
96373 sed 's/^/| /' conftest.$ac_ext >&5
96374
96375 glibcxx_cv_func___builtin_cos_link=no
96376 fi
96377 rm -f conftest.err conftest.$ac_objext \
96378       conftest$ac_exeext conftest.$ac_ext
96379
96380 fi
96381
96382     fi
96383     echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_cos_link" >&5
96384 echo "${ECHO_T}$glibcxx_cv_func___builtin_cos_link" >&6
96385
96386     if test x$glibcxx_cv_func___builtin_cos_link = x"yes"; then
96387
96388 cat >>confdefs.h <<\_ACEOF
96389 #define HAVE___BUILTIN_COS 1
96390 _ACEOF
96391
96392     fi
96393
96394   fi
96395
96396
96397   echo "$as_me:$LINENO: checking for __builtin_cosl declaration" >&5
96398 echo $ECHO_N "checking for __builtin_cosl declaration... $ECHO_C" >&6
96399   if test x${glibcxx_cv_func___builtin_cosl_use+set} != xset; then
96400     if test "${glibcxx_cv_func___builtin_cosl_use+set}" = set; then
96401   echo $ECHO_N "(cached) $ECHO_C" >&6
96402 else
96403
96404
96405
96406       ac_ext=cc
96407 ac_cpp='$CXXCPP $CPPFLAGS'
96408 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
96409 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
96410 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
96411
96412       cat >conftest.$ac_ext <<_ACEOF
96413 /* confdefs.h.  */
96414 _ACEOF
96415 cat confdefs.h >>conftest.$ac_ext
96416 cat >>conftest.$ac_ext <<_ACEOF
96417 /* end confdefs.h.  */
96418 #include <math.h>
96419 int
96420 main ()
96421 {
96422  __builtin_cosl(0);
96423   ;
96424   return 0;
96425 }
96426 _ACEOF
96427 rm -f conftest.$ac_objext
96428 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
96429   (eval $ac_compile) 2>conftest.er1
96430   ac_status=$?
96431   grep -v '^ *+' conftest.er1 >conftest.err
96432   rm -f conftest.er1
96433   cat conftest.err >&5
96434   echo "$as_me:$LINENO: \$? = $ac_status" >&5
96435   (exit $ac_status); } &&
96436          { ac_try='test -z "$ac_cxx_werror_flag"
96437                          || test ! -s conftest.err'
96438   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
96439   (eval $ac_try) 2>&5
96440   ac_status=$?
96441   echo "$as_me:$LINENO: \$? = $ac_status" >&5
96442   (exit $ac_status); }; } &&
96443          { ac_try='test -s conftest.$ac_objext'
96444   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
96445   (eval $ac_try) 2>&5
96446   ac_status=$?
96447   echo "$as_me:$LINENO: \$? = $ac_status" >&5
96448   (exit $ac_status); }; }; then
96449   glibcxx_cv_func___builtin_cosl_use=yes
96450 else
96451   echo "$as_me: failed program was:" >&5
96452 sed 's/^/| /' conftest.$ac_ext >&5
96453
96454 glibcxx_cv_func___builtin_cosl_use=no
96455 fi
96456 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
96457       ac_ext=c
96458 ac_cpp='$CPP $CPPFLAGS'
96459 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
96460 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
96461 ac_compiler_gnu=$ac_cv_c_compiler_gnu
96462
96463
96464 fi
96465
96466   fi
96467   echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_cosl_use" >&5
96468 echo "${ECHO_T}$glibcxx_cv_func___builtin_cosl_use" >&6
96469   if test x$glibcxx_cv_func___builtin_cosl_use = x"yes"; then
96470     echo "$as_me:$LINENO: checking for __builtin_cosl linkage" >&5
96471 echo $ECHO_N "checking for __builtin_cosl linkage... $ECHO_C" >&6
96472     if test x${glibcxx_cv_func___builtin_cosl_link+set} != xset; then
96473       if test "${glibcxx_cv_func___builtin_cosl_link+set}" = set; then
96474   echo $ECHO_N "(cached) $ECHO_C" >&6
96475 else
96476
96477         if test x$gcc_no_link = xyes; then
96478   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
96479 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
96480    { (exit 1); exit 1; }; }
96481 fi
96482 cat >conftest.$ac_ext <<_ACEOF
96483 /* confdefs.h.  */
96484 _ACEOF
96485 cat confdefs.h >>conftest.$ac_ext
96486 cat >>conftest.$ac_ext <<_ACEOF
96487 /* end confdefs.h.  */
96488 #include <math.h>
96489 int
96490 main ()
96491 {
96492  __builtin_cosl(0);
96493   ;
96494   return 0;
96495 }
96496 _ACEOF
96497 rm -f conftest.$ac_objext conftest$ac_exeext
96498 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
96499   (eval $ac_link) 2>conftest.er1
96500   ac_status=$?
96501   grep -v '^ *+' conftest.er1 >conftest.err
96502   rm -f conftest.er1
96503   cat conftest.err >&5
96504   echo "$as_me:$LINENO: \$? = $ac_status" >&5
96505   (exit $ac_status); } &&
96506          { ac_try='test -z "$ac_c_werror_flag"
96507                          || test ! -s conftest.err'
96508   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
96509   (eval $ac_try) 2>&5
96510   ac_status=$?
96511   echo "$as_me:$LINENO: \$? = $ac_status" >&5
96512   (exit $ac_status); }; } &&
96513          { ac_try='test -s conftest$ac_exeext'
96514   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
96515   (eval $ac_try) 2>&5
96516   ac_status=$?
96517   echo "$as_me:$LINENO: \$? = $ac_status" >&5
96518   (exit $ac_status); }; }; then
96519   glibcxx_cv_func___builtin_cosl_link=yes
96520 else
96521   echo "$as_me: failed program was:" >&5
96522 sed 's/^/| /' conftest.$ac_ext >&5
96523
96524 glibcxx_cv_func___builtin_cosl_link=no
96525 fi
96526 rm -f conftest.err conftest.$ac_objext \
96527       conftest$ac_exeext conftest.$ac_ext
96528
96529 fi
96530
96531     fi
96532     echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_cosl_link" >&5
96533 echo "${ECHO_T}$glibcxx_cv_func___builtin_cosl_link" >&6
96534
96535     if test x$glibcxx_cv_func___builtin_cosl_link = x"yes"; then
96536
96537 cat >>confdefs.h <<\_ACEOF
96538 #define HAVE___BUILTIN_COSL 1
96539 _ACEOF
96540
96541     fi
96542
96543   fi
96544
96545
96546
96547
96548 echo "$as_me:$LINENO: checking for main in -lm" >&5
96549 echo $ECHO_N "checking for main in -lm... $ECHO_C" >&6
96550 if test "${ac_cv_lib_m_main+set}" = set; then
96551   echo $ECHO_N "(cached) $ECHO_C" >&6
96552 else
96553   ac_check_lib_save_LIBS=$LIBS
96554 LIBS="-lm  $LIBS"
96555 if test x$gcc_no_link = xyes; then
96556   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
96557 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
96558    { (exit 1); exit 1; }; }
96559 fi
96560 cat >conftest.$ac_ext <<_ACEOF
96561 /* confdefs.h.  */
96562 _ACEOF
96563 cat confdefs.h >>conftest.$ac_ext
96564 cat >>conftest.$ac_ext <<_ACEOF
96565 /* end confdefs.h.  */
96566
96567
96568 int
96569 main ()
96570 {
96571 main ();
96572   ;
96573   return 0;
96574 }
96575 _ACEOF
96576 rm -f conftest.$ac_objext conftest$ac_exeext
96577 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
96578   (eval $ac_link) 2>conftest.er1
96579   ac_status=$?
96580   grep -v '^ *+' conftest.er1 >conftest.err
96581   rm -f conftest.er1
96582   cat conftest.err >&5
96583   echo "$as_me:$LINENO: \$? = $ac_status" >&5
96584   (exit $ac_status); } &&
96585          { ac_try='test -z "$ac_c_werror_flag"
96586                          || test ! -s conftest.err'
96587   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
96588   (eval $ac_try) 2>&5
96589   ac_status=$?
96590   echo "$as_me:$LINENO: \$? = $ac_status" >&5
96591   (exit $ac_status); }; } &&
96592          { ac_try='test -s conftest$ac_exeext'
96593   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
96594   (eval $ac_try) 2>&5
96595   ac_status=$?
96596   echo "$as_me:$LINENO: \$? = $ac_status" >&5
96597   (exit $ac_status); }; }; then
96598   ac_cv_lib_m_main=yes
96599 else
96600   echo "$as_me: failed program was:" >&5
96601 sed 's/^/| /' conftest.$ac_ext >&5
96602
96603 ac_cv_lib_m_main=no
96604 fi
96605 rm -f conftest.err conftest.$ac_objext \
96606       conftest$ac_exeext conftest.$ac_ext
96607 LIBS=$ac_check_lib_save_LIBS
96608 fi
96609 echo "$as_me:$LINENO: result: $ac_cv_lib_m_main" >&5
96610 echo "${ECHO_T}$ac_cv_lib_m_main" >&6
96611 if test $ac_cv_lib_m_main = yes; then
96612   cat >>confdefs.h <<_ACEOF
96613 #define HAVE_LIBM 1
96614 _ACEOF
96615
96616   LIBS="-lm $LIBS"
96617
96618 fi
96619
96620
96621 for ac_func in copysignf
96622 do
96623 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
96624 echo "$as_me:$LINENO: checking for $ac_func" >&5
96625 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
96626 if eval "test \"\${$as_ac_var+set}\" = set"; then
96627   echo $ECHO_N "(cached) $ECHO_C" >&6
96628 else
96629   if test x$gcc_no_link = xyes; then
96630   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
96631 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
96632    { (exit 1); exit 1; }; }
96633 fi
96634 cat >conftest.$ac_ext <<_ACEOF
96635 /* confdefs.h.  */
96636 _ACEOF
96637 cat confdefs.h >>conftest.$ac_ext
96638 cat >>conftest.$ac_ext <<_ACEOF
96639 /* end confdefs.h.  */
96640 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
96641    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
96642 #define $ac_func innocuous_$ac_func
96643
96644 /* System header to define __stub macros and hopefully few prototypes,
96645     which can conflict with char $ac_func (); below.
96646     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
96647     <limits.h> exists even on freestanding compilers.  */
96648
96649 #ifdef __STDC__
96650 # include <limits.h>
96651 #else
96652 # include <assert.h>
96653 #endif
96654
96655 #undef $ac_func
96656
96657 /* Override any gcc2 internal prototype to avoid an error.  */
96658 #ifdef __cplusplus
96659 extern "C"
96660 {
96661 #endif
96662 /* We use char because int might match the return type of a gcc2
96663    builtin and then its argument prototype would still apply.  */
96664 char $ac_func ();
96665 /* The GNU C library defines this for functions which it implements
96666     to always fail with ENOSYS.  Some functions are actually named
96667     something starting with __ and the normal name is an alias.  */
96668 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
96669 choke me
96670 #else
96671 char (*f) () = $ac_func;
96672 #endif
96673 #ifdef __cplusplus
96674 }
96675 #endif
96676
96677 int
96678 main ()
96679 {
96680 return f != $ac_func;
96681   ;
96682   return 0;
96683 }
96684 _ACEOF
96685 rm -f conftest.$ac_objext conftest$ac_exeext
96686 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
96687   (eval $ac_link) 2>conftest.er1
96688   ac_status=$?
96689   grep -v '^ *+' conftest.er1 >conftest.err
96690   rm -f conftest.er1
96691   cat conftest.err >&5
96692   echo "$as_me:$LINENO: \$? = $ac_status" >&5
96693   (exit $ac_status); } &&
96694          { ac_try='test -z "$ac_c_werror_flag"
96695                          || test ! -s conftest.err'
96696   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
96697   (eval $ac_try) 2>&5
96698   ac_status=$?
96699   echo "$as_me:$LINENO: \$? = $ac_status" >&5
96700   (exit $ac_status); }; } &&
96701          { ac_try='test -s conftest$ac_exeext'
96702   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
96703   (eval $ac_try) 2>&5
96704   ac_status=$?
96705   echo "$as_me:$LINENO: \$? = $ac_status" >&5
96706   (exit $ac_status); }; }; then
96707   eval "$as_ac_var=yes"
96708 else
96709   echo "$as_me: failed program was:" >&5
96710 sed 's/^/| /' conftest.$ac_ext >&5
96711
96712 eval "$as_ac_var=no"
96713 fi
96714 rm -f conftest.err conftest.$ac_objext \
96715       conftest$ac_exeext conftest.$ac_ext
96716 fi
96717 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
96718 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
96719 if test `eval echo '${'$as_ac_var'}'` = yes; then
96720   cat >>confdefs.h <<_ACEOF
96721 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
96722 _ACEOF
96723
96724 else
96725   LIBMATHOBJS="$LIBMATHOBJS ${ac_func}.lo"
96726 fi
96727 done
96728
96729
96730
96731 for ac_func in __signbit
96732 do
96733 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
96734 echo "$as_me:$LINENO: checking for $ac_func" >&5
96735 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
96736 if eval "test \"\${$as_ac_var+set}\" = set"; then
96737   echo $ECHO_N "(cached) $ECHO_C" >&6
96738 else
96739   if test x$gcc_no_link = xyes; then
96740   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
96741 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
96742    { (exit 1); exit 1; }; }
96743 fi
96744 cat >conftest.$ac_ext <<_ACEOF
96745 /* confdefs.h.  */
96746 _ACEOF
96747 cat confdefs.h >>conftest.$ac_ext
96748 cat >>conftest.$ac_ext <<_ACEOF
96749 /* end confdefs.h.  */
96750 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
96751    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
96752 #define $ac_func innocuous_$ac_func
96753
96754 /* System header to define __stub macros and hopefully few prototypes,
96755     which can conflict with char $ac_func (); below.
96756     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
96757     <limits.h> exists even on freestanding compilers.  */
96758
96759 #ifdef __STDC__
96760 # include <limits.h>
96761 #else
96762 # include <assert.h>
96763 #endif
96764
96765 #undef $ac_func
96766
96767 /* Override any gcc2 internal prototype to avoid an error.  */
96768 #ifdef __cplusplus
96769 extern "C"
96770 {
96771 #endif
96772 /* We use char because int might match the return type of a gcc2
96773    builtin and then its argument prototype would still apply.  */
96774 char $ac_func ();
96775 /* The GNU C library defines this for functions which it implements
96776     to always fail with ENOSYS.  Some functions are actually named
96777     something starting with __ and the normal name is an alias.  */
96778 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
96779 choke me
96780 #else
96781 char (*f) () = $ac_func;
96782 #endif
96783 #ifdef __cplusplus
96784 }
96785 #endif
96786
96787 int
96788 main ()
96789 {
96790 return f != $ac_func;
96791   ;
96792   return 0;
96793 }
96794 _ACEOF
96795 rm -f conftest.$ac_objext conftest$ac_exeext
96796 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
96797   (eval $ac_link) 2>conftest.er1
96798   ac_status=$?
96799   grep -v '^ *+' conftest.er1 >conftest.err
96800   rm -f conftest.er1
96801   cat conftest.err >&5
96802   echo "$as_me:$LINENO: \$? = $ac_status" >&5
96803   (exit $ac_status); } &&
96804          { ac_try='test -z "$ac_c_werror_flag"
96805                          || test ! -s conftest.err'
96806   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
96807   (eval $ac_try) 2>&5
96808   ac_status=$?
96809   echo "$as_me:$LINENO: \$? = $ac_status" >&5
96810   (exit $ac_status); }; } &&
96811          { ac_try='test -s conftest$ac_exeext'
96812   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
96813   (eval $ac_try) 2>&5
96814   ac_status=$?
96815   echo "$as_me:$LINENO: \$? = $ac_status" >&5
96816   (exit $ac_status); }; }; then
96817   eval "$as_ac_var=yes"
96818 else
96819   echo "$as_me: failed program was:" >&5
96820 sed 's/^/| /' conftest.$ac_ext >&5
96821
96822 eval "$as_ac_var=no"
96823 fi
96824 rm -f conftest.err conftest.$ac_objext \
96825       conftest$ac_exeext conftest.$ac_ext
96826 fi
96827 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
96828 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
96829 if test `eval echo '${'$as_ac_var'}'` = yes; then
96830   cat >>confdefs.h <<_ACEOF
96831 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
96832 _ACEOF
96833
96834 else
96835   LIBMATHOBJS="$LIBMATHOBJS signbit.lo"
96836 fi
96837 done
96838
96839
96840
96841 for ac_func in __signbitf
96842 do
96843 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
96844 echo "$as_me:$LINENO: checking for $ac_func" >&5
96845 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
96846 if eval "test \"\${$as_ac_var+set}\" = set"; then
96847   echo $ECHO_N "(cached) $ECHO_C" >&6
96848 else
96849   if test x$gcc_no_link = xyes; then
96850   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
96851 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
96852    { (exit 1); exit 1; }; }
96853 fi
96854 cat >conftest.$ac_ext <<_ACEOF
96855 /* confdefs.h.  */
96856 _ACEOF
96857 cat confdefs.h >>conftest.$ac_ext
96858 cat >>conftest.$ac_ext <<_ACEOF
96859 /* end confdefs.h.  */
96860 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
96861    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
96862 #define $ac_func innocuous_$ac_func
96863
96864 /* System header to define __stub macros and hopefully few prototypes,
96865     which can conflict with char $ac_func (); below.
96866     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
96867     <limits.h> exists even on freestanding compilers.  */
96868
96869 #ifdef __STDC__
96870 # include <limits.h>
96871 #else
96872 # include <assert.h>
96873 #endif
96874
96875 #undef $ac_func
96876
96877 /* Override any gcc2 internal prototype to avoid an error.  */
96878 #ifdef __cplusplus
96879 extern "C"
96880 {
96881 #endif
96882 /* We use char because int might match the return type of a gcc2
96883    builtin and then its argument prototype would still apply.  */
96884 char $ac_func ();
96885 /* The GNU C library defines this for functions which it implements
96886     to always fail with ENOSYS.  Some functions are actually named
96887     something starting with __ and the normal name is an alias.  */
96888 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
96889 choke me
96890 #else
96891 char (*f) () = $ac_func;
96892 #endif
96893 #ifdef __cplusplus
96894 }
96895 #endif
96896
96897 int
96898 main ()
96899 {
96900 return f != $ac_func;
96901   ;
96902   return 0;
96903 }
96904 _ACEOF
96905 rm -f conftest.$ac_objext conftest$ac_exeext
96906 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
96907   (eval $ac_link) 2>conftest.er1
96908   ac_status=$?
96909   grep -v '^ *+' conftest.er1 >conftest.err
96910   rm -f conftest.er1
96911   cat conftest.err >&5
96912   echo "$as_me:$LINENO: \$? = $ac_status" >&5
96913   (exit $ac_status); } &&
96914          { ac_try='test -z "$ac_c_werror_flag"
96915                          || test ! -s conftest.err'
96916   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
96917   (eval $ac_try) 2>&5
96918   ac_status=$?
96919   echo "$as_me:$LINENO: \$? = $ac_status" >&5
96920   (exit $ac_status); }; } &&
96921          { ac_try='test -s conftest$ac_exeext'
96922   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
96923   (eval $ac_try) 2>&5
96924   ac_status=$?
96925   echo "$as_me:$LINENO: \$? = $ac_status" >&5
96926   (exit $ac_status); }; }; then
96927   eval "$as_ac_var=yes"
96928 else
96929   echo "$as_me: failed program was:" >&5
96930 sed 's/^/| /' conftest.$ac_ext >&5
96931
96932 eval "$as_ac_var=no"
96933 fi
96934 rm -f conftest.err conftest.$ac_objext \
96935       conftest$ac_exeext conftest.$ac_ext
96936 fi
96937 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
96938 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
96939 if test `eval echo '${'$as_ac_var'}'` = yes; then
96940   cat >>confdefs.h <<_ACEOF
96941 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
96942 _ACEOF
96943
96944 else
96945   LIBMATHOBJS="$LIBMATHOBJS signbitf.lo"
96946 fi
96947 done
96948
96949
96950           if test x$ac_cv_func_copysignl = x"yes"; then
96951
96952 for ac_func in __signbitl
96953 do
96954 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
96955 echo "$as_me:$LINENO: checking for $ac_func" >&5
96956 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
96957 if eval "test \"\${$as_ac_var+set}\" = set"; then
96958   echo $ECHO_N "(cached) $ECHO_C" >&6
96959 else
96960   if test x$gcc_no_link = xyes; then
96961   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
96962 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
96963    { (exit 1); exit 1; }; }
96964 fi
96965 cat >conftest.$ac_ext <<_ACEOF
96966 /* confdefs.h.  */
96967 _ACEOF
96968 cat confdefs.h >>conftest.$ac_ext
96969 cat >>conftest.$ac_ext <<_ACEOF
96970 /* end confdefs.h.  */
96971 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
96972    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
96973 #define $ac_func innocuous_$ac_func
96974
96975 /* System header to define __stub macros and hopefully few prototypes,
96976     which can conflict with char $ac_func (); below.
96977     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
96978     <limits.h> exists even on freestanding compilers.  */
96979
96980 #ifdef __STDC__
96981 # include <limits.h>
96982 #else
96983 # include <assert.h>
96984 #endif
96985
96986 #undef $ac_func
96987
96988 /* Override any gcc2 internal prototype to avoid an error.  */
96989 #ifdef __cplusplus
96990 extern "C"
96991 {
96992 #endif
96993 /* We use char because int might match the return type of a gcc2
96994    builtin and then its argument prototype would still apply.  */
96995 char $ac_func ();
96996 /* The GNU C library defines this for functions which it implements
96997     to always fail with ENOSYS.  Some functions are actually named
96998     something starting with __ and the normal name is an alias.  */
96999 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
97000 choke me
97001 #else
97002 char (*f) () = $ac_func;
97003 #endif
97004 #ifdef __cplusplus
97005 }
97006 #endif
97007
97008 int
97009 main ()
97010 {
97011 return f != $ac_func;
97012   ;
97013   return 0;
97014 }
97015 _ACEOF
97016 rm -f conftest.$ac_objext conftest$ac_exeext
97017 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
97018   (eval $ac_link) 2>conftest.er1
97019   ac_status=$?
97020   grep -v '^ *+' conftest.er1 >conftest.err
97021   rm -f conftest.er1
97022   cat conftest.err >&5
97023   echo "$as_me:$LINENO: \$? = $ac_status" >&5
97024   (exit $ac_status); } &&
97025          { ac_try='test -z "$ac_c_werror_flag"
97026                          || test ! -s conftest.err'
97027   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
97028   (eval $ac_try) 2>&5
97029   ac_status=$?
97030   echo "$as_me:$LINENO: \$? = $ac_status" >&5
97031   (exit $ac_status); }; } &&
97032          { ac_try='test -s conftest$ac_exeext'
97033   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
97034   (eval $ac_try) 2>&5
97035   ac_status=$?
97036   echo "$as_me:$LINENO: \$? = $ac_status" >&5
97037   (exit $ac_status); }; }; then
97038   eval "$as_ac_var=yes"
97039 else
97040   echo "$as_me: failed program was:" >&5
97041 sed 's/^/| /' conftest.$ac_ext >&5
97042
97043 eval "$as_ac_var=no"
97044 fi
97045 rm -f conftest.err conftest.$ac_objext \
97046       conftest$ac_exeext conftest.$ac_ext
97047 fi
97048 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
97049 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
97050 if test `eval echo '${'$as_ac_var'}'` = yes; then
97051   cat >>confdefs.h <<_ACEOF
97052 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
97053 _ACEOF
97054
97055 else
97056   LIBMATHOBJS="$LIBMATHOBJS signbitl.lo"
97057 fi
97058 done
97059
97060   fi
97061
97062   # Used in libmath/Makefile.am.
97063   if test -n "$LIBMATHOBJS"; then
97064     need_libmath=yes
97065   fi
97066
97067
97068
97069   ac_test_CXXFLAGS="${CXXFLAGS+set}"
97070   ac_save_CXXFLAGS="$CXXFLAGS"
97071   CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
97072
97073
97074   echo "$as_me:$LINENO: checking for strtold declaration" >&5
97075 echo $ECHO_N "checking for strtold declaration... $ECHO_C" >&6
97076   if test x${glibcxx_cv_func_strtold_use+set} != xset; then
97077     if test "${glibcxx_cv_func_strtold_use+set}" = set; then
97078   echo $ECHO_N "(cached) $ECHO_C" >&6
97079 else
97080
97081
97082
97083       ac_ext=cc
97084 ac_cpp='$CXXCPP $CPPFLAGS'
97085 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
97086 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
97087 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
97088
97089       cat >conftest.$ac_ext <<_ACEOF
97090 /* confdefs.h.  */
97091 _ACEOF
97092 cat confdefs.h >>conftest.$ac_ext
97093 cat >>conftest.$ac_ext <<_ACEOF
97094 /* end confdefs.h.  */
97095 #include <stdlib.h>
97096 int
97097 main ()
97098 {
97099  strtold(0, 0);
97100   ;
97101   return 0;
97102 }
97103 _ACEOF
97104 rm -f conftest.$ac_objext
97105 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
97106   (eval $ac_compile) 2>conftest.er1
97107   ac_status=$?
97108   grep -v '^ *+' conftest.er1 >conftest.err
97109   rm -f conftest.er1
97110   cat conftest.err >&5
97111   echo "$as_me:$LINENO: \$? = $ac_status" >&5
97112   (exit $ac_status); } &&
97113          { ac_try='test -z "$ac_cxx_werror_flag"
97114                          || test ! -s conftest.err'
97115   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
97116   (eval $ac_try) 2>&5
97117   ac_status=$?
97118   echo "$as_me:$LINENO: \$? = $ac_status" >&5
97119   (exit $ac_status); }; } &&
97120          { ac_try='test -s conftest.$ac_objext'
97121   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
97122   (eval $ac_try) 2>&5
97123   ac_status=$?
97124   echo "$as_me:$LINENO: \$? = $ac_status" >&5
97125   (exit $ac_status); }; }; then
97126   glibcxx_cv_func_strtold_use=yes
97127 else
97128   echo "$as_me: failed program was:" >&5
97129 sed 's/^/| /' conftest.$ac_ext >&5
97130
97131 glibcxx_cv_func_strtold_use=no
97132 fi
97133 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
97134       ac_ext=c
97135 ac_cpp='$CPP $CPPFLAGS'
97136 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
97137 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
97138 ac_compiler_gnu=$ac_cv_c_compiler_gnu
97139
97140
97141 fi
97142
97143   fi
97144   echo "$as_me:$LINENO: result: $glibcxx_cv_func_strtold_use" >&5
97145 echo "${ECHO_T}$glibcxx_cv_func_strtold_use" >&6
97146   if test x$glibcxx_cv_func_strtold_use = x"yes"; then
97147
97148 for ac_func in strtold
97149 do
97150 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
97151 echo "$as_me:$LINENO: checking for $ac_func" >&5
97152 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
97153 if eval "test \"\${$as_ac_var+set}\" = set"; then
97154   echo $ECHO_N "(cached) $ECHO_C" >&6
97155 else
97156   if test x$gcc_no_link = xyes; then
97157   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
97158 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
97159    { (exit 1); exit 1; }; }
97160 fi
97161 cat >conftest.$ac_ext <<_ACEOF
97162 /* confdefs.h.  */
97163 _ACEOF
97164 cat confdefs.h >>conftest.$ac_ext
97165 cat >>conftest.$ac_ext <<_ACEOF
97166 /* end confdefs.h.  */
97167 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
97168    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
97169 #define $ac_func innocuous_$ac_func
97170
97171 /* System header to define __stub macros and hopefully few prototypes,
97172     which can conflict with char $ac_func (); below.
97173     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
97174     <limits.h> exists even on freestanding compilers.  */
97175
97176 #ifdef __STDC__
97177 # include <limits.h>
97178 #else
97179 # include <assert.h>
97180 #endif
97181
97182 #undef $ac_func
97183
97184 /* Override any gcc2 internal prototype to avoid an error.  */
97185 #ifdef __cplusplus
97186 extern "C"
97187 {
97188 #endif
97189 /* We use char because int might match the return type of a gcc2
97190    builtin and then its argument prototype would still apply.  */
97191 char $ac_func ();
97192 /* The GNU C library defines this for functions which it implements
97193     to always fail with ENOSYS.  Some functions are actually named
97194     something starting with __ and the normal name is an alias.  */
97195 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
97196 choke me
97197 #else
97198 char (*f) () = $ac_func;
97199 #endif
97200 #ifdef __cplusplus
97201 }
97202 #endif
97203
97204 int
97205 main ()
97206 {
97207 return f != $ac_func;
97208   ;
97209   return 0;
97210 }
97211 _ACEOF
97212 rm -f conftest.$ac_objext conftest$ac_exeext
97213 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
97214   (eval $ac_link) 2>conftest.er1
97215   ac_status=$?
97216   grep -v '^ *+' conftest.er1 >conftest.err
97217   rm -f conftest.er1
97218   cat conftest.err >&5
97219   echo "$as_me:$LINENO: \$? = $ac_status" >&5
97220   (exit $ac_status); } &&
97221          { ac_try='test -z "$ac_c_werror_flag"
97222                          || test ! -s conftest.err'
97223   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
97224   (eval $ac_try) 2>&5
97225   ac_status=$?
97226   echo "$as_me:$LINENO: \$? = $ac_status" >&5
97227   (exit $ac_status); }; } &&
97228          { ac_try='test -s conftest$ac_exeext'
97229   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
97230   (eval $ac_try) 2>&5
97231   ac_status=$?
97232   echo "$as_me:$LINENO: \$? = $ac_status" >&5
97233   (exit $ac_status); }; }; then
97234   eval "$as_ac_var=yes"
97235 else
97236   echo "$as_me: failed program was:" >&5
97237 sed 's/^/| /' conftest.$ac_ext >&5
97238
97239 eval "$as_ac_var=no"
97240 fi
97241 rm -f conftest.err conftest.$ac_objext \
97242       conftest$ac_exeext conftest.$ac_ext
97243 fi
97244 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
97245 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
97246 if test `eval echo '${'$as_ac_var'}'` = yes; then
97247   cat >>confdefs.h <<_ACEOF
97248 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
97249 _ACEOF
97250
97251 fi
97252 done
97253
97254   fi
97255
97256
97257
97258
97259
97260   echo "$as_me:$LINENO: checking for strtof declaration" >&5
97261 echo $ECHO_N "checking for strtof declaration... $ECHO_C" >&6
97262   if test x${glibcxx_cv_func_strtof_use+set} != xset; then
97263     if test "${glibcxx_cv_func_strtof_use+set}" = set; then
97264   echo $ECHO_N "(cached) $ECHO_C" >&6
97265 else
97266
97267
97268
97269       ac_ext=cc
97270 ac_cpp='$CXXCPP $CPPFLAGS'
97271 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
97272 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
97273 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
97274
97275       cat >conftest.$ac_ext <<_ACEOF
97276 /* confdefs.h.  */
97277 _ACEOF
97278 cat confdefs.h >>conftest.$ac_ext
97279 cat >>conftest.$ac_ext <<_ACEOF
97280 /* end confdefs.h.  */
97281 #include <stdlib.h>
97282 int
97283 main ()
97284 {
97285  strtof(0, 0);
97286   ;
97287   return 0;
97288 }
97289 _ACEOF
97290 rm -f conftest.$ac_objext
97291 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
97292   (eval $ac_compile) 2>conftest.er1
97293   ac_status=$?
97294   grep -v '^ *+' conftest.er1 >conftest.err
97295   rm -f conftest.er1
97296   cat conftest.err >&5
97297   echo "$as_me:$LINENO: \$? = $ac_status" >&5
97298   (exit $ac_status); } &&
97299          { ac_try='test -z "$ac_cxx_werror_flag"
97300                          || test ! -s conftest.err'
97301   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
97302   (eval $ac_try) 2>&5
97303   ac_status=$?
97304   echo "$as_me:$LINENO: \$? = $ac_status" >&5
97305   (exit $ac_status); }; } &&
97306          { ac_try='test -s conftest.$ac_objext'
97307   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
97308   (eval $ac_try) 2>&5
97309   ac_status=$?
97310   echo "$as_me:$LINENO: \$? = $ac_status" >&5
97311   (exit $ac_status); }; }; then
97312   glibcxx_cv_func_strtof_use=yes
97313 else
97314   echo "$as_me: failed program was:" >&5
97315 sed 's/^/| /' conftest.$ac_ext >&5
97316
97317 glibcxx_cv_func_strtof_use=no
97318 fi
97319 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
97320       ac_ext=c
97321 ac_cpp='$CPP $CPPFLAGS'
97322 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
97323 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
97324 ac_compiler_gnu=$ac_cv_c_compiler_gnu
97325
97326
97327 fi
97328
97329   fi
97330   echo "$as_me:$LINENO: result: $glibcxx_cv_func_strtof_use" >&5
97331 echo "${ECHO_T}$glibcxx_cv_func_strtof_use" >&6
97332   if test x$glibcxx_cv_func_strtof_use = x"yes"; then
97333
97334 for ac_func in strtof
97335 do
97336 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
97337 echo "$as_me:$LINENO: checking for $ac_func" >&5
97338 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
97339 if eval "test \"\${$as_ac_var+set}\" = set"; then
97340   echo $ECHO_N "(cached) $ECHO_C" >&6
97341 else
97342   if test x$gcc_no_link = xyes; then
97343   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
97344 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
97345    { (exit 1); exit 1; }; }
97346 fi
97347 cat >conftest.$ac_ext <<_ACEOF
97348 /* confdefs.h.  */
97349 _ACEOF
97350 cat confdefs.h >>conftest.$ac_ext
97351 cat >>conftest.$ac_ext <<_ACEOF
97352 /* end confdefs.h.  */
97353 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
97354    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
97355 #define $ac_func innocuous_$ac_func
97356
97357 /* System header to define __stub macros and hopefully few prototypes,
97358     which can conflict with char $ac_func (); below.
97359     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
97360     <limits.h> exists even on freestanding compilers.  */
97361
97362 #ifdef __STDC__
97363 # include <limits.h>
97364 #else
97365 # include <assert.h>
97366 #endif
97367
97368 #undef $ac_func
97369
97370 /* Override any gcc2 internal prototype to avoid an error.  */
97371 #ifdef __cplusplus
97372 extern "C"
97373 {
97374 #endif
97375 /* We use char because int might match the return type of a gcc2
97376    builtin and then its argument prototype would still apply.  */
97377 char $ac_func ();
97378 /* The GNU C library defines this for functions which it implements
97379     to always fail with ENOSYS.  Some functions are actually named
97380     something starting with __ and the normal name is an alias.  */
97381 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
97382 choke me
97383 #else
97384 char (*f) () = $ac_func;
97385 #endif
97386 #ifdef __cplusplus
97387 }
97388 #endif
97389
97390 int
97391 main ()
97392 {
97393 return f != $ac_func;
97394   ;
97395   return 0;
97396 }
97397 _ACEOF
97398 rm -f conftest.$ac_objext conftest$ac_exeext
97399 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
97400   (eval $ac_link) 2>conftest.er1
97401   ac_status=$?
97402   grep -v '^ *+' conftest.er1 >conftest.err
97403   rm -f conftest.er1
97404   cat conftest.err >&5
97405   echo "$as_me:$LINENO: \$? = $ac_status" >&5
97406   (exit $ac_status); } &&
97407          { ac_try='test -z "$ac_c_werror_flag"
97408                          || test ! -s conftest.err'
97409   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
97410   (eval $ac_try) 2>&5
97411   ac_status=$?
97412   echo "$as_me:$LINENO: \$? = $ac_status" >&5
97413   (exit $ac_status); }; } &&
97414          { ac_try='test -s conftest$ac_exeext'
97415   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
97416   (eval $ac_try) 2>&5
97417   ac_status=$?
97418   echo "$as_me:$LINENO: \$? = $ac_status" >&5
97419   (exit $ac_status); }; }; then
97420   eval "$as_ac_var=yes"
97421 else
97422   echo "$as_me: failed program was:" >&5
97423 sed 's/^/| /' conftest.$ac_ext >&5
97424
97425 eval "$as_ac_var=no"
97426 fi
97427 rm -f conftest.err conftest.$ac_objext \
97428       conftest$ac_exeext conftest.$ac_ext
97429 fi
97430 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
97431 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
97432 if test `eval echo '${'$as_ac_var'}'` = yes; then
97433   cat >>confdefs.h <<_ACEOF
97434 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
97435 _ACEOF
97436
97437 fi
97438 done
97439
97440   fi
97441
97442
97443
97444
97445
97446   CXXFLAGS="$ac_save_CXXFLAGS"
97447
97448
97449     # For LFS.
97450     cat >>confdefs.h <<\_ACEOF
97451 #define HAVE_INT64_T 1
97452 _ACEOF
97453
97454
97455
97456
97457   ac_ext=cc
97458 ac_cpp='$CXXCPP $CPPFLAGS'
97459 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
97460 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
97461 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
97462
97463   ac_save_CXXFLAGS="$CXXFLAGS"
97464   CXXFLAGS="$CXXFLAGS -fno-exceptions"
97465   echo "$as_me:$LINENO: checking for LFS support" >&5
97466 echo $ECHO_N "checking for LFS support... $ECHO_C" >&6
97467   if test "${glibcxx_cv_LFS+set}" = set; then
97468   echo $ECHO_N "(cached) $ECHO_C" >&6
97469 else
97470
97471     if test x$gcc_no_link = xyes; then
97472   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
97473 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
97474    { (exit 1); exit 1; }; }
97475 fi
97476 cat >conftest.$ac_ext <<_ACEOF
97477 /* confdefs.h.  */
97478 _ACEOF
97479 cat confdefs.h >>conftest.$ac_ext
97480 cat >>conftest.$ac_ext <<_ACEOF
97481 /* end confdefs.h.  */
97482 #include <unistd.h>
97483        #include <stdio.h>
97484        #include <sys/stat.h>
97485
97486 int
97487 main ()
97488 {
97489 FILE* fp;
97490        fopen64("t", "w");
97491        fseeko64(fp, 0, SEEK_CUR);
97492        ftello64(fp);
97493        lseek64(1, 0, SEEK_CUR);
97494        struct stat64 buf;
97495        fstat64(1, &buf);
97496   ;
97497   return 0;
97498 }
97499 _ACEOF
97500 rm -f conftest.$ac_objext conftest$ac_exeext
97501 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
97502   (eval $ac_link) 2>conftest.er1
97503   ac_status=$?
97504   grep -v '^ *+' conftest.er1 >conftest.err
97505   rm -f conftest.er1
97506   cat conftest.err >&5
97507   echo "$as_me:$LINENO: \$? = $ac_status" >&5
97508   (exit $ac_status); } &&
97509          { ac_try='test -z "$ac_cxx_werror_flag"
97510                          || test ! -s conftest.err'
97511   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
97512   (eval $ac_try) 2>&5
97513   ac_status=$?
97514   echo "$as_me:$LINENO: \$? = $ac_status" >&5
97515   (exit $ac_status); }; } &&
97516          { ac_try='test -s conftest$ac_exeext'
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); }; }; then
97522   glibcxx_cv_LFS=yes
97523 else
97524   echo "$as_me: failed program was:" >&5
97525 sed 's/^/| /' conftest.$ac_ext >&5
97526
97527 glibcxx_cv_LFS=no
97528 fi
97529 rm -f conftest.err conftest.$ac_objext \
97530       conftest$ac_exeext conftest.$ac_ext
97531
97532 fi
97533
97534   if test $glibcxx_cv_LFS = yes; then
97535
97536 cat >>confdefs.h <<\_ACEOF
97537 #define _GLIBCXX_USE_LFS 1
97538 _ACEOF
97539
97540   fi
97541   echo "$as_me:$LINENO: result: $glibcxx_cv_LFS" >&5
97542 echo "${ECHO_T}$glibcxx_cv_LFS" >&6
97543   CXXFLAGS="$ac_save_CXXFLAGS"
97544   ac_ext=c
97545 ac_cpp='$CPP $CPPFLAGS'
97546 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
97547 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
97548 ac_compiler_gnu=$ac_cv_c_compiler_gnu
97549
97550
97551
97552     # For showmanyc_helper().
97553
97554
97555 for ac_header in sys/ioctl.h sys/filio.h
97556 do
97557 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
97558 if eval "test \"\${$as_ac_Header+set}\" = set"; then
97559   echo "$as_me:$LINENO: checking for $ac_header" >&5
97560 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
97561 if eval "test \"\${$as_ac_Header+set}\" = set"; then
97562   echo $ECHO_N "(cached) $ECHO_C" >&6
97563 fi
97564 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
97565 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
97566 else
97567   # Is the header compilable?
97568 echo "$as_me:$LINENO: checking $ac_header usability" >&5
97569 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
97570 cat >conftest.$ac_ext <<_ACEOF
97571 /* confdefs.h.  */
97572 _ACEOF
97573 cat confdefs.h >>conftest.$ac_ext
97574 cat >>conftest.$ac_ext <<_ACEOF
97575 /* end confdefs.h.  */
97576 $ac_includes_default
97577 #include <$ac_header>
97578 _ACEOF
97579 rm -f conftest.$ac_objext
97580 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
97581   (eval $ac_compile) 2>conftest.er1
97582   ac_status=$?
97583   grep -v '^ *+' conftest.er1 >conftest.err
97584   rm -f conftest.er1
97585   cat conftest.err >&5
97586   echo "$as_me:$LINENO: \$? = $ac_status" >&5
97587   (exit $ac_status); } &&
97588          { ac_try='test -z "$ac_c_werror_flag"
97589                          || test ! -s conftest.err'
97590   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
97591   (eval $ac_try) 2>&5
97592   ac_status=$?
97593   echo "$as_me:$LINENO: \$? = $ac_status" >&5
97594   (exit $ac_status); }; } &&
97595          { ac_try='test -s conftest.$ac_objext'
97596   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
97597   (eval $ac_try) 2>&5
97598   ac_status=$?
97599   echo "$as_me:$LINENO: \$? = $ac_status" >&5
97600   (exit $ac_status); }; }; then
97601   ac_header_compiler=yes
97602 else
97603   echo "$as_me: failed program was:" >&5
97604 sed 's/^/| /' conftest.$ac_ext >&5
97605
97606 ac_header_compiler=no
97607 fi
97608 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
97609 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
97610 echo "${ECHO_T}$ac_header_compiler" >&6
97611
97612 # Is the header present?
97613 echo "$as_me:$LINENO: checking $ac_header presence" >&5
97614 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
97615 cat >conftest.$ac_ext <<_ACEOF
97616 /* confdefs.h.  */
97617 _ACEOF
97618 cat confdefs.h >>conftest.$ac_ext
97619 cat >>conftest.$ac_ext <<_ACEOF
97620 /* end confdefs.h.  */
97621 #include <$ac_header>
97622 _ACEOF
97623 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
97624   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
97625   ac_status=$?
97626   grep -v '^ *+' conftest.er1 >conftest.err
97627   rm -f conftest.er1
97628   cat conftest.err >&5
97629   echo "$as_me:$LINENO: \$? = $ac_status" >&5
97630   (exit $ac_status); } >/dev/null; then
97631   if test -s conftest.err; then
97632     ac_cpp_err=$ac_c_preproc_warn_flag
97633     ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
97634   else
97635     ac_cpp_err=
97636   fi
97637 else
97638   ac_cpp_err=yes
97639 fi
97640 if test -z "$ac_cpp_err"; then
97641   ac_header_preproc=yes
97642 else
97643   echo "$as_me: failed program was:" >&5
97644 sed 's/^/| /' conftest.$ac_ext >&5
97645
97646   ac_header_preproc=no
97647 fi
97648 rm -f conftest.err conftest.$ac_ext
97649 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
97650 echo "${ECHO_T}$ac_header_preproc" >&6
97651
97652 # So?  What about this header?
97653 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
97654   yes:no: )
97655     { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
97656 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
97657     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
97658 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
97659     ac_header_preproc=yes
97660     ;;
97661   no:yes:* )
97662     { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
97663 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
97664     { echo "$as_me:$LINENO: WARNING: $ac_header:     check for missing prerequisite headers?" >&5
97665 echo "$as_me: WARNING: $ac_header:     check for missing prerequisite headers?" >&2;}
97666     { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
97667 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
97668     { echo "$as_me:$LINENO: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&5
97669 echo "$as_me: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&2;}
97670     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
97671 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
97672     { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
97673 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
97674     (
97675       cat <<\_ASBOX
97676 ## ----------------------------------------- ##
97677 ## Report this to the package-unused lists.  ##
97678 ## ----------------------------------------- ##
97679 _ASBOX
97680     ) |
97681       sed "s/^/$as_me: WARNING:     /" >&2
97682     ;;
97683 esac
97684 echo "$as_me:$LINENO: checking for $ac_header" >&5
97685 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
97686 if eval "test \"\${$as_ac_Header+set}\" = set"; then
97687   echo $ECHO_N "(cached) $ECHO_C" >&6
97688 else
97689   eval "$as_ac_Header=\$ac_header_preproc"
97690 fi
97691 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
97692 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
97693
97694 fi
97695 if test `eval echo '${'$as_ac_Header'}'` = yes; then
97696   cat >>confdefs.h <<_ACEOF
97697 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
97698 _ACEOF
97699
97700 fi
97701
97702 done
97703
97704
97705   echo "$as_me:$LINENO: checking for poll" >&5
97706 echo $ECHO_N "checking for poll... $ECHO_C" >&6
97707   if test "${glibcxx_cv_POLL+set}" = set; then
97708   echo $ECHO_N "(cached) $ECHO_C" >&6
97709 else
97710
97711     if test x$gcc_no_link = xyes; then
97712   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
97713 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
97714    { (exit 1); exit 1; }; }
97715 fi
97716 cat >conftest.$ac_ext <<_ACEOF
97717 /* confdefs.h.  */
97718 _ACEOF
97719 cat confdefs.h >>conftest.$ac_ext
97720 cat >>conftest.$ac_ext <<_ACEOF
97721 /* end confdefs.h.  */
97722 #include <poll.h>
97723 int
97724 main ()
97725 {
97726 struct pollfd pfd[1];
97727        pfd[0].events = POLLIN;
97728        poll(pfd, 1, 0);
97729   ;
97730   return 0;
97731 }
97732 _ACEOF
97733 rm -f conftest.$ac_objext conftest$ac_exeext
97734 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
97735   (eval $ac_link) 2>conftest.er1
97736   ac_status=$?
97737   grep -v '^ *+' conftest.er1 >conftest.err
97738   rm -f conftest.er1
97739   cat conftest.err >&5
97740   echo "$as_me:$LINENO: \$? = $ac_status" >&5
97741   (exit $ac_status); } &&
97742          { ac_try='test -z "$ac_c_werror_flag"
97743                          || test ! -s conftest.err'
97744   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
97745   (eval $ac_try) 2>&5
97746   ac_status=$?
97747   echo "$as_me:$LINENO: \$? = $ac_status" >&5
97748   (exit $ac_status); }; } &&
97749          { ac_try='test -s conftest$ac_exeext'
97750   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
97751   (eval $ac_try) 2>&5
97752   ac_status=$?
97753   echo "$as_me:$LINENO: \$? = $ac_status" >&5
97754   (exit $ac_status); }; }; then
97755   glibcxx_cv_POLL=yes
97756 else
97757   echo "$as_me: failed program was:" >&5
97758 sed 's/^/| /' conftest.$ac_ext >&5
97759
97760 glibcxx_cv_POLL=no
97761 fi
97762 rm -f conftest.err conftest.$ac_objext \
97763       conftest$ac_exeext conftest.$ac_ext
97764
97765 fi
97766
97767   if test $glibcxx_cv_POLL = yes; then
97768
97769 cat >>confdefs.h <<\_ACEOF
97770 #define HAVE_POLL 1
97771 _ACEOF
97772
97773   fi
97774   echo "$as_me:$LINENO: result: $glibcxx_cv_POLL" >&5
97775 echo "${ECHO_T}$glibcxx_cv_POLL" >&6
97776
97777
97778   echo "$as_me:$LINENO: checking for S_ISREG or S_IFREG" >&5
97779 echo $ECHO_N "checking for S_ISREG or S_IFREG... $ECHO_C" >&6
97780   if test "${glibcxx_cv_S_ISREG+set}" = set; then
97781   echo $ECHO_N "(cached) $ECHO_C" >&6
97782 else
97783
97784     if test x$gcc_no_link = xyes; then
97785   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
97786 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
97787    { (exit 1); exit 1; }; }
97788 fi
97789 cat >conftest.$ac_ext <<_ACEOF
97790 /* confdefs.h.  */
97791 _ACEOF
97792 cat confdefs.h >>conftest.$ac_ext
97793 cat >>conftest.$ac_ext <<_ACEOF
97794 /* end confdefs.h.  */
97795 #include <sys/stat.h>
97796 int
97797 main ()
97798 {
97799 struct stat buffer;
97800        fstat(0, &buffer);
97801        S_ISREG(buffer.st_mode);
97802   ;
97803   return 0;
97804 }
97805 _ACEOF
97806 rm -f conftest.$ac_objext conftest$ac_exeext
97807 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
97808   (eval $ac_link) 2>conftest.er1
97809   ac_status=$?
97810   grep -v '^ *+' conftest.er1 >conftest.err
97811   rm -f conftest.er1
97812   cat conftest.err >&5
97813   echo "$as_me:$LINENO: \$? = $ac_status" >&5
97814   (exit $ac_status); } &&
97815          { ac_try='test -z "$ac_c_werror_flag"
97816                          || test ! -s conftest.err'
97817   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
97818   (eval $ac_try) 2>&5
97819   ac_status=$?
97820   echo "$as_me:$LINENO: \$? = $ac_status" >&5
97821   (exit $ac_status); }; } &&
97822          { ac_try='test -s conftest$ac_exeext'
97823   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
97824   (eval $ac_try) 2>&5
97825   ac_status=$?
97826   echo "$as_me:$LINENO: \$? = $ac_status" >&5
97827   (exit $ac_status); }; }; then
97828   glibcxx_cv_S_ISREG=yes
97829 else
97830   echo "$as_me: failed program was:" >&5
97831 sed 's/^/| /' conftest.$ac_ext >&5
97832
97833 glibcxx_cv_S_ISREG=no
97834 fi
97835 rm -f conftest.err conftest.$ac_objext \
97836       conftest$ac_exeext conftest.$ac_ext
97837
97838 fi
97839
97840   if test "${glibcxx_cv_S_IFREG+set}" = set; then
97841   echo $ECHO_N "(cached) $ECHO_C" >&6
97842 else
97843
97844     if test x$gcc_no_link = xyes; then
97845   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
97846 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
97847    { (exit 1); exit 1; }; }
97848 fi
97849 cat >conftest.$ac_ext <<_ACEOF
97850 /* confdefs.h.  */
97851 _ACEOF
97852 cat confdefs.h >>conftest.$ac_ext
97853 cat >>conftest.$ac_ext <<_ACEOF
97854 /* end confdefs.h.  */
97855 #include <sys/stat.h>
97856 int
97857 main ()
97858 {
97859 struct stat buffer;
97860        fstat(0, &buffer);
97861        S_IFREG & buffer.st_mode;
97862   ;
97863   return 0;
97864 }
97865 _ACEOF
97866 rm -f conftest.$ac_objext conftest$ac_exeext
97867 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
97868   (eval $ac_link) 2>conftest.er1
97869   ac_status=$?
97870   grep -v '^ *+' conftest.er1 >conftest.err
97871   rm -f conftest.er1
97872   cat conftest.err >&5
97873   echo "$as_me:$LINENO: \$? = $ac_status" >&5
97874   (exit $ac_status); } &&
97875          { ac_try='test -z "$ac_c_werror_flag"
97876                          || test ! -s conftest.err'
97877   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
97878   (eval $ac_try) 2>&5
97879   ac_status=$?
97880   echo "$as_me:$LINENO: \$? = $ac_status" >&5
97881   (exit $ac_status); }; } &&
97882          { ac_try='test -s conftest$ac_exeext'
97883   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
97884   (eval $ac_try) 2>&5
97885   ac_status=$?
97886   echo "$as_me:$LINENO: \$? = $ac_status" >&5
97887   (exit $ac_status); }; }; then
97888   glibcxx_cv_S_IFREG=yes
97889 else
97890   echo "$as_me: failed program was:" >&5
97891 sed 's/^/| /' conftest.$ac_ext >&5
97892
97893 glibcxx_cv_S_IFREG=no
97894 fi
97895 rm -f conftest.err conftest.$ac_objext \
97896       conftest$ac_exeext conftest.$ac_ext
97897
97898 fi
97899
97900   res=no
97901   if test $glibcxx_cv_S_ISREG = yes; then
97902
97903 cat >>confdefs.h <<\_ACEOF
97904 #define HAVE_S_ISREG 1
97905 _ACEOF
97906
97907     res=S_ISREG
97908   elif test $glibcxx_cv_S_IFREG = yes; then
97909
97910 cat >>confdefs.h <<\_ACEOF
97911 #define HAVE_S_IFREG 1
97912 _ACEOF
97913
97914     res=S_IFREG
97915   fi
97916   echo "$as_me:$LINENO: result: $res" >&5
97917 echo "${ECHO_T}$res" >&6
97918
97919
97920     # For xsputn_2().
97921
97922 for ac_header in sys/uio.h
97923 do
97924 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
97925 if eval "test \"\${$as_ac_Header+set}\" = set"; then
97926   echo "$as_me:$LINENO: checking for $ac_header" >&5
97927 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
97928 if eval "test \"\${$as_ac_Header+set}\" = set"; then
97929   echo $ECHO_N "(cached) $ECHO_C" >&6
97930 fi
97931 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
97932 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
97933 else
97934   # Is the header compilable?
97935 echo "$as_me:$LINENO: checking $ac_header usability" >&5
97936 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
97937 cat >conftest.$ac_ext <<_ACEOF
97938 /* confdefs.h.  */
97939 _ACEOF
97940 cat confdefs.h >>conftest.$ac_ext
97941 cat >>conftest.$ac_ext <<_ACEOF
97942 /* end confdefs.h.  */
97943 $ac_includes_default
97944 #include <$ac_header>
97945 _ACEOF
97946 rm -f conftest.$ac_objext
97947 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
97948   (eval $ac_compile) 2>conftest.er1
97949   ac_status=$?
97950   grep -v '^ *+' conftest.er1 >conftest.err
97951   rm -f conftest.er1
97952   cat conftest.err >&5
97953   echo "$as_me:$LINENO: \$? = $ac_status" >&5
97954   (exit $ac_status); } &&
97955          { ac_try='test -z "$ac_c_werror_flag"
97956                          || test ! -s conftest.err'
97957   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
97958   (eval $ac_try) 2>&5
97959   ac_status=$?
97960   echo "$as_me:$LINENO: \$? = $ac_status" >&5
97961   (exit $ac_status); }; } &&
97962          { ac_try='test -s conftest.$ac_objext'
97963   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
97964   (eval $ac_try) 2>&5
97965   ac_status=$?
97966   echo "$as_me:$LINENO: \$? = $ac_status" >&5
97967   (exit $ac_status); }; }; then
97968   ac_header_compiler=yes
97969 else
97970   echo "$as_me: failed program was:" >&5
97971 sed 's/^/| /' conftest.$ac_ext >&5
97972
97973 ac_header_compiler=no
97974 fi
97975 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
97976 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
97977 echo "${ECHO_T}$ac_header_compiler" >&6
97978
97979 # Is the header present?
97980 echo "$as_me:$LINENO: checking $ac_header presence" >&5
97981 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
97982 cat >conftest.$ac_ext <<_ACEOF
97983 /* confdefs.h.  */
97984 _ACEOF
97985 cat confdefs.h >>conftest.$ac_ext
97986 cat >>conftest.$ac_ext <<_ACEOF
97987 /* end confdefs.h.  */
97988 #include <$ac_header>
97989 _ACEOF
97990 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
97991   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
97992   ac_status=$?
97993   grep -v '^ *+' conftest.er1 >conftest.err
97994   rm -f conftest.er1
97995   cat conftest.err >&5
97996   echo "$as_me:$LINENO: \$? = $ac_status" >&5
97997   (exit $ac_status); } >/dev/null; then
97998   if test -s conftest.err; then
97999     ac_cpp_err=$ac_c_preproc_warn_flag
98000     ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
98001   else
98002     ac_cpp_err=
98003   fi
98004 else
98005   ac_cpp_err=yes
98006 fi
98007 if test -z "$ac_cpp_err"; then
98008   ac_header_preproc=yes
98009 else
98010   echo "$as_me: failed program was:" >&5
98011 sed 's/^/| /' conftest.$ac_ext >&5
98012
98013   ac_header_preproc=no
98014 fi
98015 rm -f conftest.err conftest.$ac_ext
98016 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
98017 echo "${ECHO_T}$ac_header_preproc" >&6
98018
98019 # So?  What about this header?
98020 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
98021   yes:no: )
98022     { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
98023 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
98024     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
98025 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
98026     ac_header_preproc=yes
98027     ;;
98028   no:yes:* )
98029     { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
98030 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
98031     { echo "$as_me:$LINENO: WARNING: $ac_header:     check for missing prerequisite headers?" >&5
98032 echo "$as_me: WARNING: $ac_header:     check for missing prerequisite headers?" >&2;}
98033     { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
98034 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
98035     { echo "$as_me:$LINENO: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&5
98036 echo "$as_me: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&2;}
98037     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
98038 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
98039     { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
98040 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
98041     (
98042       cat <<\_ASBOX
98043 ## ----------------------------------------- ##
98044 ## Report this to the package-unused lists.  ##
98045 ## ----------------------------------------- ##
98046 _ASBOX
98047     ) |
98048       sed "s/^/$as_me: WARNING:     /" >&2
98049     ;;
98050 esac
98051 echo "$as_me:$LINENO: checking for $ac_header" >&5
98052 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
98053 if eval "test \"\${$as_ac_Header+set}\" = set"; then
98054   echo $ECHO_N "(cached) $ECHO_C" >&6
98055 else
98056   eval "$as_ac_Header=\$ac_header_preproc"
98057 fi
98058 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
98059 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
98060
98061 fi
98062 if test `eval echo '${'$as_ac_Header'}'` = yes; then
98063   cat >>confdefs.h <<_ACEOF
98064 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
98065 _ACEOF
98066
98067 fi
98068
98069 done
98070
98071
98072   echo "$as_me:$LINENO: checking for writev" >&5
98073 echo $ECHO_N "checking for writev... $ECHO_C" >&6
98074   if test "${glibcxx_cv_WRITEV+set}" = set; then
98075   echo $ECHO_N "(cached) $ECHO_C" >&6
98076 else
98077
98078     if test x$gcc_no_link = xyes; then
98079   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
98080 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
98081    { (exit 1); exit 1; }; }
98082 fi
98083 cat >conftest.$ac_ext <<_ACEOF
98084 /* confdefs.h.  */
98085 _ACEOF
98086 cat confdefs.h >>conftest.$ac_ext
98087 cat >>conftest.$ac_ext <<_ACEOF
98088 /* end confdefs.h.  */
98089 #include <sys/uio.h>
98090 int
98091 main ()
98092 {
98093 struct iovec iov[2];
98094        writev(0, iov, 0);
98095   ;
98096   return 0;
98097 }
98098 _ACEOF
98099 rm -f conftest.$ac_objext conftest$ac_exeext
98100 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
98101   (eval $ac_link) 2>conftest.er1
98102   ac_status=$?
98103   grep -v '^ *+' conftest.er1 >conftest.err
98104   rm -f conftest.er1
98105   cat conftest.err >&5
98106   echo "$as_me:$LINENO: \$? = $ac_status" >&5
98107   (exit $ac_status); } &&
98108          { ac_try='test -z "$ac_c_werror_flag"
98109                          || test ! -s conftest.err'
98110   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
98111   (eval $ac_try) 2>&5
98112   ac_status=$?
98113   echo "$as_me:$LINENO: \$? = $ac_status" >&5
98114   (exit $ac_status); }; } &&
98115          { ac_try='test -s conftest$ac_exeext'
98116   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
98117   (eval $ac_try) 2>&5
98118   ac_status=$?
98119   echo "$as_me:$LINENO: \$? = $ac_status" >&5
98120   (exit $ac_status); }; }; then
98121   glibcxx_cv_WRITEV=yes
98122 else
98123   echo "$as_me: failed program was:" >&5
98124 sed 's/^/| /' conftest.$ac_ext >&5
98125
98126 glibcxx_cv_WRITEV=no
98127 fi
98128 rm -f conftest.err conftest.$ac_objext \
98129       conftest$ac_exeext conftest.$ac_ext
98130
98131 fi
98132
98133   if test $glibcxx_cv_WRITEV = yes; then
98134
98135 cat >>confdefs.h <<\_ACEOF
98136 #define HAVE_WRITEV 1
98137 _ACEOF
98138
98139   fi
98140   echo "$as_me:$LINENO: result: $glibcxx_cv_WRITEV" >&5
98141 echo "${ECHO_T}$glibcxx_cv_WRITEV" >&6
98142
98143     ;;
98144   *-mingw32*)
98145
98146
98147
98148 for ac_header in sys/types.h locale.h float.h
98149 do
98150 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
98151 if eval "test \"\${$as_ac_Header+set}\" = set"; then
98152   echo "$as_me:$LINENO: checking for $ac_header" >&5
98153 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
98154 if eval "test \"\${$as_ac_Header+set}\" = set"; then
98155   echo $ECHO_N "(cached) $ECHO_C" >&6
98156 fi
98157 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
98158 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
98159 else
98160   # Is the header compilable?
98161 echo "$as_me:$LINENO: checking $ac_header usability" >&5
98162 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
98163 cat >conftest.$ac_ext <<_ACEOF
98164 /* confdefs.h.  */
98165 _ACEOF
98166 cat confdefs.h >>conftest.$ac_ext
98167 cat >>conftest.$ac_ext <<_ACEOF
98168 /* end confdefs.h.  */
98169 $ac_includes_default
98170 #include <$ac_header>
98171 _ACEOF
98172 rm -f conftest.$ac_objext
98173 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
98174   (eval $ac_compile) 2>conftest.er1
98175   ac_status=$?
98176   grep -v '^ *+' conftest.er1 >conftest.err
98177   rm -f conftest.er1
98178   cat conftest.err >&5
98179   echo "$as_me:$LINENO: \$? = $ac_status" >&5
98180   (exit $ac_status); } &&
98181          { ac_try='test -z "$ac_c_werror_flag"
98182                          || test ! -s conftest.err'
98183   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
98184   (eval $ac_try) 2>&5
98185   ac_status=$?
98186   echo "$as_me:$LINENO: \$? = $ac_status" >&5
98187   (exit $ac_status); }; } &&
98188          { ac_try='test -s conftest.$ac_objext'
98189   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
98190   (eval $ac_try) 2>&5
98191   ac_status=$?
98192   echo "$as_me:$LINENO: \$? = $ac_status" >&5
98193   (exit $ac_status); }; }; then
98194   ac_header_compiler=yes
98195 else
98196   echo "$as_me: failed program was:" >&5
98197 sed 's/^/| /' conftest.$ac_ext >&5
98198
98199 ac_header_compiler=no
98200 fi
98201 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
98202 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
98203 echo "${ECHO_T}$ac_header_compiler" >&6
98204
98205 # Is the header present?
98206 echo "$as_me:$LINENO: checking $ac_header presence" >&5
98207 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
98208 cat >conftest.$ac_ext <<_ACEOF
98209 /* confdefs.h.  */
98210 _ACEOF
98211 cat confdefs.h >>conftest.$ac_ext
98212 cat >>conftest.$ac_ext <<_ACEOF
98213 /* end confdefs.h.  */
98214 #include <$ac_header>
98215 _ACEOF
98216 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
98217   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
98218   ac_status=$?
98219   grep -v '^ *+' conftest.er1 >conftest.err
98220   rm -f conftest.er1
98221   cat conftest.err >&5
98222   echo "$as_me:$LINENO: \$? = $ac_status" >&5
98223   (exit $ac_status); } >/dev/null; then
98224   if test -s conftest.err; then
98225     ac_cpp_err=$ac_c_preproc_warn_flag
98226     ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
98227   else
98228     ac_cpp_err=
98229   fi
98230 else
98231   ac_cpp_err=yes
98232 fi
98233 if test -z "$ac_cpp_err"; then
98234   ac_header_preproc=yes
98235 else
98236   echo "$as_me: failed program was:" >&5
98237 sed 's/^/| /' conftest.$ac_ext >&5
98238
98239   ac_header_preproc=no
98240 fi
98241 rm -f conftest.err conftest.$ac_ext
98242 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
98243 echo "${ECHO_T}$ac_header_preproc" >&6
98244
98245 # So?  What about this header?
98246 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
98247   yes:no: )
98248     { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
98249 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
98250     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
98251 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
98252     ac_header_preproc=yes
98253     ;;
98254   no:yes:* )
98255     { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
98256 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
98257     { echo "$as_me:$LINENO: WARNING: $ac_header:     check for missing prerequisite headers?" >&5
98258 echo "$as_me: WARNING: $ac_header:     check for missing prerequisite headers?" >&2;}
98259     { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
98260 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
98261     { echo "$as_me:$LINENO: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&5
98262 echo "$as_me: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&2;}
98263     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
98264 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
98265     { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
98266 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
98267     (
98268       cat <<\_ASBOX
98269 ## ----------------------------------------- ##
98270 ## Report this to the package-unused lists.  ##
98271 ## ----------------------------------------- ##
98272 _ASBOX
98273     ) |
98274       sed "s/^/$as_me: WARNING:     /" >&2
98275     ;;
98276 esac
98277 echo "$as_me:$LINENO: checking for $ac_header" >&5
98278 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
98279 if eval "test \"\${$as_ac_Header+set}\" = set"; then
98280   echo $ECHO_N "(cached) $ECHO_C" >&6
98281 else
98282   eval "$as_ac_Header=\$ac_header_preproc"
98283 fi
98284 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
98285 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
98286
98287 fi
98288 if test `eval echo '${'$as_ac_Header'}'` = yes; then
98289   cat >>confdefs.h <<_ACEOF
98290 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
98291 _ACEOF
98292
98293 fi
98294
98295 done
98296
98297
98298   # If we're not using GNU ld, then there's no point in even trying these
98299   # tests.  Check for that first.  We should have already tested for gld
98300   # by now (in libtool), but require it now just to be safe...
98301   test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
98302   test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
98303
98304
98305
98306   # The name set by libtool depends on the version of libtool.  Shame on us
98307   # for depending on an impl detail, but c'est la vie.  Older versions used
98308   # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
98309   # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
98310   # makes sense).  We'll test with_gnu_ld everywhere else, so if that isn't
98311   # set (hence we're using an older libtool), then set it.
98312   if test x${with_gnu_ld+set} != xset; then
98313     if test x${ac_cv_prog_gnu_ld+set} != xset; then
98314       # We got through "ac_require(ac_prog_ld)" and still not set?  Huh?
98315       with_gnu_ld=no
98316     else
98317       with_gnu_ld=$ac_cv_prog_gnu_ld
98318     fi
98319   fi
98320
98321   # Start by getting the version number.  I think the libtool test already
98322   # does some of this, but throws away the result.
98323   if test x"$with_gnu_ld" = x"yes"; then
98324     echo "$as_me:$LINENO: checking for ld version" >&5
98325 echo $ECHO_N "checking for ld version... $ECHO_C" >&6
98326
98327     ldver=`$LD --version 2>/dev/null | head -1 | \
98328            sed -e 's/GNU ld version \([0-9.][0-9.]*\).*/\1/'`
98329
98330     glibcxx_gnu_ld_version=`echo $ldver | \
98331            $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
98332     echo "$as_me:$LINENO: result: $glibcxx_gnu_ld_version" >&5
98333 echo "${ECHO_T}$glibcxx_gnu_ld_version" >&6
98334   fi
98335
98336   # Set --gc-sections.
98337   glibcxx_gcsections_min_ld=21602
98338   if test x"$with_gnu_ld" = x"yes" &&
98339         test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
98340
98341     # Sufficiently young GNU ld it is!  Joy and bunny rabbits!
98342     # NB: This flag only works reliably after 2.16.1. Configure tests
98343     # for this are difficult, so hard wire a value that should work.
98344
98345     # All these tests are for C++, but run with the "C" compiler driver.
98346     # Need to do this so that g++ won't try to link in libstdc++/libsupc++.
98347     ac_test_CFLAGS="${CFLAGS+set}"
98348     ac_save_CFLAGS="$CFLAGS"
98349     CFLAGS='-x c++ -Wl,--gc-sections'
98350
98351     # Check for -Wl,--gc-sections
98352     echo "$as_me:$LINENO: checking for ld that supports -Wl,--gc-sections" >&5
98353 echo $ECHO_N "checking for ld that supports -Wl,--gc-sections... $ECHO_C" >&6
98354     if test x$gcc_no_link = xyes; then
98355   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
98356 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
98357    { (exit 1); exit 1; }; }
98358 fi
98359 cat >conftest.$ac_ext <<_ACEOF
98360 /* confdefs.h.  */
98361 _ACEOF
98362 cat confdefs.h >>conftest.$ac_ext
98363 cat >>conftest.$ac_ext <<_ACEOF
98364 /* end confdefs.h.  */
98365  int one(void) { return 1; }
98366      int two(void) { return 2; }
98367
98368 int
98369 main ()
98370 {
98371  two();
98372   ;
98373   return 0;
98374 }
98375 _ACEOF
98376 rm -f conftest.$ac_objext conftest$ac_exeext
98377 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
98378   (eval $ac_link) 2>conftest.er1
98379   ac_status=$?
98380   grep -v '^ *+' conftest.er1 >conftest.err
98381   rm -f conftest.er1
98382   cat conftest.err >&5
98383   echo "$as_me:$LINENO: \$? = $ac_status" >&5
98384   (exit $ac_status); } &&
98385          { ac_try='test -z "$ac_c_werror_flag"
98386                          || test ! -s conftest.err'
98387   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
98388   (eval $ac_try) 2>&5
98389   ac_status=$?
98390   echo "$as_me:$LINENO: \$? = $ac_status" >&5
98391   (exit $ac_status); }; } &&
98392          { ac_try='test -s conftest$ac_exeext'
98393   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
98394   (eval $ac_try) 2>&5
98395   ac_status=$?
98396   echo "$as_me:$LINENO: \$? = $ac_status" >&5
98397   (exit $ac_status); }; }; then
98398   ac_gcsections=yes
98399 else
98400   echo "$as_me: failed program was:" >&5
98401 sed 's/^/| /' conftest.$ac_ext >&5
98402
98403 ac_gcsections=no
98404 fi
98405 rm -f conftest.err conftest.$ac_objext \
98406       conftest$ac_exeext conftest.$ac_ext
98407     if test "$ac_gcsections" = "yes"; then
98408       rm -f conftest.c
98409       touch conftest.c
98410       if $CC -c conftest.c; then
98411         if $LD --gc-sections -o conftest conftest.o 2>&1 | \
98412            grep "Warning: gc-sections option ignored" > /dev/null; then
98413           ac_gcsections=no
98414         fi
98415       fi
98416       rm -f conftest.c conftest.o conftest
98417     fi
98418     if test "$ac_gcsections" = "yes"; then
98419       SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
98420     fi
98421     echo "$as_me:$LINENO: result: $ac_gcsections" >&5
98422 echo "${ECHO_T}$ac_gcsections" >&6
98423
98424     if test "$ac_test_CFLAGS" = set; then
98425       CFLAGS="$ac_save_CFLAGS"
98426     else
98427       # this is the suspicious part
98428       CFLAGS=''
98429     fi
98430   fi
98431
98432   # Set -z,relro.
98433   # Note this is only for shared objects.
98434   ac_ld_relro=no
98435   if test x"$with_gnu_ld" = x"yes"; then
98436     echo "$as_me:$LINENO: checking for ld that supports -Wl,-z,relro" >&5
98437 echo $ECHO_N "checking for ld that supports -Wl,-z,relro... $ECHO_C" >&6
98438     cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
98439     if test -n "$cxx_z_relo"; then
98440       OPT_LDFLAGS="-Wl,-z,relro"
98441       ac_ld_relro=yes
98442     fi
98443     echo "$as_me:$LINENO: result: $ac_ld_relro" >&5
98444 echo "${ECHO_T}$ac_ld_relro" >&6
98445   fi
98446
98447   # Set linker optimization flags.
98448   if test x"$with_gnu_ld" = x"yes"; then
98449     OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
98450   fi
98451
98452
98453
98454
98455
98456
98457 echo "$as_me:$LINENO: checking for main in -lm" >&5
98458 echo $ECHO_N "checking for main in -lm... $ECHO_C" >&6
98459 if test "${ac_cv_lib_m_main+set}" = set; then
98460   echo $ECHO_N "(cached) $ECHO_C" >&6
98461 else
98462   ac_check_lib_save_LIBS=$LIBS
98463 LIBS="-lm  $LIBS"
98464 if test x$gcc_no_link = xyes; then
98465   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
98466 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
98467    { (exit 1); exit 1; }; }
98468 fi
98469 cat >conftest.$ac_ext <<_ACEOF
98470 /* confdefs.h.  */
98471 _ACEOF
98472 cat confdefs.h >>conftest.$ac_ext
98473 cat >>conftest.$ac_ext <<_ACEOF
98474 /* end confdefs.h.  */
98475
98476
98477 int
98478 main ()
98479 {
98480 main ();
98481   ;
98482   return 0;
98483 }
98484 _ACEOF
98485 rm -f conftest.$ac_objext conftest$ac_exeext
98486 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
98487   (eval $ac_link) 2>conftest.er1
98488   ac_status=$?
98489   grep -v '^ *+' conftest.er1 >conftest.err
98490   rm -f conftest.er1
98491   cat conftest.err >&5
98492   echo "$as_me:$LINENO: \$? = $ac_status" >&5
98493   (exit $ac_status); } &&
98494          { ac_try='test -z "$ac_c_werror_flag"
98495                          || test ! -s conftest.err'
98496   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
98497   (eval $ac_try) 2>&5
98498   ac_status=$?
98499   echo "$as_me:$LINENO: \$? = $ac_status" >&5
98500   (exit $ac_status); }; } &&
98501          { ac_try='test -s conftest$ac_exeext'
98502   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
98503   (eval $ac_try) 2>&5
98504   ac_status=$?
98505   echo "$as_me:$LINENO: \$? = $ac_status" >&5
98506   (exit $ac_status); }; }; then
98507   ac_cv_lib_m_main=yes
98508 else
98509   echo "$as_me: failed program was:" >&5
98510 sed 's/^/| /' conftest.$ac_ext >&5
98511
98512 ac_cv_lib_m_main=no
98513 fi
98514 rm -f conftest.err conftest.$ac_objext \
98515       conftest$ac_exeext conftest.$ac_ext
98516 LIBS=$ac_check_lib_save_LIBS
98517 fi
98518 echo "$as_me:$LINENO: result: $ac_cv_lib_m_main" >&5
98519 echo "${ECHO_T}$ac_cv_lib_m_main" >&6
98520 if test $ac_cv_lib_m_main = yes; then
98521   cat >>confdefs.h <<_ACEOF
98522 #define HAVE_LIBM 1
98523 _ACEOF
98524
98525   LIBS="-lm $LIBS"
98526
98527 fi
98528
98529
98530 for ac_func in copysignf
98531 do
98532 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
98533 echo "$as_me:$LINENO: checking for $ac_func" >&5
98534 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
98535 if eval "test \"\${$as_ac_var+set}\" = set"; then
98536   echo $ECHO_N "(cached) $ECHO_C" >&6
98537 else
98538   if test x$gcc_no_link = xyes; then
98539   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
98540 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
98541    { (exit 1); exit 1; }; }
98542 fi
98543 cat >conftest.$ac_ext <<_ACEOF
98544 /* confdefs.h.  */
98545 _ACEOF
98546 cat confdefs.h >>conftest.$ac_ext
98547 cat >>conftest.$ac_ext <<_ACEOF
98548 /* end confdefs.h.  */
98549 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
98550    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
98551 #define $ac_func innocuous_$ac_func
98552
98553 /* System header to define __stub macros and hopefully few prototypes,
98554     which can conflict with char $ac_func (); below.
98555     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
98556     <limits.h> exists even on freestanding compilers.  */
98557
98558 #ifdef __STDC__
98559 # include <limits.h>
98560 #else
98561 # include <assert.h>
98562 #endif
98563
98564 #undef $ac_func
98565
98566 /* Override any gcc2 internal prototype to avoid an error.  */
98567 #ifdef __cplusplus
98568 extern "C"
98569 {
98570 #endif
98571 /* We use char because int might match the return type of a gcc2
98572    builtin and then its argument prototype would still apply.  */
98573 char $ac_func ();
98574 /* The GNU C library defines this for functions which it implements
98575     to always fail with ENOSYS.  Some functions are actually named
98576     something starting with __ and the normal name is an alias.  */
98577 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
98578 choke me
98579 #else
98580 char (*f) () = $ac_func;
98581 #endif
98582 #ifdef __cplusplus
98583 }
98584 #endif
98585
98586 int
98587 main ()
98588 {
98589 return f != $ac_func;
98590   ;
98591   return 0;
98592 }
98593 _ACEOF
98594 rm -f conftest.$ac_objext conftest$ac_exeext
98595 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
98596   (eval $ac_link) 2>conftest.er1
98597   ac_status=$?
98598   grep -v '^ *+' conftest.er1 >conftest.err
98599   rm -f conftest.er1
98600   cat conftest.err >&5
98601   echo "$as_me:$LINENO: \$? = $ac_status" >&5
98602   (exit $ac_status); } &&
98603          { ac_try='test -z "$ac_c_werror_flag"
98604                          || test ! -s conftest.err'
98605   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
98606   (eval $ac_try) 2>&5
98607   ac_status=$?
98608   echo "$as_me:$LINENO: \$? = $ac_status" >&5
98609   (exit $ac_status); }; } &&
98610          { ac_try='test -s conftest$ac_exeext'
98611   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
98612   (eval $ac_try) 2>&5
98613   ac_status=$?
98614   echo "$as_me:$LINENO: \$? = $ac_status" >&5
98615   (exit $ac_status); }; }; then
98616   eval "$as_ac_var=yes"
98617 else
98618   echo "$as_me: failed program was:" >&5
98619 sed 's/^/| /' conftest.$ac_ext >&5
98620
98621 eval "$as_ac_var=no"
98622 fi
98623 rm -f conftest.err conftest.$ac_objext \
98624       conftest$ac_exeext conftest.$ac_ext
98625 fi
98626 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
98627 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
98628 if test `eval echo '${'$as_ac_var'}'` = yes; then
98629   cat >>confdefs.h <<_ACEOF
98630 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
98631 _ACEOF
98632
98633 else
98634   LIBMATHOBJS="$LIBMATHOBJS ${ac_func}.lo"
98635 fi
98636 done
98637
98638
98639
98640 for ac_func in __signbit
98641 do
98642 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
98643 echo "$as_me:$LINENO: checking for $ac_func" >&5
98644 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
98645 if eval "test \"\${$as_ac_var+set}\" = set"; then
98646   echo $ECHO_N "(cached) $ECHO_C" >&6
98647 else
98648   if test x$gcc_no_link = xyes; then
98649   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
98650 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
98651    { (exit 1); exit 1; }; }
98652 fi
98653 cat >conftest.$ac_ext <<_ACEOF
98654 /* confdefs.h.  */
98655 _ACEOF
98656 cat confdefs.h >>conftest.$ac_ext
98657 cat >>conftest.$ac_ext <<_ACEOF
98658 /* end confdefs.h.  */
98659 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
98660    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
98661 #define $ac_func innocuous_$ac_func
98662
98663 /* System header to define __stub macros and hopefully few prototypes,
98664     which can conflict with char $ac_func (); below.
98665     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
98666     <limits.h> exists even on freestanding compilers.  */
98667
98668 #ifdef __STDC__
98669 # include <limits.h>
98670 #else
98671 # include <assert.h>
98672 #endif
98673
98674 #undef $ac_func
98675
98676 /* Override any gcc2 internal prototype to avoid an error.  */
98677 #ifdef __cplusplus
98678 extern "C"
98679 {
98680 #endif
98681 /* We use char because int might match the return type of a gcc2
98682    builtin and then its argument prototype would still apply.  */
98683 char $ac_func ();
98684 /* The GNU C library defines this for functions which it implements
98685     to always fail with ENOSYS.  Some functions are actually named
98686     something starting with __ and the normal name is an alias.  */
98687 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
98688 choke me
98689 #else
98690 char (*f) () = $ac_func;
98691 #endif
98692 #ifdef __cplusplus
98693 }
98694 #endif
98695
98696 int
98697 main ()
98698 {
98699 return f != $ac_func;
98700   ;
98701   return 0;
98702 }
98703 _ACEOF
98704 rm -f conftest.$ac_objext conftest$ac_exeext
98705 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
98706   (eval $ac_link) 2>conftest.er1
98707   ac_status=$?
98708   grep -v '^ *+' conftest.er1 >conftest.err
98709   rm -f conftest.er1
98710   cat conftest.err >&5
98711   echo "$as_me:$LINENO: \$? = $ac_status" >&5
98712   (exit $ac_status); } &&
98713          { ac_try='test -z "$ac_c_werror_flag"
98714                          || test ! -s conftest.err'
98715   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
98716   (eval $ac_try) 2>&5
98717   ac_status=$?
98718   echo "$as_me:$LINENO: \$? = $ac_status" >&5
98719   (exit $ac_status); }; } &&
98720          { ac_try='test -s conftest$ac_exeext'
98721   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
98722   (eval $ac_try) 2>&5
98723   ac_status=$?
98724   echo "$as_me:$LINENO: \$? = $ac_status" >&5
98725   (exit $ac_status); }; }; then
98726   eval "$as_ac_var=yes"
98727 else
98728   echo "$as_me: failed program was:" >&5
98729 sed 's/^/| /' conftest.$ac_ext >&5
98730
98731 eval "$as_ac_var=no"
98732 fi
98733 rm -f conftest.err conftest.$ac_objext \
98734       conftest$ac_exeext conftest.$ac_ext
98735 fi
98736 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
98737 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
98738 if test `eval echo '${'$as_ac_var'}'` = yes; then
98739   cat >>confdefs.h <<_ACEOF
98740 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
98741 _ACEOF
98742
98743 else
98744   LIBMATHOBJS="$LIBMATHOBJS signbit.lo"
98745 fi
98746 done
98747
98748
98749
98750 for ac_func in __signbitf
98751 do
98752 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
98753 echo "$as_me:$LINENO: checking for $ac_func" >&5
98754 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
98755 if eval "test \"\${$as_ac_var+set}\" = set"; then
98756   echo $ECHO_N "(cached) $ECHO_C" >&6
98757 else
98758   if test x$gcc_no_link = xyes; then
98759   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
98760 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
98761    { (exit 1); exit 1; }; }
98762 fi
98763 cat >conftest.$ac_ext <<_ACEOF
98764 /* confdefs.h.  */
98765 _ACEOF
98766 cat confdefs.h >>conftest.$ac_ext
98767 cat >>conftest.$ac_ext <<_ACEOF
98768 /* end confdefs.h.  */
98769 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
98770    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
98771 #define $ac_func innocuous_$ac_func
98772
98773 /* System header to define __stub macros and hopefully few prototypes,
98774     which can conflict with char $ac_func (); below.
98775     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
98776     <limits.h> exists even on freestanding compilers.  */
98777
98778 #ifdef __STDC__
98779 # include <limits.h>
98780 #else
98781 # include <assert.h>
98782 #endif
98783
98784 #undef $ac_func
98785
98786 /* Override any gcc2 internal prototype to avoid an error.  */
98787 #ifdef __cplusplus
98788 extern "C"
98789 {
98790 #endif
98791 /* We use char because int might match the return type of a gcc2
98792    builtin and then its argument prototype would still apply.  */
98793 char $ac_func ();
98794 /* The GNU C library defines this for functions which it implements
98795     to always fail with ENOSYS.  Some functions are actually named
98796     something starting with __ and the normal name is an alias.  */
98797 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
98798 choke me
98799 #else
98800 char (*f) () = $ac_func;
98801 #endif
98802 #ifdef __cplusplus
98803 }
98804 #endif
98805
98806 int
98807 main ()
98808 {
98809 return f != $ac_func;
98810   ;
98811   return 0;
98812 }
98813 _ACEOF
98814 rm -f conftest.$ac_objext conftest$ac_exeext
98815 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
98816   (eval $ac_link) 2>conftest.er1
98817   ac_status=$?
98818   grep -v '^ *+' conftest.er1 >conftest.err
98819   rm -f conftest.er1
98820   cat conftest.err >&5
98821   echo "$as_me:$LINENO: \$? = $ac_status" >&5
98822   (exit $ac_status); } &&
98823          { ac_try='test -z "$ac_c_werror_flag"
98824                          || test ! -s conftest.err'
98825   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
98826   (eval $ac_try) 2>&5
98827   ac_status=$?
98828   echo "$as_me:$LINENO: \$? = $ac_status" >&5
98829   (exit $ac_status); }; } &&
98830          { ac_try='test -s conftest$ac_exeext'
98831   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
98832   (eval $ac_try) 2>&5
98833   ac_status=$?
98834   echo "$as_me:$LINENO: \$? = $ac_status" >&5
98835   (exit $ac_status); }; }; then
98836   eval "$as_ac_var=yes"
98837 else
98838   echo "$as_me: failed program was:" >&5
98839 sed 's/^/| /' conftest.$ac_ext >&5
98840
98841 eval "$as_ac_var=no"
98842 fi
98843 rm -f conftest.err conftest.$ac_objext \
98844       conftest$ac_exeext conftest.$ac_ext
98845 fi
98846 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
98847 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
98848 if test `eval echo '${'$as_ac_var'}'` = yes; then
98849   cat >>confdefs.h <<_ACEOF
98850 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
98851 _ACEOF
98852
98853 else
98854   LIBMATHOBJS="$LIBMATHOBJS signbitf.lo"
98855 fi
98856 done
98857
98858
98859           if test x$ac_cv_func_copysignl = x"yes"; then
98860
98861 for ac_func in __signbitl
98862 do
98863 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
98864 echo "$as_me:$LINENO: checking for $ac_func" >&5
98865 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
98866 if eval "test \"\${$as_ac_var+set}\" = set"; then
98867   echo $ECHO_N "(cached) $ECHO_C" >&6
98868 else
98869   if test x$gcc_no_link = xyes; then
98870   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
98871 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
98872    { (exit 1); exit 1; }; }
98873 fi
98874 cat >conftest.$ac_ext <<_ACEOF
98875 /* confdefs.h.  */
98876 _ACEOF
98877 cat confdefs.h >>conftest.$ac_ext
98878 cat >>conftest.$ac_ext <<_ACEOF
98879 /* end confdefs.h.  */
98880 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
98881    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
98882 #define $ac_func innocuous_$ac_func
98883
98884 /* System header to define __stub macros and hopefully few prototypes,
98885     which can conflict with char $ac_func (); below.
98886     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
98887     <limits.h> exists even on freestanding compilers.  */
98888
98889 #ifdef __STDC__
98890 # include <limits.h>
98891 #else
98892 # include <assert.h>
98893 #endif
98894
98895 #undef $ac_func
98896
98897 /* Override any gcc2 internal prototype to avoid an error.  */
98898 #ifdef __cplusplus
98899 extern "C"
98900 {
98901 #endif
98902 /* We use char because int might match the return type of a gcc2
98903    builtin and then its argument prototype would still apply.  */
98904 char $ac_func ();
98905 /* The GNU C library defines this for functions which it implements
98906     to always fail with ENOSYS.  Some functions are actually named
98907     something starting with __ and the normal name is an alias.  */
98908 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
98909 choke me
98910 #else
98911 char (*f) () = $ac_func;
98912 #endif
98913 #ifdef __cplusplus
98914 }
98915 #endif
98916
98917 int
98918 main ()
98919 {
98920 return f != $ac_func;
98921   ;
98922   return 0;
98923 }
98924 _ACEOF
98925 rm -f conftest.$ac_objext conftest$ac_exeext
98926 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
98927   (eval $ac_link) 2>conftest.er1
98928   ac_status=$?
98929   grep -v '^ *+' conftest.er1 >conftest.err
98930   rm -f conftest.er1
98931   cat conftest.err >&5
98932   echo "$as_me:$LINENO: \$? = $ac_status" >&5
98933   (exit $ac_status); } &&
98934          { ac_try='test -z "$ac_c_werror_flag"
98935                          || test ! -s conftest.err'
98936   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
98937   (eval $ac_try) 2>&5
98938   ac_status=$?
98939   echo "$as_me:$LINENO: \$? = $ac_status" >&5
98940   (exit $ac_status); }; } &&
98941          { ac_try='test -s conftest$ac_exeext'
98942   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
98943   (eval $ac_try) 2>&5
98944   ac_status=$?
98945   echo "$as_me:$LINENO: \$? = $ac_status" >&5
98946   (exit $ac_status); }; }; then
98947   eval "$as_ac_var=yes"
98948 else
98949   echo "$as_me: failed program was:" >&5
98950 sed 's/^/| /' conftest.$ac_ext >&5
98951
98952 eval "$as_ac_var=no"
98953 fi
98954 rm -f conftest.err conftest.$ac_objext \
98955       conftest$ac_exeext conftest.$ac_ext
98956 fi
98957 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
98958 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
98959 if test `eval echo '${'$as_ac_var'}'` = yes; then
98960   cat >>confdefs.h <<_ACEOF
98961 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
98962 _ACEOF
98963
98964 else
98965   LIBMATHOBJS="$LIBMATHOBJS signbitl.lo"
98966 fi
98967 done
98968
98969   fi
98970
98971   # Used in libmath/Makefile.am.
98972   if test -n "$LIBMATHOBJS"; then
98973     need_libmath=yes
98974   fi
98975
98976
98977     ;;
98978   *-netbsd*)
98979
98980
98981
98982
98983
98984
98985
98986
98987
98988
98989
98990
98991 for ac_header in nan.h ieeefp.h endian.h sys/isa_defs.h \
98992       machine/endian.h machine/param.h sys/machine.h sys/types.h \
98993       fp.h locale.h float.h inttypes.h
98994 do
98995 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
98996 if eval "test \"\${$as_ac_Header+set}\" = set"; then
98997   echo "$as_me:$LINENO: checking for $ac_header" >&5
98998 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
98999 if eval "test \"\${$as_ac_Header+set}\" = set"; then
99000   echo $ECHO_N "(cached) $ECHO_C" >&6
99001 fi
99002 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
99003 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
99004 else
99005   # Is the header compilable?
99006 echo "$as_me:$LINENO: checking $ac_header usability" >&5
99007 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
99008 cat >conftest.$ac_ext <<_ACEOF
99009 /* confdefs.h.  */
99010 _ACEOF
99011 cat confdefs.h >>conftest.$ac_ext
99012 cat >>conftest.$ac_ext <<_ACEOF
99013 /* end confdefs.h.  */
99014 $ac_includes_default
99015 #include <$ac_header>
99016 _ACEOF
99017 rm -f conftest.$ac_objext
99018 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
99019   (eval $ac_compile) 2>conftest.er1
99020   ac_status=$?
99021   grep -v '^ *+' conftest.er1 >conftest.err
99022   rm -f conftest.er1
99023   cat conftest.err >&5
99024   echo "$as_me:$LINENO: \$? = $ac_status" >&5
99025   (exit $ac_status); } &&
99026          { ac_try='test -z "$ac_c_werror_flag"
99027                          || test ! -s conftest.err'
99028   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
99029   (eval $ac_try) 2>&5
99030   ac_status=$?
99031   echo "$as_me:$LINENO: \$? = $ac_status" >&5
99032   (exit $ac_status); }; } &&
99033          { ac_try='test -s conftest.$ac_objext'
99034   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
99035   (eval $ac_try) 2>&5
99036   ac_status=$?
99037   echo "$as_me:$LINENO: \$? = $ac_status" >&5
99038   (exit $ac_status); }; }; then
99039   ac_header_compiler=yes
99040 else
99041   echo "$as_me: failed program was:" >&5
99042 sed 's/^/| /' conftest.$ac_ext >&5
99043
99044 ac_header_compiler=no
99045 fi
99046 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
99047 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
99048 echo "${ECHO_T}$ac_header_compiler" >&6
99049
99050 # Is the header present?
99051 echo "$as_me:$LINENO: checking $ac_header presence" >&5
99052 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
99053 cat >conftest.$ac_ext <<_ACEOF
99054 /* confdefs.h.  */
99055 _ACEOF
99056 cat confdefs.h >>conftest.$ac_ext
99057 cat >>conftest.$ac_ext <<_ACEOF
99058 /* end confdefs.h.  */
99059 #include <$ac_header>
99060 _ACEOF
99061 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
99062   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
99063   ac_status=$?
99064   grep -v '^ *+' conftest.er1 >conftest.err
99065   rm -f conftest.er1
99066   cat conftest.err >&5
99067   echo "$as_me:$LINENO: \$? = $ac_status" >&5
99068   (exit $ac_status); } >/dev/null; then
99069   if test -s conftest.err; then
99070     ac_cpp_err=$ac_c_preproc_warn_flag
99071     ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
99072   else
99073     ac_cpp_err=
99074   fi
99075 else
99076   ac_cpp_err=yes
99077 fi
99078 if test -z "$ac_cpp_err"; then
99079   ac_header_preproc=yes
99080 else
99081   echo "$as_me: failed program was:" >&5
99082 sed 's/^/| /' conftest.$ac_ext >&5
99083
99084   ac_header_preproc=no
99085 fi
99086 rm -f conftest.err conftest.$ac_ext
99087 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
99088 echo "${ECHO_T}$ac_header_preproc" >&6
99089
99090 # So?  What about this header?
99091 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
99092   yes:no: )
99093     { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
99094 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
99095     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
99096 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
99097     ac_header_preproc=yes
99098     ;;
99099   no:yes:* )
99100     { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
99101 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
99102     { echo "$as_me:$LINENO: WARNING: $ac_header:     check for missing prerequisite headers?" >&5
99103 echo "$as_me: WARNING: $ac_header:     check for missing prerequisite headers?" >&2;}
99104     { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
99105 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
99106     { echo "$as_me:$LINENO: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&5
99107 echo "$as_me: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&2;}
99108     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
99109 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
99110     { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
99111 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
99112     (
99113       cat <<\_ASBOX
99114 ## ----------------------------------------- ##
99115 ## Report this to the package-unused lists.  ##
99116 ## ----------------------------------------- ##
99117 _ASBOX
99118     ) |
99119       sed "s/^/$as_me: WARNING:     /" >&2
99120     ;;
99121 esac
99122 echo "$as_me:$LINENO: checking for $ac_header" >&5
99123 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
99124 if eval "test \"\${$as_ac_Header+set}\" = set"; then
99125   echo $ECHO_N "(cached) $ECHO_C" >&6
99126 else
99127   eval "$as_ac_Header=\$ac_header_preproc"
99128 fi
99129 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
99130 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
99131
99132 fi
99133 if test `eval echo '${'$as_ac_Header'}'` = yes; then
99134   cat >>confdefs.h <<_ACEOF
99135 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
99136 _ACEOF
99137
99138 fi
99139
99140 done
99141
99142     SECTION_FLAGS='-ffunction-sections -fdata-sections'
99143
99144
99145   # If we're not using GNU ld, then there's no point in even trying these
99146   # tests.  Check for that first.  We should have already tested for gld
99147   # by now (in libtool), but require it now just to be safe...
99148   test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
99149   test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
99150
99151
99152
99153   # The name set by libtool depends on the version of libtool.  Shame on us
99154   # for depending on an impl detail, but c'est la vie.  Older versions used
99155   # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
99156   # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
99157   # makes sense).  We'll test with_gnu_ld everywhere else, so if that isn't
99158   # set (hence we're using an older libtool), then set it.
99159   if test x${with_gnu_ld+set} != xset; then
99160     if test x${ac_cv_prog_gnu_ld+set} != xset; then
99161       # We got through "ac_require(ac_prog_ld)" and still not set?  Huh?
99162       with_gnu_ld=no
99163     else
99164       with_gnu_ld=$ac_cv_prog_gnu_ld
99165     fi
99166   fi
99167
99168   # Start by getting the version number.  I think the libtool test already
99169   # does some of this, but throws away the result.
99170   if test x"$with_gnu_ld" = x"yes"; then
99171     echo "$as_me:$LINENO: checking for ld version" >&5
99172 echo $ECHO_N "checking for ld version... $ECHO_C" >&6
99173
99174     ldver=`$LD --version 2>/dev/null | head -1 | \
99175            sed -e 's/GNU ld version \([0-9.][0-9.]*\).*/\1/'`
99176
99177     glibcxx_gnu_ld_version=`echo $ldver | \
99178            $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
99179     echo "$as_me:$LINENO: result: $glibcxx_gnu_ld_version" >&5
99180 echo "${ECHO_T}$glibcxx_gnu_ld_version" >&6
99181   fi
99182
99183   # Set --gc-sections.
99184   glibcxx_gcsections_min_ld=21602
99185   if test x"$with_gnu_ld" = x"yes" &&
99186         test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
99187
99188     # Sufficiently young GNU ld it is!  Joy and bunny rabbits!
99189     # NB: This flag only works reliably after 2.16.1. Configure tests
99190     # for this are difficult, so hard wire a value that should work.
99191
99192     # All these tests are for C++, but run with the "C" compiler driver.
99193     # Need to do this so that g++ won't try to link in libstdc++/libsupc++.
99194     ac_test_CFLAGS="${CFLAGS+set}"
99195     ac_save_CFLAGS="$CFLAGS"
99196     CFLAGS='-x c++ -Wl,--gc-sections'
99197
99198     # Check for -Wl,--gc-sections
99199     echo "$as_me:$LINENO: checking for ld that supports -Wl,--gc-sections" >&5
99200 echo $ECHO_N "checking for ld that supports -Wl,--gc-sections... $ECHO_C" >&6
99201     if test x$gcc_no_link = xyes; then
99202   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
99203 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
99204    { (exit 1); exit 1; }; }
99205 fi
99206 cat >conftest.$ac_ext <<_ACEOF
99207 /* confdefs.h.  */
99208 _ACEOF
99209 cat confdefs.h >>conftest.$ac_ext
99210 cat >>conftest.$ac_ext <<_ACEOF
99211 /* end confdefs.h.  */
99212  int one(void) { return 1; }
99213      int two(void) { return 2; }
99214
99215 int
99216 main ()
99217 {
99218  two();
99219   ;
99220   return 0;
99221 }
99222 _ACEOF
99223 rm -f conftest.$ac_objext conftest$ac_exeext
99224 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
99225   (eval $ac_link) 2>conftest.er1
99226   ac_status=$?
99227   grep -v '^ *+' conftest.er1 >conftest.err
99228   rm -f conftest.er1
99229   cat conftest.err >&5
99230   echo "$as_me:$LINENO: \$? = $ac_status" >&5
99231   (exit $ac_status); } &&
99232          { ac_try='test -z "$ac_c_werror_flag"
99233                          || test ! -s conftest.err'
99234   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
99235   (eval $ac_try) 2>&5
99236   ac_status=$?
99237   echo "$as_me:$LINENO: \$? = $ac_status" >&5
99238   (exit $ac_status); }; } &&
99239          { ac_try='test -s conftest$ac_exeext'
99240   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
99241   (eval $ac_try) 2>&5
99242   ac_status=$?
99243   echo "$as_me:$LINENO: \$? = $ac_status" >&5
99244   (exit $ac_status); }; }; then
99245   ac_gcsections=yes
99246 else
99247   echo "$as_me: failed program was:" >&5
99248 sed 's/^/| /' conftest.$ac_ext >&5
99249
99250 ac_gcsections=no
99251 fi
99252 rm -f conftest.err conftest.$ac_objext \
99253       conftest$ac_exeext conftest.$ac_ext
99254     if test "$ac_gcsections" = "yes"; then
99255       rm -f conftest.c
99256       touch conftest.c
99257       if $CC -c conftest.c; then
99258         if $LD --gc-sections -o conftest conftest.o 2>&1 | \
99259            grep "Warning: gc-sections option ignored" > /dev/null; then
99260           ac_gcsections=no
99261         fi
99262       fi
99263       rm -f conftest.c conftest.o conftest
99264     fi
99265     if test "$ac_gcsections" = "yes"; then
99266       SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
99267     fi
99268     echo "$as_me:$LINENO: result: $ac_gcsections" >&5
99269 echo "${ECHO_T}$ac_gcsections" >&6
99270
99271     if test "$ac_test_CFLAGS" = set; then
99272       CFLAGS="$ac_save_CFLAGS"
99273     else
99274       # this is the suspicious part
99275       CFLAGS=''
99276     fi
99277   fi
99278
99279   # Set -z,relro.
99280   # Note this is only for shared objects.
99281   ac_ld_relro=no
99282   if test x"$with_gnu_ld" = x"yes"; then
99283     echo "$as_me:$LINENO: checking for ld that supports -Wl,-z,relro" >&5
99284 echo $ECHO_N "checking for ld that supports -Wl,-z,relro... $ECHO_C" >&6
99285     cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
99286     if test -n "$cxx_z_relo"; then
99287       OPT_LDFLAGS="-Wl,-z,relro"
99288       ac_ld_relro=yes
99289     fi
99290     echo "$as_me:$LINENO: result: $ac_ld_relro" >&5
99291 echo "${ECHO_T}$ac_ld_relro" >&6
99292   fi
99293
99294   # Set linker optimization flags.
99295   if test x"$with_gnu_ld" = x"yes"; then
99296     OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
99297   fi
99298
99299
99300
99301
99302
99303
99304 echo "$as_me:$LINENO: checking for main in -lm" >&5
99305 echo $ECHO_N "checking for main in -lm... $ECHO_C" >&6
99306 if test "${ac_cv_lib_m_main+set}" = set; then
99307   echo $ECHO_N "(cached) $ECHO_C" >&6
99308 else
99309   ac_check_lib_save_LIBS=$LIBS
99310 LIBS="-lm  $LIBS"
99311 if test x$gcc_no_link = xyes; then
99312   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
99313 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
99314    { (exit 1); exit 1; }; }
99315 fi
99316 cat >conftest.$ac_ext <<_ACEOF
99317 /* confdefs.h.  */
99318 _ACEOF
99319 cat confdefs.h >>conftest.$ac_ext
99320 cat >>conftest.$ac_ext <<_ACEOF
99321 /* end confdefs.h.  */
99322
99323
99324 int
99325 main ()
99326 {
99327 main ();
99328   ;
99329   return 0;
99330 }
99331 _ACEOF
99332 rm -f conftest.$ac_objext conftest$ac_exeext
99333 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
99334   (eval $ac_link) 2>conftest.er1
99335   ac_status=$?
99336   grep -v '^ *+' conftest.er1 >conftest.err
99337   rm -f conftest.er1
99338   cat conftest.err >&5
99339   echo "$as_me:$LINENO: \$? = $ac_status" >&5
99340   (exit $ac_status); } &&
99341          { ac_try='test -z "$ac_c_werror_flag"
99342                          || test ! -s conftest.err'
99343   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
99344   (eval $ac_try) 2>&5
99345   ac_status=$?
99346   echo "$as_me:$LINENO: \$? = $ac_status" >&5
99347   (exit $ac_status); }; } &&
99348          { ac_try='test -s conftest$ac_exeext'
99349   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
99350   (eval $ac_try) 2>&5
99351   ac_status=$?
99352   echo "$as_me:$LINENO: \$? = $ac_status" >&5
99353   (exit $ac_status); }; }; then
99354   ac_cv_lib_m_main=yes
99355 else
99356   echo "$as_me: failed program was:" >&5
99357 sed 's/^/| /' conftest.$ac_ext >&5
99358
99359 ac_cv_lib_m_main=no
99360 fi
99361 rm -f conftest.err conftest.$ac_objext \
99362       conftest$ac_exeext conftest.$ac_ext
99363 LIBS=$ac_check_lib_save_LIBS
99364 fi
99365 echo "$as_me:$LINENO: result: $ac_cv_lib_m_main" >&5
99366 echo "${ECHO_T}$ac_cv_lib_m_main" >&6
99367 if test $ac_cv_lib_m_main = yes; then
99368   cat >>confdefs.h <<_ACEOF
99369 #define HAVE_LIBM 1
99370 _ACEOF
99371
99372   LIBS="-lm $LIBS"
99373
99374 fi
99375
99376
99377 for ac_func in copysignf
99378 do
99379 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
99380 echo "$as_me:$LINENO: checking for $ac_func" >&5
99381 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
99382 if eval "test \"\${$as_ac_var+set}\" = set"; then
99383   echo $ECHO_N "(cached) $ECHO_C" >&6
99384 else
99385   if test x$gcc_no_link = xyes; then
99386   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
99387 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
99388    { (exit 1); exit 1; }; }
99389 fi
99390 cat >conftest.$ac_ext <<_ACEOF
99391 /* confdefs.h.  */
99392 _ACEOF
99393 cat confdefs.h >>conftest.$ac_ext
99394 cat >>conftest.$ac_ext <<_ACEOF
99395 /* end confdefs.h.  */
99396 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
99397    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
99398 #define $ac_func innocuous_$ac_func
99399
99400 /* System header to define __stub macros and hopefully few prototypes,
99401     which can conflict with char $ac_func (); below.
99402     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
99403     <limits.h> exists even on freestanding compilers.  */
99404
99405 #ifdef __STDC__
99406 # include <limits.h>
99407 #else
99408 # include <assert.h>
99409 #endif
99410
99411 #undef $ac_func
99412
99413 /* Override any gcc2 internal prototype to avoid an error.  */
99414 #ifdef __cplusplus
99415 extern "C"
99416 {
99417 #endif
99418 /* We use char because int might match the return type of a gcc2
99419    builtin and then its argument prototype would still apply.  */
99420 char $ac_func ();
99421 /* The GNU C library defines this for functions which it implements
99422     to always fail with ENOSYS.  Some functions are actually named
99423     something starting with __ and the normal name is an alias.  */
99424 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
99425 choke me
99426 #else
99427 char (*f) () = $ac_func;
99428 #endif
99429 #ifdef __cplusplus
99430 }
99431 #endif
99432
99433 int
99434 main ()
99435 {
99436 return f != $ac_func;
99437   ;
99438   return 0;
99439 }
99440 _ACEOF
99441 rm -f conftest.$ac_objext conftest$ac_exeext
99442 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
99443   (eval $ac_link) 2>conftest.er1
99444   ac_status=$?
99445   grep -v '^ *+' conftest.er1 >conftest.err
99446   rm -f conftest.er1
99447   cat conftest.err >&5
99448   echo "$as_me:$LINENO: \$? = $ac_status" >&5
99449   (exit $ac_status); } &&
99450          { ac_try='test -z "$ac_c_werror_flag"
99451                          || test ! -s conftest.err'
99452   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
99453   (eval $ac_try) 2>&5
99454   ac_status=$?
99455   echo "$as_me:$LINENO: \$? = $ac_status" >&5
99456   (exit $ac_status); }; } &&
99457          { ac_try='test -s conftest$ac_exeext'
99458   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
99459   (eval $ac_try) 2>&5
99460   ac_status=$?
99461   echo "$as_me:$LINENO: \$? = $ac_status" >&5
99462   (exit $ac_status); }; }; then
99463   eval "$as_ac_var=yes"
99464 else
99465   echo "$as_me: failed program was:" >&5
99466 sed 's/^/| /' conftest.$ac_ext >&5
99467
99468 eval "$as_ac_var=no"
99469 fi
99470 rm -f conftest.err conftest.$ac_objext \
99471       conftest$ac_exeext conftest.$ac_ext
99472 fi
99473 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
99474 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
99475 if test `eval echo '${'$as_ac_var'}'` = yes; then
99476   cat >>confdefs.h <<_ACEOF
99477 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
99478 _ACEOF
99479
99480 else
99481   LIBMATHOBJS="$LIBMATHOBJS ${ac_func}.lo"
99482 fi
99483 done
99484
99485
99486
99487 for ac_func in __signbit
99488 do
99489 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
99490 echo "$as_me:$LINENO: checking for $ac_func" >&5
99491 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
99492 if eval "test \"\${$as_ac_var+set}\" = set"; then
99493   echo $ECHO_N "(cached) $ECHO_C" >&6
99494 else
99495   if test x$gcc_no_link = xyes; then
99496   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
99497 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
99498    { (exit 1); exit 1; }; }
99499 fi
99500 cat >conftest.$ac_ext <<_ACEOF
99501 /* confdefs.h.  */
99502 _ACEOF
99503 cat confdefs.h >>conftest.$ac_ext
99504 cat >>conftest.$ac_ext <<_ACEOF
99505 /* end confdefs.h.  */
99506 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
99507    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
99508 #define $ac_func innocuous_$ac_func
99509
99510 /* System header to define __stub macros and hopefully few prototypes,
99511     which can conflict with char $ac_func (); below.
99512     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
99513     <limits.h> exists even on freestanding compilers.  */
99514
99515 #ifdef __STDC__
99516 # include <limits.h>
99517 #else
99518 # include <assert.h>
99519 #endif
99520
99521 #undef $ac_func
99522
99523 /* Override any gcc2 internal prototype to avoid an error.  */
99524 #ifdef __cplusplus
99525 extern "C"
99526 {
99527 #endif
99528 /* We use char because int might match the return type of a gcc2
99529    builtin and then its argument prototype would still apply.  */
99530 char $ac_func ();
99531 /* The GNU C library defines this for functions which it implements
99532     to always fail with ENOSYS.  Some functions are actually named
99533     something starting with __ and the normal name is an alias.  */
99534 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
99535 choke me
99536 #else
99537 char (*f) () = $ac_func;
99538 #endif
99539 #ifdef __cplusplus
99540 }
99541 #endif
99542
99543 int
99544 main ()
99545 {
99546 return f != $ac_func;
99547   ;
99548   return 0;
99549 }
99550 _ACEOF
99551 rm -f conftest.$ac_objext conftest$ac_exeext
99552 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
99553   (eval $ac_link) 2>conftest.er1
99554   ac_status=$?
99555   grep -v '^ *+' conftest.er1 >conftest.err
99556   rm -f conftest.er1
99557   cat conftest.err >&5
99558   echo "$as_me:$LINENO: \$? = $ac_status" >&5
99559   (exit $ac_status); } &&
99560          { ac_try='test -z "$ac_c_werror_flag"
99561                          || test ! -s conftest.err'
99562   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
99563   (eval $ac_try) 2>&5
99564   ac_status=$?
99565   echo "$as_me:$LINENO: \$? = $ac_status" >&5
99566   (exit $ac_status); }; } &&
99567          { ac_try='test -s conftest$ac_exeext'
99568   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
99569   (eval $ac_try) 2>&5
99570   ac_status=$?
99571   echo "$as_me:$LINENO: \$? = $ac_status" >&5
99572   (exit $ac_status); }; }; then
99573   eval "$as_ac_var=yes"
99574 else
99575   echo "$as_me: failed program was:" >&5
99576 sed 's/^/| /' conftest.$ac_ext >&5
99577
99578 eval "$as_ac_var=no"
99579 fi
99580 rm -f conftest.err conftest.$ac_objext \
99581       conftest$ac_exeext conftest.$ac_ext
99582 fi
99583 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
99584 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
99585 if test `eval echo '${'$as_ac_var'}'` = yes; then
99586   cat >>confdefs.h <<_ACEOF
99587 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
99588 _ACEOF
99589
99590 else
99591   LIBMATHOBJS="$LIBMATHOBJS signbit.lo"
99592 fi
99593 done
99594
99595
99596
99597 for ac_func in __signbitf
99598 do
99599 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
99600 echo "$as_me:$LINENO: checking for $ac_func" >&5
99601 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
99602 if eval "test \"\${$as_ac_var+set}\" = set"; then
99603   echo $ECHO_N "(cached) $ECHO_C" >&6
99604 else
99605   if test x$gcc_no_link = xyes; then
99606   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
99607 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
99608    { (exit 1); exit 1; }; }
99609 fi
99610 cat >conftest.$ac_ext <<_ACEOF
99611 /* confdefs.h.  */
99612 _ACEOF
99613 cat confdefs.h >>conftest.$ac_ext
99614 cat >>conftest.$ac_ext <<_ACEOF
99615 /* end confdefs.h.  */
99616 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
99617    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
99618 #define $ac_func innocuous_$ac_func
99619
99620 /* System header to define __stub macros and hopefully few prototypes,
99621     which can conflict with char $ac_func (); below.
99622     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
99623     <limits.h> exists even on freestanding compilers.  */
99624
99625 #ifdef __STDC__
99626 # include <limits.h>
99627 #else
99628 # include <assert.h>
99629 #endif
99630
99631 #undef $ac_func
99632
99633 /* Override any gcc2 internal prototype to avoid an error.  */
99634 #ifdef __cplusplus
99635 extern "C"
99636 {
99637 #endif
99638 /* We use char because int might match the return type of a gcc2
99639    builtin and then its argument prototype would still apply.  */
99640 char $ac_func ();
99641 /* The GNU C library defines this for functions which it implements
99642     to always fail with ENOSYS.  Some functions are actually named
99643     something starting with __ and the normal name is an alias.  */
99644 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
99645 choke me
99646 #else
99647 char (*f) () = $ac_func;
99648 #endif
99649 #ifdef __cplusplus
99650 }
99651 #endif
99652
99653 int
99654 main ()
99655 {
99656 return f != $ac_func;
99657   ;
99658   return 0;
99659 }
99660 _ACEOF
99661 rm -f conftest.$ac_objext conftest$ac_exeext
99662 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
99663   (eval $ac_link) 2>conftest.er1
99664   ac_status=$?
99665   grep -v '^ *+' conftest.er1 >conftest.err
99666   rm -f conftest.er1
99667   cat conftest.err >&5
99668   echo "$as_me:$LINENO: \$? = $ac_status" >&5
99669   (exit $ac_status); } &&
99670          { ac_try='test -z "$ac_c_werror_flag"
99671                          || test ! -s conftest.err'
99672   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
99673   (eval $ac_try) 2>&5
99674   ac_status=$?
99675   echo "$as_me:$LINENO: \$? = $ac_status" >&5
99676   (exit $ac_status); }; } &&
99677          { ac_try='test -s conftest$ac_exeext'
99678   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
99679   (eval $ac_try) 2>&5
99680   ac_status=$?
99681   echo "$as_me:$LINENO: \$? = $ac_status" >&5
99682   (exit $ac_status); }; }; then
99683   eval "$as_ac_var=yes"
99684 else
99685   echo "$as_me: failed program was:" >&5
99686 sed 's/^/| /' conftest.$ac_ext >&5
99687
99688 eval "$as_ac_var=no"
99689 fi
99690 rm -f conftest.err conftest.$ac_objext \
99691       conftest$ac_exeext conftest.$ac_ext
99692 fi
99693 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
99694 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
99695 if test `eval echo '${'$as_ac_var'}'` = yes; then
99696   cat >>confdefs.h <<_ACEOF
99697 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
99698 _ACEOF
99699
99700 else
99701   LIBMATHOBJS="$LIBMATHOBJS signbitf.lo"
99702 fi
99703 done
99704
99705
99706           if test x$ac_cv_func_copysignl = x"yes"; then
99707
99708 for ac_func in __signbitl
99709 do
99710 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
99711 echo "$as_me:$LINENO: checking for $ac_func" >&5
99712 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
99713 if eval "test \"\${$as_ac_var+set}\" = set"; then
99714   echo $ECHO_N "(cached) $ECHO_C" >&6
99715 else
99716   if test x$gcc_no_link = xyes; then
99717   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
99718 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
99719    { (exit 1); exit 1; }; }
99720 fi
99721 cat >conftest.$ac_ext <<_ACEOF
99722 /* confdefs.h.  */
99723 _ACEOF
99724 cat confdefs.h >>conftest.$ac_ext
99725 cat >>conftest.$ac_ext <<_ACEOF
99726 /* end confdefs.h.  */
99727 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
99728    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
99729 #define $ac_func innocuous_$ac_func
99730
99731 /* System header to define __stub macros and hopefully few prototypes,
99732     which can conflict with char $ac_func (); below.
99733     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
99734     <limits.h> exists even on freestanding compilers.  */
99735
99736 #ifdef __STDC__
99737 # include <limits.h>
99738 #else
99739 # include <assert.h>
99740 #endif
99741
99742 #undef $ac_func
99743
99744 /* Override any gcc2 internal prototype to avoid an error.  */
99745 #ifdef __cplusplus
99746 extern "C"
99747 {
99748 #endif
99749 /* We use char because int might match the return type of a gcc2
99750    builtin and then its argument prototype would still apply.  */
99751 char $ac_func ();
99752 /* The GNU C library defines this for functions which it implements
99753     to always fail with ENOSYS.  Some functions are actually named
99754     something starting with __ and the normal name is an alias.  */
99755 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
99756 choke me
99757 #else
99758 char (*f) () = $ac_func;
99759 #endif
99760 #ifdef __cplusplus
99761 }
99762 #endif
99763
99764 int
99765 main ()
99766 {
99767 return f != $ac_func;
99768   ;
99769   return 0;
99770 }
99771 _ACEOF
99772 rm -f conftest.$ac_objext conftest$ac_exeext
99773 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
99774   (eval $ac_link) 2>conftest.er1
99775   ac_status=$?
99776   grep -v '^ *+' conftest.er1 >conftest.err
99777   rm -f conftest.er1
99778   cat conftest.err >&5
99779   echo "$as_me:$LINENO: \$? = $ac_status" >&5
99780   (exit $ac_status); } &&
99781          { ac_try='test -z "$ac_c_werror_flag"
99782                          || test ! -s conftest.err'
99783   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
99784   (eval $ac_try) 2>&5
99785   ac_status=$?
99786   echo "$as_me:$LINENO: \$? = $ac_status" >&5
99787   (exit $ac_status); }; } &&
99788          { ac_try='test -s conftest$ac_exeext'
99789   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
99790   (eval $ac_try) 2>&5
99791   ac_status=$?
99792   echo "$as_me:$LINENO: \$? = $ac_status" >&5
99793   (exit $ac_status); }; }; then
99794   eval "$as_ac_var=yes"
99795 else
99796   echo "$as_me: failed program was:" >&5
99797 sed 's/^/| /' conftest.$ac_ext >&5
99798
99799 eval "$as_ac_var=no"
99800 fi
99801 rm -f conftest.err conftest.$ac_objext \
99802       conftest$ac_exeext conftest.$ac_ext
99803 fi
99804 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
99805 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
99806 if test `eval echo '${'$as_ac_var'}'` = yes; then
99807   cat >>confdefs.h <<_ACEOF
99808 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
99809 _ACEOF
99810
99811 else
99812   LIBMATHOBJS="$LIBMATHOBJS signbitl.lo"
99813 fi
99814 done
99815
99816   fi
99817
99818   # Used in libmath/Makefile.am.
99819   if test -n "$LIBMATHOBJS"; then
99820     need_libmath=yes
99821   fi
99822
99823
99824     cat >>confdefs.h <<\_ACEOF
99825 #define HAVE_COPYSIGN 1
99826 _ACEOF
99827
99828     cat >>confdefs.h <<\_ACEOF
99829 #define HAVE_COPYSIGNF 1
99830 _ACEOF
99831
99832     cat >>confdefs.h <<\_ACEOF
99833 #define HAVE_FINITEF 1
99834 _ACEOF
99835
99836     cat >>confdefs.h <<\_ACEOF
99837 #define HAVE_FINITE 1
99838 _ACEOF
99839
99840     cat >>confdefs.h <<\_ACEOF
99841 #define HAVE_FREXPF 1
99842 _ACEOF
99843
99844     cat >>confdefs.h <<\_ACEOF
99845 #define HAVE_HYPOTF 1
99846 _ACEOF
99847
99848     cat >>confdefs.h <<\_ACEOF
99849 #define HAVE_ISINF 1
99850 _ACEOF
99851
99852     cat >>confdefs.h <<\_ACEOF
99853 #define HAVE_ISINFF 1
99854 _ACEOF
99855
99856     cat >>confdefs.h <<\_ACEOF
99857 #define HAVE_ISNAN 1
99858 _ACEOF
99859
99860     cat >>confdefs.h <<\_ACEOF
99861 #define HAVE_ISNANF 1
99862 _ACEOF
99863
99864     if test x"long_double_math_on_this_cpu" = x"yes"; then
99865       cat >>confdefs.h <<\_ACEOF
99866 #define HAVE_FINITEL 1
99867 _ACEOF
99868
99869       cat >>confdefs.h <<\_ACEOF
99870 #define HAVE_ISINFL 1
99871 _ACEOF
99872
99873       cat >>confdefs.h <<\_ACEOF
99874 #define HAVE_ISNANL 1
99875 _ACEOF
99876
99877     fi
99878     ;;
99879   *-netware)
99880
99881
99882
99883
99884
99885
99886
99887
99888 for ac_header in nan.h ieeefp.h sys/isa_defs.h sys/machine.h \
99889       sys/types.h locale.h float.h inttypes.h
99890 do
99891 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
99892 if eval "test \"\${$as_ac_Header+set}\" = set"; then
99893   echo "$as_me:$LINENO: checking for $ac_header" >&5
99894 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
99895 if eval "test \"\${$as_ac_Header+set}\" = set"; then
99896   echo $ECHO_N "(cached) $ECHO_C" >&6
99897 fi
99898 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
99899 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
99900 else
99901   # Is the header compilable?
99902 echo "$as_me:$LINENO: checking $ac_header usability" >&5
99903 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
99904 cat >conftest.$ac_ext <<_ACEOF
99905 /* confdefs.h.  */
99906 _ACEOF
99907 cat confdefs.h >>conftest.$ac_ext
99908 cat >>conftest.$ac_ext <<_ACEOF
99909 /* end confdefs.h.  */
99910 $ac_includes_default
99911 #include <$ac_header>
99912 _ACEOF
99913 rm -f conftest.$ac_objext
99914 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
99915   (eval $ac_compile) 2>conftest.er1
99916   ac_status=$?
99917   grep -v '^ *+' conftest.er1 >conftest.err
99918   rm -f conftest.er1
99919   cat conftest.err >&5
99920   echo "$as_me:$LINENO: \$? = $ac_status" >&5
99921   (exit $ac_status); } &&
99922          { ac_try='test -z "$ac_c_werror_flag"
99923                          || test ! -s conftest.err'
99924   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
99925   (eval $ac_try) 2>&5
99926   ac_status=$?
99927   echo "$as_me:$LINENO: \$? = $ac_status" >&5
99928   (exit $ac_status); }; } &&
99929          { ac_try='test -s conftest.$ac_objext'
99930   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
99931   (eval $ac_try) 2>&5
99932   ac_status=$?
99933   echo "$as_me:$LINENO: \$? = $ac_status" >&5
99934   (exit $ac_status); }; }; then
99935   ac_header_compiler=yes
99936 else
99937   echo "$as_me: failed program was:" >&5
99938 sed 's/^/| /' conftest.$ac_ext >&5
99939
99940 ac_header_compiler=no
99941 fi
99942 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
99943 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
99944 echo "${ECHO_T}$ac_header_compiler" >&6
99945
99946 # Is the header present?
99947 echo "$as_me:$LINENO: checking $ac_header presence" >&5
99948 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
99949 cat >conftest.$ac_ext <<_ACEOF
99950 /* confdefs.h.  */
99951 _ACEOF
99952 cat confdefs.h >>conftest.$ac_ext
99953 cat >>conftest.$ac_ext <<_ACEOF
99954 /* end confdefs.h.  */
99955 #include <$ac_header>
99956 _ACEOF
99957 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
99958   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
99959   ac_status=$?
99960   grep -v '^ *+' conftest.er1 >conftest.err
99961   rm -f conftest.er1
99962   cat conftest.err >&5
99963   echo "$as_me:$LINENO: \$? = $ac_status" >&5
99964   (exit $ac_status); } >/dev/null; then
99965   if test -s conftest.err; then
99966     ac_cpp_err=$ac_c_preproc_warn_flag
99967     ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
99968   else
99969     ac_cpp_err=
99970   fi
99971 else
99972   ac_cpp_err=yes
99973 fi
99974 if test -z "$ac_cpp_err"; then
99975   ac_header_preproc=yes
99976 else
99977   echo "$as_me: failed program was:" >&5
99978 sed 's/^/| /' conftest.$ac_ext >&5
99979
99980   ac_header_preproc=no
99981 fi
99982 rm -f conftest.err conftest.$ac_ext
99983 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
99984 echo "${ECHO_T}$ac_header_preproc" >&6
99985
99986 # So?  What about this header?
99987 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
99988   yes:no: )
99989     { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
99990 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
99991     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
99992 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
99993     ac_header_preproc=yes
99994     ;;
99995   no:yes:* )
99996     { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
99997 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
99998     { echo "$as_me:$LINENO: WARNING: $ac_header:     check for missing prerequisite headers?" >&5
99999 echo "$as_me: WARNING: $ac_header:     check for missing prerequisite headers?" >&2;}
100000     { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
100001 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
100002     { echo "$as_me:$LINENO: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&5
100003 echo "$as_me: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&2;}
100004     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
100005 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
100006     { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
100007 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
100008     (
100009       cat <<\_ASBOX
100010 ## ----------------------------------------- ##
100011 ## Report this to the package-unused lists.  ##
100012 ## ----------------------------------------- ##
100013 _ASBOX
100014     ) |
100015       sed "s/^/$as_me: WARNING:     /" >&2
100016     ;;
100017 esac
100018 echo "$as_me:$LINENO: checking for $ac_header" >&5
100019 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
100020 if eval "test \"\${$as_ac_Header+set}\" = set"; then
100021   echo $ECHO_N "(cached) $ECHO_C" >&6
100022 else
100023   eval "$as_ac_Header=\$ac_header_preproc"
100024 fi
100025 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
100026 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
100027
100028 fi
100029 if test `eval echo '${'$as_ac_Header'}'` = yes; then
100030   cat >>confdefs.h <<_ACEOF
100031 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
100032 _ACEOF
100033
100034 fi
100035
100036 done
100037
100038     SECTION_FLAGS='-ffunction-sections -fdata-sections'
100039
100040
100041   # If we're not using GNU ld, then there's no point in even trying these
100042   # tests.  Check for that first.  We should have already tested for gld
100043   # by now (in libtool), but require it now just to be safe...
100044   test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
100045   test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
100046
100047
100048
100049   # The name set by libtool depends on the version of libtool.  Shame on us
100050   # for depending on an impl detail, but c'est la vie.  Older versions used
100051   # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
100052   # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
100053   # makes sense).  We'll test with_gnu_ld everywhere else, so if that isn't
100054   # set (hence we're using an older libtool), then set it.
100055   if test x${with_gnu_ld+set} != xset; then
100056     if test x${ac_cv_prog_gnu_ld+set} != xset; then
100057       # We got through "ac_require(ac_prog_ld)" and still not set?  Huh?
100058       with_gnu_ld=no
100059     else
100060       with_gnu_ld=$ac_cv_prog_gnu_ld
100061     fi
100062   fi
100063
100064   # Start by getting the version number.  I think the libtool test already
100065   # does some of this, but throws away the result.
100066   if test x"$with_gnu_ld" = x"yes"; then
100067     echo "$as_me:$LINENO: checking for ld version" >&5
100068 echo $ECHO_N "checking for ld version... $ECHO_C" >&6
100069
100070     ldver=`$LD --version 2>/dev/null | head -1 | \
100071            sed -e 's/GNU ld version \([0-9.][0-9.]*\).*/\1/'`
100072
100073     glibcxx_gnu_ld_version=`echo $ldver | \
100074            $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
100075     echo "$as_me:$LINENO: result: $glibcxx_gnu_ld_version" >&5
100076 echo "${ECHO_T}$glibcxx_gnu_ld_version" >&6
100077   fi
100078
100079   # Set --gc-sections.
100080   glibcxx_gcsections_min_ld=21602
100081   if test x"$with_gnu_ld" = x"yes" &&
100082         test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
100083
100084     # Sufficiently young GNU ld it is!  Joy and bunny rabbits!
100085     # NB: This flag only works reliably after 2.16.1. Configure tests
100086     # for this are difficult, so hard wire a value that should work.
100087
100088     # All these tests are for C++, but run with the "C" compiler driver.
100089     # Need to do this so that g++ won't try to link in libstdc++/libsupc++.
100090     ac_test_CFLAGS="${CFLAGS+set}"
100091     ac_save_CFLAGS="$CFLAGS"
100092     CFLAGS='-x c++ -Wl,--gc-sections'
100093
100094     # Check for -Wl,--gc-sections
100095     echo "$as_me:$LINENO: checking for ld that supports -Wl,--gc-sections" >&5
100096 echo $ECHO_N "checking for ld that supports -Wl,--gc-sections... $ECHO_C" >&6
100097     if test x$gcc_no_link = xyes; then
100098   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
100099 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
100100    { (exit 1); exit 1; }; }
100101 fi
100102 cat >conftest.$ac_ext <<_ACEOF
100103 /* confdefs.h.  */
100104 _ACEOF
100105 cat confdefs.h >>conftest.$ac_ext
100106 cat >>conftest.$ac_ext <<_ACEOF
100107 /* end confdefs.h.  */
100108  int one(void) { return 1; }
100109      int two(void) { return 2; }
100110
100111 int
100112 main ()
100113 {
100114  two();
100115   ;
100116   return 0;
100117 }
100118 _ACEOF
100119 rm -f conftest.$ac_objext conftest$ac_exeext
100120 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
100121   (eval $ac_link) 2>conftest.er1
100122   ac_status=$?
100123   grep -v '^ *+' conftest.er1 >conftest.err
100124   rm -f conftest.er1
100125   cat conftest.err >&5
100126   echo "$as_me:$LINENO: \$? = $ac_status" >&5
100127   (exit $ac_status); } &&
100128          { ac_try='test -z "$ac_c_werror_flag"
100129                          || test ! -s conftest.err'
100130   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
100131   (eval $ac_try) 2>&5
100132   ac_status=$?
100133   echo "$as_me:$LINENO: \$? = $ac_status" >&5
100134   (exit $ac_status); }; } &&
100135          { ac_try='test -s conftest$ac_exeext'
100136   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
100137   (eval $ac_try) 2>&5
100138   ac_status=$?
100139   echo "$as_me:$LINENO: \$? = $ac_status" >&5
100140   (exit $ac_status); }; }; then
100141   ac_gcsections=yes
100142 else
100143   echo "$as_me: failed program was:" >&5
100144 sed 's/^/| /' conftest.$ac_ext >&5
100145
100146 ac_gcsections=no
100147 fi
100148 rm -f conftest.err conftest.$ac_objext \
100149       conftest$ac_exeext conftest.$ac_ext
100150     if test "$ac_gcsections" = "yes"; then
100151       rm -f conftest.c
100152       touch conftest.c
100153       if $CC -c conftest.c; then
100154         if $LD --gc-sections -o conftest conftest.o 2>&1 | \
100155            grep "Warning: gc-sections option ignored" > /dev/null; then
100156           ac_gcsections=no
100157         fi
100158       fi
100159       rm -f conftest.c conftest.o conftest
100160     fi
100161     if test "$ac_gcsections" = "yes"; then
100162       SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
100163     fi
100164     echo "$as_me:$LINENO: result: $ac_gcsections" >&5
100165 echo "${ECHO_T}$ac_gcsections" >&6
100166
100167     if test "$ac_test_CFLAGS" = set; then
100168       CFLAGS="$ac_save_CFLAGS"
100169     else
100170       # this is the suspicious part
100171       CFLAGS=''
100172     fi
100173   fi
100174
100175   # Set -z,relro.
100176   # Note this is only for shared objects.
100177   ac_ld_relro=no
100178   if test x"$with_gnu_ld" = x"yes"; then
100179     echo "$as_me:$LINENO: checking for ld that supports -Wl,-z,relro" >&5
100180 echo $ECHO_N "checking for ld that supports -Wl,-z,relro... $ECHO_C" >&6
100181     cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
100182     if test -n "$cxx_z_relo"; then
100183       OPT_LDFLAGS="-Wl,-z,relro"
100184       ac_ld_relro=yes
100185     fi
100186     echo "$as_me:$LINENO: result: $ac_ld_relro" >&5
100187 echo "${ECHO_T}$ac_ld_relro" >&6
100188   fi
100189
100190   # Set linker optimization flags.
100191   if test x"$with_gnu_ld" = x"yes"; then
100192     OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
100193   fi
100194
100195
100196
100197
100198
100199
100200 echo "$as_me:$LINENO: checking for main in -lm" >&5
100201 echo $ECHO_N "checking for main in -lm... $ECHO_C" >&6
100202 if test "${ac_cv_lib_m_main+set}" = set; then
100203   echo $ECHO_N "(cached) $ECHO_C" >&6
100204 else
100205   ac_check_lib_save_LIBS=$LIBS
100206 LIBS="-lm  $LIBS"
100207 if test x$gcc_no_link = xyes; then
100208   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
100209 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
100210    { (exit 1); exit 1; }; }
100211 fi
100212 cat >conftest.$ac_ext <<_ACEOF
100213 /* confdefs.h.  */
100214 _ACEOF
100215 cat confdefs.h >>conftest.$ac_ext
100216 cat >>conftest.$ac_ext <<_ACEOF
100217 /* end confdefs.h.  */
100218
100219
100220 int
100221 main ()
100222 {
100223 main ();
100224   ;
100225   return 0;
100226 }
100227 _ACEOF
100228 rm -f conftest.$ac_objext conftest$ac_exeext
100229 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
100230   (eval $ac_link) 2>conftest.er1
100231   ac_status=$?
100232   grep -v '^ *+' conftest.er1 >conftest.err
100233   rm -f conftest.er1
100234   cat conftest.err >&5
100235   echo "$as_me:$LINENO: \$? = $ac_status" >&5
100236   (exit $ac_status); } &&
100237          { ac_try='test -z "$ac_c_werror_flag"
100238                          || test ! -s conftest.err'
100239   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
100240   (eval $ac_try) 2>&5
100241   ac_status=$?
100242   echo "$as_me:$LINENO: \$? = $ac_status" >&5
100243   (exit $ac_status); }; } &&
100244          { ac_try='test -s conftest$ac_exeext'
100245   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
100246   (eval $ac_try) 2>&5
100247   ac_status=$?
100248   echo "$as_me:$LINENO: \$? = $ac_status" >&5
100249   (exit $ac_status); }; }; then
100250   ac_cv_lib_m_main=yes
100251 else
100252   echo "$as_me: failed program was:" >&5
100253 sed 's/^/| /' conftest.$ac_ext >&5
100254
100255 ac_cv_lib_m_main=no
100256 fi
100257 rm -f conftest.err conftest.$ac_objext \
100258       conftest$ac_exeext conftest.$ac_ext
100259 LIBS=$ac_check_lib_save_LIBS
100260 fi
100261 echo "$as_me:$LINENO: result: $ac_cv_lib_m_main" >&5
100262 echo "${ECHO_T}$ac_cv_lib_m_main" >&6
100263 if test $ac_cv_lib_m_main = yes; then
100264   cat >>confdefs.h <<_ACEOF
100265 #define HAVE_LIBM 1
100266 _ACEOF
100267
100268   LIBS="-lm $LIBS"
100269
100270 fi
100271
100272
100273 for ac_func in copysignf
100274 do
100275 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
100276 echo "$as_me:$LINENO: checking for $ac_func" >&5
100277 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
100278 if eval "test \"\${$as_ac_var+set}\" = set"; then
100279   echo $ECHO_N "(cached) $ECHO_C" >&6
100280 else
100281   if test x$gcc_no_link = xyes; then
100282   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
100283 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
100284    { (exit 1); exit 1; }; }
100285 fi
100286 cat >conftest.$ac_ext <<_ACEOF
100287 /* confdefs.h.  */
100288 _ACEOF
100289 cat confdefs.h >>conftest.$ac_ext
100290 cat >>conftest.$ac_ext <<_ACEOF
100291 /* end confdefs.h.  */
100292 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
100293    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
100294 #define $ac_func innocuous_$ac_func
100295
100296 /* System header to define __stub macros and hopefully few prototypes,
100297     which can conflict with char $ac_func (); below.
100298     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
100299     <limits.h> exists even on freestanding compilers.  */
100300
100301 #ifdef __STDC__
100302 # include <limits.h>
100303 #else
100304 # include <assert.h>
100305 #endif
100306
100307 #undef $ac_func
100308
100309 /* Override any gcc2 internal prototype to avoid an error.  */
100310 #ifdef __cplusplus
100311 extern "C"
100312 {
100313 #endif
100314 /* We use char because int might match the return type of a gcc2
100315    builtin and then its argument prototype would still apply.  */
100316 char $ac_func ();
100317 /* The GNU C library defines this for functions which it implements
100318     to always fail with ENOSYS.  Some functions are actually named
100319     something starting with __ and the normal name is an alias.  */
100320 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
100321 choke me
100322 #else
100323 char (*f) () = $ac_func;
100324 #endif
100325 #ifdef __cplusplus
100326 }
100327 #endif
100328
100329 int
100330 main ()
100331 {
100332 return f != $ac_func;
100333   ;
100334   return 0;
100335 }
100336 _ACEOF
100337 rm -f conftest.$ac_objext conftest$ac_exeext
100338 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
100339   (eval $ac_link) 2>conftest.er1
100340   ac_status=$?
100341   grep -v '^ *+' conftest.er1 >conftest.err
100342   rm -f conftest.er1
100343   cat conftest.err >&5
100344   echo "$as_me:$LINENO: \$? = $ac_status" >&5
100345   (exit $ac_status); } &&
100346          { ac_try='test -z "$ac_c_werror_flag"
100347                          || test ! -s conftest.err'
100348   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
100349   (eval $ac_try) 2>&5
100350   ac_status=$?
100351   echo "$as_me:$LINENO: \$? = $ac_status" >&5
100352   (exit $ac_status); }; } &&
100353          { ac_try='test -s conftest$ac_exeext'
100354   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
100355   (eval $ac_try) 2>&5
100356   ac_status=$?
100357   echo "$as_me:$LINENO: \$? = $ac_status" >&5
100358   (exit $ac_status); }; }; then
100359   eval "$as_ac_var=yes"
100360 else
100361   echo "$as_me: failed program was:" >&5
100362 sed 's/^/| /' conftest.$ac_ext >&5
100363
100364 eval "$as_ac_var=no"
100365 fi
100366 rm -f conftest.err conftest.$ac_objext \
100367       conftest$ac_exeext conftest.$ac_ext
100368 fi
100369 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
100370 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
100371 if test `eval echo '${'$as_ac_var'}'` = yes; then
100372   cat >>confdefs.h <<_ACEOF
100373 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
100374 _ACEOF
100375
100376 else
100377   LIBMATHOBJS="$LIBMATHOBJS ${ac_func}.lo"
100378 fi
100379 done
100380
100381
100382
100383 for ac_func in __signbit
100384 do
100385 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
100386 echo "$as_me:$LINENO: checking for $ac_func" >&5
100387 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
100388 if eval "test \"\${$as_ac_var+set}\" = set"; then
100389   echo $ECHO_N "(cached) $ECHO_C" >&6
100390 else
100391   if test x$gcc_no_link = xyes; then
100392   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
100393 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
100394    { (exit 1); exit 1; }; }
100395 fi
100396 cat >conftest.$ac_ext <<_ACEOF
100397 /* confdefs.h.  */
100398 _ACEOF
100399 cat confdefs.h >>conftest.$ac_ext
100400 cat >>conftest.$ac_ext <<_ACEOF
100401 /* end confdefs.h.  */
100402 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
100403    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
100404 #define $ac_func innocuous_$ac_func
100405
100406 /* System header to define __stub macros and hopefully few prototypes,
100407     which can conflict with char $ac_func (); below.
100408     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
100409     <limits.h> exists even on freestanding compilers.  */
100410
100411 #ifdef __STDC__
100412 # include <limits.h>
100413 #else
100414 # include <assert.h>
100415 #endif
100416
100417 #undef $ac_func
100418
100419 /* Override any gcc2 internal prototype to avoid an error.  */
100420 #ifdef __cplusplus
100421 extern "C"
100422 {
100423 #endif
100424 /* We use char because int might match the return type of a gcc2
100425    builtin and then its argument prototype would still apply.  */
100426 char $ac_func ();
100427 /* The GNU C library defines this for functions which it implements
100428     to always fail with ENOSYS.  Some functions are actually named
100429     something starting with __ and the normal name is an alias.  */
100430 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
100431 choke me
100432 #else
100433 char (*f) () = $ac_func;
100434 #endif
100435 #ifdef __cplusplus
100436 }
100437 #endif
100438
100439 int
100440 main ()
100441 {
100442 return f != $ac_func;
100443   ;
100444   return 0;
100445 }
100446 _ACEOF
100447 rm -f conftest.$ac_objext conftest$ac_exeext
100448 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
100449   (eval $ac_link) 2>conftest.er1
100450   ac_status=$?
100451   grep -v '^ *+' conftest.er1 >conftest.err
100452   rm -f conftest.er1
100453   cat conftest.err >&5
100454   echo "$as_me:$LINENO: \$? = $ac_status" >&5
100455   (exit $ac_status); } &&
100456          { ac_try='test -z "$ac_c_werror_flag"
100457                          || test ! -s conftest.err'
100458   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
100459   (eval $ac_try) 2>&5
100460   ac_status=$?
100461   echo "$as_me:$LINENO: \$? = $ac_status" >&5
100462   (exit $ac_status); }; } &&
100463          { ac_try='test -s conftest$ac_exeext'
100464   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
100465   (eval $ac_try) 2>&5
100466   ac_status=$?
100467   echo "$as_me:$LINENO: \$? = $ac_status" >&5
100468   (exit $ac_status); }; }; then
100469   eval "$as_ac_var=yes"
100470 else
100471   echo "$as_me: failed program was:" >&5
100472 sed 's/^/| /' conftest.$ac_ext >&5
100473
100474 eval "$as_ac_var=no"
100475 fi
100476 rm -f conftest.err conftest.$ac_objext \
100477       conftest$ac_exeext conftest.$ac_ext
100478 fi
100479 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
100480 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
100481 if test `eval echo '${'$as_ac_var'}'` = yes; then
100482   cat >>confdefs.h <<_ACEOF
100483 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
100484 _ACEOF
100485
100486 else
100487   LIBMATHOBJS="$LIBMATHOBJS signbit.lo"
100488 fi
100489 done
100490
100491
100492
100493 for ac_func in __signbitf
100494 do
100495 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
100496 echo "$as_me:$LINENO: checking for $ac_func" >&5
100497 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
100498 if eval "test \"\${$as_ac_var+set}\" = set"; then
100499   echo $ECHO_N "(cached) $ECHO_C" >&6
100500 else
100501   if test x$gcc_no_link = xyes; then
100502   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
100503 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
100504    { (exit 1); exit 1; }; }
100505 fi
100506 cat >conftest.$ac_ext <<_ACEOF
100507 /* confdefs.h.  */
100508 _ACEOF
100509 cat confdefs.h >>conftest.$ac_ext
100510 cat >>conftest.$ac_ext <<_ACEOF
100511 /* end confdefs.h.  */
100512 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
100513    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
100514 #define $ac_func innocuous_$ac_func
100515
100516 /* System header to define __stub macros and hopefully few prototypes,
100517     which can conflict with char $ac_func (); below.
100518     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
100519     <limits.h> exists even on freestanding compilers.  */
100520
100521 #ifdef __STDC__
100522 # include <limits.h>
100523 #else
100524 # include <assert.h>
100525 #endif
100526
100527 #undef $ac_func
100528
100529 /* Override any gcc2 internal prototype to avoid an error.  */
100530 #ifdef __cplusplus
100531 extern "C"
100532 {
100533 #endif
100534 /* We use char because int might match the return type of a gcc2
100535    builtin and then its argument prototype would still apply.  */
100536 char $ac_func ();
100537 /* The GNU C library defines this for functions which it implements
100538     to always fail with ENOSYS.  Some functions are actually named
100539     something starting with __ and the normal name is an alias.  */
100540 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
100541 choke me
100542 #else
100543 char (*f) () = $ac_func;
100544 #endif
100545 #ifdef __cplusplus
100546 }
100547 #endif
100548
100549 int
100550 main ()
100551 {
100552 return f != $ac_func;
100553   ;
100554   return 0;
100555 }
100556 _ACEOF
100557 rm -f conftest.$ac_objext conftest$ac_exeext
100558 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
100559   (eval $ac_link) 2>conftest.er1
100560   ac_status=$?
100561   grep -v '^ *+' conftest.er1 >conftest.err
100562   rm -f conftest.er1
100563   cat conftest.err >&5
100564   echo "$as_me:$LINENO: \$? = $ac_status" >&5
100565   (exit $ac_status); } &&
100566          { ac_try='test -z "$ac_c_werror_flag"
100567                          || test ! -s conftest.err'
100568   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
100569   (eval $ac_try) 2>&5
100570   ac_status=$?
100571   echo "$as_me:$LINENO: \$? = $ac_status" >&5
100572   (exit $ac_status); }; } &&
100573          { ac_try='test -s conftest$ac_exeext'
100574   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
100575   (eval $ac_try) 2>&5
100576   ac_status=$?
100577   echo "$as_me:$LINENO: \$? = $ac_status" >&5
100578   (exit $ac_status); }; }; then
100579   eval "$as_ac_var=yes"
100580 else
100581   echo "$as_me: failed program was:" >&5
100582 sed 's/^/| /' conftest.$ac_ext >&5
100583
100584 eval "$as_ac_var=no"
100585 fi
100586 rm -f conftest.err conftest.$ac_objext \
100587       conftest$ac_exeext conftest.$ac_ext
100588 fi
100589 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
100590 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
100591 if test `eval echo '${'$as_ac_var'}'` = yes; then
100592   cat >>confdefs.h <<_ACEOF
100593 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
100594 _ACEOF
100595
100596 else
100597   LIBMATHOBJS="$LIBMATHOBJS signbitf.lo"
100598 fi
100599 done
100600
100601
100602           if test x$ac_cv_func_copysignl = x"yes"; then
100603
100604 for ac_func in __signbitl
100605 do
100606 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
100607 echo "$as_me:$LINENO: checking for $ac_func" >&5
100608 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
100609 if eval "test \"\${$as_ac_var+set}\" = set"; then
100610   echo $ECHO_N "(cached) $ECHO_C" >&6
100611 else
100612   if test x$gcc_no_link = xyes; then
100613   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
100614 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
100615    { (exit 1); exit 1; }; }
100616 fi
100617 cat >conftest.$ac_ext <<_ACEOF
100618 /* confdefs.h.  */
100619 _ACEOF
100620 cat confdefs.h >>conftest.$ac_ext
100621 cat >>conftest.$ac_ext <<_ACEOF
100622 /* end confdefs.h.  */
100623 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
100624    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
100625 #define $ac_func innocuous_$ac_func
100626
100627 /* System header to define __stub macros and hopefully few prototypes,
100628     which can conflict with char $ac_func (); below.
100629     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
100630     <limits.h> exists even on freestanding compilers.  */
100631
100632 #ifdef __STDC__
100633 # include <limits.h>
100634 #else
100635 # include <assert.h>
100636 #endif
100637
100638 #undef $ac_func
100639
100640 /* Override any gcc2 internal prototype to avoid an error.  */
100641 #ifdef __cplusplus
100642 extern "C"
100643 {
100644 #endif
100645 /* We use char because int might match the return type of a gcc2
100646    builtin and then its argument prototype would still apply.  */
100647 char $ac_func ();
100648 /* The GNU C library defines this for functions which it implements
100649     to always fail with ENOSYS.  Some functions are actually named
100650     something starting with __ and the normal name is an alias.  */
100651 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
100652 choke me
100653 #else
100654 char (*f) () = $ac_func;
100655 #endif
100656 #ifdef __cplusplus
100657 }
100658 #endif
100659
100660 int
100661 main ()
100662 {
100663 return f != $ac_func;
100664   ;
100665   return 0;
100666 }
100667 _ACEOF
100668 rm -f conftest.$ac_objext conftest$ac_exeext
100669 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
100670   (eval $ac_link) 2>conftest.er1
100671   ac_status=$?
100672   grep -v '^ *+' conftest.er1 >conftest.err
100673   rm -f conftest.er1
100674   cat conftest.err >&5
100675   echo "$as_me:$LINENO: \$? = $ac_status" >&5
100676   (exit $ac_status); } &&
100677          { ac_try='test -z "$ac_c_werror_flag"
100678                          || test ! -s conftest.err'
100679   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
100680   (eval $ac_try) 2>&5
100681   ac_status=$?
100682   echo "$as_me:$LINENO: \$? = $ac_status" >&5
100683   (exit $ac_status); }; } &&
100684          { ac_try='test -s conftest$ac_exeext'
100685   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
100686   (eval $ac_try) 2>&5
100687   ac_status=$?
100688   echo "$as_me:$LINENO: \$? = $ac_status" >&5
100689   (exit $ac_status); }; }; then
100690   eval "$as_ac_var=yes"
100691 else
100692   echo "$as_me: failed program was:" >&5
100693 sed 's/^/| /' conftest.$ac_ext >&5
100694
100695 eval "$as_ac_var=no"
100696 fi
100697 rm -f conftest.err conftest.$ac_objext \
100698       conftest$ac_exeext conftest.$ac_ext
100699 fi
100700 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
100701 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
100702 if test `eval echo '${'$as_ac_var'}'` = yes; then
100703   cat >>confdefs.h <<_ACEOF
100704 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
100705 _ACEOF
100706
100707 else
100708   LIBMATHOBJS="$LIBMATHOBJS signbitl.lo"
100709 fi
100710 done
100711
100712   fi
100713
100714   # Used in libmath/Makefile.am.
100715   if test -n "$LIBMATHOBJS"; then
100716     need_libmath=yes
100717   fi
100718
100719
100720     cat >>confdefs.h <<\_ACEOF
100721 #define HAVE_HYPOT 1
100722 _ACEOF
100723
100724     cat >>confdefs.h <<\_ACEOF
100725 #define HAVE_ISINF 1
100726 _ACEOF
100727
100728     cat >>confdefs.h <<\_ACEOF
100729 #define HAVE_ISNAN 1
100730 _ACEOF
100731
100732
100733     # For showmanyc_helper().
100734
100735
100736 for ac_header in sys/ioctl.h sys/filio.h
100737 do
100738 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
100739 if eval "test \"\${$as_ac_Header+set}\" = set"; then
100740   echo "$as_me:$LINENO: checking for $ac_header" >&5
100741 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
100742 if eval "test \"\${$as_ac_Header+set}\" = set"; then
100743   echo $ECHO_N "(cached) $ECHO_C" >&6
100744 fi
100745 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
100746 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
100747 else
100748   # Is the header compilable?
100749 echo "$as_me:$LINENO: checking $ac_header usability" >&5
100750 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
100751 cat >conftest.$ac_ext <<_ACEOF
100752 /* confdefs.h.  */
100753 _ACEOF
100754 cat confdefs.h >>conftest.$ac_ext
100755 cat >>conftest.$ac_ext <<_ACEOF
100756 /* end confdefs.h.  */
100757 $ac_includes_default
100758 #include <$ac_header>
100759 _ACEOF
100760 rm -f conftest.$ac_objext
100761 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
100762   (eval $ac_compile) 2>conftest.er1
100763   ac_status=$?
100764   grep -v '^ *+' conftest.er1 >conftest.err
100765   rm -f conftest.er1
100766   cat conftest.err >&5
100767   echo "$as_me:$LINENO: \$? = $ac_status" >&5
100768   (exit $ac_status); } &&
100769          { ac_try='test -z "$ac_c_werror_flag"
100770                          || test ! -s conftest.err'
100771   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
100772   (eval $ac_try) 2>&5
100773   ac_status=$?
100774   echo "$as_me:$LINENO: \$? = $ac_status" >&5
100775   (exit $ac_status); }; } &&
100776          { ac_try='test -s conftest.$ac_objext'
100777   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
100778   (eval $ac_try) 2>&5
100779   ac_status=$?
100780   echo "$as_me:$LINENO: \$? = $ac_status" >&5
100781   (exit $ac_status); }; }; then
100782   ac_header_compiler=yes
100783 else
100784   echo "$as_me: failed program was:" >&5
100785 sed 's/^/| /' conftest.$ac_ext >&5
100786
100787 ac_header_compiler=no
100788 fi
100789 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
100790 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
100791 echo "${ECHO_T}$ac_header_compiler" >&6
100792
100793 # Is the header present?
100794 echo "$as_me:$LINENO: checking $ac_header presence" >&5
100795 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
100796 cat >conftest.$ac_ext <<_ACEOF
100797 /* confdefs.h.  */
100798 _ACEOF
100799 cat confdefs.h >>conftest.$ac_ext
100800 cat >>conftest.$ac_ext <<_ACEOF
100801 /* end confdefs.h.  */
100802 #include <$ac_header>
100803 _ACEOF
100804 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
100805   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
100806   ac_status=$?
100807   grep -v '^ *+' conftest.er1 >conftest.err
100808   rm -f conftest.er1
100809   cat conftest.err >&5
100810   echo "$as_me:$LINENO: \$? = $ac_status" >&5
100811   (exit $ac_status); } >/dev/null; then
100812   if test -s conftest.err; then
100813     ac_cpp_err=$ac_c_preproc_warn_flag
100814     ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
100815   else
100816     ac_cpp_err=
100817   fi
100818 else
100819   ac_cpp_err=yes
100820 fi
100821 if test -z "$ac_cpp_err"; then
100822   ac_header_preproc=yes
100823 else
100824   echo "$as_me: failed program was:" >&5
100825 sed 's/^/| /' conftest.$ac_ext >&5
100826
100827   ac_header_preproc=no
100828 fi
100829 rm -f conftest.err conftest.$ac_ext
100830 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
100831 echo "${ECHO_T}$ac_header_preproc" >&6
100832
100833 # So?  What about this header?
100834 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
100835   yes:no: )
100836     { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
100837 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
100838     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
100839 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
100840     ac_header_preproc=yes
100841     ;;
100842   no:yes:* )
100843     { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
100844 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
100845     { echo "$as_me:$LINENO: WARNING: $ac_header:     check for missing prerequisite headers?" >&5
100846 echo "$as_me: WARNING: $ac_header:     check for missing prerequisite headers?" >&2;}
100847     { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
100848 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
100849     { echo "$as_me:$LINENO: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&5
100850 echo "$as_me: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&2;}
100851     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
100852 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
100853     { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
100854 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
100855     (
100856       cat <<\_ASBOX
100857 ## ----------------------------------------- ##
100858 ## Report this to the package-unused lists.  ##
100859 ## ----------------------------------------- ##
100860 _ASBOX
100861     ) |
100862       sed "s/^/$as_me: WARNING:     /" >&2
100863     ;;
100864 esac
100865 echo "$as_me:$LINENO: checking for $ac_header" >&5
100866 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
100867 if eval "test \"\${$as_ac_Header+set}\" = set"; then
100868   echo $ECHO_N "(cached) $ECHO_C" >&6
100869 else
100870   eval "$as_ac_Header=\$ac_header_preproc"
100871 fi
100872 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
100873 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
100874
100875 fi
100876 if test `eval echo '${'$as_ac_Header'}'` = yes; then
100877   cat >>confdefs.h <<_ACEOF
100878 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
100879 _ACEOF
100880
100881 fi
100882
100883 done
100884
100885
100886   echo "$as_me:$LINENO: checking for poll" >&5
100887 echo $ECHO_N "checking for poll... $ECHO_C" >&6
100888   if test "${glibcxx_cv_POLL+set}" = set; then
100889   echo $ECHO_N "(cached) $ECHO_C" >&6
100890 else
100891
100892     if test x$gcc_no_link = xyes; then
100893   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
100894 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
100895    { (exit 1); exit 1; }; }
100896 fi
100897 cat >conftest.$ac_ext <<_ACEOF
100898 /* confdefs.h.  */
100899 _ACEOF
100900 cat confdefs.h >>conftest.$ac_ext
100901 cat >>conftest.$ac_ext <<_ACEOF
100902 /* end confdefs.h.  */
100903 #include <poll.h>
100904 int
100905 main ()
100906 {
100907 struct pollfd pfd[1];
100908        pfd[0].events = POLLIN;
100909        poll(pfd, 1, 0);
100910   ;
100911   return 0;
100912 }
100913 _ACEOF
100914 rm -f conftest.$ac_objext conftest$ac_exeext
100915 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
100916   (eval $ac_link) 2>conftest.er1
100917   ac_status=$?
100918   grep -v '^ *+' conftest.er1 >conftest.err
100919   rm -f conftest.er1
100920   cat conftest.err >&5
100921   echo "$as_me:$LINENO: \$? = $ac_status" >&5
100922   (exit $ac_status); } &&
100923          { ac_try='test -z "$ac_c_werror_flag"
100924                          || test ! -s conftest.err'
100925   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
100926   (eval $ac_try) 2>&5
100927   ac_status=$?
100928   echo "$as_me:$LINENO: \$? = $ac_status" >&5
100929   (exit $ac_status); }; } &&
100930          { ac_try='test -s conftest$ac_exeext'
100931   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
100932   (eval $ac_try) 2>&5
100933   ac_status=$?
100934   echo "$as_me:$LINENO: \$? = $ac_status" >&5
100935   (exit $ac_status); }; }; then
100936   glibcxx_cv_POLL=yes
100937 else
100938   echo "$as_me: failed program was:" >&5
100939 sed 's/^/| /' conftest.$ac_ext >&5
100940
100941 glibcxx_cv_POLL=no
100942 fi
100943 rm -f conftest.err conftest.$ac_objext \
100944       conftest$ac_exeext conftest.$ac_ext
100945
100946 fi
100947
100948   if test $glibcxx_cv_POLL = yes; then
100949
100950 cat >>confdefs.h <<\_ACEOF
100951 #define HAVE_POLL 1
100952 _ACEOF
100953
100954   fi
100955   echo "$as_me:$LINENO: result: $glibcxx_cv_POLL" >&5
100956 echo "${ECHO_T}$glibcxx_cv_POLL" >&6
100957
100958
100959   echo "$as_me:$LINENO: checking for S_ISREG or S_IFREG" >&5
100960 echo $ECHO_N "checking for S_ISREG or S_IFREG... $ECHO_C" >&6
100961   if test "${glibcxx_cv_S_ISREG+set}" = set; then
100962   echo $ECHO_N "(cached) $ECHO_C" >&6
100963 else
100964
100965     if test x$gcc_no_link = xyes; then
100966   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
100967 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
100968    { (exit 1); exit 1; }; }
100969 fi
100970 cat >conftest.$ac_ext <<_ACEOF
100971 /* confdefs.h.  */
100972 _ACEOF
100973 cat confdefs.h >>conftest.$ac_ext
100974 cat >>conftest.$ac_ext <<_ACEOF
100975 /* end confdefs.h.  */
100976 #include <sys/stat.h>
100977 int
100978 main ()
100979 {
100980 struct stat buffer;
100981        fstat(0, &buffer);
100982        S_ISREG(buffer.st_mode);
100983   ;
100984   return 0;
100985 }
100986 _ACEOF
100987 rm -f conftest.$ac_objext conftest$ac_exeext
100988 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
100989   (eval $ac_link) 2>conftest.er1
100990   ac_status=$?
100991   grep -v '^ *+' conftest.er1 >conftest.err
100992   rm -f conftest.er1
100993   cat conftest.err >&5
100994   echo "$as_me:$LINENO: \$? = $ac_status" >&5
100995   (exit $ac_status); } &&
100996          { ac_try='test -z "$ac_c_werror_flag"
100997                          || test ! -s conftest.err'
100998   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
100999   (eval $ac_try) 2>&5
101000   ac_status=$?
101001   echo "$as_me:$LINENO: \$? = $ac_status" >&5
101002   (exit $ac_status); }; } &&
101003          { ac_try='test -s conftest$ac_exeext'
101004   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
101005   (eval $ac_try) 2>&5
101006   ac_status=$?
101007   echo "$as_me:$LINENO: \$? = $ac_status" >&5
101008   (exit $ac_status); }; }; then
101009   glibcxx_cv_S_ISREG=yes
101010 else
101011   echo "$as_me: failed program was:" >&5
101012 sed 's/^/| /' conftest.$ac_ext >&5
101013
101014 glibcxx_cv_S_ISREG=no
101015 fi
101016 rm -f conftest.err conftest.$ac_objext \
101017       conftest$ac_exeext conftest.$ac_ext
101018
101019 fi
101020
101021   if test "${glibcxx_cv_S_IFREG+set}" = set; then
101022   echo $ECHO_N "(cached) $ECHO_C" >&6
101023 else
101024
101025     if test x$gcc_no_link = xyes; then
101026   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
101027 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
101028    { (exit 1); exit 1; }; }
101029 fi
101030 cat >conftest.$ac_ext <<_ACEOF
101031 /* confdefs.h.  */
101032 _ACEOF
101033 cat confdefs.h >>conftest.$ac_ext
101034 cat >>conftest.$ac_ext <<_ACEOF
101035 /* end confdefs.h.  */
101036 #include <sys/stat.h>
101037 int
101038 main ()
101039 {
101040 struct stat buffer;
101041        fstat(0, &buffer);
101042        S_IFREG & buffer.st_mode;
101043   ;
101044   return 0;
101045 }
101046 _ACEOF
101047 rm -f conftest.$ac_objext conftest$ac_exeext
101048 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
101049   (eval $ac_link) 2>conftest.er1
101050   ac_status=$?
101051   grep -v '^ *+' conftest.er1 >conftest.err
101052   rm -f conftest.er1
101053   cat conftest.err >&5
101054   echo "$as_me:$LINENO: \$? = $ac_status" >&5
101055   (exit $ac_status); } &&
101056          { ac_try='test -z "$ac_c_werror_flag"
101057                          || test ! -s conftest.err'
101058   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
101059   (eval $ac_try) 2>&5
101060   ac_status=$?
101061   echo "$as_me:$LINENO: \$? = $ac_status" >&5
101062   (exit $ac_status); }; } &&
101063          { ac_try='test -s conftest$ac_exeext'
101064   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
101065   (eval $ac_try) 2>&5
101066   ac_status=$?
101067   echo "$as_me:$LINENO: \$? = $ac_status" >&5
101068   (exit $ac_status); }; }; then
101069   glibcxx_cv_S_IFREG=yes
101070 else
101071   echo "$as_me: failed program was:" >&5
101072 sed 's/^/| /' conftest.$ac_ext >&5
101073
101074 glibcxx_cv_S_IFREG=no
101075 fi
101076 rm -f conftest.err conftest.$ac_objext \
101077       conftest$ac_exeext conftest.$ac_ext
101078
101079 fi
101080
101081   res=no
101082   if test $glibcxx_cv_S_ISREG = yes; then
101083
101084 cat >>confdefs.h <<\_ACEOF
101085 #define HAVE_S_ISREG 1
101086 _ACEOF
101087
101088     res=S_ISREG
101089   elif test $glibcxx_cv_S_IFREG = yes; then
101090
101091 cat >>confdefs.h <<\_ACEOF
101092 #define HAVE_S_IFREG 1
101093 _ACEOF
101094
101095     res=S_IFREG
101096   fi
101097   echo "$as_me:$LINENO: result: $res" >&5
101098 echo "${ECHO_T}$res" >&6
101099
101100
101101     # For xsputn_2().
101102
101103 for ac_header in sys/uio.h
101104 do
101105 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
101106 if eval "test \"\${$as_ac_Header+set}\" = set"; then
101107   echo "$as_me:$LINENO: checking for $ac_header" >&5
101108 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
101109 if eval "test \"\${$as_ac_Header+set}\" = set"; then
101110   echo $ECHO_N "(cached) $ECHO_C" >&6
101111 fi
101112 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
101113 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
101114 else
101115   # Is the header compilable?
101116 echo "$as_me:$LINENO: checking $ac_header usability" >&5
101117 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
101118 cat >conftest.$ac_ext <<_ACEOF
101119 /* confdefs.h.  */
101120 _ACEOF
101121 cat confdefs.h >>conftest.$ac_ext
101122 cat >>conftest.$ac_ext <<_ACEOF
101123 /* end confdefs.h.  */
101124 $ac_includes_default
101125 #include <$ac_header>
101126 _ACEOF
101127 rm -f conftest.$ac_objext
101128 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
101129   (eval $ac_compile) 2>conftest.er1
101130   ac_status=$?
101131   grep -v '^ *+' conftest.er1 >conftest.err
101132   rm -f conftest.er1
101133   cat conftest.err >&5
101134   echo "$as_me:$LINENO: \$? = $ac_status" >&5
101135   (exit $ac_status); } &&
101136          { ac_try='test -z "$ac_c_werror_flag"
101137                          || test ! -s conftest.err'
101138   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
101139   (eval $ac_try) 2>&5
101140   ac_status=$?
101141   echo "$as_me:$LINENO: \$? = $ac_status" >&5
101142   (exit $ac_status); }; } &&
101143          { ac_try='test -s conftest.$ac_objext'
101144   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
101145   (eval $ac_try) 2>&5
101146   ac_status=$?
101147   echo "$as_me:$LINENO: \$? = $ac_status" >&5
101148   (exit $ac_status); }; }; then
101149   ac_header_compiler=yes
101150 else
101151   echo "$as_me: failed program was:" >&5
101152 sed 's/^/| /' conftest.$ac_ext >&5
101153
101154 ac_header_compiler=no
101155 fi
101156 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
101157 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
101158 echo "${ECHO_T}$ac_header_compiler" >&6
101159
101160 # Is the header present?
101161 echo "$as_me:$LINENO: checking $ac_header presence" >&5
101162 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
101163 cat >conftest.$ac_ext <<_ACEOF
101164 /* confdefs.h.  */
101165 _ACEOF
101166 cat confdefs.h >>conftest.$ac_ext
101167 cat >>conftest.$ac_ext <<_ACEOF
101168 /* end confdefs.h.  */
101169 #include <$ac_header>
101170 _ACEOF
101171 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
101172   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
101173   ac_status=$?
101174   grep -v '^ *+' conftest.er1 >conftest.err
101175   rm -f conftest.er1
101176   cat conftest.err >&5
101177   echo "$as_me:$LINENO: \$? = $ac_status" >&5
101178   (exit $ac_status); } >/dev/null; then
101179   if test -s conftest.err; then
101180     ac_cpp_err=$ac_c_preproc_warn_flag
101181     ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
101182   else
101183     ac_cpp_err=
101184   fi
101185 else
101186   ac_cpp_err=yes
101187 fi
101188 if test -z "$ac_cpp_err"; then
101189   ac_header_preproc=yes
101190 else
101191   echo "$as_me: failed program was:" >&5
101192 sed 's/^/| /' conftest.$ac_ext >&5
101193
101194   ac_header_preproc=no
101195 fi
101196 rm -f conftest.err conftest.$ac_ext
101197 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
101198 echo "${ECHO_T}$ac_header_preproc" >&6
101199
101200 # So?  What about this header?
101201 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
101202   yes:no: )
101203     { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
101204 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
101205     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
101206 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
101207     ac_header_preproc=yes
101208     ;;
101209   no:yes:* )
101210     { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
101211 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
101212     { echo "$as_me:$LINENO: WARNING: $ac_header:     check for missing prerequisite headers?" >&5
101213 echo "$as_me: WARNING: $ac_header:     check for missing prerequisite headers?" >&2;}
101214     { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
101215 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
101216     { echo "$as_me:$LINENO: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&5
101217 echo "$as_me: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&2;}
101218     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
101219 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
101220     { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
101221 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
101222     (
101223       cat <<\_ASBOX
101224 ## ----------------------------------------- ##
101225 ## Report this to the package-unused lists.  ##
101226 ## ----------------------------------------- ##
101227 _ASBOX
101228     ) |
101229       sed "s/^/$as_me: WARNING:     /" >&2
101230     ;;
101231 esac
101232 echo "$as_me:$LINENO: checking for $ac_header" >&5
101233 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
101234 if eval "test \"\${$as_ac_Header+set}\" = set"; then
101235   echo $ECHO_N "(cached) $ECHO_C" >&6
101236 else
101237   eval "$as_ac_Header=\$ac_header_preproc"
101238 fi
101239 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
101240 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
101241
101242 fi
101243 if test `eval echo '${'$as_ac_Header'}'` = yes; then
101244   cat >>confdefs.h <<_ACEOF
101245 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
101246 _ACEOF
101247
101248 fi
101249
101250 done
101251
101252
101253   echo "$as_me:$LINENO: checking for writev" >&5
101254 echo $ECHO_N "checking for writev... $ECHO_C" >&6
101255   if test "${glibcxx_cv_WRITEV+set}" = set; then
101256   echo $ECHO_N "(cached) $ECHO_C" >&6
101257 else
101258
101259     if test x$gcc_no_link = xyes; then
101260   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
101261 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
101262    { (exit 1); exit 1; }; }
101263 fi
101264 cat >conftest.$ac_ext <<_ACEOF
101265 /* confdefs.h.  */
101266 _ACEOF
101267 cat confdefs.h >>conftest.$ac_ext
101268 cat >>conftest.$ac_ext <<_ACEOF
101269 /* end confdefs.h.  */
101270 #include <sys/uio.h>
101271 int
101272 main ()
101273 {
101274 struct iovec iov[2];
101275        writev(0, iov, 0);
101276   ;
101277   return 0;
101278 }
101279 _ACEOF
101280 rm -f conftest.$ac_objext conftest$ac_exeext
101281 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
101282   (eval $ac_link) 2>conftest.er1
101283   ac_status=$?
101284   grep -v '^ *+' conftest.er1 >conftest.err
101285   rm -f conftest.er1
101286   cat conftest.err >&5
101287   echo "$as_me:$LINENO: \$? = $ac_status" >&5
101288   (exit $ac_status); } &&
101289          { ac_try='test -z "$ac_c_werror_flag"
101290                          || test ! -s conftest.err'
101291   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
101292   (eval $ac_try) 2>&5
101293   ac_status=$?
101294   echo "$as_me:$LINENO: \$? = $ac_status" >&5
101295   (exit $ac_status); }; } &&
101296          { ac_try='test -s conftest$ac_exeext'
101297   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
101298   (eval $ac_try) 2>&5
101299   ac_status=$?
101300   echo "$as_me:$LINENO: \$? = $ac_status" >&5
101301   (exit $ac_status); }; }; then
101302   glibcxx_cv_WRITEV=yes
101303 else
101304   echo "$as_me: failed program was:" >&5
101305 sed 's/^/| /' conftest.$ac_ext >&5
101306
101307 glibcxx_cv_WRITEV=no
101308 fi
101309 rm -f conftest.err conftest.$ac_objext \
101310       conftest$ac_exeext conftest.$ac_ext
101311
101312 fi
101313
101314   if test $glibcxx_cv_WRITEV = yes; then
101315
101316 cat >>confdefs.h <<\_ACEOF
101317 #define HAVE_WRITEV 1
101318 _ACEOF
101319
101320   fi
101321   echo "$as_me:$LINENO: result: $glibcxx_cv_WRITEV" >&5
101322 echo "${ECHO_T}$glibcxx_cv_WRITEV" >&6
101323
101324     ;;
101325   *-qnx6.1* | *-qnx6.2*)
101326     SECTION_FLAGS='-ffunction-sections -fdata-sections'
101327
101328
101329   # If we're not using GNU ld, then there's no point in even trying these
101330   # tests.  Check for that first.  We should have already tested for gld
101331   # by now (in libtool), but require it now just to be safe...
101332   test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
101333   test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
101334
101335
101336
101337   # The name set by libtool depends on the version of libtool.  Shame on us
101338   # for depending on an impl detail, but c'est la vie.  Older versions used
101339   # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
101340   # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
101341   # makes sense).  We'll test with_gnu_ld everywhere else, so if that isn't
101342   # set (hence we're using an older libtool), then set it.
101343   if test x${with_gnu_ld+set} != xset; then
101344     if test x${ac_cv_prog_gnu_ld+set} != xset; then
101345       # We got through "ac_require(ac_prog_ld)" and still not set?  Huh?
101346       with_gnu_ld=no
101347     else
101348       with_gnu_ld=$ac_cv_prog_gnu_ld
101349     fi
101350   fi
101351
101352   # Start by getting the version number.  I think the libtool test already
101353   # does some of this, but throws away the result.
101354   if test x"$with_gnu_ld" = x"yes"; then
101355     echo "$as_me:$LINENO: checking for ld version" >&5
101356 echo $ECHO_N "checking for ld version... $ECHO_C" >&6
101357
101358     ldver=`$LD --version 2>/dev/null | head -1 | \
101359            sed -e 's/GNU ld version \([0-9.][0-9.]*\).*/\1/'`
101360
101361     glibcxx_gnu_ld_version=`echo $ldver | \
101362            $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
101363     echo "$as_me:$LINENO: result: $glibcxx_gnu_ld_version" >&5
101364 echo "${ECHO_T}$glibcxx_gnu_ld_version" >&6
101365   fi
101366
101367   # Set --gc-sections.
101368   glibcxx_gcsections_min_ld=21602
101369   if test x"$with_gnu_ld" = x"yes" &&
101370         test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
101371
101372     # Sufficiently young GNU ld it is!  Joy and bunny rabbits!
101373     # NB: This flag only works reliably after 2.16.1. Configure tests
101374     # for this are difficult, so hard wire a value that should work.
101375
101376     # All these tests are for C++, but run with the "C" compiler driver.
101377     # Need to do this so that g++ won't try to link in libstdc++/libsupc++.
101378     ac_test_CFLAGS="${CFLAGS+set}"
101379     ac_save_CFLAGS="$CFLAGS"
101380     CFLAGS='-x c++ -Wl,--gc-sections'
101381
101382     # Check for -Wl,--gc-sections
101383     echo "$as_me:$LINENO: checking for ld that supports -Wl,--gc-sections" >&5
101384 echo $ECHO_N "checking for ld that supports -Wl,--gc-sections... $ECHO_C" >&6
101385     if test x$gcc_no_link = xyes; then
101386   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
101387 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
101388    { (exit 1); exit 1; }; }
101389 fi
101390 cat >conftest.$ac_ext <<_ACEOF
101391 /* confdefs.h.  */
101392 _ACEOF
101393 cat confdefs.h >>conftest.$ac_ext
101394 cat >>conftest.$ac_ext <<_ACEOF
101395 /* end confdefs.h.  */
101396  int one(void) { return 1; }
101397      int two(void) { return 2; }
101398
101399 int
101400 main ()
101401 {
101402  two();
101403   ;
101404   return 0;
101405 }
101406 _ACEOF
101407 rm -f conftest.$ac_objext conftest$ac_exeext
101408 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
101409   (eval $ac_link) 2>conftest.er1
101410   ac_status=$?
101411   grep -v '^ *+' conftest.er1 >conftest.err
101412   rm -f conftest.er1
101413   cat conftest.err >&5
101414   echo "$as_me:$LINENO: \$? = $ac_status" >&5
101415   (exit $ac_status); } &&
101416          { ac_try='test -z "$ac_c_werror_flag"
101417                          || test ! -s conftest.err'
101418   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
101419   (eval $ac_try) 2>&5
101420   ac_status=$?
101421   echo "$as_me:$LINENO: \$? = $ac_status" >&5
101422   (exit $ac_status); }; } &&
101423          { ac_try='test -s conftest$ac_exeext'
101424   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
101425   (eval $ac_try) 2>&5
101426   ac_status=$?
101427   echo "$as_me:$LINENO: \$? = $ac_status" >&5
101428   (exit $ac_status); }; }; then
101429   ac_gcsections=yes
101430 else
101431   echo "$as_me: failed program was:" >&5
101432 sed 's/^/| /' conftest.$ac_ext >&5
101433
101434 ac_gcsections=no
101435 fi
101436 rm -f conftest.err conftest.$ac_objext \
101437       conftest$ac_exeext conftest.$ac_ext
101438     if test "$ac_gcsections" = "yes"; then
101439       rm -f conftest.c
101440       touch conftest.c
101441       if $CC -c conftest.c; then
101442         if $LD --gc-sections -o conftest conftest.o 2>&1 | \
101443            grep "Warning: gc-sections option ignored" > /dev/null; then
101444           ac_gcsections=no
101445         fi
101446       fi
101447       rm -f conftest.c conftest.o conftest
101448     fi
101449     if test "$ac_gcsections" = "yes"; then
101450       SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
101451     fi
101452     echo "$as_me:$LINENO: result: $ac_gcsections" >&5
101453 echo "${ECHO_T}$ac_gcsections" >&6
101454
101455     if test "$ac_test_CFLAGS" = set; then
101456       CFLAGS="$ac_save_CFLAGS"
101457     else
101458       # this is the suspicious part
101459       CFLAGS=''
101460     fi
101461   fi
101462
101463   # Set -z,relro.
101464   # Note this is only for shared objects.
101465   ac_ld_relro=no
101466   if test x"$with_gnu_ld" = x"yes"; then
101467     echo "$as_me:$LINENO: checking for ld that supports -Wl,-z,relro" >&5
101468 echo $ECHO_N "checking for ld that supports -Wl,-z,relro... $ECHO_C" >&6
101469     cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
101470     if test -n "$cxx_z_relo"; then
101471       OPT_LDFLAGS="-Wl,-z,relro"
101472       ac_ld_relro=yes
101473     fi
101474     echo "$as_me:$LINENO: result: $ac_ld_relro" >&5
101475 echo "${ECHO_T}$ac_ld_relro" >&6
101476   fi
101477
101478   # Set linker optimization flags.
101479   if test x"$with_gnu_ld" = x"yes"; then
101480     OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
101481   fi
101482
101483
101484
101485
101486
101487
101488 echo "$as_me:$LINENO: checking for main in -lm" >&5
101489 echo $ECHO_N "checking for main in -lm... $ECHO_C" >&6
101490 if test "${ac_cv_lib_m_main+set}" = set; then
101491   echo $ECHO_N "(cached) $ECHO_C" >&6
101492 else
101493   ac_check_lib_save_LIBS=$LIBS
101494 LIBS="-lm  $LIBS"
101495 if test x$gcc_no_link = xyes; then
101496   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
101497 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
101498    { (exit 1); exit 1; }; }
101499 fi
101500 cat >conftest.$ac_ext <<_ACEOF
101501 /* confdefs.h.  */
101502 _ACEOF
101503 cat confdefs.h >>conftest.$ac_ext
101504 cat >>conftest.$ac_ext <<_ACEOF
101505 /* end confdefs.h.  */
101506
101507
101508 int
101509 main ()
101510 {
101511 main ();
101512   ;
101513   return 0;
101514 }
101515 _ACEOF
101516 rm -f conftest.$ac_objext conftest$ac_exeext
101517 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
101518   (eval $ac_link) 2>conftest.er1
101519   ac_status=$?
101520   grep -v '^ *+' conftest.er1 >conftest.err
101521   rm -f conftest.er1
101522   cat conftest.err >&5
101523   echo "$as_me:$LINENO: \$? = $ac_status" >&5
101524   (exit $ac_status); } &&
101525          { ac_try='test -z "$ac_c_werror_flag"
101526                          || test ! -s conftest.err'
101527   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
101528   (eval $ac_try) 2>&5
101529   ac_status=$?
101530   echo "$as_me:$LINENO: \$? = $ac_status" >&5
101531   (exit $ac_status); }; } &&
101532          { ac_try='test -s conftest$ac_exeext'
101533   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
101534   (eval $ac_try) 2>&5
101535   ac_status=$?
101536   echo "$as_me:$LINENO: \$? = $ac_status" >&5
101537   (exit $ac_status); }; }; then
101538   ac_cv_lib_m_main=yes
101539 else
101540   echo "$as_me: failed program was:" >&5
101541 sed 's/^/| /' conftest.$ac_ext >&5
101542
101543 ac_cv_lib_m_main=no
101544 fi
101545 rm -f conftest.err conftest.$ac_objext \
101546       conftest$ac_exeext conftest.$ac_ext
101547 LIBS=$ac_check_lib_save_LIBS
101548 fi
101549 echo "$as_me:$LINENO: result: $ac_cv_lib_m_main" >&5
101550 echo "${ECHO_T}$ac_cv_lib_m_main" >&6
101551 if test $ac_cv_lib_m_main = yes; then
101552   cat >>confdefs.h <<_ACEOF
101553 #define HAVE_LIBM 1
101554 _ACEOF
101555
101556   LIBS="-lm $LIBS"
101557
101558 fi
101559
101560
101561 for ac_func in copysignf
101562 do
101563 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
101564 echo "$as_me:$LINENO: checking for $ac_func" >&5
101565 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
101566 if eval "test \"\${$as_ac_var+set}\" = set"; then
101567   echo $ECHO_N "(cached) $ECHO_C" >&6
101568 else
101569   if test x$gcc_no_link = xyes; then
101570   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
101571 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
101572    { (exit 1); exit 1; }; }
101573 fi
101574 cat >conftest.$ac_ext <<_ACEOF
101575 /* confdefs.h.  */
101576 _ACEOF
101577 cat confdefs.h >>conftest.$ac_ext
101578 cat >>conftest.$ac_ext <<_ACEOF
101579 /* end confdefs.h.  */
101580 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
101581    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
101582 #define $ac_func innocuous_$ac_func
101583
101584 /* System header to define __stub macros and hopefully few prototypes,
101585     which can conflict with char $ac_func (); below.
101586     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
101587     <limits.h> exists even on freestanding compilers.  */
101588
101589 #ifdef __STDC__
101590 # include <limits.h>
101591 #else
101592 # include <assert.h>
101593 #endif
101594
101595 #undef $ac_func
101596
101597 /* Override any gcc2 internal prototype to avoid an error.  */
101598 #ifdef __cplusplus
101599 extern "C"
101600 {
101601 #endif
101602 /* We use char because int might match the return type of a gcc2
101603    builtin and then its argument prototype would still apply.  */
101604 char $ac_func ();
101605 /* The GNU C library defines this for functions which it implements
101606     to always fail with ENOSYS.  Some functions are actually named
101607     something starting with __ and the normal name is an alias.  */
101608 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
101609 choke me
101610 #else
101611 char (*f) () = $ac_func;
101612 #endif
101613 #ifdef __cplusplus
101614 }
101615 #endif
101616
101617 int
101618 main ()
101619 {
101620 return f != $ac_func;
101621   ;
101622   return 0;
101623 }
101624 _ACEOF
101625 rm -f conftest.$ac_objext conftest$ac_exeext
101626 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
101627   (eval $ac_link) 2>conftest.er1
101628   ac_status=$?
101629   grep -v '^ *+' conftest.er1 >conftest.err
101630   rm -f conftest.er1
101631   cat conftest.err >&5
101632   echo "$as_me:$LINENO: \$? = $ac_status" >&5
101633   (exit $ac_status); } &&
101634          { ac_try='test -z "$ac_c_werror_flag"
101635                          || test ! -s conftest.err'
101636   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
101637   (eval $ac_try) 2>&5
101638   ac_status=$?
101639   echo "$as_me:$LINENO: \$? = $ac_status" >&5
101640   (exit $ac_status); }; } &&
101641          { ac_try='test -s conftest$ac_exeext'
101642   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
101643   (eval $ac_try) 2>&5
101644   ac_status=$?
101645   echo "$as_me:$LINENO: \$? = $ac_status" >&5
101646   (exit $ac_status); }; }; then
101647   eval "$as_ac_var=yes"
101648 else
101649   echo "$as_me: failed program was:" >&5
101650 sed 's/^/| /' conftest.$ac_ext >&5
101651
101652 eval "$as_ac_var=no"
101653 fi
101654 rm -f conftest.err conftest.$ac_objext \
101655       conftest$ac_exeext conftest.$ac_ext
101656 fi
101657 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
101658 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
101659 if test `eval echo '${'$as_ac_var'}'` = yes; then
101660   cat >>confdefs.h <<_ACEOF
101661 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
101662 _ACEOF
101663
101664 else
101665   LIBMATHOBJS="$LIBMATHOBJS ${ac_func}.lo"
101666 fi
101667 done
101668
101669
101670
101671 for ac_func in __signbit
101672 do
101673 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
101674 echo "$as_me:$LINENO: checking for $ac_func" >&5
101675 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
101676 if eval "test \"\${$as_ac_var+set}\" = set"; then
101677   echo $ECHO_N "(cached) $ECHO_C" >&6
101678 else
101679   if test x$gcc_no_link = xyes; then
101680   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
101681 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
101682    { (exit 1); exit 1; }; }
101683 fi
101684 cat >conftest.$ac_ext <<_ACEOF
101685 /* confdefs.h.  */
101686 _ACEOF
101687 cat confdefs.h >>conftest.$ac_ext
101688 cat >>conftest.$ac_ext <<_ACEOF
101689 /* end confdefs.h.  */
101690 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
101691    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
101692 #define $ac_func innocuous_$ac_func
101693
101694 /* System header to define __stub macros and hopefully few prototypes,
101695     which can conflict with char $ac_func (); below.
101696     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
101697     <limits.h> exists even on freestanding compilers.  */
101698
101699 #ifdef __STDC__
101700 # include <limits.h>
101701 #else
101702 # include <assert.h>
101703 #endif
101704
101705 #undef $ac_func
101706
101707 /* Override any gcc2 internal prototype to avoid an error.  */
101708 #ifdef __cplusplus
101709 extern "C"
101710 {
101711 #endif
101712 /* We use char because int might match the return type of a gcc2
101713    builtin and then its argument prototype would still apply.  */
101714 char $ac_func ();
101715 /* The GNU C library defines this for functions which it implements
101716     to always fail with ENOSYS.  Some functions are actually named
101717     something starting with __ and the normal name is an alias.  */
101718 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
101719 choke me
101720 #else
101721 char (*f) () = $ac_func;
101722 #endif
101723 #ifdef __cplusplus
101724 }
101725 #endif
101726
101727 int
101728 main ()
101729 {
101730 return f != $ac_func;
101731   ;
101732   return 0;
101733 }
101734 _ACEOF
101735 rm -f conftest.$ac_objext conftest$ac_exeext
101736 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
101737   (eval $ac_link) 2>conftest.er1
101738   ac_status=$?
101739   grep -v '^ *+' conftest.er1 >conftest.err
101740   rm -f conftest.er1
101741   cat conftest.err >&5
101742   echo "$as_me:$LINENO: \$? = $ac_status" >&5
101743   (exit $ac_status); } &&
101744          { ac_try='test -z "$ac_c_werror_flag"
101745                          || test ! -s conftest.err'
101746   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
101747   (eval $ac_try) 2>&5
101748   ac_status=$?
101749   echo "$as_me:$LINENO: \$? = $ac_status" >&5
101750   (exit $ac_status); }; } &&
101751          { ac_try='test -s conftest$ac_exeext'
101752   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
101753   (eval $ac_try) 2>&5
101754   ac_status=$?
101755   echo "$as_me:$LINENO: \$? = $ac_status" >&5
101756   (exit $ac_status); }; }; then
101757   eval "$as_ac_var=yes"
101758 else
101759   echo "$as_me: failed program was:" >&5
101760 sed 's/^/| /' conftest.$ac_ext >&5
101761
101762 eval "$as_ac_var=no"
101763 fi
101764 rm -f conftest.err conftest.$ac_objext \
101765       conftest$ac_exeext conftest.$ac_ext
101766 fi
101767 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
101768 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
101769 if test `eval echo '${'$as_ac_var'}'` = yes; then
101770   cat >>confdefs.h <<_ACEOF
101771 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
101772 _ACEOF
101773
101774 else
101775   LIBMATHOBJS="$LIBMATHOBJS signbit.lo"
101776 fi
101777 done
101778
101779
101780
101781 for ac_func in __signbitf
101782 do
101783 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
101784 echo "$as_me:$LINENO: checking for $ac_func" >&5
101785 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
101786 if eval "test \"\${$as_ac_var+set}\" = set"; then
101787   echo $ECHO_N "(cached) $ECHO_C" >&6
101788 else
101789   if test x$gcc_no_link = xyes; then
101790   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
101791 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
101792    { (exit 1); exit 1; }; }
101793 fi
101794 cat >conftest.$ac_ext <<_ACEOF
101795 /* confdefs.h.  */
101796 _ACEOF
101797 cat confdefs.h >>conftest.$ac_ext
101798 cat >>conftest.$ac_ext <<_ACEOF
101799 /* end confdefs.h.  */
101800 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
101801    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
101802 #define $ac_func innocuous_$ac_func
101803
101804 /* System header to define __stub macros and hopefully few prototypes,
101805     which can conflict with char $ac_func (); below.
101806     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
101807     <limits.h> exists even on freestanding compilers.  */
101808
101809 #ifdef __STDC__
101810 # include <limits.h>
101811 #else
101812 # include <assert.h>
101813 #endif
101814
101815 #undef $ac_func
101816
101817 /* Override any gcc2 internal prototype to avoid an error.  */
101818 #ifdef __cplusplus
101819 extern "C"
101820 {
101821 #endif
101822 /* We use char because int might match the return type of a gcc2
101823    builtin and then its argument prototype would still apply.  */
101824 char $ac_func ();
101825 /* The GNU C library defines this for functions which it implements
101826     to always fail with ENOSYS.  Some functions are actually named
101827     something starting with __ and the normal name is an alias.  */
101828 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
101829 choke me
101830 #else
101831 char (*f) () = $ac_func;
101832 #endif
101833 #ifdef __cplusplus
101834 }
101835 #endif
101836
101837 int
101838 main ()
101839 {
101840 return f != $ac_func;
101841   ;
101842   return 0;
101843 }
101844 _ACEOF
101845 rm -f conftest.$ac_objext conftest$ac_exeext
101846 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
101847   (eval $ac_link) 2>conftest.er1
101848   ac_status=$?
101849   grep -v '^ *+' conftest.er1 >conftest.err
101850   rm -f conftest.er1
101851   cat conftest.err >&5
101852   echo "$as_me:$LINENO: \$? = $ac_status" >&5
101853   (exit $ac_status); } &&
101854          { ac_try='test -z "$ac_c_werror_flag"
101855                          || test ! -s conftest.err'
101856   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
101857   (eval $ac_try) 2>&5
101858   ac_status=$?
101859   echo "$as_me:$LINENO: \$? = $ac_status" >&5
101860   (exit $ac_status); }; } &&
101861          { ac_try='test -s conftest$ac_exeext'
101862   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
101863   (eval $ac_try) 2>&5
101864   ac_status=$?
101865   echo "$as_me:$LINENO: \$? = $ac_status" >&5
101866   (exit $ac_status); }; }; then
101867   eval "$as_ac_var=yes"
101868 else
101869   echo "$as_me: failed program was:" >&5
101870 sed 's/^/| /' conftest.$ac_ext >&5
101871
101872 eval "$as_ac_var=no"
101873 fi
101874 rm -f conftest.err conftest.$ac_objext \
101875       conftest$ac_exeext conftest.$ac_ext
101876 fi
101877 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
101878 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
101879 if test `eval echo '${'$as_ac_var'}'` = yes; then
101880   cat >>confdefs.h <<_ACEOF
101881 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
101882 _ACEOF
101883
101884 else
101885   LIBMATHOBJS="$LIBMATHOBJS signbitf.lo"
101886 fi
101887 done
101888
101889
101890           if test x$ac_cv_func_copysignl = x"yes"; then
101891
101892 for ac_func in __signbitl
101893 do
101894 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
101895 echo "$as_me:$LINENO: checking for $ac_func" >&5
101896 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
101897 if eval "test \"\${$as_ac_var+set}\" = set"; then
101898   echo $ECHO_N "(cached) $ECHO_C" >&6
101899 else
101900   if test x$gcc_no_link = xyes; then
101901   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
101902 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
101903    { (exit 1); exit 1; }; }
101904 fi
101905 cat >conftest.$ac_ext <<_ACEOF
101906 /* confdefs.h.  */
101907 _ACEOF
101908 cat confdefs.h >>conftest.$ac_ext
101909 cat >>conftest.$ac_ext <<_ACEOF
101910 /* end confdefs.h.  */
101911 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
101912    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
101913 #define $ac_func innocuous_$ac_func
101914
101915 /* System header to define __stub macros and hopefully few prototypes,
101916     which can conflict with char $ac_func (); below.
101917     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
101918     <limits.h> exists even on freestanding compilers.  */
101919
101920 #ifdef __STDC__
101921 # include <limits.h>
101922 #else
101923 # include <assert.h>
101924 #endif
101925
101926 #undef $ac_func
101927
101928 /* Override any gcc2 internal prototype to avoid an error.  */
101929 #ifdef __cplusplus
101930 extern "C"
101931 {
101932 #endif
101933 /* We use char because int might match the return type of a gcc2
101934    builtin and then its argument prototype would still apply.  */
101935 char $ac_func ();
101936 /* The GNU C library defines this for functions which it implements
101937     to always fail with ENOSYS.  Some functions are actually named
101938     something starting with __ and the normal name is an alias.  */
101939 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
101940 choke me
101941 #else
101942 char (*f) () = $ac_func;
101943 #endif
101944 #ifdef __cplusplus
101945 }
101946 #endif
101947
101948 int
101949 main ()
101950 {
101951 return f != $ac_func;
101952   ;
101953   return 0;
101954 }
101955 _ACEOF
101956 rm -f conftest.$ac_objext conftest$ac_exeext
101957 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
101958   (eval $ac_link) 2>conftest.er1
101959   ac_status=$?
101960   grep -v '^ *+' conftest.er1 >conftest.err
101961   rm -f conftest.er1
101962   cat conftest.err >&5
101963   echo "$as_me:$LINENO: \$? = $ac_status" >&5
101964   (exit $ac_status); } &&
101965          { ac_try='test -z "$ac_c_werror_flag"
101966                          || test ! -s conftest.err'
101967   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
101968   (eval $ac_try) 2>&5
101969   ac_status=$?
101970   echo "$as_me:$LINENO: \$? = $ac_status" >&5
101971   (exit $ac_status); }; } &&
101972          { ac_try='test -s conftest$ac_exeext'
101973   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
101974   (eval $ac_try) 2>&5
101975   ac_status=$?
101976   echo "$as_me:$LINENO: \$? = $ac_status" >&5
101977   (exit $ac_status); }; }; then
101978   eval "$as_ac_var=yes"
101979 else
101980   echo "$as_me: failed program was:" >&5
101981 sed 's/^/| /' conftest.$ac_ext >&5
101982
101983 eval "$as_ac_var=no"
101984 fi
101985 rm -f conftest.err conftest.$ac_objext \
101986       conftest$ac_exeext conftest.$ac_ext
101987 fi
101988 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
101989 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
101990 if test `eval echo '${'$as_ac_var'}'` = yes; then
101991   cat >>confdefs.h <<_ACEOF
101992 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
101993 _ACEOF
101994
101995 else
101996   LIBMATHOBJS="$LIBMATHOBJS signbitl.lo"
101997 fi
101998 done
101999
102000   fi
102001
102002   # Used in libmath/Makefile.am.
102003   if test -n "$LIBMATHOBJS"; then
102004     need_libmath=yes
102005   fi
102006
102007
102008     cat >>confdefs.h <<\_ACEOF
102009 #define HAVE_COSF 1
102010 _ACEOF
102011
102012     cat >>confdefs.h <<\_ACEOF
102013 #define HAVE_COSL 1
102014 _ACEOF
102015
102016     cat >>confdefs.h <<\_ACEOF
102017 #define HAVE_COSHF 1
102018 _ACEOF
102019
102020     cat >>confdefs.h <<\_ACEOF
102021 #define HAVE_COSHL 1
102022 _ACEOF
102023
102024     cat >>confdefs.h <<\_ACEOF
102025 #define HAVE_LOGF 1
102026 _ACEOF
102027
102028     cat >>confdefs.h <<\_ACEOF
102029 #define HAVE_LOGL 1
102030 _ACEOF
102031
102032     cat >>confdefs.h <<\_ACEOF
102033 #define HAVE_LOG10F 1
102034 _ACEOF
102035
102036     cat >>confdefs.h <<\_ACEOF
102037 #define HAVE_LOG10L 1
102038 _ACEOF
102039
102040     cat >>confdefs.h <<\_ACEOF
102041 #define HAVE_SINF 1
102042 _ACEOF
102043
102044     cat >>confdefs.h <<\_ACEOF
102045 #define HAVE_SINL 1
102046 _ACEOF
102047
102048     cat >>confdefs.h <<\_ACEOF
102049 #define HAVE_SINHF 1
102050 _ACEOF
102051
102052     cat >>confdefs.h <<\_ACEOF
102053 #define HAVE_SINHL 1
102054 _ACEOF
102055
102056     ;;
102057   *-solaris*)
102058     case "$target" in
102059     #  *-solaris2.5)
102060     #    os_include_dir="os/solaris/solaris2.5"
102061     #    ;;
102062     #  *-solaris2.6)
102063     #    os_include_dir="os/solaris/solaris2.6"
102064     #    ;;
102065       *-solaris2.7 | *-solaris2.8 | *-solaris2.9 | *-solaris2.10)
102066
102067   # If we're not using GNU ld, then there's no point in even trying these
102068   # tests.  Check for that first.  We should have already tested for gld
102069   # by now (in libtool), but require it now just to be safe...
102070   test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
102071   test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
102072
102073
102074
102075   # The name set by libtool depends on the version of libtool.  Shame on us
102076   # for depending on an impl detail, but c'est la vie.  Older versions used
102077   # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
102078   # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
102079   # makes sense).  We'll test with_gnu_ld everywhere else, so if that isn't
102080   # set (hence we're using an older libtool), then set it.
102081   if test x${with_gnu_ld+set} != xset; then
102082     if test x${ac_cv_prog_gnu_ld+set} != xset; then
102083       # We got through "ac_require(ac_prog_ld)" and still not set?  Huh?
102084       with_gnu_ld=no
102085     else
102086       with_gnu_ld=$ac_cv_prog_gnu_ld
102087     fi
102088   fi
102089
102090   # Start by getting the version number.  I think the libtool test already
102091   # does some of this, but throws away the result.
102092   if test x"$with_gnu_ld" = x"yes"; then
102093     echo "$as_me:$LINENO: checking for ld version" >&5
102094 echo $ECHO_N "checking for ld version... $ECHO_C" >&6
102095
102096     ldver=`$LD --version 2>/dev/null | head -1 | \
102097            sed -e 's/GNU ld version \([0-9.][0-9.]*\).*/\1/'`
102098
102099     glibcxx_gnu_ld_version=`echo $ldver | \
102100            $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
102101     echo "$as_me:$LINENO: result: $glibcxx_gnu_ld_version" >&5
102102 echo "${ECHO_T}$glibcxx_gnu_ld_version" >&6
102103   fi
102104
102105   # Set --gc-sections.
102106   glibcxx_gcsections_min_ld=21602
102107   if test x"$with_gnu_ld" = x"yes" &&
102108         test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
102109
102110     # Sufficiently young GNU ld it is!  Joy and bunny rabbits!
102111     # NB: This flag only works reliably after 2.16.1. Configure tests
102112     # for this are difficult, so hard wire a value that should work.
102113
102114     # All these tests are for C++, but run with the "C" compiler driver.
102115     # Need to do this so that g++ won't try to link in libstdc++/libsupc++.
102116     ac_test_CFLAGS="${CFLAGS+set}"
102117     ac_save_CFLAGS="$CFLAGS"
102118     CFLAGS='-x c++ -Wl,--gc-sections'
102119
102120     # Check for -Wl,--gc-sections
102121     echo "$as_me:$LINENO: checking for ld that supports -Wl,--gc-sections" >&5
102122 echo $ECHO_N "checking for ld that supports -Wl,--gc-sections... $ECHO_C" >&6
102123     if test x$gcc_no_link = xyes; then
102124   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
102125 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
102126    { (exit 1); exit 1; }; }
102127 fi
102128 cat >conftest.$ac_ext <<_ACEOF
102129 /* confdefs.h.  */
102130 _ACEOF
102131 cat confdefs.h >>conftest.$ac_ext
102132 cat >>conftest.$ac_ext <<_ACEOF
102133 /* end confdefs.h.  */
102134  int one(void) { return 1; }
102135      int two(void) { return 2; }
102136
102137 int
102138 main ()
102139 {
102140  two();
102141   ;
102142   return 0;
102143 }
102144 _ACEOF
102145 rm -f conftest.$ac_objext conftest$ac_exeext
102146 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
102147   (eval $ac_link) 2>conftest.er1
102148   ac_status=$?
102149   grep -v '^ *+' conftest.er1 >conftest.err
102150   rm -f conftest.er1
102151   cat conftest.err >&5
102152   echo "$as_me:$LINENO: \$? = $ac_status" >&5
102153   (exit $ac_status); } &&
102154          { ac_try='test -z "$ac_c_werror_flag"
102155                          || test ! -s conftest.err'
102156   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
102157   (eval $ac_try) 2>&5
102158   ac_status=$?
102159   echo "$as_me:$LINENO: \$? = $ac_status" >&5
102160   (exit $ac_status); }; } &&
102161          { ac_try='test -s conftest$ac_exeext'
102162   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
102163   (eval $ac_try) 2>&5
102164   ac_status=$?
102165   echo "$as_me:$LINENO: \$? = $ac_status" >&5
102166   (exit $ac_status); }; }; then
102167   ac_gcsections=yes
102168 else
102169   echo "$as_me: failed program was:" >&5
102170 sed 's/^/| /' conftest.$ac_ext >&5
102171
102172 ac_gcsections=no
102173 fi
102174 rm -f conftest.err conftest.$ac_objext \
102175       conftest$ac_exeext conftest.$ac_ext
102176     if test "$ac_gcsections" = "yes"; then
102177       rm -f conftest.c
102178       touch conftest.c
102179       if $CC -c conftest.c; then
102180         if $LD --gc-sections -o conftest conftest.o 2>&1 | \
102181            grep "Warning: gc-sections option ignored" > /dev/null; then
102182           ac_gcsections=no
102183         fi
102184       fi
102185       rm -f conftest.c conftest.o conftest
102186     fi
102187     if test "$ac_gcsections" = "yes"; then
102188       SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
102189     fi
102190     echo "$as_me:$LINENO: result: $ac_gcsections" >&5
102191 echo "${ECHO_T}$ac_gcsections" >&6
102192
102193     if test "$ac_test_CFLAGS" = set; then
102194       CFLAGS="$ac_save_CFLAGS"
102195     else
102196       # this is the suspicious part
102197       CFLAGS=''
102198     fi
102199   fi
102200
102201   # Set -z,relro.
102202   # Note this is only for shared objects.
102203   ac_ld_relro=no
102204   if test x"$with_gnu_ld" = x"yes"; then
102205     echo "$as_me:$LINENO: checking for ld that supports -Wl,-z,relro" >&5
102206 echo $ECHO_N "checking for ld that supports -Wl,-z,relro... $ECHO_C" >&6
102207     cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
102208     if test -n "$cxx_z_relo"; then
102209       OPT_LDFLAGS="-Wl,-z,relro"
102210       ac_ld_relro=yes
102211     fi
102212     echo "$as_me:$LINENO: result: $ac_ld_relro" >&5
102213 echo "${ECHO_T}$ac_ld_relro" >&6
102214   fi
102215
102216   # Set linker optimization flags.
102217   if test x"$with_gnu_ld" = x"yes"; then
102218     OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
102219   fi
102220
102221
102222
102223
102224          cat >>confdefs.h <<\_ACEOF
102225 #define HAVE_GETPAGESIZE 1
102226 _ACEOF
102227
102228          cat >>confdefs.h <<\_ACEOF
102229 #define HAVE_SIGSETJMP 1
102230 _ACEOF
102231
102232          cat >>confdefs.h <<\_ACEOF
102233 #define HAVE_MBSTATE_T 1
102234 _ACEOF
102235
102236          cat >>confdefs.h <<\_ACEOF
102237 #define HAVE_POLL 1
102238 _ACEOF
102239
102240          cat >>confdefs.h <<\_ACEOF
102241 #define HAVE_S_ISREG 1
102242 _ACEOF
102243
102244          cat >>confdefs.h <<\_ACEOF
102245 #define HAVE_LC_MESSAGES 1
102246 _ACEOF
102247
102248          cat >>confdefs.h <<\_ACEOF
102249 #define HAVE_FINITE 1
102250 _ACEOF
102251
102252          cat >>confdefs.h <<\_ACEOF
102253 #define HAVE_FPCLASS 1
102254 _ACEOF
102255
102256          cat >>confdefs.h <<\_ACEOF
102257 #define HAVE_GETPAGESIZE 1
102258 _ACEOF
102259
102260          # All of the dependencies for wide character support are here, so
102261          # turn it on.
102262          cat >>confdefs.h <<\_ACEOF
102263 #define _GLIBCXX_USE_WCHAR_T 1
102264 _ACEOF
102265
102266          # Are these tested for even when cross?
102267          cat >>confdefs.h <<\_ACEOF
102268 #define HAVE_FLOAT_H 1
102269 _ACEOF
102270
102271          cat >>confdefs.h <<\_ACEOF
102272 #define HAVE_IEEEFP_H 1
102273 _ACEOF
102274
102275          cat >>confdefs.h <<\_ACEOF
102276 #define HAVE_INTTYPES_H 1
102277 _ACEOF
102278
102279          cat >>confdefs.h <<\_ACEOF
102280 #define HAVE_LOCALE_H 1
102281 _ACEOF
102282
102283          cat >>confdefs.h <<\_ACEOF
102284 #define HAVE_NAN_H 1
102285 _ACEOF
102286
102287          cat >>confdefs.h <<\_ACEOF
102288 #define HAVE_SYS_FILIO_H 1
102289 _ACEOF
102290
102291          cat >>confdefs.h <<\_ACEOF
102292 #define HAVE_SYS_IOCTL_H 1
102293 _ACEOF
102294
102295          cat >>confdefs.h <<\_ACEOF
102296 #define HAVE_SYS_ISA_DEFS_H 1
102297 _ACEOF
102298
102299          cat >>confdefs.h <<\_ACEOF
102300 #define HAVE_SYS_RESOURCE_H 1
102301 _ACEOF
102302
102303          cat >>confdefs.h <<\_ACEOF
102304 #define HAVE_SYS_TIME_H 1
102305 _ACEOF
102306
102307          cat >>confdefs.h <<\_ACEOF
102308 #define HAVE_SYS_TYPES_H 1
102309 _ACEOF
102310
102311          cat >>confdefs.h <<\_ACEOF
102312 #define HAVE_UNISTD_H 1
102313 _ACEOF
102314
102315          cat >>confdefs.h <<\_ACEOF
102316 #define HAVE_WCHAR_H 1
102317 _ACEOF
102318
102319          cat >>confdefs.h <<\_ACEOF
102320 #define HAVE_WCTYPE_H 1
102321 _ACEOF
102322
102323          cat >>confdefs.h <<\_ACEOF
102324 #define HAVE_LIBM 1
102325 _ACEOF
102326
102327         ;;
102328     esac
102329     case "$target" in
102330       sparc*-*-solaris2.8 | sparc*-*-solaris2.9 | sparc*-*-solaris2.10)
102331         # I saw these on sparc-sun-solaris2.8, but not 2.6, and not on i386
102332         cat >>confdefs.h <<\_ACEOF
102333 #define HAVE___BUILTIN_ABS 1
102334 _ACEOF
102335
102336         cat >>confdefs.h <<\_ACEOF
102337 #define HAVE___BUILTIN_LABS 1
102338 _ACEOF
102339
102340         cat >>confdefs.h <<\_ACEOF
102341 #define HAVE___BUILTIN_FABS 1
102342 _ACEOF
102343
102344         cat >>confdefs.h <<\_ACEOF
102345 #define HAVE___BUILTIN_FABSF 1
102346 _ACEOF
102347
102348         cat >>confdefs.h <<\_ACEOF
102349 #define HAVE___BUILTIN_FABSL 1
102350 _ACEOF
102351
102352         cat >>confdefs.h <<\_ACEOF
102353 #define HAVE___BUILTIN_COS 1
102354 _ACEOF
102355
102356         cat >>confdefs.h <<\_ACEOF
102357 #define HAVE___BUILTIN_COSF 1
102358 _ACEOF
102359
102360         cat >>confdefs.h <<\_ACEOF
102361 #define HAVE___BUILTIN_SIN 1
102362 _ACEOF
102363
102364         cat >>confdefs.h <<\_ACEOF
102365 #define HAVE___BUILTIN_SINF 1
102366 _ACEOF
102367
102368        ;;
102369     esac
102370     case "$target" in
102371       *-*-solaris2.10)
102372       # These two C99 functions are present only in Solaris >= 10
102373       cat >>confdefs.h <<\_ACEOF
102374 #define HAVE_STRTOF 1
102375 _ACEOF
102376
102377       cat >>confdefs.h <<\_ACEOF
102378 #define HAVE_STRTOLD 1
102379 _ACEOF
102380
102381      ;;
102382     esac
102383     cat >>confdefs.h <<\_ACEOF
102384 #define HAVE_MMAP 1
102385 _ACEOF
102386
102387     cat >>confdefs.h <<\_ACEOF
102388 #define HAVE_COPYSIGN 1
102389 _ACEOF
102390
102391     cat >>confdefs.h <<\_ACEOF
102392 #define HAVE_ISNAN 1
102393 _ACEOF
102394
102395     cat >>confdefs.h <<\_ACEOF
102396 #define HAVE_ISNANF 1
102397 _ACEOF
102398
102399     cat >>confdefs.h <<\_ACEOF
102400 #define HAVE_MODFF 1
102401 _ACEOF
102402
102403     cat >>confdefs.h <<\_ACEOF
102404 #define HAVE_HYPOT 1
102405 _ACEOF
102406
102407     ;;
102408   *-tpf)
102409
102410
102411
102412
102413
102414
102415
102416
102417 for ac_header in nan.h endian.h machine/endian.h  \
102418       sys/param.h sys/types.h locale.h float.h inttypes.h
102419 do
102420 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
102421 if eval "test \"\${$as_ac_Header+set}\" = set"; then
102422   echo "$as_me:$LINENO: checking for $ac_header" >&5
102423 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
102424 if eval "test \"\${$as_ac_Header+set}\" = set"; then
102425   echo $ECHO_N "(cached) $ECHO_C" >&6
102426 fi
102427 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
102428 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
102429 else
102430   # Is the header compilable?
102431 echo "$as_me:$LINENO: checking $ac_header usability" >&5
102432 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
102433 cat >conftest.$ac_ext <<_ACEOF
102434 /* confdefs.h.  */
102435 _ACEOF
102436 cat confdefs.h >>conftest.$ac_ext
102437 cat >>conftest.$ac_ext <<_ACEOF
102438 /* end confdefs.h.  */
102439 $ac_includes_default
102440 #include <$ac_header>
102441 _ACEOF
102442 rm -f conftest.$ac_objext
102443 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
102444   (eval $ac_compile) 2>conftest.er1
102445   ac_status=$?
102446   grep -v '^ *+' conftest.er1 >conftest.err
102447   rm -f conftest.er1
102448   cat conftest.err >&5
102449   echo "$as_me:$LINENO: \$? = $ac_status" >&5
102450   (exit $ac_status); } &&
102451          { ac_try='test -z "$ac_c_werror_flag"
102452                          || test ! -s conftest.err'
102453   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
102454   (eval $ac_try) 2>&5
102455   ac_status=$?
102456   echo "$as_me:$LINENO: \$? = $ac_status" >&5
102457   (exit $ac_status); }; } &&
102458          { ac_try='test -s conftest.$ac_objext'
102459   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
102460   (eval $ac_try) 2>&5
102461   ac_status=$?
102462   echo "$as_me:$LINENO: \$? = $ac_status" >&5
102463   (exit $ac_status); }; }; then
102464   ac_header_compiler=yes
102465 else
102466   echo "$as_me: failed program was:" >&5
102467 sed 's/^/| /' conftest.$ac_ext >&5
102468
102469 ac_header_compiler=no
102470 fi
102471 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
102472 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
102473 echo "${ECHO_T}$ac_header_compiler" >&6
102474
102475 # Is the header present?
102476 echo "$as_me:$LINENO: checking $ac_header presence" >&5
102477 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
102478 cat >conftest.$ac_ext <<_ACEOF
102479 /* confdefs.h.  */
102480 _ACEOF
102481 cat confdefs.h >>conftest.$ac_ext
102482 cat >>conftest.$ac_ext <<_ACEOF
102483 /* end confdefs.h.  */
102484 #include <$ac_header>
102485 _ACEOF
102486 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
102487   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
102488   ac_status=$?
102489   grep -v '^ *+' conftest.er1 >conftest.err
102490   rm -f conftest.er1
102491   cat conftest.err >&5
102492   echo "$as_me:$LINENO: \$? = $ac_status" >&5
102493   (exit $ac_status); } >/dev/null; then
102494   if test -s conftest.err; then
102495     ac_cpp_err=$ac_c_preproc_warn_flag
102496     ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
102497   else
102498     ac_cpp_err=
102499   fi
102500 else
102501   ac_cpp_err=yes
102502 fi
102503 if test -z "$ac_cpp_err"; then
102504   ac_header_preproc=yes
102505 else
102506   echo "$as_me: failed program was:" >&5
102507 sed 's/^/| /' conftest.$ac_ext >&5
102508
102509   ac_header_preproc=no
102510 fi
102511 rm -f conftest.err conftest.$ac_ext
102512 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
102513 echo "${ECHO_T}$ac_header_preproc" >&6
102514
102515 # So?  What about this header?
102516 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
102517   yes:no: )
102518     { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
102519 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
102520     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
102521 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
102522     ac_header_preproc=yes
102523     ;;
102524   no:yes:* )
102525     { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
102526 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
102527     { echo "$as_me:$LINENO: WARNING: $ac_header:     check for missing prerequisite headers?" >&5
102528 echo "$as_me: WARNING: $ac_header:     check for missing prerequisite headers?" >&2;}
102529     { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
102530 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
102531     { echo "$as_me:$LINENO: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&5
102532 echo "$as_me: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&2;}
102533     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
102534 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
102535     { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
102536 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
102537     (
102538       cat <<\_ASBOX
102539 ## ----------------------------------------- ##
102540 ## Report this to the package-unused lists.  ##
102541 ## ----------------------------------------- ##
102542 _ASBOX
102543     ) |
102544       sed "s/^/$as_me: WARNING:     /" >&2
102545     ;;
102546 esac
102547 echo "$as_me:$LINENO: checking for $ac_header" >&5
102548 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
102549 if eval "test \"\${$as_ac_Header+set}\" = set"; then
102550   echo $ECHO_N "(cached) $ECHO_C" >&6
102551 else
102552   eval "$as_ac_Header=\$ac_header_preproc"
102553 fi
102554 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
102555 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
102556
102557 fi
102558 if test `eval echo '${'$as_ac_Header'}'` = yes; then
102559   cat >>confdefs.h <<_ACEOF
102560 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
102561 _ACEOF
102562
102563 fi
102564
102565 done
102566
102567     SECTION_FLAGS='-ffunction-sections -fdata-sections'
102568
102569
102570   # If we're not using GNU ld, then there's no point in even trying these
102571   # tests.  Check for that first.  We should have already tested for gld
102572   # by now (in libtool), but require it now just to be safe...
102573   test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
102574   test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
102575
102576
102577
102578   # The name set by libtool depends on the version of libtool.  Shame on us
102579   # for depending on an impl detail, but c'est la vie.  Older versions used
102580   # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
102581   # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
102582   # makes sense).  We'll test with_gnu_ld everywhere else, so if that isn't
102583   # set (hence we're using an older libtool), then set it.
102584   if test x${with_gnu_ld+set} != xset; then
102585     if test x${ac_cv_prog_gnu_ld+set} != xset; then
102586       # We got through "ac_require(ac_prog_ld)" and still not set?  Huh?
102587       with_gnu_ld=no
102588     else
102589       with_gnu_ld=$ac_cv_prog_gnu_ld
102590     fi
102591   fi
102592
102593   # Start by getting the version number.  I think the libtool test already
102594   # does some of this, but throws away the result.
102595   if test x"$with_gnu_ld" = x"yes"; then
102596     echo "$as_me:$LINENO: checking for ld version" >&5
102597 echo $ECHO_N "checking for ld version... $ECHO_C" >&6
102598
102599     ldver=`$LD --version 2>/dev/null | head -1 | \
102600            sed -e 's/GNU ld version \([0-9.][0-9.]*\).*/\1/'`
102601
102602     glibcxx_gnu_ld_version=`echo $ldver | \
102603            $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
102604     echo "$as_me:$LINENO: result: $glibcxx_gnu_ld_version" >&5
102605 echo "${ECHO_T}$glibcxx_gnu_ld_version" >&6
102606   fi
102607
102608   # Set --gc-sections.
102609   glibcxx_gcsections_min_ld=21602
102610   if test x"$with_gnu_ld" = x"yes" &&
102611         test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
102612
102613     # Sufficiently young GNU ld it is!  Joy and bunny rabbits!
102614     # NB: This flag only works reliably after 2.16.1. Configure tests
102615     # for this are difficult, so hard wire a value that should work.
102616
102617     # All these tests are for C++, but run with the "C" compiler driver.
102618     # Need to do this so that g++ won't try to link in libstdc++/libsupc++.
102619     ac_test_CFLAGS="${CFLAGS+set}"
102620     ac_save_CFLAGS="$CFLAGS"
102621     CFLAGS='-x c++ -Wl,--gc-sections'
102622
102623     # Check for -Wl,--gc-sections
102624     echo "$as_me:$LINENO: checking for ld that supports -Wl,--gc-sections" >&5
102625 echo $ECHO_N "checking for ld that supports -Wl,--gc-sections... $ECHO_C" >&6
102626     if test x$gcc_no_link = xyes; then
102627   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
102628 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
102629    { (exit 1); exit 1; }; }
102630 fi
102631 cat >conftest.$ac_ext <<_ACEOF
102632 /* confdefs.h.  */
102633 _ACEOF
102634 cat confdefs.h >>conftest.$ac_ext
102635 cat >>conftest.$ac_ext <<_ACEOF
102636 /* end confdefs.h.  */
102637  int one(void) { return 1; }
102638      int two(void) { return 2; }
102639
102640 int
102641 main ()
102642 {
102643  two();
102644   ;
102645   return 0;
102646 }
102647 _ACEOF
102648 rm -f conftest.$ac_objext conftest$ac_exeext
102649 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
102650   (eval $ac_link) 2>conftest.er1
102651   ac_status=$?
102652   grep -v '^ *+' conftest.er1 >conftest.err
102653   rm -f conftest.er1
102654   cat conftest.err >&5
102655   echo "$as_me:$LINENO: \$? = $ac_status" >&5
102656   (exit $ac_status); } &&
102657          { ac_try='test -z "$ac_c_werror_flag"
102658                          || test ! -s conftest.err'
102659   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
102660   (eval $ac_try) 2>&5
102661   ac_status=$?
102662   echo "$as_me:$LINENO: \$? = $ac_status" >&5
102663   (exit $ac_status); }; } &&
102664          { ac_try='test -s conftest$ac_exeext'
102665   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
102666   (eval $ac_try) 2>&5
102667   ac_status=$?
102668   echo "$as_me:$LINENO: \$? = $ac_status" >&5
102669   (exit $ac_status); }; }; then
102670   ac_gcsections=yes
102671 else
102672   echo "$as_me: failed program was:" >&5
102673 sed 's/^/| /' conftest.$ac_ext >&5
102674
102675 ac_gcsections=no
102676 fi
102677 rm -f conftest.err conftest.$ac_objext \
102678       conftest$ac_exeext conftest.$ac_ext
102679     if test "$ac_gcsections" = "yes"; then
102680       rm -f conftest.c
102681       touch conftest.c
102682       if $CC -c conftest.c; then
102683         if $LD --gc-sections -o conftest conftest.o 2>&1 | \
102684            grep "Warning: gc-sections option ignored" > /dev/null; then
102685           ac_gcsections=no
102686         fi
102687       fi
102688       rm -f conftest.c conftest.o conftest
102689     fi
102690     if test "$ac_gcsections" = "yes"; then
102691       SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
102692     fi
102693     echo "$as_me:$LINENO: result: $ac_gcsections" >&5
102694 echo "${ECHO_T}$ac_gcsections" >&6
102695
102696     if test "$ac_test_CFLAGS" = set; then
102697       CFLAGS="$ac_save_CFLAGS"
102698     else
102699       # this is the suspicious part
102700       CFLAGS=''
102701     fi
102702   fi
102703
102704   # Set -z,relro.
102705   # Note this is only for shared objects.
102706   ac_ld_relro=no
102707   if test x"$with_gnu_ld" = x"yes"; then
102708     echo "$as_me:$LINENO: checking for ld that supports -Wl,-z,relro" >&5
102709 echo $ECHO_N "checking for ld that supports -Wl,-z,relro... $ECHO_C" >&6
102710     cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
102711     if test -n "$cxx_z_relo"; then
102712       OPT_LDFLAGS="-Wl,-z,relro"
102713       ac_ld_relro=yes
102714     fi
102715     echo "$as_me:$LINENO: result: $ac_ld_relro" >&5
102716 echo "${ECHO_T}$ac_ld_relro" >&6
102717   fi
102718
102719   # Set linker optimization flags.
102720   if test x"$with_gnu_ld" = x"yes"; then
102721     OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
102722   fi
102723
102724
102725
102726
102727
102728
102729 echo "$as_me:$LINENO: checking for main in -lm" >&5
102730 echo $ECHO_N "checking for main in -lm... $ECHO_C" >&6
102731 if test "${ac_cv_lib_m_main+set}" = set; then
102732   echo $ECHO_N "(cached) $ECHO_C" >&6
102733 else
102734   ac_check_lib_save_LIBS=$LIBS
102735 LIBS="-lm  $LIBS"
102736 if test x$gcc_no_link = xyes; then
102737   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
102738 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
102739    { (exit 1); exit 1; }; }
102740 fi
102741 cat >conftest.$ac_ext <<_ACEOF
102742 /* confdefs.h.  */
102743 _ACEOF
102744 cat confdefs.h >>conftest.$ac_ext
102745 cat >>conftest.$ac_ext <<_ACEOF
102746 /* end confdefs.h.  */
102747
102748
102749 int
102750 main ()
102751 {
102752 main ();
102753   ;
102754   return 0;
102755 }
102756 _ACEOF
102757 rm -f conftest.$ac_objext conftest$ac_exeext
102758 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
102759   (eval $ac_link) 2>conftest.er1
102760   ac_status=$?
102761   grep -v '^ *+' conftest.er1 >conftest.err
102762   rm -f conftest.er1
102763   cat conftest.err >&5
102764   echo "$as_me:$LINENO: \$? = $ac_status" >&5
102765   (exit $ac_status); } &&
102766          { ac_try='test -z "$ac_c_werror_flag"
102767                          || test ! -s conftest.err'
102768   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
102769   (eval $ac_try) 2>&5
102770   ac_status=$?
102771   echo "$as_me:$LINENO: \$? = $ac_status" >&5
102772   (exit $ac_status); }; } &&
102773          { ac_try='test -s conftest$ac_exeext'
102774   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
102775   (eval $ac_try) 2>&5
102776   ac_status=$?
102777   echo "$as_me:$LINENO: \$? = $ac_status" >&5
102778   (exit $ac_status); }; }; then
102779   ac_cv_lib_m_main=yes
102780 else
102781   echo "$as_me: failed program was:" >&5
102782 sed 's/^/| /' conftest.$ac_ext >&5
102783
102784 ac_cv_lib_m_main=no
102785 fi
102786 rm -f conftest.err conftest.$ac_objext \
102787       conftest$ac_exeext conftest.$ac_ext
102788 LIBS=$ac_check_lib_save_LIBS
102789 fi
102790 echo "$as_me:$LINENO: result: $ac_cv_lib_m_main" >&5
102791 echo "${ECHO_T}$ac_cv_lib_m_main" >&6
102792 if test $ac_cv_lib_m_main = yes; then
102793   cat >>confdefs.h <<_ACEOF
102794 #define HAVE_LIBM 1
102795 _ACEOF
102796
102797   LIBS="-lm $LIBS"
102798
102799 fi
102800
102801
102802 for ac_func in copysignf
102803 do
102804 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
102805 echo "$as_me:$LINENO: checking for $ac_func" >&5
102806 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
102807 if eval "test \"\${$as_ac_var+set}\" = set"; then
102808   echo $ECHO_N "(cached) $ECHO_C" >&6
102809 else
102810   if test x$gcc_no_link = xyes; then
102811   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
102812 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
102813    { (exit 1); exit 1; }; }
102814 fi
102815 cat >conftest.$ac_ext <<_ACEOF
102816 /* confdefs.h.  */
102817 _ACEOF
102818 cat confdefs.h >>conftest.$ac_ext
102819 cat >>conftest.$ac_ext <<_ACEOF
102820 /* end confdefs.h.  */
102821 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
102822    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
102823 #define $ac_func innocuous_$ac_func
102824
102825 /* System header to define __stub macros and hopefully few prototypes,
102826     which can conflict with char $ac_func (); below.
102827     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
102828     <limits.h> exists even on freestanding compilers.  */
102829
102830 #ifdef __STDC__
102831 # include <limits.h>
102832 #else
102833 # include <assert.h>
102834 #endif
102835
102836 #undef $ac_func
102837
102838 /* Override any gcc2 internal prototype to avoid an error.  */
102839 #ifdef __cplusplus
102840 extern "C"
102841 {
102842 #endif
102843 /* We use char because int might match the return type of a gcc2
102844    builtin and then its argument prototype would still apply.  */
102845 char $ac_func ();
102846 /* The GNU C library defines this for functions which it implements
102847     to always fail with ENOSYS.  Some functions are actually named
102848     something starting with __ and the normal name is an alias.  */
102849 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
102850 choke me
102851 #else
102852 char (*f) () = $ac_func;
102853 #endif
102854 #ifdef __cplusplus
102855 }
102856 #endif
102857
102858 int
102859 main ()
102860 {
102861 return f != $ac_func;
102862   ;
102863   return 0;
102864 }
102865 _ACEOF
102866 rm -f conftest.$ac_objext conftest$ac_exeext
102867 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
102868   (eval $ac_link) 2>conftest.er1
102869   ac_status=$?
102870   grep -v '^ *+' conftest.er1 >conftest.err
102871   rm -f conftest.er1
102872   cat conftest.err >&5
102873   echo "$as_me:$LINENO: \$? = $ac_status" >&5
102874   (exit $ac_status); } &&
102875          { ac_try='test -z "$ac_c_werror_flag"
102876                          || test ! -s conftest.err'
102877   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
102878   (eval $ac_try) 2>&5
102879   ac_status=$?
102880   echo "$as_me:$LINENO: \$? = $ac_status" >&5
102881   (exit $ac_status); }; } &&
102882          { ac_try='test -s conftest$ac_exeext'
102883   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
102884   (eval $ac_try) 2>&5
102885   ac_status=$?
102886   echo "$as_me:$LINENO: \$? = $ac_status" >&5
102887   (exit $ac_status); }; }; then
102888   eval "$as_ac_var=yes"
102889 else
102890   echo "$as_me: failed program was:" >&5
102891 sed 's/^/| /' conftest.$ac_ext >&5
102892
102893 eval "$as_ac_var=no"
102894 fi
102895 rm -f conftest.err conftest.$ac_objext \
102896       conftest$ac_exeext conftest.$ac_ext
102897 fi
102898 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
102899 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
102900 if test `eval echo '${'$as_ac_var'}'` = yes; then
102901   cat >>confdefs.h <<_ACEOF
102902 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
102903 _ACEOF
102904
102905 else
102906   LIBMATHOBJS="$LIBMATHOBJS ${ac_func}.lo"
102907 fi
102908 done
102909
102910
102911
102912 for ac_func in __signbit
102913 do
102914 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
102915 echo "$as_me:$LINENO: checking for $ac_func" >&5
102916 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
102917 if eval "test \"\${$as_ac_var+set}\" = set"; then
102918   echo $ECHO_N "(cached) $ECHO_C" >&6
102919 else
102920   if test x$gcc_no_link = xyes; then
102921   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
102922 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
102923    { (exit 1); exit 1; }; }
102924 fi
102925 cat >conftest.$ac_ext <<_ACEOF
102926 /* confdefs.h.  */
102927 _ACEOF
102928 cat confdefs.h >>conftest.$ac_ext
102929 cat >>conftest.$ac_ext <<_ACEOF
102930 /* end confdefs.h.  */
102931 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
102932    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
102933 #define $ac_func innocuous_$ac_func
102934
102935 /* System header to define __stub macros and hopefully few prototypes,
102936     which can conflict with char $ac_func (); below.
102937     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
102938     <limits.h> exists even on freestanding compilers.  */
102939
102940 #ifdef __STDC__
102941 # include <limits.h>
102942 #else
102943 # include <assert.h>
102944 #endif
102945
102946 #undef $ac_func
102947
102948 /* Override any gcc2 internal prototype to avoid an error.  */
102949 #ifdef __cplusplus
102950 extern "C"
102951 {
102952 #endif
102953 /* We use char because int might match the return type of a gcc2
102954    builtin and then its argument prototype would still apply.  */
102955 char $ac_func ();
102956 /* The GNU C library defines this for functions which it implements
102957     to always fail with ENOSYS.  Some functions are actually named
102958     something starting with __ and the normal name is an alias.  */
102959 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
102960 choke me
102961 #else
102962 char (*f) () = $ac_func;
102963 #endif
102964 #ifdef __cplusplus
102965 }
102966 #endif
102967
102968 int
102969 main ()
102970 {
102971 return f != $ac_func;
102972   ;
102973   return 0;
102974 }
102975 _ACEOF
102976 rm -f conftest.$ac_objext conftest$ac_exeext
102977 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
102978   (eval $ac_link) 2>conftest.er1
102979   ac_status=$?
102980   grep -v '^ *+' conftest.er1 >conftest.err
102981   rm -f conftest.er1
102982   cat conftest.err >&5
102983   echo "$as_me:$LINENO: \$? = $ac_status" >&5
102984   (exit $ac_status); } &&
102985          { ac_try='test -z "$ac_c_werror_flag"
102986                          || test ! -s conftest.err'
102987   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
102988   (eval $ac_try) 2>&5
102989   ac_status=$?
102990   echo "$as_me:$LINENO: \$? = $ac_status" >&5
102991   (exit $ac_status); }; } &&
102992          { ac_try='test -s conftest$ac_exeext'
102993   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
102994   (eval $ac_try) 2>&5
102995   ac_status=$?
102996   echo "$as_me:$LINENO: \$? = $ac_status" >&5
102997   (exit $ac_status); }; }; then
102998   eval "$as_ac_var=yes"
102999 else
103000   echo "$as_me: failed program was:" >&5
103001 sed 's/^/| /' conftest.$ac_ext >&5
103002
103003 eval "$as_ac_var=no"
103004 fi
103005 rm -f conftest.err conftest.$ac_objext \
103006       conftest$ac_exeext conftest.$ac_ext
103007 fi
103008 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
103009 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
103010 if test `eval echo '${'$as_ac_var'}'` = yes; then
103011   cat >>confdefs.h <<_ACEOF
103012 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
103013 _ACEOF
103014
103015 else
103016   LIBMATHOBJS="$LIBMATHOBJS signbit.lo"
103017 fi
103018 done
103019
103020
103021
103022 for ac_func in __signbitf
103023 do
103024 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
103025 echo "$as_me:$LINENO: checking for $ac_func" >&5
103026 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
103027 if eval "test \"\${$as_ac_var+set}\" = set"; then
103028   echo $ECHO_N "(cached) $ECHO_C" >&6
103029 else
103030   if test x$gcc_no_link = xyes; then
103031   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
103032 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
103033    { (exit 1); exit 1; }; }
103034 fi
103035 cat >conftest.$ac_ext <<_ACEOF
103036 /* confdefs.h.  */
103037 _ACEOF
103038 cat confdefs.h >>conftest.$ac_ext
103039 cat >>conftest.$ac_ext <<_ACEOF
103040 /* end confdefs.h.  */
103041 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
103042    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
103043 #define $ac_func innocuous_$ac_func
103044
103045 /* System header to define __stub macros and hopefully few prototypes,
103046     which can conflict with char $ac_func (); below.
103047     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
103048     <limits.h> exists even on freestanding compilers.  */
103049
103050 #ifdef __STDC__
103051 # include <limits.h>
103052 #else
103053 # include <assert.h>
103054 #endif
103055
103056 #undef $ac_func
103057
103058 /* Override any gcc2 internal prototype to avoid an error.  */
103059 #ifdef __cplusplus
103060 extern "C"
103061 {
103062 #endif
103063 /* We use char because int might match the return type of a gcc2
103064    builtin and then its argument prototype would still apply.  */
103065 char $ac_func ();
103066 /* The GNU C library defines this for functions which it implements
103067     to always fail with ENOSYS.  Some functions are actually named
103068     something starting with __ and the normal name is an alias.  */
103069 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
103070 choke me
103071 #else
103072 char (*f) () = $ac_func;
103073 #endif
103074 #ifdef __cplusplus
103075 }
103076 #endif
103077
103078 int
103079 main ()
103080 {
103081 return f != $ac_func;
103082   ;
103083   return 0;
103084 }
103085 _ACEOF
103086 rm -f conftest.$ac_objext conftest$ac_exeext
103087 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
103088   (eval $ac_link) 2>conftest.er1
103089   ac_status=$?
103090   grep -v '^ *+' conftest.er1 >conftest.err
103091   rm -f conftest.er1
103092   cat conftest.err >&5
103093   echo "$as_me:$LINENO: \$? = $ac_status" >&5
103094   (exit $ac_status); } &&
103095          { ac_try='test -z "$ac_c_werror_flag"
103096                          || test ! -s conftest.err'
103097   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
103098   (eval $ac_try) 2>&5
103099   ac_status=$?
103100   echo "$as_me:$LINENO: \$? = $ac_status" >&5
103101   (exit $ac_status); }; } &&
103102          { ac_try='test -s conftest$ac_exeext'
103103   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
103104   (eval $ac_try) 2>&5
103105   ac_status=$?
103106   echo "$as_me:$LINENO: \$? = $ac_status" >&5
103107   (exit $ac_status); }; }; then
103108   eval "$as_ac_var=yes"
103109 else
103110   echo "$as_me: failed program was:" >&5
103111 sed 's/^/| /' conftest.$ac_ext >&5
103112
103113 eval "$as_ac_var=no"
103114 fi
103115 rm -f conftest.err conftest.$ac_objext \
103116       conftest$ac_exeext conftest.$ac_ext
103117 fi
103118 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
103119 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
103120 if test `eval echo '${'$as_ac_var'}'` = yes; then
103121   cat >>confdefs.h <<_ACEOF
103122 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
103123 _ACEOF
103124
103125 else
103126   LIBMATHOBJS="$LIBMATHOBJS signbitf.lo"
103127 fi
103128 done
103129
103130
103131           if test x$ac_cv_func_copysignl = x"yes"; then
103132
103133 for ac_func in __signbitl
103134 do
103135 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
103136 echo "$as_me:$LINENO: checking for $ac_func" >&5
103137 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
103138 if eval "test \"\${$as_ac_var+set}\" = set"; then
103139   echo $ECHO_N "(cached) $ECHO_C" >&6
103140 else
103141   if test x$gcc_no_link = xyes; then
103142   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
103143 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
103144    { (exit 1); exit 1; }; }
103145 fi
103146 cat >conftest.$ac_ext <<_ACEOF
103147 /* confdefs.h.  */
103148 _ACEOF
103149 cat confdefs.h >>conftest.$ac_ext
103150 cat >>conftest.$ac_ext <<_ACEOF
103151 /* end confdefs.h.  */
103152 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
103153    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
103154 #define $ac_func innocuous_$ac_func
103155
103156 /* System header to define __stub macros and hopefully few prototypes,
103157     which can conflict with char $ac_func (); below.
103158     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
103159     <limits.h> exists even on freestanding compilers.  */
103160
103161 #ifdef __STDC__
103162 # include <limits.h>
103163 #else
103164 # include <assert.h>
103165 #endif
103166
103167 #undef $ac_func
103168
103169 /* Override any gcc2 internal prototype to avoid an error.  */
103170 #ifdef __cplusplus
103171 extern "C"
103172 {
103173 #endif
103174 /* We use char because int might match the return type of a gcc2
103175    builtin and then its argument prototype would still apply.  */
103176 char $ac_func ();
103177 /* The GNU C library defines this for functions which it implements
103178     to always fail with ENOSYS.  Some functions are actually named
103179     something starting with __ and the normal name is an alias.  */
103180 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
103181 choke me
103182 #else
103183 char (*f) () = $ac_func;
103184 #endif
103185 #ifdef __cplusplus
103186 }
103187 #endif
103188
103189 int
103190 main ()
103191 {
103192 return f != $ac_func;
103193   ;
103194   return 0;
103195 }
103196 _ACEOF
103197 rm -f conftest.$ac_objext conftest$ac_exeext
103198 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
103199   (eval $ac_link) 2>conftest.er1
103200   ac_status=$?
103201   grep -v '^ *+' conftest.er1 >conftest.err
103202   rm -f conftest.er1
103203   cat conftest.err >&5
103204   echo "$as_me:$LINENO: \$? = $ac_status" >&5
103205   (exit $ac_status); } &&
103206          { ac_try='test -z "$ac_c_werror_flag"
103207                          || test ! -s conftest.err'
103208   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
103209   (eval $ac_try) 2>&5
103210   ac_status=$?
103211   echo "$as_me:$LINENO: \$? = $ac_status" >&5
103212   (exit $ac_status); }; } &&
103213          { ac_try='test -s conftest$ac_exeext'
103214   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
103215   (eval $ac_try) 2>&5
103216   ac_status=$?
103217   echo "$as_me:$LINENO: \$? = $ac_status" >&5
103218   (exit $ac_status); }; }; then
103219   eval "$as_ac_var=yes"
103220 else
103221   echo "$as_me: failed program was:" >&5
103222 sed 's/^/| /' conftest.$ac_ext >&5
103223
103224 eval "$as_ac_var=no"
103225 fi
103226 rm -f conftest.err conftest.$ac_objext \
103227       conftest$ac_exeext conftest.$ac_ext
103228 fi
103229 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
103230 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
103231 if test `eval echo '${'$as_ac_var'}'` = yes; then
103232   cat >>confdefs.h <<_ACEOF
103233 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
103234 _ACEOF
103235
103236 else
103237   LIBMATHOBJS="$LIBMATHOBJS signbitl.lo"
103238 fi
103239 done
103240
103241   fi
103242
103243   # Used in libmath/Makefile.am.
103244   if test -n "$LIBMATHOBJS"; then
103245     need_libmath=yes
103246   fi
103247
103248
103249     cat >>confdefs.h <<\_ACEOF
103250 #define HAVE_COPYSIGN 1
103251 _ACEOF
103252
103253     cat >>confdefs.h <<\_ACEOF
103254 #define HAVE_COPYSIGNF 1
103255 _ACEOF
103256
103257     cat >>confdefs.h <<\_ACEOF
103258 #define HAVE_FINITE 1
103259 _ACEOF
103260
103261     cat >>confdefs.h <<\_ACEOF
103262 #define HAVE_FINITEF 1
103263 _ACEOF
103264
103265     cat >>confdefs.h <<\_ACEOF
103266 #define HAVE_FREXPF 1
103267 _ACEOF
103268
103269     cat >>confdefs.h <<\_ACEOF
103270 #define HAVE_HYPOTF 1
103271 _ACEOF
103272
103273     cat >>confdefs.h <<\_ACEOF
103274 #define HAVE_ISINF 1
103275 _ACEOF
103276
103277     cat >>confdefs.h <<\_ACEOF
103278 #define HAVE_ISINFF 1
103279 _ACEOF
103280
103281     cat >>confdefs.h <<\_ACEOF
103282 #define HAVE_ISNAN 1
103283 _ACEOF
103284
103285     cat >>confdefs.h <<\_ACEOF
103286 #define HAVE_ISNANF 1
103287 _ACEOF
103288
103289     cat >>confdefs.h <<\_ACEOF
103290 #define HAVE_SINCOS 1
103291 _ACEOF
103292
103293     cat >>confdefs.h <<\_ACEOF
103294 #define HAVE_SINCOSF 1
103295 _ACEOF
103296
103297     if test x"long_double_math_on_this_cpu" = x"yes"; then
103298       cat >>confdefs.h <<\_ACEOF
103299 #define HAVE_FINITEL 1
103300 _ACEOF
103301
103302       cat >>confdefs.h <<\_ACEOF
103303 #define HAVE_HYPOTL 1
103304 _ACEOF
103305
103306       cat >>confdefs.h <<\_ACEOF
103307 #define HAVE_ISINFL 1
103308 _ACEOF
103309
103310       cat >>confdefs.h <<\_ACEOF
103311 #define HAVE_ISNANL 1
103312 _ACEOF
103313
103314     fi
103315     ;;
103316   *-vxworks)
103317     cat >>confdefs.h <<\_ACEOF
103318 #define HAVE_MMAP 1
103319 _ACEOF
103320
103321     cat >>confdefs.h <<\_ACEOF
103322 #define HAVE_ACOSF 1
103323 _ACEOF
103324
103325     cat >>confdefs.h <<\_ACEOF
103326 #define HAVE_ASINF 1
103327 _ACEOF
103328
103329     cat >>confdefs.h <<\_ACEOF
103330 #define HAVE_ATAN2F 1
103331 _ACEOF
103332
103333     cat >>confdefs.h <<\_ACEOF
103334 #define HAVE_ATANF 1
103335 _ACEOF
103336
103337     cat >>confdefs.h <<\_ACEOF
103338 #define HAVE_CEILF 1
103339 _ACEOF
103340
103341     cat >>confdefs.h <<\_ACEOF
103342 #define HAVE_COSF 1
103343 _ACEOF
103344
103345     cat >>confdefs.h <<\_ACEOF
103346 #define HAVE_COSHF 1
103347 _ACEOF
103348
103349     cat >>confdefs.h <<\_ACEOF
103350 #define HAVE_EXPF 1
103351 _ACEOF
103352
103353     cat >>confdefs.h <<\_ACEOF
103354 #define HAVE_FABSF 1
103355 _ACEOF
103356
103357     cat >>confdefs.h <<\_ACEOF
103358 #define HAVE_FLOORF 1
103359 _ACEOF
103360
103361     cat >>confdefs.h <<\_ACEOF
103362 #define HAVE_FMODF 1
103363 _ACEOF
103364
103365     cat >>confdefs.h <<\_ACEOF
103366 #define HAVE_HYPOT 1
103367 _ACEOF
103368
103369     cat >>confdefs.h <<\_ACEOF
103370 #define HAVE_LOG10F 1
103371 _ACEOF
103372
103373     cat >>confdefs.h <<\_ACEOF
103374 #define HAVE_LOGF 1
103375 _ACEOF
103376
103377     cat >>confdefs.h <<\_ACEOF
103378 #define HAVE_POWF 1
103379 _ACEOF
103380
103381     cat >>confdefs.h <<\_ACEOF
103382 #define HAVE_SINF 1
103383 _ACEOF
103384
103385     cat >>confdefs.h <<\_ACEOF
103386 #define HAVE_SINHF 1
103387 _ACEOF
103388
103389     cat >>confdefs.h <<\_ACEOF
103390 #define HAVE_SQRTF 1
103391 _ACEOF
103392
103393     cat >>confdefs.h <<\_ACEOF
103394 #define HAVE_TANF 1
103395 _ACEOF
103396
103397     cat >>confdefs.h <<\_ACEOF
103398 #define HAVE_TANHF 1
103399 _ACEOF
103400
103401     ;;
103402   *-windiss*)
103403     cat >>confdefs.h <<\_ACEOF
103404 #define HAVE_ACOSF 1
103405 _ACEOF
103406
103407     cat >>confdefs.h <<\_ACEOF
103408 #define HAVE_ACOSL 1
103409 _ACEOF
103410
103411     cat >>confdefs.h <<\_ACEOF
103412 #define HAVE_ASINF 1
103413 _ACEOF
103414
103415     cat >>confdefs.h <<\_ACEOF
103416 #define HAVE_ASINL 1
103417 _ACEOF
103418
103419     cat >>confdefs.h <<\_ACEOF
103420 #define HAVE_ATAN2F 1
103421 _ACEOF
103422
103423     cat >>confdefs.h <<\_ACEOF
103424 #define HAVE_ATAN2L 1
103425 _ACEOF
103426
103427     cat >>confdefs.h <<\_ACEOF
103428 #define HAVE_ATANF 1
103429 _ACEOF
103430
103431     cat >>confdefs.h <<\_ACEOF
103432 #define HAVE_ATANL 1
103433 _ACEOF
103434
103435     cat >>confdefs.h <<\_ACEOF
103436 #define HAVE_CEILF 1
103437 _ACEOF
103438
103439     cat >>confdefs.h <<\_ACEOF
103440 #define HAVE_CEILL 1
103441 _ACEOF
103442
103443     cat >>confdefs.h <<\_ACEOF
103444 #define HAVE_COPYSIGN 1
103445 _ACEOF
103446
103447     cat >>confdefs.h <<\_ACEOF
103448 #define HAVE_COPYSIGNF 1
103449 _ACEOF
103450
103451     cat >>confdefs.h <<\_ACEOF
103452 #define HAVE_COSF 1
103453 _ACEOF
103454
103455     cat >>confdefs.h <<\_ACEOF
103456 #define HAVE_COSL 1
103457 _ACEOF
103458
103459     cat >>confdefs.h <<\_ACEOF
103460 #define HAVE_COSHF 1
103461 _ACEOF
103462
103463     cat >>confdefs.h <<\_ACEOF
103464 #define HAVE_COSHL 1
103465 _ACEOF
103466
103467     cat >>confdefs.h <<\_ACEOF
103468 #define HAVE_EXPF 1
103469 _ACEOF
103470
103471     cat >>confdefs.h <<\_ACEOF
103472 #define HAVE_EXPL 1
103473 _ACEOF
103474
103475     cat >>confdefs.h <<\_ACEOF
103476 #define HAVE_FABSF 1
103477 _ACEOF
103478
103479     cat >>confdefs.h <<\_ACEOF
103480 #define HAVE_FABSL 1
103481 _ACEOF
103482
103483     cat >>confdefs.h <<\_ACEOF
103484 #define HAVE_FLOORF 1
103485 _ACEOF
103486
103487     cat >>confdefs.h <<\_ACEOF
103488 #define HAVE_FLOORL 1
103489 _ACEOF
103490
103491     cat >>confdefs.h <<\_ACEOF
103492 #define HAVE_FMODF 1
103493 _ACEOF
103494
103495     cat >>confdefs.h <<\_ACEOF
103496 #define HAVE_FMODL 1
103497 _ACEOF
103498
103499     cat >>confdefs.h <<\_ACEOF
103500 #define HAVE_FREXPF 1
103501 _ACEOF
103502
103503     cat >>confdefs.h <<\_ACEOF
103504 #define HAVE_FREXPL 1
103505 _ACEOF
103506
103507     cat >>confdefs.h <<\_ACEOF
103508 #define HAVE_LDEXPF 1
103509 _ACEOF
103510
103511     cat >>confdefs.h <<\_ACEOF
103512 #define HAVE_LDEXPL 1
103513 _ACEOF
103514
103515     cat >>confdefs.h <<\_ACEOF
103516 #define HAVE_LOG10F 1
103517 _ACEOF
103518
103519     cat >>confdefs.h <<\_ACEOF
103520 #define HAVE_LOG10L 1
103521 _ACEOF
103522
103523     cat >>confdefs.h <<\_ACEOF
103524 #define HAVE_LOGF 1
103525 _ACEOF
103526
103527     cat >>confdefs.h <<\_ACEOF
103528 #define HAVE_MODFF 1
103529 _ACEOF
103530
103531     cat >>confdefs.h <<\_ACEOF
103532 #define HAVE_MODFL 1
103533 _ACEOF
103534
103535     cat >>confdefs.h <<\_ACEOF
103536 #define HAVE_POWF 1
103537 _ACEOF
103538
103539     cat >>confdefs.h <<\_ACEOF
103540 #define HAVE_POWL 1
103541 _ACEOF
103542
103543     cat >>confdefs.h <<\_ACEOF
103544 #define HAVE_SINF 1
103545 _ACEOF
103546
103547     cat >>confdefs.h <<\_ACEOF
103548 #define HAVE_SINL 1
103549 _ACEOF
103550
103551     cat >>confdefs.h <<\_ACEOF
103552 #define HAVE_SINHF 1
103553 _ACEOF
103554
103555     cat >>confdefs.h <<\_ACEOF
103556 #define HAVE_SINHL 1
103557 _ACEOF
103558
103559     cat >>confdefs.h <<\_ACEOF
103560 #define HAVE_SQRTF 1
103561 _ACEOF
103562
103563     cat >>confdefs.h <<\_ACEOF
103564 #define HAVE_SQRTL 1
103565 _ACEOF
103566
103567     cat >>confdefs.h <<\_ACEOF
103568 #define HAVE_TANF 1
103569 _ACEOF
103570
103571     cat >>confdefs.h <<\_ACEOF
103572 #define HAVE_TANL 1
103573 _ACEOF
103574
103575     cat >>confdefs.h <<\_ACEOF
103576 #define HAVE_TANHF 1
103577 _ACEOF
103578
103579     cat >>confdefs.h <<\_ACEOF
103580 #define HAVE_TANHL 1
103581 _ACEOF
103582
103583     ;;
103584   *)
103585     { { echo "$as_me:$LINENO: error: No support for this host/target combination." >&5
103586 echo "$as_me: error: No support for this host/target combination." >&2;}
103587    { (exit 1); exit 1; }; }
103588    ;;
103589 esac
103590
103591   fi
103592
103593   # At some point, we should differentiate between architectures
103594   # like x86, which have long double versions, and alpha/powerpc/etc.,
103595   # which don't. For the time being, punt.
103596   if test x"long_double_math_on_this_cpu" = x"yes"; then
103597     cat >>confdefs.h <<\_ACEOF
103598 #define HAVE_ACOSL 1
103599 _ACEOF
103600
103601     cat >>confdefs.h <<\_ACEOF
103602 #define HAVE_ASINL 1
103603 _ACEOF
103604
103605     cat >>confdefs.h <<\_ACEOF
103606 #define HAVE_ATAN2L 1
103607 _ACEOF
103608
103609     cat >>confdefs.h <<\_ACEOF
103610 #define HAVE_ATANL 1
103611 _ACEOF
103612
103613     cat >>confdefs.h <<\_ACEOF
103614 #define HAVE_CEILL 1
103615 _ACEOF
103616
103617     cat >>confdefs.h <<\_ACEOF
103618 #define HAVE_COPYSIGNL 1
103619 _ACEOF
103620
103621     cat >>confdefs.h <<\_ACEOF
103622 #define HAVE_COSL 1
103623 _ACEOF
103624
103625     cat >>confdefs.h <<\_ACEOF
103626 #define HAVE_COSHL 1
103627 _ACEOF
103628
103629     cat >>confdefs.h <<\_ACEOF
103630 #define HAVE_EXPL 1
103631 _ACEOF
103632
103633     cat >>confdefs.h <<\_ACEOF
103634 #define HAVE_FABSL 1
103635 _ACEOF
103636
103637     cat >>confdefs.h <<\_ACEOF
103638 #define HAVE_FLOORL 1
103639 _ACEOF
103640
103641     cat >>confdefs.h <<\_ACEOF
103642 #define HAVE_FMODL 1
103643 _ACEOF
103644
103645     cat >>confdefs.h <<\_ACEOF
103646 #define HAVE_FREXPL 1
103647 _ACEOF
103648
103649     cat >>confdefs.h <<\_ACEOF
103650 #define HAVE_LDEXPL 1
103651 _ACEOF
103652
103653     cat >>confdefs.h <<\_ACEOF
103654 #define HAVE_LOG10L 1
103655 _ACEOF
103656
103657     cat >>confdefs.h <<\_ACEOF
103658 #define HAVE_LOGL 1
103659 _ACEOF
103660
103661     cat >>confdefs.h <<\_ACEOF
103662 #define HAVE_MODFL 1
103663 _ACEOF
103664
103665     cat >>confdefs.h <<\_ACEOF
103666 #define HAVE_POWL 1
103667 _ACEOF
103668
103669     cat >>confdefs.h <<\_ACEOF
103670 #define HAVE_SINCOSL 1
103671 _ACEOF
103672
103673     cat >>confdefs.h <<\_ACEOF
103674 #define HAVE_SINL 1
103675 _ACEOF
103676
103677     cat >>confdefs.h <<\_ACEOF
103678 #define HAVE_SINHL 1
103679 _ACEOF
103680
103681     cat >>confdefs.h <<\_ACEOF
103682 #define HAVE_SQRTL 1
103683 _ACEOF
103684
103685     cat >>confdefs.h <<\_ACEOF
103686 #define HAVE_TANL 1
103687 _ACEOF
103688
103689     cat >>confdefs.h <<\_ACEOF
103690 #define HAVE_TANHL 1
103691 _ACEOF
103692
103693   fi
103694
103695   # Assume we have _Unwind_GetIPInfo for cross-compiles.
103696   cat >>confdefs.h <<\_ACEOF
103697 #define HAVE_GETIPINFO 1
103698 _ACEOF
103699
103700
103701 fi
103702
103703 # This depends on GLIBCXX CHECK_LINKER_FEATURES, but without it assumes no.
103704
103705
103706  # Check whether --enable-symvers or --disable-symvers was given.
103707 if test "${enable_symvers+set}" = set; then
103708   enableval="$enable_symvers"
103709
103710       case "$enableval" in
103711        yes|no|gnu|gnu-versioned-namespace|darwin|darwin-export) ;;
103712        *) { { echo "$as_me:$LINENO: error: Unknown argument to enable/disable symvers" >&5
103713 echo "$as_me: error: Unknown argument to enable/disable symvers" >&2;}
103714    { (exit 1); exit 1; }; } ;;
103715                           esac
103716
103717 else
103718   enable_symvers=yes
103719 fi;
103720
103721
103722 # If we never went through the GLIBCXX_CHECK_LINKER_FEATURES macro, then we
103723 # don't know enough about $LD to do tricks...
103724
103725
103726 # Turn a 'yes' into a suitable default.
103727 if test x$enable_symvers = xyes ; then
103728   if test $enable_shared = no || test "x$LD" = x || test x$gcc_no_link = xyes; then
103729     enable_symvers=no
103730   else
103731     if test $with_gnu_ld = yes ; then
103732       enable_symvers=gnu
103733     else
103734       case ${target_os} in
103735         darwin*)
103736           enable_symvers=darwin ;;
103737         *)
103738           enable_symvers=no ;;
103739       esac
103740     fi
103741   fi
103742 fi
103743
103744 # Check to see if 'darwin' or 'darwin-export' can win.
103745 if test x$enable_symvers = xdarwin-export ; then
103746     enable_symvers=darwin
103747 fi
103748
103749 # Check to see if 'gnu' can win.
103750 if test $enable_symvers = gnu || test $enable_symvers = gnu-versioned-namespace; then
103751   # Check to see if libgcc_s exists, indicating that shared libgcc is possible.
103752   echo "$as_me:$LINENO: checking for shared libgcc" >&5
103753 echo $ECHO_N "checking for shared libgcc... $ECHO_C" >&6
103754   ac_save_CFLAGS="$CFLAGS"
103755   CFLAGS=' -lgcc_s'
103756   if test x$gcc_no_link = xyes; then
103757   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
103758 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
103759    { (exit 1); exit 1; }; }
103760 fi
103761 cat >conftest.$ac_ext <<_ACEOF
103762 /* confdefs.h.  */
103763 _ACEOF
103764 cat confdefs.h >>conftest.$ac_ext
103765 cat >>conftest.$ac_ext <<_ACEOF
103766 /* end confdefs.h.  */
103767
103768 int
103769 main ()
103770 {
103771 return 0;
103772   ;
103773   return 0;
103774 }
103775 _ACEOF
103776 rm -f conftest.$ac_objext conftest$ac_exeext
103777 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
103778   (eval $ac_link) 2>conftest.er1
103779   ac_status=$?
103780   grep -v '^ *+' conftest.er1 >conftest.err
103781   rm -f conftest.er1
103782   cat conftest.err >&5
103783   echo "$as_me:$LINENO: \$? = $ac_status" >&5
103784   (exit $ac_status); } &&
103785          { ac_try='test -z "$ac_c_werror_flag"
103786                          || test ! -s conftest.err'
103787   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
103788   (eval $ac_try) 2>&5
103789   ac_status=$?
103790   echo "$as_me:$LINENO: \$? = $ac_status" >&5
103791   (exit $ac_status); }; } &&
103792          { ac_try='test -s conftest$ac_exeext'
103793   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
103794   (eval $ac_try) 2>&5
103795   ac_status=$?
103796   echo "$as_me:$LINENO: \$? = $ac_status" >&5
103797   (exit $ac_status); }; }; then
103798   glibcxx_shared_libgcc=yes
103799 else
103800   echo "$as_me: failed program was:" >&5
103801 sed 's/^/| /' conftest.$ac_ext >&5
103802
103803 glibcxx_shared_libgcc=no
103804 fi
103805 rm -f conftest.err conftest.$ac_objext \
103806       conftest$ac_exeext conftest.$ac_ext
103807   CFLAGS="$ac_save_CFLAGS"
103808   if test $glibcxx_shared_libgcc = no; then
103809     cat > conftest.c <<EOF
103810 int main (void) { return 0; }
103811 EOF
103812     glibcxx_libgcc_s_suffix=`${CC-cc} $CFLAGS $CPPFLAGS $LDFLAGS \
103813                              -shared -shared-libgcc -o conftest.so \
103814                              conftest.c -v 2>&1 >/dev/null \
103815                              | sed -n 's/^.* -lgcc_s\([^ ]*\) .*$/\1/p'`
103816     rm -f conftest.c conftest.so
103817     if test x${glibcxx_libgcc_s_suffix+set} = xset; then
103818       CFLAGS=" -lgcc_s$glibcxx_libgcc_s_suffix"
103819       if test x$gcc_no_link = xyes; then
103820   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
103821 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
103822    { (exit 1); exit 1; }; }
103823 fi
103824 cat >conftest.$ac_ext <<_ACEOF
103825 /* confdefs.h.  */
103826 _ACEOF
103827 cat confdefs.h >>conftest.$ac_ext
103828 cat >>conftest.$ac_ext <<_ACEOF
103829 /* end confdefs.h.  */
103830
103831 int
103832 main ()
103833 {
103834 return 0;
103835   ;
103836   return 0;
103837 }
103838 _ACEOF
103839 rm -f conftest.$ac_objext conftest$ac_exeext
103840 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
103841   (eval $ac_link) 2>conftest.er1
103842   ac_status=$?
103843   grep -v '^ *+' conftest.er1 >conftest.err
103844   rm -f conftest.er1
103845   cat conftest.err >&5
103846   echo "$as_me:$LINENO: \$? = $ac_status" >&5
103847   (exit $ac_status); } &&
103848          { ac_try='test -z "$ac_c_werror_flag"
103849                          || test ! -s conftest.err'
103850   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
103851   (eval $ac_try) 2>&5
103852   ac_status=$?
103853   echo "$as_me:$LINENO: \$? = $ac_status" >&5
103854   (exit $ac_status); }; } &&
103855          { ac_try='test -s conftest$ac_exeext'
103856   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
103857   (eval $ac_try) 2>&5
103858   ac_status=$?
103859   echo "$as_me:$LINENO: \$? = $ac_status" >&5
103860   (exit $ac_status); }; }; then
103861   glibcxx_shared_libgcc=yes
103862 else
103863   echo "$as_me: failed program was:" >&5
103864 sed 's/^/| /' conftest.$ac_ext >&5
103865
103866 fi
103867 rm -f conftest.err conftest.$ac_objext \
103868       conftest$ac_exeext conftest.$ac_ext
103869       CFLAGS="$ac_save_CFLAGS"
103870     fi
103871   fi
103872   echo "$as_me:$LINENO: result: $glibcxx_shared_libgcc" >&5
103873 echo "${ECHO_T}$glibcxx_shared_libgcc" >&6
103874
103875   # For GNU ld, we need at least this version.  The format is described in
103876   # GLIBCXX_CHECK_LINKER_FEATURES above.
103877   glibcxx_min_gnu_ld_version=21400
103878
103879   # If no shared libgcc, can't win.
103880   if test $glibcxx_shared_libgcc != yes; then
103881       { echo "$as_me:$LINENO: WARNING: === You have requested GNU symbol versioning, but" >&5
103882 echo "$as_me: WARNING: === You have requested GNU symbol versioning, but" >&2;}
103883       { echo "$as_me:$LINENO: WARNING: === you are not building a shared libgcc_s." >&5
103884 echo "$as_me: WARNING: === you are not building a shared libgcc_s." >&2;}
103885       { echo "$as_me:$LINENO: WARNING: === Symbol versioning will be disabled." >&5
103886 echo "$as_me: WARNING: === Symbol versioning will be disabled." >&2;}
103887       enable_symvers=no
103888   elif test $with_gnu_ld != yes ; then
103889     # just fail for now
103890     { echo "$as_me:$LINENO: WARNING: === You have requested GNU symbol versioning, but" >&5
103891 echo "$as_me: WARNING: === You have requested GNU symbol versioning, but" >&2;}
103892     { echo "$as_me:$LINENO: WARNING: === you are not using the GNU linker." >&5
103893 echo "$as_me: WARNING: === you are not using the GNU linker." >&2;}
103894     { echo "$as_me:$LINENO: WARNING: === Symbol versioning will be disabled." >&5
103895 echo "$as_me: WARNING: === Symbol versioning will be disabled." >&2;}
103896     enable_symvers=no
103897   elif test $glibcxx_gnu_ld_version -lt $glibcxx_min_gnu_ld_version ; then
103898     # The right tools, the right setup, but too old.  Fallbacks?
103899     { echo "$as_me:$LINENO: WARNING: === Linker version $glibcxx_gnu_ld_version is too old for" >&5
103900 echo "$as_me: WARNING: === Linker version $glibcxx_gnu_ld_version is too old for" >&2;}
103901     { echo "$as_me:$LINENO: WARNING: === full symbol versioning support in this release of GCC." >&5
103902 echo "$as_me: WARNING: === full symbol versioning support in this release of GCC." >&2;}
103903     { echo "$as_me:$LINENO: WARNING: === You would need to upgrade your binutils to version" >&5
103904 echo "$as_me: WARNING: === You would need to upgrade your binutils to version" >&2;}
103905     { echo "$as_me:$LINENO: WARNING: === $glibcxx_min_gnu_ld_version or later and rebuild GCC." >&5
103906 echo "$as_me: WARNING: === $glibcxx_min_gnu_ld_version or later and rebuild GCC." >&2;}
103907     { echo "$as_me:$LINENO: WARNING: === Symbol versioning will be disabled." >&5
103908 echo "$as_me: WARNING: === Symbol versioning will be disabled." >&2;}
103909     enable_symvers=no
103910   fi
103911 fi
103912
103913 # Everything parsed; figure out what file to use.
103914 case $enable_symvers in
103915   no)
103916     SYMVER_FILE=config/abi/pre/none.ver
103917     ;;
103918   gnu)
103919     SYMVER_FILE=config/abi/pre/gnu.ver
103920
103921 cat >>confdefs.h <<\_ACEOF
103922 #define _GLIBCXX_SYMVER_GNU 1
103923 _ACEOF
103924
103925     ;;
103926   gnu-versioned-namespace)
103927     SYMVER_FILE=config/abi/pre/gnu-versioned-namespace.ver
103928
103929 cat >>confdefs.h <<\_ACEOF
103930 #define _GLIBCXX_SYMVER_GNU_NAMESPACE 1
103931 _ACEOF
103932
103933     ;;
103934   darwin)
103935     SYMVER_FILE=config/abi/pre/gnu.ver
103936
103937 cat >>confdefs.h <<\_ACEOF
103938 #define _GLIBCXX_SYMVER_DARWIN 1
103939 _ACEOF
103940
103941     ;;
103942 esac
103943
103944 if test x$enable_symvers != xno ; then
103945
103946 cat >>confdefs.h <<\_ACEOF
103947 #define _GLIBCXX_SYMVER 1
103948 _ACEOF
103949
103950 fi
103951
103952
103953
103954
103955
103956
103957
103958 { echo "$as_me:$LINENO: versioning on shared library symbols is $enable_symvers" >&5
103959 echo "$as_me: versioning on shared library symbols is $enable_symvers" >&6;}
103960
103961 # Now, set up compatibility support, if any.
103962 # In addition, need this to deal with std::size_t mangling in
103963 # src/compatibility.cc.  In a perfect world, could use
103964 # typeid(std::size_t).name()[0] to do direct substitution.
103965 echo "$as_me:$LINENO: checking for size_t as unsigned int" >&5
103966 echo $ECHO_N "checking for size_t as unsigned int... $ECHO_C" >&6
103967 ac_save_CFLAGS="$CFLAGS"
103968 CFLAGS="-Werror"
103969 cat >conftest.$ac_ext <<_ACEOF
103970 /* confdefs.h.  */
103971 _ACEOF
103972 cat confdefs.h >>conftest.$ac_ext
103973 cat >>conftest.$ac_ext <<_ACEOF
103974 /* end confdefs.h.  */
103975
103976 int
103977 main ()
103978 {
103979 __SIZE_TYPE__* stp; unsigned int* uip; stp = uip;
103980   ;
103981   return 0;
103982 }
103983 _ACEOF
103984 rm -f conftest.$ac_objext
103985 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
103986   (eval $ac_compile) 2>conftest.er1
103987   ac_status=$?
103988   grep -v '^ *+' conftest.er1 >conftest.err
103989   rm -f conftest.er1
103990   cat conftest.err >&5
103991   echo "$as_me:$LINENO: \$? = $ac_status" >&5
103992   (exit $ac_status); } &&
103993          { ac_try='test -z "$ac_c_werror_flag"
103994                          || test ! -s conftest.err'
103995   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
103996   (eval $ac_try) 2>&5
103997   ac_status=$?
103998   echo "$as_me:$LINENO: \$? = $ac_status" >&5
103999   (exit $ac_status); }; } &&
104000          { ac_try='test -s conftest.$ac_objext'
104001   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
104002   (eval $ac_try) 2>&5
104003   ac_status=$?
104004   echo "$as_me:$LINENO: \$? = $ac_status" >&5
104005   (exit $ac_status); }; }; then
104006   glibcxx_size_t_is_i=yes
104007 else
104008   echo "$as_me: failed program was:" >&5
104009 sed 's/^/| /' conftest.$ac_ext >&5
104010
104011 glibcxx_size_t_is_i=no
104012 fi
104013 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
104014 CFLAGS=$ac_save_CFLAGS
104015 if test "$glibcxx_size_t_is_i" = yes; then
104016
104017 cat >>confdefs.h <<\_ACEOF
104018 #define _GLIBCXX_SIZE_T_IS_UINT 1
104019 _ACEOF
104020
104021 fi
104022 echo "$as_me:$LINENO: result: $glibcxx_size_t_is_i" >&5
104023 echo "${ECHO_T}$glibcxx_size_t_is_i" >&6
104024
104025 echo "$as_me:$LINENO: checking for ptrdiff_t as int" >&5
104026 echo $ECHO_N "checking for ptrdiff_t as int... $ECHO_C" >&6
104027 ac_save_CFLAGS="$CFLAGS"
104028 CFLAGS="-Werror"
104029 cat >conftest.$ac_ext <<_ACEOF
104030 /* confdefs.h.  */
104031 _ACEOF
104032 cat confdefs.h >>conftest.$ac_ext
104033 cat >>conftest.$ac_ext <<_ACEOF
104034 /* end confdefs.h.  */
104035
104036 int
104037 main ()
104038 {
104039 __PTRDIFF_TYPE__* ptp; int* ip; ptp = ip;
104040   ;
104041   return 0;
104042 }
104043 _ACEOF
104044 rm -f conftest.$ac_objext
104045 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
104046   (eval $ac_compile) 2>conftest.er1
104047   ac_status=$?
104048   grep -v '^ *+' conftest.er1 >conftest.err
104049   rm -f conftest.er1
104050   cat conftest.err >&5
104051   echo "$as_me:$LINENO: \$? = $ac_status" >&5
104052   (exit $ac_status); } &&
104053          { ac_try='test -z "$ac_c_werror_flag"
104054                          || test ! -s conftest.err'
104055   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
104056   (eval $ac_try) 2>&5
104057   ac_status=$?
104058   echo "$as_me:$LINENO: \$? = $ac_status" >&5
104059   (exit $ac_status); }; } &&
104060          { ac_try='test -s conftest.$ac_objext'
104061   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
104062   (eval $ac_try) 2>&5
104063   ac_status=$?
104064   echo "$as_me:$LINENO: \$? = $ac_status" >&5
104065   (exit $ac_status); }; }; then
104066   glibcxx_ptrdiff_t_is_i=yes
104067 else
104068   echo "$as_me: failed program was:" >&5
104069 sed 's/^/| /' conftest.$ac_ext >&5
104070
104071 glibcxx_ptrdiff_t_is_i=no
104072 fi
104073 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
104074 CFLAGS=$ac_save_CFLAGS
104075 if test "$glibcxx_ptrdiff_t_is_i" = yes; then
104076
104077 cat >>confdefs.h <<\_ACEOF
104078 #define _GLIBCXX_PTRDIFF_T_IS_INT 1
104079 _ACEOF
104080
104081 fi
104082 echo "$as_me:$LINENO: result: $glibcxx_ptrdiff_t_is_i" >&5
104083 echo "${ECHO_T}$glibcxx_ptrdiff_t_is_i" >&6
104084
104085
104086  # Check whether --enable-visibility or --disable-visibility was given.
104087 if test "${enable_visibility+set}" = set; then
104088   enableval="$enable_visibility"
104089
104090       case "$enableval" in
104091        yes|no) ;;
104092        *) { { echo "$as_me:$LINENO: error: Argument to enable/disable visibility must be yes or no" >&5
104093 echo "$as_me: error: Argument to enable/disable visibility must be yes or no" >&2;}
104094    { (exit 1); exit 1; }; } ;;
104095       esac
104096
104097 else
104098   enable_visibility=yes
104099 fi;
104100
104101
104102 if test x$enable_visibility = xyes ; then
104103       echo "$as_me:$LINENO: checking whether the target supports hidden visibility" >&5
104104 echo $ECHO_N "checking whether the target supports hidden visibility... $ECHO_C" >&6
104105 if test "${have_attribute_visibility+set}" = set; then
104106   echo $ECHO_N "(cached) $ECHO_C" >&6
104107 else
104108
104109   save_CFLAGS="$CFLAGS"
104110   CFLAGS="$CFLAGS -Werror"
104111   cat >conftest.$ac_ext <<_ACEOF
104112 /* confdefs.h.  */
104113 _ACEOF
104114 cat confdefs.h >>conftest.$ac_ext
104115 cat >>conftest.$ac_ext <<_ACEOF
104116 /* end confdefs.h.  */
104117 void __attribute__((visibility("hidden"))) foo(void) { }
104118 int
104119 main ()
104120 {
104121
104122   ;
104123   return 0;
104124 }
104125 _ACEOF
104126 rm -f conftest.$ac_objext
104127 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
104128   (eval $ac_compile) 2>conftest.er1
104129   ac_status=$?
104130   grep -v '^ *+' conftest.er1 >conftest.err
104131   rm -f conftest.er1
104132   cat conftest.err >&5
104133   echo "$as_me:$LINENO: \$? = $ac_status" >&5
104134   (exit $ac_status); } &&
104135          { ac_try='test -z "$ac_c_werror_flag"
104136                          || test ! -s conftest.err'
104137   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
104138   (eval $ac_try) 2>&5
104139   ac_status=$?
104140   echo "$as_me:$LINENO: \$? = $ac_status" >&5
104141   (exit $ac_status); }; } &&
104142          { ac_try='test -s conftest.$ac_objext'
104143   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
104144   (eval $ac_try) 2>&5
104145   ac_status=$?
104146   echo "$as_me:$LINENO: \$? = $ac_status" >&5
104147   (exit $ac_status); }; }; then
104148   have_attribute_visibility=yes
104149 else
104150   echo "$as_me: failed program was:" >&5
104151 sed 's/^/| /' conftest.$ac_ext >&5
104152
104153 have_attribute_visibility=no
104154 fi
104155 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
104156   CFLAGS="$save_CFLAGS"
104157 fi
104158 echo "$as_me:$LINENO: result: $have_attribute_visibility" >&5
104159 echo "${ECHO_T}$have_attribute_visibility" >&6
104160   if test $have_attribute_visibility = no; then
104161     enable_visibility=no
104162   fi
104163 fi
104164
104165
104166 { echo "$as_me:$LINENO: visibility supported: $enable_visibility" >&5
104167 echo "$as_me: visibility supported: $enable_visibility" >&6;}
104168
104169
104170 ac_ldbl_compat=no
104171 case "$target" in
104172   powerpc*-*-*gnu* | \
104173   sparc*-*-linux* | \
104174   s390*-*-linux* | \
104175   alpha*-*-linux*)
104176   cat >conftest.$ac_ext <<_ACEOF
104177 /* confdefs.h.  */
104178 _ACEOF
104179 cat confdefs.h >>conftest.$ac_ext
104180 cat >>conftest.$ac_ext <<_ACEOF
104181 /* end confdefs.h.  */
104182
104183 int
104184 main ()
104185 {
104186
104187 #if !defined __LONG_DOUBLE_128__ || (defined(__sparc__) && defined(__arch64__))
104188 #error no need for long double compatibility
104189 #endif
104190
104191   ;
104192   return 0;
104193 }
104194 _ACEOF
104195 rm -f conftest.$ac_objext
104196 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
104197   (eval $ac_compile) 2>conftest.er1
104198   ac_status=$?
104199   grep -v '^ *+' conftest.er1 >conftest.err
104200   rm -f conftest.er1
104201   cat conftest.err >&5
104202   echo "$as_me:$LINENO: \$? = $ac_status" >&5
104203   (exit $ac_status); } &&
104204          { ac_try='test -z "$ac_c_werror_flag"
104205                          || test ! -s conftest.err'
104206   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
104207   (eval $ac_try) 2>&5
104208   ac_status=$?
104209   echo "$as_me:$LINENO: \$? = $ac_status" >&5
104210   (exit $ac_status); }; } &&
104211          { ac_try='test -s conftest.$ac_objext'
104212   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
104213   (eval $ac_try) 2>&5
104214   ac_status=$?
104215   echo "$as_me:$LINENO: \$? = $ac_status" >&5
104216   (exit $ac_status); }; }; then
104217   ac_ldbl_compat=yes
104218 else
104219   echo "$as_me: failed program was:" >&5
104220 sed 's/^/| /' conftest.$ac_ext >&5
104221
104222 ac_ldbl_compat=no
104223 fi
104224 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
104225   if test "$ac_ldbl_compat" = yes; then
104226
104227 cat >>confdefs.h <<\_ACEOF
104228 #define _GLIBCXX_LONG_DOUBLE_COMPAT 1
104229 _ACEOF
104230
104231     port_specific_symbol_files="\$(top_srcdir)/config/os/gnu-linux/ldbl-extra.ver"
104232   fi
104233 esac
104234
104235
104236 # This depends on GLIBCXX_ENABLE_SYMVERS and GLIBCXX_IS_NATIVE.
104237
104238   if $GLIBCXX_IS_NATIVE ; then
104239     # Do checks for resource limit functions.
104240
104241   setrlimit_have_headers=yes
104242
104243
104244
104245 for ac_header in unistd.h sys/time.h sys/resource.h
104246 do
104247 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
104248 if eval "test \"\${$as_ac_Header+set}\" = set"; then
104249   echo "$as_me:$LINENO: checking for $ac_header" >&5
104250 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
104251 if eval "test \"\${$as_ac_Header+set}\" = set"; then
104252   echo $ECHO_N "(cached) $ECHO_C" >&6
104253 fi
104254 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
104255 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
104256 else
104257   # Is the header compilable?
104258 echo "$as_me:$LINENO: checking $ac_header usability" >&5
104259 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
104260 cat >conftest.$ac_ext <<_ACEOF
104261 /* confdefs.h.  */
104262 _ACEOF
104263 cat confdefs.h >>conftest.$ac_ext
104264 cat >>conftest.$ac_ext <<_ACEOF
104265 /* end confdefs.h.  */
104266 $ac_includes_default
104267 #include <$ac_header>
104268 _ACEOF
104269 rm -f conftest.$ac_objext
104270 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
104271   (eval $ac_compile) 2>conftest.er1
104272   ac_status=$?
104273   grep -v '^ *+' conftest.er1 >conftest.err
104274   rm -f conftest.er1
104275   cat conftest.err >&5
104276   echo "$as_me:$LINENO: \$? = $ac_status" >&5
104277   (exit $ac_status); } &&
104278          { ac_try='test -z "$ac_c_werror_flag"
104279                          || test ! -s conftest.err'
104280   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
104281   (eval $ac_try) 2>&5
104282   ac_status=$?
104283   echo "$as_me:$LINENO: \$? = $ac_status" >&5
104284   (exit $ac_status); }; } &&
104285          { ac_try='test -s conftest.$ac_objext'
104286   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
104287   (eval $ac_try) 2>&5
104288   ac_status=$?
104289   echo "$as_me:$LINENO: \$? = $ac_status" >&5
104290   (exit $ac_status); }; }; then
104291   ac_header_compiler=yes
104292 else
104293   echo "$as_me: failed program was:" >&5
104294 sed 's/^/| /' conftest.$ac_ext >&5
104295
104296 ac_header_compiler=no
104297 fi
104298 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
104299 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
104300 echo "${ECHO_T}$ac_header_compiler" >&6
104301
104302 # Is the header present?
104303 echo "$as_me:$LINENO: checking $ac_header presence" >&5
104304 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
104305 cat >conftest.$ac_ext <<_ACEOF
104306 /* confdefs.h.  */
104307 _ACEOF
104308 cat confdefs.h >>conftest.$ac_ext
104309 cat >>conftest.$ac_ext <<_ACEOF
104310 /* end confdefs.h.  */
104311 #include <$ac_header>
104312 _ACEOF
104313 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
104314   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
104315   ac_status=$?
104316   grep -v '^ *+' conftest.er1 >conftest.err
104317   rm -f conftest.er1
104318   cat conftest.err >&5
104319   echo "$as_me:$LINENO: \$? = $ac_status" >&5
104320   (exit $ac_status); } >/dev/null; then
104321   if test -s conftest.err; then
104322     ac_cpp_err=$ac_c_preproc_warn_flag
104323     ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
104324   else
104325     ac_cpp_err=
104326   fi
104327 else
104328   ac_cpp_err=yes
104329 fi
104330 if test -z "$ac_cpp_err"; then
104331   ac_header_preproc=yes
104332 else
104333   echo "$as_me: failed program was:" >&5
104334 sed 's/^/| /' conftest.$ac_ext >&5
104335
104336   ac_header_preproc=no
104337 fi
104338 rm -f conftest.err conftest.$ac_ext
104339 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
104340 echo "${ECHO_T}$ac_header_preproc" >&6
104341
104342 # So?  What about this header?
104343 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
104344   yes:no: )
104345     { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
104346 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
104347     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
104348 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
104349     ac_header_preproc=yes
104350     ;;
104351   no:yes:* )
104352     { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
104353 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
104354     { echo "$as_me:$LINENO: WARNING: $ac_header:     check for missing prerequisite headers?" >&5
104355 echo "$as_me: WARNING: $ac_header:     check for missing prerequisite headers?" >&2;}
104356     { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
104357 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
104358     { echo "$as_me:$LINENO: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&5
104359 echo "$as_me: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&2;}
104360     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
104361 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
104362     { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
104363 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
104364     (
104365       cat <<\_ASBOX
104366 ## ----------------------------------------- ##
104367 ## Report this to the package-unused lists.  ##
104368 ## ----------------------------------------- ##
104369 _ASBOX
104370     ) |
104371       sed "s/^/$as_me: WARNING:     /" >&2
104372     ;;
104373 esac
104374 echo "$as_me:$LINENO: checking for $ac_header" >&5
104375 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
104376 if eval "test \"\${$as_ac_Header+set}\" = set"; then
104377   echo $ECHO_N "(cached) $ECHO_C" >&6
104378 else
104379   eval "$as_ac_Header=\$ac_header_preproc"
104380 fi
104381 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
104382 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
104383
104384 fi
104385 if test `eval echo '${'$as_ac_Header'}'` = yes; then
104386   cat >>confdefs.h <<_ACEOF
104387 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
104388 _ACEOF
104389
104390 else
104391   setrlimit_have_headers=no
104392 fi
104393
104394 done
104395
104396   # If don't have the headers, then we can't run the tests now, and we
104397   # won't be seeing any of these during testsuite compilation.
104398   if test $setrlimit_have_headers = yes; then
104399     # Can't do these in a loop, else the resulting syntax is wrong.
104400
104401   echo "$as_me:$LINENO: checking for RLIMIT_DATA" >&5
104402 echo $ECHO_N "checking for RLIMIT_DATA... $ECHO_C" >&6
104403   cat >conftest.$ac_ext <<_ACEOF
104404 /* confdefs.h.  */
104405 _ACEOF
104406 cat confdefs.h >>conftest.$ac_ext
104407 cat >>conftest.$ac_ext <<_ACEOF
104408 /* end confdefs.h.  */
104409 #include <unistd.h>
104410      #include <sys/time.h>
104411      #include <sys/resource.h>
104412
104413 int
104414 main ()
104415 {
104416  int f = RLIMIT_DATA ;
104417   ;
104418   return 0;
104419 }
104420 _ACEOF
104421 rm -f conftest.$ac_objext
104422 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
104423   (eval $ac_compile) 2>conftest.er1
104424   ac_status=$?
104425   grep -v '^ *+' conftest.er1 >conftest.err
104426   rm -f conftest.er1
104427   cat conftest.err >&5
104428   echo "$as_me:$LINENO: \$? = $ac_status" >&5
104429   (exit $ac_status); } &&
104430          { ac_try='test -z "$ac_c_werror_flag"
104431                          || test ! -s conftest.err'
104432   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
104433   (eval $ac_try) 2>&5
104434   ac_status=$?
104435   echo "$as_me:$LINENO: \$? = $ac_status" >&5
104436   (exit $ac_status); }; } &&
104437          { ac_try='test -s conftest.$ac_objext'
104438   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
104439   (eval $ac_try) 2>&5
104440   ac_status=$?
104441   echo "$as_me:$LINENO: \$? = $ac_status" >&5
104442   (exit $ac_status); }; }; then
104443   glibcxx_mresult=1
104444 else
104445   echo "$as_me: failed program was:" >&5
104446 sed 's/^/| /' conftest.$ac_ext >&5
104447
104448 glibcxx_mresult=0
104449 fi
104450 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
104451
104452 cat >>confdefs.h <<_ACEOF
104453 #define HAVE_LIMIT_DATA $glibcxx_mresult
104454 _ACEOF
104455
104456   if test $glibcxx_mresult = 1 ; then res=yes ; else res=no ; fi
104457   echo "$as_me:$LINENO: result: $res" >&5
104458 echo "${ECHO_T}$res" >&6
104459
104460
104461   echo "$as_me:$LINENO: checking for RLIMIT_RSS" >&5
104462 echo $ECHO_N "checking for RLIMIT_RSS... $ECHO_C" >&6
104463   cat >conftest.$ac_ext <<_ACEOF
104464 /* confdefs.h.  */
104465 _ACEOF
104466 cat confdefs.h >>conftest.$ac_ext
104467 cat >>conftest.$ac_ext <<_ACEOF
104468 /* end confdefs.h.  */
104469 #include <unistd.h>
104470      #include <sys/time.h>
104471      #include <sys/resource.h>
104472
104473 int
104474 main ()
104475 {
104476  int f = RLIMIT_RSS ;
104477   ;
104478   return 0;
104479 }
104480 _ACEOF
104481 rm -f conftest.$ac_objext
104482 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
104483   (eval $ac_compile) 2>conftest.er1
104484   ac_status=$?
104485   grep -v '^ *+' conftest.er1 >conftest.err
104486   rm -f conftest.er1
104487   cat conftest.err >&5
104488   echo "$as_me:$LINENO: \$? = $ac_status" >&5
104489   (exit $ac_status); } &&
104490          { ac_try='test -z "$ac_c_werror_flag"
104491                          || test ! -s conftest.err'
104492   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
104493   (eval $ac_try) 2>&5
104494   ac_status=$?
104495   echo "$as_me:$LINENO: \$? = $ac_status" >&5
104496   (exit $ac_status); }; } &&
104497          { ac_try='test -s conftest.$ac_objext'
104498   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
104499   (eval $ac_try) 2>&5
104500   ac_status=$?
104501   echo "$as_me:$LINENO: \$? = $ac_status" >&5
104502   (exit $ac_status); }; }; then
104503   glibcxx_mresult=1
104504 else
104505   echo "$as_me: failed program was:" >&5
104506 sed 's/^/| /' conftest.$ac_ext >&5
104507
104508 glibcxx_mresult=0
104509 fi
104510 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
104511
104512 cat >>confdefs.h <<_ACEOF
104513 #define HAVE_LIMIT_RSS $glibcxx_mresult
104514 _ACEOF
104515
104516   if test $glibcxx_mresult = 1 ; then res=yes ; else res=no ; fi
104517   echo "$as_me:$LINENO: result: $res" >&5
104518 echo "${ECHO_T}$res" >&6
104519
104520
104521   echo "$as_me:$LINENO: checking for RLIMIT_VMEM" >&5
104522 echo $ECHO_N "checking for RLIMIT_VMEM... $ECHO_C" >&6
104523   cat >conftest.$ac_ext <<_ACEOF
104524 /* confdefs.h.  */
104525 _ACEOF
104526 cat confdefs.h >>conftest.$ac_ext
104527 cat >>conftest.$ac_ext <<_ACEOF
104528 /* end confdefs.h.  */
104529 #include <unistd.h>
104530      #include <sys/time.h>
104531      #include <sys/resource.h>
104532
104533 int
104534 main ()
104535 {
104536  int f = RLIMIT_VMEM ;
104537   ;
104538   return 0;
104539 }
104540 _ACEOF
104541 rm -f conftest.$ac_objext
104542 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
104543   (eval $ac_compile) 2>conftest.er1
104544   ac_status=$?
104545   grep -v '^ *+' conftest.er1 >conftest.err
104546   rm -f conftest.er1
104547   cat conftest.err >&5
104548   echo "$as_me:$LINENO: \$? = $ac_status" >&5
104549   (exit $ac_status); } &&
104550          { ac_try='test -z "$ac_c_werror_flag"
104551                          || test ! -s conftest.err'
104552   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
104553   (eval $ac_try) 2>&5
104554   ac_status=$?
104555   echo "$as_me:$LINENO: \$? = $ac_status" >&5
104556   (exit $ac_status); }; } &&
104557          { ac_try='test -s conftest.$ac_objext'
104558   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
104559   (eval $ac_try) 2>&5
104560   ac_status=$?
104561   echo "$as_me:$LINENO: \$? = $ac_status" >&5
104562   (exit $ac_status); }; }; then
104563   glibcxx_mresult=1
104564 else
104565   echo "$as_me: failed program was:" >&5
104566 sed 's/^/| /' conftest.$ac_ext >&5
104567
104568 glibcxx_mresult=0
104569 fi
104570 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
104571
104572 cat >>confdefs.h <<_ACEOF
104573 #define HAVE_LIMIT_VMEM $glibcxx_mresult
104574 _ACEOF
104575
104576   if test $glibcxx_mresult = 1 ; then res=yes ; else res=no ; fi
104577   echo "$as_me:$LINENO: result: $res" >&5
104578 echo "${ECHO_T}$res" >&6
104579
104580
104581   echo "$as_me:$LINENO: checking for RLIMIT_AS" >&5
104582 echo $ECHO_N "checking for RLIMIT_AS... $ECHO_C" >&6
104583   cat >conftest.$ac_ext <<_ACEOF
104584 /* confdefs.h.  */
104585 _ACEOF
104586 cat confdefs.h >>conftest.$ac_ext
104587 cat >>conftest.$ac_ext <<_ACEOF
104588 /* end confdefs.h.  */
104589 #include <unistd.h>
104590      #include <sys/time.h>
104591      #include <sys/resource.h>
104592
104593 int
104594 main ()
104595 {
104596  int f = RLIMIT_AS ;
104597   ;
104598   return 0;
104599 }
104600 _ACEOF
104601 rm -f conftest.$ac_objext
104602 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
104603   (eval $ac_compile) 2>conftest.er1
104604   ac_status=$?
104605   grep -v '^ *+' conftest.er1 >conftest.err
104606   rm -f conftest.er1
104607   cat conftest.err >&5
104608   echo "$as_me:$LINENO: \$? = $ac_status" >&5
104609   (exit $ac_status); } &&
104610          { ac_try='test -z "$ac_c_werror_flag"
104611                          || test ! -s conftest.err'
104612   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
104613   (eval $ac_try) 2>&5
104614   ac_status=$?
104615   echo "$as_me:$LINENO: \$? = $ac_status" >&5
104616   (exit $ac_status); }; } &&
104617          { ac_try='test -s conftest.$ac_objext'
104618   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
104619   (eval $ac_try) 2>&5
104620   ac_status=$?
104621   echo "$as_me:$LINENO: \$? = $ac_status" >&5
104622   (exit $ac_status); }; }; then
104623   glibcxx_mresult=1
104624 else
104625   echo "$as_me: failed program was:" >&5
104626 sed 's/^/| /' conftest.$ac_ext >&5
104627
104628 glibcxx_mresult=0
104629 fi
104630 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
104631
104632 cat >>confdefs.h <<_ACEOF
104633 #define HAVE_LIMIT_AS $glibcxx_mresult
104634 _ACEOF
104635
104636   if test $glibcxx_mresult = 1 ; then res=yes ; else res=no ; fi
104637   echo "$as_me:$LINENO: result: $res" >&5
104638 echo "${ECHO_T}$res" >&6
104639
104640
104641   echo "$as_me:$LINENO: checking for RLIMIT_FSIZE" >&5
104642 echo $ECHO_N "checking for RLIMIT_FSIZE... $ECHO_C" >&6
104643   cat >conftest.$ac_ext <<_ACEOF
104644 /* confdefs.h.  */
104645 _ACEOF
104646 cat confdefs.h >>conftest.$ac_ext
104647 cat >>conftest.$ac_ext <<_ACEOF
104648 /* end confdefs.h.  */
104649 #include <unistd.h>
104650      #include <sys/time.h>
104651      #include <sys/resource.h>
104652
104653 int
104654 main ()
104655 {
104656  int f = RLIMIT_FSIZE ;
104657   ;
104658   return 0;
104659 }
104660 _ACEOF
104661 rm -f conftest.$ac_objext
104662 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
104663   (eval $ac_compile) 2>conftest.er1
104664   ac_status=$?
104665   grep -v '^ *+' conftest.er1 >conftest.err
104666   rm -f conftest.er1
104667   cat conftest.err >&5
104668   echo "$as_me:$LINENO: \$? = $ac_status" >&5
104669   (exit $ac_status); } &&
104670          { ac_try='test -z "$ac_c_werror_flag"
104671                          || test ! -s conftest.err'
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); }; } &&
104677          { ac_try='test -s conftest.$ac_objext'
104678   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
104679   (eval $ac_try) 2>&5
104680   ac_status=$?
104681   echo "$as_me:$LINENO: \$? = $ac_status" >&5
104682   (exit $ac_status); }; }; then
104683   glibcxx_mresult=1
104684 else
104685   echo "$as_me: failed program was:" >&5
104686 sed 's/^/| /' conftest.$ac_ext >&5
104687
104688 glibcxx_mresult=0
104689 fi
104690 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
104691
104692 cat >>confdefs.h <<_ACEOF
104693 #define HAVE_LIMIT_FSIZE $glibcxx_mresult
104694 _ACEOF
104695
104696   if test $glibcxx_mresult = 1 ; then res=yes ; else res=no ; fi
104697   echo "$as_me:$LINENO: result: $res" >&5
104698 echo "${ECHO_T}$res" >&6
104699
104700
104701     # Check for rlimit, setrlimit.
104702     if test "${ac_setrlimit+set}" = set; then
104703   echo $ECHO_N "(cached) $ECHO_C" >&6
104704 else
104705
104706       cat >conftest.$ac_ext <<_ACEOF
104707 /* confdefs.h.  */
104708 _ACEOF
104709 cat confdefs.h >>conftest.$ac_ext
104710 cat >>conftest.$ac_ext <<_ACEOF
104711 /* end confdefs.h.  */
104712 #include <unistd.h>
104713          #include <sys/time.h>
104714          #include <sys/resource.h>
104715
104716 int
104717 main ()
104718 {
104719 struct rlimit r;
104720          setrlimit(0, &r);
104721   ;
104722   return 0;
104723 }
104724 _ACEOF
104725 rm -f conftest.$ac_objext
104726 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
104727   (eval $ac_compile) 2>conftest.er1
104728   ac_status=$?
104729   grep -v '^ *+' conftest.er1 >conftest.err
104730   rm -f conftest.er1
104731   cat conftest.err >&5
104732   echo "$as_me:$LINENO: \$? = $ac_status" >&5
104733   (exit $ac_status); } &&
104734          { ac_try='test -z "$ac_c_werror_flag"
104735                          || test ! -s conftest.err'
104736   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
104737   (eval $ac_try) 2>&5
104738   ac_status=$?
104739   echo "$as_me:$LINENO: \$? = $ac_status" >&5
104740   (exit $ac_status); }; } &&
104741          { ac_try='test -s conftest.$ac_objext'
104742   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
104743   (eval $ac_try) 2>&5
104744   ac_status=$?
104745   echo "$as_me:$LINENO: \$? = $ac_status" >&5
104746   (exit $ac_status); }; }; then
104747   ac_setrlimit=yes
104748 else
104749   echo "$as_me: failed program was:" >&5
104750 sed 's/^/| /' conftest.$ac_ext >&5
104751
104752 ac_setrlimit=no
104753 fi
104754 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
104755
104756 fi
104757
104758   fi
104759
104760   echo "$as_me:$LINENO: checking for testsuite resource limits support" >&5
104761 echo $ECHO_N "checking for testsuite resource limits support... $ECHO_C" >&6
104762   if test $setrlimit_have_headers = yes && test $ac_setrlimit = yes; then
104763     ac_res_limits=yes
104764
104765 cat >>confdefs.h <<\_ACEOF
104766 #define _GLIBCXX_RES_LIMITS 1
104767 _ACEOF
104768
104769   else
104770     ac_res_limits=no
104771   fi
104772   echo "$as_me:$LINENO: result: $ac_res_limits" >&5
104773 echo "${ECHO_T}$ac_res_limits" >&6
104774
104775
104776     # Look for setenv, so that extended locale tests can be performed.
104777
104778   echo "$as_me:$LINENO: checking for setenv declaration" >&5
104779 echo $ECHO_N "checking for setenv declaration... $ECHO_C" >&6
104780   if test x${glibcxx_cv_func_setenv_use+set} != xset; then
104781     if test "${glibcxx_cv_func_setenv_use+set}" = set; then
104782   echo $ECHO_N "(cached) $ECHO_C" >&6
104783 else
104784
104785
104786
104787       ac_ext=cc
104788 ac_cpp='$CXXCPP $CPPFLAGS'
104789 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
104790 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
104791 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
104792
104793       cat >conftest.$ac_ext <<_ACEOF
104794 /* confdefs.h.  */
104795 _ACEOF
104796 cat confdefs.h >>conftest.$ac_ext
104797 cat >>conftest.$ac_ext <<_ACEOF
104798 /* end confdefs.h.  */
104799 #include <stdlib.h>
104800 int
104801 main ()
104802 {
104803  setenv(0, 0, 0);
104804   ;
104805   return 0;
104806 }
104807 _ACEOF
104808 rm -f conftest.$ac_objext
104809 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
104810   (eval $ac_compile) 2>conftest.er1
104811   ac_status=$?
104812   grep -v '^ *+' conftest.er1 >conftest.err
104813   rm -f conftest.er1
104814   cat conftest.err >&5
104815   echo "$as_me:$LINENO: \$? = $ac_status" >&5
104816   (exit $ac_status); } &&
104817          { ac_try='test -z "$ac_cxx_werror_flag"
104818                          || test ! -s conftest.err'
104819   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
104820   (eval $ac_try) 2>&5
104821   ac_status=$?
104822   echo "$as_me:$LINENO: \$? = $ac_status" >&5
104823   (exit $ac_status); }; } &&
104824          { ac_try='test -s conftest.$ac_objext'
104825   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
104826   (eval $ac_try) 2>&5
104827   ac_status=$?
104828   echo "$as_me:$LINENO: \$? = $ac_status" >&5
104829   (exit $ac_status); }; }; then
104830   glibcxx_cv_func_setenv_use=yes
104831 else
104832   echo "$as_me: failed program was:" >&5
104833 sed 's/^/| /' conftest.$ac_ext >&5
104834
104835 glibcxx_cv_func_setenv_use=no
104836 fi
104837 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
104838       ac_ext=c
104839 ac_cpp='$CPP $CPPFLAGS'
104840 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
104841 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
104842 ac_compiler_gnu=$ac_cv_c_compiler_gnu
104843
104844
104845 fi
104846
104847   fi
104848   echo "$as_me:$LINENO: result: $glibcxx_cv_func_setenv_use" >&5
104849 echo "${ECHO_T}$glibcxx_cv_func_setenv_use" >&6
104850   if test x$glibcxx_cv_func_setenv_use = x"yes"; then
104851
104852 for ac_func in setenv
104853 do
104854 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
104855 echo "$as_me:$LINENO: checking for $ac_func" >&5
104856 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
104857 if eval "test \"\${$as_ac_var+set}\" = set"; then
104858   echo $ECHO_N "(cached) $ECHO_C" >&6
104859 else
104860   if test x$gcc_no_link = xyes; then
104861   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
104862 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
104863    { (exit 1); exit 1; }; }
104864 fi
104865 cat >conftest.$ac_ext <<_ACEOF
104866 /* confdefs.h.  */
104867 _ACEOF
104868 cat confdefs.h >>conftest.$ac_ext
104869 cat >>conftest.$ac_ext <<_ACEOF
104870 /* end confdefs.h.  */
104871 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
104872    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
104873 #define $ac_func innocuous_$ac_func
104874
104875 /* System header to define __stub macros and hopefully few prototypes,
104876     which can conflict with char $ac_func (); below.
104877     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
104878     <limits.h> exists even on freestanding compilers.  */
104879
104880 #ifdef __STDC__
104881 # include <limits.h>
104882 #else
104883 # include <assert.h>
104884 #endif
104885
104886 #undef $ac_func
104887
104888 /* Override any gcc2 internal prototype to avoid an error.  */
104889 #ifdef __cplusplus
104890 extern "C"
104891 {
104892 #endif
104893 /* We use char because int might match the return type of a gcc2
104894    builtin and then its argument prototype would still apply.  */
104895 char $ac_func ();
104896 /* The GNU C library defines this for functions which it implements
104897     to always fail with ENOSYS.  Some functions are actually named
104898     something starting with __ and the normal name is an alias.  */
104899 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
104900 choke me
104901 #else
104902 char (*f) () = $ac_func;
104903 #endif
104904 #ifdef __cplusplus
104905 }
104906 #endif
104907
104908 int
104909 main ()
104910 {
104911 return f != $ac_func;
104912   ;
104913   return 0;
104914 }
104915 _ACEOF
104916 rm -f conftest.$ac_objext conftest$ac_exeext
104917 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
104918   (eval $ac_link) 2>conftest.er1
104919   ac_status=$?
104920   grep -v '^ *+' conftest.er1 >conftest.err
104921   rm -f conftest.er1
104922   cat conftest.err >&5
104923   echo "$as_me:$LINENO: \$? = $ac_status" >&5
104924   (exit $ac_status); } &&
104925          { ac_try='test -z "$ac_c_werror_flag"
104926                          || test ! -s conftest.err'
104927   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
104928   (eval $ac_try) 2>&5
104929   ac_status=$?
104930   echo "$as_me:$LINENO: \$? = $ac_status" >&5
104931   (exit $ac_status); }; } &&
104932          { ac_try='test -s conftest$ac_exeext'
104933   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
104934   (eval $ac_try) 2>&5
104935   ac_status=$?
104936   echo "$as_me:$LINENO: \$? = $ac_status" >&5
104937   (exit $ac_status); }; }; then
104938   eval "$as_ac_var=yes"
104939 else
104940   echo "$as_me: failed program was:" >&5
104941 sed 's/^/| /' conftest.$ac_ext >&5
104942
104943 eval "$as_ac_var=no"
104944 fi
104945 rm -f conftest.err conftest.$ac_objext \
104946       conftest$ac_exeext conftest.$ac_ext
104947 fi
104948 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
104949 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
104950 if test `eval echo '${'$as_ac_var'}'` = yes; then
104951   cat >>confdefs.h <<_ACEOF
104952 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
104953 _ACEOF
104954
104955 fi
104956 done
104957
104958   fi
104959
104960   fi
104961
104962   if $GLIBCXX_IS_NATIVE && test $is_hosted = yes &&
104963      test $enable_symvers != no; then
104964     case "$host" in
104965       *-*-cygwin*)
104966         enable_abi_check=no ;;
104967       *)
104968         enable_abi_check=yes ;;
104969     esac
104970   else
104971     # Only build this as native, since automake does not understand
104972     # CXX_FOR_BUILD.
104973     enable_abi_check=no
104974   fi
104975
104976   # Export file names for ABI checking.
104977   baseline_dir="$glibcxx_srcdir/config/abi/post/${abi_baseline_pair}\$(MULTISUBDIR)"
104978
104979
104980
104981 # Propagate the target-specific source directories through the build chain.
104982 ATOMICITY_SRCDIR=config/${atomicity_dir}
104983 ATOMIC_WORD_SRCDIR=config/${atomic_word_dir}
104984 CPU_DEFINES_SRCDIR=config/${cpu_defines_dir}
104985 OS_INC_SRCDIR=config/${os_include_dir}
104986 ABI_TWEAKS_SRCDIR=config/${abi_tweaks_dir}
104987
104988
104989
104990
104991
104992
104993
104994 # Determine cross-compile flags and AM_CONDITIONALs.
104995 #AC_SUBST(GLIBCXX_IS_NATIVE)
104996 #AM_CONDITIONAL(CANADIAN, test $CANADIAN = yes)
104997 # from GLIBCXX_CHECK_COMPLEX_MATH_SUPPORT:
104998 #AM_CONDITIONAL(GLIBCXX_BUILD_LIBMATH,  test $need_libmath = yes)
104999
105000
105001 if test $is_hosted = yes; then
105002   GLIBCXX_HOSTED_TRUE=
105003   GLIBCXX_HOSTED_FALSE='#'
105004 else
105005   GLIBCXX_HOSTED_TRUE='#'
105006   GLIBCXX_HOSTED_FALSE=
105007 fi
105008
105009
105010
105011
105012 if test $enable_libstdcxx_pch = yes; then
105013   GLIBCXX_BUILD_PCH_TRUE=
105014   GLIBCXX_BUILD_PCH_FALSE='#'
105015 else
105016   GLIBCXX_BUILD_PCH_TRUE='#'
105017   GLIBCXX_BUILD_PCH_FALSE=
105018 fi
105019
105020
105021
105022
105023 if test $enable_cheaders = c; then
105024   GLIBCXX_C_HEADERS_C_TRUE=
105025   GLIBCXX_C_HEADERS_C_FALSE='#'
105026 else
105027   GLIBCXX_C_HEADERS_C_TRUE='#'
105028   GLIBCXX_C_HEADERS_C_FALSE=
105029 fi
105030
105031
105032
105033
105034 if test $enable_cheaders = c_std; then
105035   GLIBCXX_C_HEADERS_C_STD_TRUE=
105036   GLIBCXX_C_HEADERS_C_STD_FALSE='#'
105037 else
105038   GLIBCXX_C_HEADERS_C_STD_TRUE='#'
105039   GLIBCXX_C_HEADERS_C_STD_FALSE=
105040 fi
105041
105042
105043
105044
105045 if test $c_compatibility = yes; then
105046   GLIBCXX_C_HEADERS_COMPATIBILITY_TRUE=
105047   GLIBCXX_C_HEADERS_COMPATIBILITY_FALSE='#'
105048 else
105049   GLIBCXX_C_HEADERS_COMPATIBILITY_TRUE='#'
105050   GLIBCXX_C_HEADERS_COMPATIBILITY_FALSE=
105051 fi
105052
105053
105054
105055
105056 if test $enable_libstdcxx_debug = yes; then
105057   GLIBCXX_BUILD_DEBUG_TRUE=
105058   GLIBCXX_BUILD_DEBUG_FALSE='#'
105059 else
105060   GLIBCXX_BUILD_DEBUG_TRUE='#'
105061   GLIBCXX_BUILD_DEBUG_FALSE=
105062 fi
105063
105064
105065
105066
105067 if test $enable_symvers != no; then
105068   ENABLE_SYMVERS_TRUE=
105069   ENABLE_SYMVERS_FALSE='#'
105070 else
105071   ENABLE_SYMVERS_TRUE='#'
105072   ENABLE_SYMVERS_FALSE=
105073 fi
105074
105075
105076
105077
105078 if test $enable_symvers = gnu; then
105079   ENABLE_SYMVERS_GNU_TRUE=
105080   ENABLE_SYMVERS_GNU_FALSE='#'
105081 else
105082   ENABLE_SYMVERS_GNU_TRUE='#'
105083   ENABLE_SYMVERS_GNU_FALSE=
105084 fi
105085
105086
105087
105088
105089 if test $enable_symvers = gnu-versioned-namespace; then
105090   ENABLE_SYMVERS_GNU_NAMESPACE_TRUE=
105091   ENABLE_SYMVERS_GNU_NAMESPACE_FALSE='#'
105092 else
105093   ENABLE_SYMVERS_GNU_NAMESPACE_TRUE='#'
105094   ENABLE_SYMVERS_GNU_NAMESPACE_FALSE=
105095 fi
105096
105097
105098
105099
105100 if test $enable_symvers = darwin; then
105101   ENABLE_SYMVERS_DARWIN_TRUE=
105102   ENABLE_SYMVERS_DARWIN_FALSE='#'
105103 else
105104   ENABLE_SYMVERS_DARWIN_TRUE='#'
105105   ENABLE_SYMVERS_DARWIN_FALSE=
105106 fi
105107
105108
105109
105110
105111 if test $enable_visibility = yes; then
105112   ENABLE_VISIBILITY_TRUE=
105113   ENABLE_VISIBILITY_FALSE='#'
105114 else
105115   ENABLE_VISIBILITY_TRUE='#'
105116   ENABLE_VISIBILITY_FALSE=
105117 fi
105118
105119
105120
105121
105122 if test $ac_ldbl_compat = yes; then
105123   GLIBCXX_LDBL_COMPAT_TRUE=
105124   GLIBCXX_LDBL_COMPAT_FALSE='#'
105125 else
105126   GLIBCXX_LDBL_COMPAT_TRUE='#'
105127   GLIBCXX_LDBL_COMPAT_FALSE=
105128 fi
105129
105130
105131
105132
105133 cat >confcache <<\_ACEOF
105134 # This file is a shell script that caches the results of configure
105135 # tests run on this system so they can be shared between configure
105136 # scripts and configure runs, see configure's option --config-cache.
105137 # It is not useful on other systems.  If it contains results you don't
105138 # want to keep, you may remove or edit it.
105139 #
105140 # config.status only pays attention to the cache file if you give it
105141 # the --recheck option to rerun configure.
105142 #
105143 # `ac_cv_env_foo' variables (set or unset) will be overridden when
105144 # loading this file, other *unset* `ac_cv_foo' will be assigned the
105145 # following values.
105146
105147 _ACEOF
105148
105149 # The following way of writing the cache mishandles newlines in values,
105150 # but we know of no workaround that is simple, portable, and efficient.
105151 # So, don't put newlines in cache variables' values.
105152 # Ultrix sh set writes to stderr and can't be redirected directly,
105153 # and sets the high bit in the cache file unless we assign to the vars.
105154 {
105155   (set) 2>&1 |
105156     case `(ac_space=' '; set | grep ac_space) 2>&1` in
105157     *ac_space=\ *)
105158       # `set' does not quote correctly, so add quotes (double-quote
105159       # substitution turns \\\\ into \\, and sed turns \\ into \).
105160       sed -n \
105161         "s/'/'\\\\''/g;
105162           s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
105163       ;;
105164     *)
105165       # `set' quotes correctly as required by POSIX, so do not add quotes.
105166       sed -n \
105167         "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
105168       ;;
105169     esac;
105170 } |
105171   sed '
105172      t clear
105173      : clear
105174      s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
105175      t end
105176      /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
105177      : end' >>confcache
105178 if diff $cache_file confcache >/dev/null 2>&1; then :; else
105179   if test -w $cache_file; then
105180     test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
105181     cat confcache >$cache_file
105182   else
105183     echo "not updating unwritable cache $cache_file"
105184   fi
105185 fi
105186 rm -f confcache
105187
105188 if test ${multilib} = yes; then
105189   multilib_arg="--enable-multilib"
105190 else
105191   multilib_arg=
105192 fi
105193
105194 # Export all the install information.
105195
105196   glibcxx_toolexecdir=no
105197   glibcxx_toolexeclibdir=no
105198   glibcxx_prefixdir=$prefix
105199
105200   echo "$as_me:$LINENO: checking for gxx-include-dir" >&5
105201 echo $ECHO_N "checking for gxx-include-dir... $ECHO_C" >&6
105202
105203 # Check whether --with-gxx-include-dir or --without-gxx-include-dir was given.
105204 if test "${with_gxx_include_dir+set}" = set; then
105205   withval="$with_gxx_include_dir"
105206   case "$withval" in
105207       yes) { { echo "$as_me:$LINENO: error: Missing directory for --with-gxx-include-dir" >&5
105208 echo "$as_me: error: Missing directory for --with-gxx-include-dir" >&2;}
105209    { (exit 1); exit 1; }; } ;;
105210       no)  gxx_include_dir=no ;;
105211       *)   gxx_include_dir=$withval ;;
105212      esac
105213 else
105214   gxx_include_dir=no
105215 fi;
105216   echo "$as_me:$LINENO: result: $gxx_include_dir" >&5
105217 echo "${ECHO_T}$gxx_include_dir" >&6
105218
105219   echo "$as_me:$LINENO: checking for --enable-version-specific-runtime-libs" >&5
105220 echo $ECHO_N "checking for --enable-version-specific-runtime-libs... $ECHO_C" >&6
105221   # Check whether --enable-version-specific-runtime-libs or --disable-version-specific-runtime-libs was given.
105222 if test "${enable_version_specific_runtime_libs+set}" = set; then
105223   enableval="$enable_version_specific_runtime_libs"
105224   case "$enableval" in
105225       yes) version_specific_libs=yes ;;
105226       no)  version_specific_libs=no ;;
105227       *)   { { echo "$as_me:$LINENO: error: Unknown argument to enable/disable version-specific libs" >&5
105228 echo "$as_me: error: Unknown argument to enable/disable version-specific libs" >&2;}
105229    { (exit 1); exit 1; }; };;
105230      esac
105231 else
105232   version_specific_libs=no
105233 fi;
105234   echo "$as_me:$LINENO: result: $version_specific_libs" >&5
105235 echo "${ECHO_T}$version_specific_libs" >&6
105236
105237   # Default case for install directory for include files.
105238   if test $version_specific_libs = no && test $gxx_include_dir = no; then
105239     gxx_include_dir='include/c++/${gcc_version}'
105240     if test -n "$with_cross_host" &&
105241        test x"$with_cross_host" != x"no"; then
105242       gxx_include_dir='${prefix}/${target_alias}/'"$gxx_include_dir"
105243     else
105244       gxx_include_dir='${prefix}/'"$gxx_include_dir"
105245     fi
105246   fi
105247
105248   # Version-specific runtime libs processing.
105249   if test $version_specific_libs = yes; then
105250     # Need the gcc compiler version to know where to install libraries
105251     # and header files if --enable-version-specific-runtime-libs option
105252     # is selected.  FIXME: these variables are misnamed, there are
105253     # no executables installed in _toolexecdir or _toolexeclibdir.
105254     if test x"$gxx_include_dir" = x"no"; then
105255       gxx_include_dir='${libdir}/gcc/${host_alias}/${gcc_version}/include/c++'
105256     fi
105257     glibcxx_toolexecdir='${libdir}/gcc/${host_alias}'
105258     glibcxx_toolexeclibdir='${toolexecdir}/${gcc_version}$(MULTISUBDIR)'
105259   fi
105260
105261   # Calculate glibcxx_toolexecdir, glibcxx_toolexeclibdir
105262   # Install a library built with a cross compiler in tooldir, not libdir.
105263   if test x"$glibcxx_toolexecdir" = x"no"; then
105264     if test -n "$with_cross_host" &&
105265        test x"$with_cross_host" != x"no"; then
105266       glibcxx_toolexecdir='${exec_prefix}/${host_alias}'
105267       glibcxx_toolexeclibdir='${toolexecdir}/lib'
105268     else
105269       glibcxx_toolexecdir='${libdir}/gcc/${host_alias}'
105270       glibcxx_toolexeclibdir='${libdir}'
105271     fi
105272     multi_os_directory=`$CXX -print-multi-os-directory`
105273     case $multi_os_directory in
105274       .) ;; # Avoid trailing /.
105275       *) glibcxx_toolexeclibdir=$glibcxx_toolexeclibdir/$multi_os_directory ;;
105276     esac
105277   fi
105278
105279   echo "$as_me:$LINENO: checking for install location" >&5
105280 echo $ECHO_N "checking for install location... $ECHO_C" >&6
105281   echo "$as_me:$LINENO: result: $gxx_include_dir" >&5
105282 echo "${ECHO_T}$gxx_include_dir" >&6
105283
105284
105285
105286
105287
105288
105289
105290 # Export all the include and flag information to Makefiles.
105291
105292   # Used for every C++ compile we perform.
105293   GLIBCXX_INCLUDES="\
105294 -I$glibcxx_builddir/include/$host_alias \
105295 -I$glibcxx_builddir/include \
105296 -I$glibcxx_srcdir/libsupc++"
105297
105298   # For Canadian crosses, pick this up too.
105299   if test $CANADIAN = yes; then
105300     GLIBCXX_INCLUDES="$GLIBCXX_INCLUDES -I\${includedir}"
105301   fi
105302
105303   # Stuff in the actual top level.  Currently only used by libsupc++ to
105304   # get unwind* headers from the gcc dir.
105305   #TOPLEVEL_INCLUDES='-I$(toplevel_srcdir)/gcc -I$(toplevel_srcdir)/include'
105306   TOPLEVEL_INCLUDES='-I$(toplevel_srcdir)/gcc'
105307
105308   # Now, export this to all the little Makefiles....
105309
105310
105311
105312
105313   # Optimization flags that are probably a good idea for thrill-seekers. Just
105314   # uncomment the lines below and make, everything else is ready to go...
105315   # Alternatively OPTIMIZE_CXXFLAGS can be set in configure.host.
105316   # OPTIMIZE_CXXFLAGS = -O3 -fstrict-aliasing -fvtable-gc
105317
105318
105319   WARN_FLAGS='-Wall -Wextra -Wwrite-strings -Wcast-qual'
105320
105321
105322
105323 if ${CONFIG_SHELL-/bin/sh} ./libtool --tag CXX --features |
105324    grep "enable shared" > /dev/null;
105325 then
105326   LIBSUPCXX_PICFLAGS=-prefer-pic
105327 else
105328   LIBSUPCXX_PICFLAGS=
105329 fi
105330
105331
105332                                                                       ac_config_files="$ac_config_files Makefile include/Makefile libmath/Makefile libsupc++/Makefile src/Makefile po/Makefile testsuite/Makefile"
105333
105334           ac_config_files="$ac_config_files scripts/testsuite_flags"
105335
105336
105337           ac_config_commands="$ac_config_commands default"
105338
105339
105340 cat >confcache <<\_ACEOF
105341 # This file is a shell script that caches the results of configure
105342 # tests run on this system so they can be shared between configure
105343 # scripts and configure runs, see configure's option --config-cache.
105344 # It is not useful on other systems.  If it contains results you don't
105345 # want to keep, you may remove or edit it.
105346 #
105347 # config.status only pays attention to the cache file if you give it
105348 # the --recheck option to rerun configure.
105349 #
105350 # `ac_cv_env_foo' variables (set or unset) will be overridden when
105351 # loading this file, other *unset* `ac_cv_foo' will be assigned the
105352 # following values.
105353
105354 _ACEOF
105355
105356 # The following way of writing the cache mishandles newlines in values,
105357 # but we know of no workaround that is simple, portable, and efficient.
105358 # So, don't put newlines in cache variables' values.
105359 # Ultrix sh set writes to stderr and can't be redirected directly,
105360 # and sets the high bit in the cache file unless we assign to the vars.
105361 {
105362   (set) 2>&1 |
105363     case `(ac_space=' '; set | grep ac_space) 2>&1` in
105364     *ac_space=\ *)
105365       # `set' does not quote correctly, so add quotes (double-quote
105366       # substitution turns \\\\ into \\, and sed turns \\ into \).
105367       sed -n \
105368         "s/'/'\\\\''/g;
105369           s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
105370       ;;
105371     *)
105372       # `set' quotes correctly as required by POSIX, so do not add quotes.
105373       sed -n \
105374         "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
105375       ;;
105376     esac;
105377 } |
105378   sed '
105379      t clear
105380      : clear
105381      s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
105382      t end
105383      /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
105384      : end' >>confcache
105385 if diff $cache_file confcache >/dev/null 2>&1; then :; else
105386   if test -w $cache_file; then
105387     test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
105388     cat confcache >$cache_file
105389   else
105390     echo "not updating unwritable cache $cache_file"
105391   fi
105392 fi
105393 rm -f confcache
105394
105395 test "x$prefix" = xNONE && prefix=$ac_default_prefix
105396 # Let make expand exec_prefix.
105397 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
105398
105399 # VPATH may cause trouble with some makes, so we remove $(srcdir),
105400 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
105401 # trailing colons and then remove the whole line if VPATH becomes empty
105402 # (actually we leave an empty line to preserve line numbers).
105403 if test "x$srcdir" = x.; then
105404   ac_vpsub='/^[  ]*VPATH[        ]*=/{
105405 s/:*\$(srcdir):*/:/;
105406 s/:*\${srcdir}:*/:/;
105407 s/:*@srcdir@:*/:/;
105408 s/^\([^=]*=[     ]*\):*/\1/;
105409 s/:*$//;
105410 s/^[^=]*=[       ]*$//;
105411 }'
105412 fi
105413
105414 DEFS=-DHAVE_CONFIG_H
105415
105416 ac_libobjs=
105417 ac_ltlibobjs=
105418 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
105419   # 1. Remove the extension, and $U if already installed.
105420   ac_i=`echo "$ac_i" |
105421          sed 's/\$U\././;s/\.o$//;s/\.obj$//'`
105422   # 2. Add them.
105423   ac_libobjs="$ac_libobjs $ac_i\$U.$ac_objext"
105424   ac_ltlibobjs="$ac_ltlibobjs $ac_i"'$U.lo'
105425 done
105426 LIBOBJS=$ac_libobjs
105427
105428 LTLIBOBJS=$ac_ltlibobjs
105429
105430
105431 if test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then
105432   { { echo "$as_me:$LINENO: error: conditional \"MAINTAINER_MODE\" was never defined.
105433 Usually this means the macro was only invoked conditionally." >&5
105434 echo "$as_me: error: conditional \"MAINTAINER_MODE\" was never defined.
105435 Usually this means the macro was only invoked conditionally." >&2;}
105436    { (exit 1); exit 1; }; }
105437 fi
105438 if test -z "${GLIBCXX_HOSTED_TRUE}" && test -z "${GLIBCXX_HOSTED_FALSE}"; then
105439   { { echo "$as_me:$LINENO: error: conditional \"GLIBCXX_HOSTED\" was never defined.
105440 Usually this means the macro was only invoked conditionally." >&5
105441 echo "$as_me: error: conditional \"GLIBCXX_HOSTED\" was never defined.
105442 Usually this means the macro was only invoked conditionally." >&2;}
105443    { (exit 1); exit 1; }; }
105444 fi
105445 if test -z "${GLIBCXX_BUILD_PCH_TRUE}" && test -z "${GLIBCXX_BUILD_PCH_FALSE}"; then
105446   { { echo "$as_me:$LINENO: error: conditional \"GLIBCXX_BUILD_PCH\" was never defined.
105447 Usually this means the macro was only invoked conditionally." >&5
105448 echo "$as_me: error: conditional \"GLIBCXX_BUILD_PCH\" was never defined.
105449 Usually this means the macro was only invoked conditionally." >&2;}
105450    { (exit 1); exit 1; }; }
105451 fi
105452 if test -z "${GLIBCXX_C_HEADERS_C_TRUE}" && test -z "${GLIBCXX_C_HEADERS_C_FALSE}"; then
105453   { { echo "$as_me:$LINENO: error: conditional \"GLIBCXX_C_HEADERS_C\" was never defined.
105454 Usually this means the macro was only invoked conditionally." >&5
105455 echo "$as_me: error: conditional \"GLIBCXX_C_HEADERS_C\" was never defined.
105456 Usually this means the macro was only invoked conditionally." >&2;}
105457    { (exit 1); exit 1; }; }
105458 fi
105459 if test -z "${GLIBCXX_C_HEADERS_C_STD_TRUE}" && test -z "${GLIBCXX_C_HEADERS_C_STD_FALSE}"; then
105460   { { echo "$as_me:$LINENO: error: conditional \"GLIBCXX_C_HEADERS_C_STD\" was never defined.
105461 Usually this means the macro was only invoked conditionally." >&5
105462 echo "$as_me: error: conditional \"GLIBCXX_C_HEADERS_C_STD\" was never defined.
105463 Usually this means the macro was only invoked conditionally." >&2;}
105464    { (exit 1); exit 1; }; }
105465 fi
105466 if test -z "${GLIBCXX_C_HEADERS_COMPATIBILITY_TRUE}" && test -z "${GLIBCXX_C_HEADERS_COMPATIBILITY_FALSE}"; then
105467   { { echo "$as_me:$LINENO: error: conditional \"GLIBCXX_C_HEADERS_COMPATIBILITY\" was never defined.
105468 Usually this means the macro was only invoked conditionally." >&5
105469 echo "$as_me: error: conditional \"GLIBCXX_C_HEADERS_COMPATIBILITY\" was never defined.
105470 Usually this means the macro was only invoked conditionally." >&2;}
105471    { (exit 1); exit 1; }; }
105472 fi
105473 if test -z "${GLIBCXX_BUILD_DEBUG_TRUE}" && test -z "${GLIBCXX_BUILD_DEBUG_FALSE}"; then
105474   { { echo "$as_me:$LINENO: error: conditional \"GLIBCXX_BUILD_DEBUG\" was never defined.
105475 Usually this means the macro was only invoked conditionally." >&5
105476 echo "$as_me: error: conditional \"GLIBCXX_BUILD_DEBUG\" was never defined.
105477 Usually this means the macro was only invoked conditionally." >&2;}
105478    { (exit 1); exit 1; }; }
105479 fi
105480 if test -z "${ENABLE_SYMVERS_TRUE}" && test -z "${ENABLE_SYMVERS_FALSE}"; then
105481   { { echo "$as_me:$LINENO: error: conditional \"ENABLE_SYMVERS\" was never defined.
105482 Usually this means the macro was only invoked conditionally." >&5
105483 echo "$as_me: error: conditional \"ENABLE_SYMVERS\" was never defined.
105484 Usually this means the macro was only invoked conditionally." >&2;}
105485    { (exit 1); exit 1; }; }
105486 fi
105487 if test -z "${ENABLE_SYMVERS_GNU_TRUE}" && test -z "${ENABLE_SYMVERS_GNU_FALSE}"; then
105488   { { echo "$as_me:$LINENO: error: conditional \"ENABLE_SYMVERS_GNU\" was never defined.
105489 Usually this means the macro was only invoked conditionally." >&5
105490 echo "$as_me: error: conditional \"ENABLE_SYMVERS_GNU\" was never defined.
105491 Usually this means the macro was only invoked conditionally." >&2;}
105492    { (exit 1); exit 1; }; }
105493 fi
105494 if test -z "${ENABLE_SYMVERS_GNU_NAMESPACE_TRUE}" && test -z "${ENABLE_SYMVERS_GNU_NAMESPACE_FALSE}"; then
105495   { { echo "$as_me:$LINENO: error: conditional \"ENABLE_SYMVERS_GNU_NAMESPACE\" was never defined.
105496 Usually this means the macro was only invoked conditionally." >&5
105497 echo "$as_me: error: conditional \"ENABLE_SYMVERS_GNU_NAMESPACE\" was never defined.
105498 Usually this means the macro was only invoked conditionally." >&2;}
105499    { (exit 1); exit 1; }; }
105500 fi
105501 if test -z "${ENABLE_SYMVERS_DARWIN_TRUE}" && test -z "${ENABLE_SYMVERS_DARWIN_FALSE}"; then
105502   { { echo "$as_me:$LINENO: error: conditional \"ENABLE_SYMVERS_DARWIN\" was never defined.
105503 Usually this means the macro was only invoked conditionally." >&5
105504 echo "$as_me: error: conditional \"ENABLE_SYMVERS_DARWIN\" was never defined.
105505 Usually this means the macro was only invoked conditionally." >&2;}
105506    { (exit 1); exit 1; }; }
105507 fi
105508 if test -z "${ENABLE_VISIBILITY_TRUE}" && test -z "${ENABLE_VISIBILITY_FALSE}"; then
105509   { { echo "$as_me:$LINENO: error: conditional \"ENABLE_VISIBILITY\" was never defined.
105510 Usually this means the macro was only invoked conditionally." >&5
105511 echo "$as_me: error: conditional \"ENABLE_VISIBILITY\" was never defined.
105512 Usually this means the macro was only invoked conditionally." >&2;}
105513    { (exit 1); exit 1; }; }
105514 fi
105515 if test -z "${GLIBCXX_LDBL_COMPAT_TRUE}" && test -z "${GLIBCXX_LDBL_COMPAT_FALSE}"; then
105516   { { echo "$as_me:$LINENO: error: conditional \"GLIBCXX_LDBL_COMPAT\" was never defined.
105517 Usually this means the macro was only invoked conditionally." >&5
105518 echo "$as_me: error: conditional \"GLIBCXX_LDBL_COMPAT\" was never defined.
105519 Usually this means the macro was only invoked conditionally." >&2;}
105520    { (exit 1); exit 1; }; }
105521 fi
105522
105523 : ${CONFIG_STATUS=./config.status}
105524 ac_clean_files_save=$ac_clean_files
105525 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
105526 { echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
105527 echo "$as_me: creating $CONFIG_STATUS" >&6;}
105528 cat >$CONFIG_STATUS <<_ACEOF
105529 #! $SHELL
105530 # Generated by $as_me.
105531 # Run this file to recreate the current configuration.
105532 # Compiler output produced by configure, useful for debugging
105533 # configure, is in config.log if it exists.
105534
105535 debug=false
105536 ac_cs_recheck=false
105537 ac_cs_silent=false
105538 SHELL=\${CONFIG_SHELL-$SHELL}
105539 _ACEOF
105540
105541 cat >>$CONFIG_STATUS <<\_ACEOF
105542 ## --------------------- ##
105543 ## M4sh Initialization.  ##
105544 ## --------------------- ##
105545
105546 # Be Bourne compatible
105547 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
105548   emulate sh
105549   NULLCMD=:
105550   # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
105551   # is contrary to our usage.  Disable this feature.
105552   alias -g '${1+"$@"}'='"$@"'
105553 elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then
105554   set -o posix
105555 fi
105556 DUALCASE=1; export DUALCASE # for MKS sh
105557
105558 # Support unset when possible.
105559 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
105560   as_unset=unset
105561 else
105562   as_unset=false
105563 fi
105564
105565
105566 # Work around bugs in pre-3.0 UWIN ksh.
105567 $as_unset ENV MAIL MAILPATH
105568 PS1='$ '
105569 PS2='> '
105570 PS4='+ '
105571
105572 # NLS nuisances.
105573 for as_var in \
105574   LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
105575   LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
105576   LC_TELEPHONE LC_TIME
105577 do
105578   if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
105579     eval $as_var=C; export $as_var
105580   else
105581     $as_unset $as_var
105582   fi
105583 done
105584
105585 # Required to use basename.
105586 if expr a : '\(a\)' >/dev/null 2>&1; then
105587   as_expr=expr
105588 else
105589   as_expr=false
105590 fi
105591
105592 if (basename /) >/dev/null 2>&1 && test "X`basename / 2>&1`" = "X/"; then
105593   as_basename=basename
105594 else
105595   as_basename=false
105596 fi
105597
105598
105599 # Name of the executable.
105600 as_me=`$as_basename "$0" ||
105601 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
105602          X"$0" : 'X\(//\)$' \| \
105603          X"$0" : 'X\(/\)$' \| \
105604          .     : '\(.\)' 2>/dev/null ||
105605 echo X/"$0" |
105606     sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
105607           /^X\/\(\/\/\)$/{ s//\1/; q; }
105608           /^X\/\(\/\).*/{ s//\1/; q; }
105609           s/.*/./; q'`
105610
105611
105612 # PATH needs CR, and LINENO needs CR and PATH.
105613 # Avoid depending upon Character Ranges.
105614 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
105615 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
105616 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
105617 as_cr_digits='0123456789'
105618 as_cr_alnum=$as_cr_Letters$as_cr_digits
105619
105620 # The user is always right.
105621 if test "${PATH_SEPARATOR+set}" != set; then
105622   echo "#! /bin/sh" >conf$$.sh
105623   echo  "exit 0"   >>conf$$.sh
105624   chmod +x conf$$.sh
105625   if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
105626     PATH_SEPARATOR=';'
105627   else
105628     PATH_SEPARATOR=:
105629   fi
105630   rm -f conf$$.sh
105631 fi
105632
105633
105634   as_lineno_1=$LINENO
105635   as_lineno_2=$LINENO
105636   as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
105637   test "x$as_lineno_1" != "x$as_lineno_2" &&
105638   test "x$as_lineno_3"  = "x$as_lineno_2"  || {
105639   # Find who we are.  Look in the path if we contain no path at all
105640   # relative or not.
105641   case $0 in
105642     *[\\/]* ) as_myself=$0 ;;
105643     *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
105644 for as_dir in $PATH
105645 do
105646   IFS=$as_save_IFS
105647   test -z "$as_dir" && as_dir=.
105648   test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
105649 done
105650
105651        ;;
105652   esac
105653   # We did not find ourselves, most probably we were run as `sh COMMAND'
105654   # in which case we are not to be found in the path.
105655   if test "x$as_myself" = x; then
105656     as_myself=$0
105657   fi
105658   if test ! -f "$as_myself"; then
105659     { { echo "$as_me:$LINENO: error: cannot find myself; rerun with an absolute path" >&5
105660 echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2;}
105661    { (exit 1); exit 1; }; }
105662   fi
105663   case $CONFIG_SHELL in
105664   '')
105665     as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
105666 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
105667 do
105668   IFS=$as_save_IFS
105669   test -z "$as_dir" && as_dir=.
105670   for as_base in sh bash ksh sh5; do
105671          case $as_dir in
105672          /*)
105673            if ("$as_dir/$as_base" -c '
105674   as_lineno_1=$LINENO
105675   as_lineno_2=$LINENO
105676   as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
105677   test "x$as_lineno_1" != "x$as_lineno_2" &&
105678   test "x$as_lineno_3"  = "x$as_lineno_2" ') 2>/dev/null; then
105679              $as_unset BASH_ENV || test "${BASH_ENV+set}" != set || { BASH_ENV=; export BASH_ENV; }
105680              $as_unset ENV || test "${ENV+set}" != set || { ENV=; export ENV; }
105681              CONFIG_SHELL=$as_dir/$as_base
105682              export CONFIG_SHELL
105683              exec "$CONFIG_SHELL" "$0" ${1+"$@"}
105684            fi;;
105685          esac
105686        done
105687 done
105688 ;;
105689   esac
105690
105691   # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
105692   # uniformly replaced by the line number.  The first 'sed' inserts a
105693   # line-number line before each line; the second 'sed' does the real
105694   # work.  The second script uses 'N' to pair each line-number line
105695   # with the numbered line, and appends trailing '-' during
105696   # substitution so that $LINENO is not a special case at line end.
105697   # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
105698   # second 'sed' script.  Blame Lee E. McMahon for sed's syntax.  :-)
105699   sed '=' <$as_myself |
105700     sed '
105701       N
105702       s,$,-,
105703       : loop
105704       s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
105705       t loop
105706       s,-$,,
105707       s,^['$as_cr_digits']*\n,,
105708     ' >$as_me.lineno &&
105709   chmod +x $as_me.lineno ||
105710     { { echo "$as_me:$LINENO: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&5
105711 echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2;}
105712    { (exit 1); exit 1; }; }
105713
105714   # Don't try to exec as it changes $[0], causing all sort of problems
105715   # (the dirname of $[0] is not the place where we might find the
105716   # original and so on.  Autoconf is especially sensible to this).
105717   . ./$as_me.lineno
105718   # Exit status is that of the last command.
105719   exit
105720 }
105721
105722
105723 case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
105724   *c*,-n*) ECHO_N= ECHO_C='
105725 ' ECHO_T='      ' ;;
105726   *c*,*  ) ECHO_N=-n ECHO_C= ECHO_T= ;;
105727   *)       ECHO_N= ECHO_C='\c' ECHO_T= ;;
105728 esac
105729
105730 if expr a : '\(a\)' >/dev/null 2>&1; then
105731   as_expr=expr
105732 else
105733   as_expr=false
105734 fi
105735
105736 rm -f conf$$ conf$$.exe conf$$.file
105737 echo >conf$$.file
105738 if ln -s conf$$.file conf$$ 2>/dev/null; then
105739   # We could just check for DJGPP; but this test a) works b) is more generic
105740   # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
105741   if test -f conf$$.exe; then
105742     # Don't use ln at all; we don't have any links
105743     as_ln_s='cp -p'
105744   else
105745     as_ln_s='ln -s'
105746   fi
105747 elif ln conf$$.file conf$$ 2>/dev/null; then
105748   as_ln_s=ln
105749 else
105750   as_ln_s='cp -p'
105751 fi
105752 rm -f conf$$ conf$$.exe conf$$.file
105753
105754 if mkdir -p . 2>/dev/null; then
105755   as_mkdir_p=:
105756 else
105757   test -d ./-p && rmdir ./-p
105758   as_mkdir_p=false
105759 fi
105760
105761 as_executable_p="test -f"
105762
105763 # Sed expression to map a string onto a valid CPP name.
105764 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
105765
105766 # Sed expression to map a string onto a valid variable name.
105767 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
105768
105769
105770 # IFS
105771 # We need space, tab and new line, in precisely that order.
105772 as_nl='
105773 '
105774 IFS="   $as_nl"
105775
105776 # CDPATH.
105777 $as_unset CDPATH
105778
105779 exec 6>&1
105780
105781 # Open the log real soon, to keep \$[0] and so on meaningful, and to
105782 # report actual input values of CONFIG_FILES etc. instead of their
105783 # values after options handling.  Logging --version etc. is OK.
105784 exec 5>>config.log
105785 {
105786   echo
105787   sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
105788 ## Running $as_me. ##
105789 _ASBOX
105790 } >&5
105791 cat >&5 <<_CSEOF
105792
105793 This file was extended by package-unused $as_me version-unused, which was
105794 generated by GNU Autoconf 2.59.  Invocation command line was
105795
105796   CONFIG_FILES    = $CONFIG_FILES
105797   CONFIG_HEADERS  = $CONFIG_HEADERS
105798   CONFIG_LINKS    = $CONFIG_LINKS
105799   CONFIG_COMMANDS = $CONFIG_COMMANDS
105800   $ $0 $@
105801
105802 _CSEOF
105803 echo "on `(hostname || uname -n) 2>/dev/null | sed 1q`" >&5
105804 echo >&5
105805 _ACEOF
105806
105807 # Files that config.status was made for.
105808 if test -n "$ac_config_files"; then
105809   echo "config_files=\"$ac_config_files\"" >>$CONFIG_STATUS
105810 fi
105811
105812 if test -n "$ac_config_headers"; then
105813   echo "config_headers=\"$ac_config_headers\"" >>$CONFIG_STATUS
105814 fi
105815
105816 if test -n "$ac_config_links"; then
105817   echo "config_links=\"$ac_config_links\"" >>$CONFIG_STATUS
105818 fi
105819
105820 if test -n "$ac_config_commands"; then
105821   echo "config_commands=\"$ac_config_commands\"" >>$CONFIG_STATUS
105822 fi
105823
105824 cat >>$CONFIG_STATUS <<\_ACEOF
105825
105826 ac_cs_usage="\
105827 \`$as_me' instantiates files from templates according to the
105828 current configuration.
105829
105830 Usage: $0 [OPTIONS] [FILE]...
105831
105832   -h, --help       print this help, then exit
105833   -V, --version    print version number, then exit
105834   -q, --quiet      do not print progress messages
105835   -d, --debug      don't remove temporary files
105836       --recheck    update $as_me by reconfiguring in the same conditions
105837   --file=FILE[:TEMPLATE]
105838                    instantiate the configuration file FILE
105839   --header=FILE[:TEMPLATE]
105840                    instantiate the configuration header FILE
105841
105842 Configuration files:
105843 $config_files
105844
105845 Configuration headers:
105846 $config_headers
105847
105848 Configuration commands:
105849 $config_commands
105850
105851 Report bugs to <bug-autoconf@gnu.org>."
105852 _ACEOF
105853
105854 cat >>$CONFIG_STATUS <<_ACEOF
105855 ac_cs_version="\\
105856 package-unused config.status version-unused
105857 configured by $0, generated by GNU Autoconf 2.59,
105858   with options \\"`echo "$ac_configure_args" | sed 's/[\\""\`\$]/\\\\&/g'`\\"
105859
105860 Copyright (C) 2003 Free Software Foundation, Inc.
105861 This config.status script is free software; the Free Software Foundation
105862 gives unlimited permission to copy, distribute and modify it."
105863 srcdir=$srcdir
105864 INSTALL="$INSTALL"
105865 _ACEOF
105866
105867 cat >>$CONFIG_STATUS <<\_ACEOF
105868 # If no file are specified by the user, then we need to provide default
105869 # value.  By we need to know if files were specified by the user.
105870 ac_need_defaults=:
105871 while test $# != 0
105872 do
105873   case $1 in
105874   --*=*)
105875     ac_option=`expr "x$1" : 'x\([^=]*\)='`
105876     ac_optarg=`expr "x$1" : 'x[^=]*=\(.*\)'`
105877     ac_shift=:
105878     ;;
105879   -*)
105880     ac_option=$1
105881     ac_optarg=$2
105882     ac_shift=shift
105883     ;;
105884   *) # This is not an option, so the user has probably given explicit
105885      # arguments.
105886      ac_option=$1
105887      ac_need_defaults=false;;
105888   esac
105889
105890   case $ac_option in
105891   # Handling of the options.
105892 _ACEOF
105893 cat >>$CONFIG_STATUS <<\_ACEOF
105894   -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
105895     ac_cs_recheck=: ;;
105896   --version | --vers* | -V )
105897     echo "$ac_cs_version"; exit 0 ;;
105898   --he | --h)
105899     # Conflict between --help and --header
105900     { { echo "$as_me:$LINENO: error: ambiguous option: $1
105901 Try \`$0 --help' for more information." >&5
105902 echo "$as_me: error: ambiguous option: $1
105903 Try \`$0 --help' for more information." >&2;}
105904    { (exit 1); exit 1; }; };;
105905   --help | --hel | -h )
105906     echo "$ac_cs_usage"; exit 0 ;;
105907   --debug | --d* | -d )
105908     debug=: ;;
105909   --file | --fil | --fi | --f )
105910     $ac_shift
105911     CONFIG_FILES="$CONFIG_FILES $ac_optarg"
105912     ac_need_defaults=false;;
105913   --header | --heade | --head | --hea )
105914     $ac_shift
105915     CONFIG_HEADERS="$CONFIG_HEADERS $ac_optarg"
105916     ac_need_defaults=false;;
105917   -q | -quiet | --quiet | --quie | --qui | --qu | --q \
105918   | -silent | --silent | --silen | --sile | --sil | --si | --s)
105919     ac_cs_silent=: ;;
105920
105921   # This is an error.
105922   -*) { { echo "$as_me:$LINENO: error: unrecognized option: $1
105923 Try \`$0 --help' for more information." >&5
105924 echo "$as_me: error: unrecognized option: $1
105925 Try \`$0 --help' for more information." >&2;}
105926    { (exit 1); exit 1; }; } ;;
105927
105928   *) ac_config_targets="$ac_config_targets $1" ;;
105929
105930   esac
105931   shift
105932 done
105933
105934 ac_configure_extra_args=
105935
105936 if $ac_cs_silent; then
105937   exec 6>/dev/null
105938   ac_configure_extra_args="$ac_configure_extra_args --silent"
105939 fi
105940
105941 _ACEOF
105942 cat >>$CONFIG_STATUS <<_ACEOF
105943 if \$ac_cs_recheck; then
105944   echo "running $SHELL $0 " $ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
105945   exec $SHELL $0 $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
105946 fi
105947
105948 _ACEOF
105949
105950 cat >>$CONFIG_STATUS <<_ACEOF
105951 #
105952 # INIT-COMMANDS section.
105953 #
105954
105955
105956 srcdir="$srcdir"
105957 host="$host"
105958 target="$target"
105959 with_multisubdir="$with_multisubdir"
105960 with_multisrctop="$with_multisrctop"
105961 with_target_subdir="$with_target_subdir"
105962 ac_configure_args="${multilib_arg} ${ac_configure_args}"
105963 multi_basedir="$multi_basedir"
105964 CONFIG_SHELL=${CONFIG_SHELL-/bin/sh}
105965 CC="$CC"
105966
105967 # Variables needed in config.status (file generation) which aren't already
105968 # passed by autoconf.
105969 SUBDIRS="$SUBDIRS"
105970
105971
105972 _ACEOF
105973
105974
105975
105976 cat >>$CONFIG_STATUS <<\_ACEOF
105977 for ac_config_target in $ac_config_targets
105978 do
105979   case "$ac_config_target" in
105980   # Handling of arguments.
105981   "Makefile" ) CONFIG_FILES="$CONFIG_FILES Makefile" ;;
105982   "include/Makefile" ) CONFIG_FILES="$CONFIG_FILES include/Makefile" ;;
105983   "libmath/Makefile" ) CONFIG_FILES="$CONFIG_FILES libmath/Makefile" ;;
105984   "libsupc++/Makefile" ) CONFIG_FILES="$CONFIG_FILES libsupc++/Makefile" ;;
105985   "src/Makefile" ) CONFIG_FILES="$CONFIG_FILES src/Makefile" ;;
105986   "po/Makefile" ) CONFIG_FILES="$CONFIG_FILES po/Makefile" ;;
105987   "testsuite/Makefile" ) CONFIG_FILES="$CONFIG_FILES testsuite/Makefile" ;;
105988   "scripts/testsuite_flags" ) CONFIG_FILES="$CONFIG_FILES scripts/testsuite_flags" ;;
105989   "default-1" ) CONFIG_COMMANDS="$CONFIG_COMMANDS default-1" ;;
105990   "default" ) CONFIG_COMMANDS="$CONFIG_COMMANDS default" ;;
105991   "config.h" ) CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;;
105992   *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
105993 echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
105994    { (exit 1); exit 1; }; };;
105995   esac
105996 done
105997
105998 # If the user did not use the arguments to specify the items to instantiate,
105999 # then the envvar interface is used.  Set only those that are not.
106000 # We use the long form for the default assignment because of an extremely
106001 # bizarre bug on SunOS 4.1.3.
106002 if $ac_need_defaults; then
106003   test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
106004   test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
106005   test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
106006 fi
106007
106008 # Have a temporary directory for convenience.  Make it in the build tree
106009 # simply because there is no reason to put it here, and in addition,
106010 # creating and moving files from /tmp can sometimes cause problems.
106011 # Create a temporary directory, and hook for its removal unless debugging.
106012 $debug ||
106013 {
106014   trap 'exit_status=$?; rm -rf $tmp && exit $exit_status' 0
106015   trap '{ (exit 1); exit 1; }' 1 2 13 15
106016 }
106017
106018 # Create a (secure) tmp directory for tmp files.
106019
106020 {
106021   tmp=`(umask 077 && mktemp -d -q "./confstatXXXXXX") 2>/dev/null` &&
106022   test -n "$tmp" && test -d "$tmp"
106023 }  ||
106024 {
106025   tmp=./confstat$$-$RANDOM
106026   (umask 077 && mkdir $tmp)
106027 } ||
106028 {
106029    echo "$me: cannot create a temporary directory in ." >&2
106030    { (exit 1); exit 1; }
106031 }
106032
106033 _ACEOF
106034
106035 cat >>$CONFIG_STATUS <<_ACEOF
106036
106037 #
106038 # CONFIG_FILES section.
106039 #
106040
106041 # No need to generate the scripts if there are no CONFIG_FILES.
106042 # This happens for instance when ./config.status config.h
106043 if test -n "\$CONFIG_FILES"; then
106044   # Protect against being on the right side of a sed subst in config.status.
106045   sed 's/,@/@@/; s/@,/@@/; s/,;t t\$/@;t t/; /@;t t\$/s/[\\\\&,]/\\\\&/g;
106046    s/@@/,@/; s/@@/@,/; s/@;t t\$/,;t t/' >\$tmp/subs.sed <<\\CEOF
106047 s,@SHELL@,$SHELL,;t t
106048 s,@PATH_SEPARATOR@,$PATH_SEPARATOR,;t t
106049 s,@PACKAGE_NAME@,$PACKAGE_NAME,;t t
106050 s,@PACKAGE_TARNAME@,$PACKAGE_TARNAME,;t t
106051 s,@PACKAGE_VERSION@,$PACKAGE_VERSION,;t t
106052 s,@PACKAGE_STRING@,$PACKAGE_STRING,;t t
106053 s,@PACKAGE_BUGREPORT@,$PACKAGE_BUGREPORT,;t t
106054 s,@exec_prefix@,$exec_prefix,;t t
106055 s,@prefix@,$prefix,;t t
106056 s,@program_transform_name@,$program_transform_name,;t t
106057 s,@bindir@,$bindir,;t t
106058 s,@sbindir@,$sbindir,;t t
106059 s,@libexecdir@,$libexecdir,;t t
106060 s,@datadir@,$datadir,;t t
106061 s,@sysconfdir@,$sysconfdir,;t t
106062 s,@sharedstatedir@,$sharedstatedir,;t t
106063 s,@localstatedir@,$localstatedir,;t t
106064 s,@libdir@,$libdir,;t t
106065 s,@includedir@,$includedir,;t t
106066 s,@oldincludedir@,$oldincludedir,;t t
106067 s,@infodir@,$infodir,;t t
106068 s,@mandir@,$mandir,;t t
106069 s,@build_alias@,$build_alias,;t t
106070 s,@host_alias@,$host_alias,;t t
106071 s,@target_alias@,$target_alias,;t t
106072 s,@DEFS@,$DEFS,;t t
106073 s,@ECHO_C@,$ECHO_C,;t t
106074 s,@ECHO_N@,$ECHO_N,;t t
106075 s,@ECHO_T@,$ECHO_T,;t t
106076 s,@LIBS@,$LIBS,;t t
106077 s,@libtool_VERSION@,$libtool_VERSION,;t t
106078 s,@multi_basedir@,$multi_basedir,;t t
106079 s,@build@,$build,;t t
106080 s,@build_cpu@,$build_cpu,;t t
106081 s,@build_vendor@,$build_vendor,;t t
106082 s,@build_os@,$build_os,;t t
106083 s,@host@,$host,;t t
106084 s,@host_cpu@,$host_cpu,;t t
106085 s,@host_vendor@,$host_vendor,;t t
106086 s,@host_os@,$host_os,;t t
106087 s,@target@,$target,;t t
106088 s,@target_cpu@,$target_cpu,;t t
106089 s,@target_vendor@,$target_vendor,;t t
106090 s,@target_os@,$target_os,;t t
106091 s,@INSTALL_PROGRAM@,$INSTALL_PROGRAM,;t t
106092 s,@INSTALL_SCRIPT@,$INSTALL_SCRIPT,;t t
106093 s,@INSTALL_DATA@,$INSTALL_DATA,;t t
106094 s,@CYGPATH_W@,$CYGPATH_W,;t t
106095 s,@PACKAGE@,$PACKAGE,;t t
106096 s,@VERSION@,$VERSION,;t t
106097 s,@ACLOCAL@,$ACLOCAL,;t t
106098 s,@AUTOCONF@,$AUTOCONF,;t t
106099 s,@AUTOMAKE@,$AUTOMAKE,;t t
106100 s,@AUTOHEADER@,$AUTOHEADER,;t t
106101 s,@MAKEINFO@,$MAKEINFO,;t t
106102 s,@install_sh@,$install_sh,;t t
106103 s,@STRIP@,$STRIP,;t t
106104 s,@ac_ct_STRIP@,$ac_ct_STRIP,;t t
106105 s,@INSTALL_STRIP_PROGRAM@,$INSTALL_STRIP_PROGRAM,;t t
106106 s,@mkdir_p@,$mkdir_p,;t t
106107 s,@AWK@,$AWK,;t t
106108 s,@SET_MAKE@,$SET_MAKE,;t t
106109 s,@am__leading_dot@,$am__leading_dot,;t t
106110 s,@AMTAR@,$AMTAR,;t t
106111 s,@am__tar@,$am__tar,;t t
106112 s,@am__untar@,$am__untar,;t t
106113 s,@glibcxx_builddir@,$glibcxx_builddir,;t t
106114 s,@glibcxx_srcdir@,$glibcxx_srcdir,;t t
106115 s,@toplevel_srcdir@,$toplevel_srcdir,;t t
106116 s,@CC@,$CC,;t t
106117 s,@ac_ct_CC@,$ac_ct_CC,;t t
106118 s,@EXEEXT@,$EXEEXT,;t t
106119 s,@OBJEXT@,$OBJEXT,;t t
106120 s,@CXX@,$CXX,;t t
106121 s,@ac_ct_CXX@,$ac_ct_CXX,;t t
106122 s,@CFLAGS@,$CFLAGS,;t t
106123 s,@CXXFLAGS@,$CXXFLAGS,;t t
106124 s,@LN_S@,$LN_S,;t t
106125 s,@AS@,$AS,;t t
106126 s,@ac_ct_AS@,$ac_ct_AS,;t t
106127 s,@AR@,$AR,;t t
106128 s,@ac_ct_AR@,$ac_ct_AR,;t t
106129 s,@RANLIB@,$RANLIB,;t t
106130 s,@ac_ct_RANLIB@,$ac_ct_RANLIB,;t t
106131 s,@MAINTAINER_MODE_TRUE@,$MAINTAINER_MODE_TRUE,;t t
106132 s,@MAINTAINER_MODE_FALSE@,$MAINTAINER_MODE_FALSE,;t t
106133 s,@MAINT@,$MAINT,;t t
106134 s,@CPP@,$CPP,;t t
106135 s,@CPPFLAGS@,$CPPFLAGS,;t t
106136 s,@EGREP@,$EGREP,;t t
106137 s,@LIBTOOL@,$LIBTOOL,;t t
106138 s,@CXXCPP@,$CXXCPP,;t t
106139 s,@enable_shared@,$enable_shared,;t t
106140 s,@enable_static@,$enable_static,;t t
106141 s,@LIBICONV@,$LIBICONV,;t t
106142 s,@LTLIBICONV@,$LTLIBICONV,;t t
106143 s,@GLIBCXX_HOSTED_TRUE@,$GLIBCXX_HOSTED_TRUE,;t t
106144 s,@GLIBCXX_HOSTED_FALSE@,$GLIBCXX_HOSTED_FALSE,;t t
106145 s,@GLIBCXX_BUILD_PCH_TRUE@,$GLIBCXX_BUILD_PCH_TRUE,;t t
106146 s,@GLIBCXX_BUILD_PCH_FALSE@,$GLIBCXX_BUILD_PCH_FALSE,;t t
106147 s,@glibcxx_PCHFLAGS@,$glibcxx_PCHFLAGS,;t t
106148 s,@CSTDIO_H@,$CSTDIO_H,;t t
106149 s,@BASIC_FILE_H@,$BASIC_FILE_H,;t t
106150 s,@BASIC_FILE_CC@,$BASIC_FILE_CC,;t t
106151 s,@check_msgfmt@,$check_msgfmt,;t t
106152 s,@glibcxx_MOFILES@,$glibcxx_MOFILES,;t t
106153 s,@glibcxx_POFILES@,$glibcxx_POFILES,;t t
106154 s,@glibcxx_localedir@,$glibcxx_localedir,;t t
106155 s,@USE_NLS@,$USE_NLS,;t t
106156 s,@CLOCALE_H@,$CLOCALE_H,;t t
106157 s,@CMESSAGES_H@,$CMESSAGES_H,;t t
106158 s,@CCODECVT_CC@,$CCODECVT_CC,;t t
106159 s,@CCOLLATE_CC@,$CCOLLATE_CC,;t t
106160 s,@CCTYPE_CC@,$CCTYPE_CC,;t t
106161 s,@CMESSAGES_CC@,$CMESSAGES_CC,;t t
106162 s,@CMONEY_CC@,$CMONEY_CC,;t t
106163 s,@CNUMERIC_CC@,$CNUMERIC_CC,;t t
106164 s,@CTIME_H@,$CTIME_H,;t t
106165 s,@CTIME_CC@,$CTIME_CC,;t t
106166 s,@CLOCALE_CC@,$CLOCALE_CC,;t t
106167 s,@CLOCALE_INTERNAL_H@,$CLOCALE_INTERNAL_H,;t t
106168 s,@ALLOCATOR_H@,$ALLOCATOR_H,;t t
106169 s,@ALLOCATOR_NAME@,$ALLOCATOR_NAME,;t t
106170 s,@C_INCLUDE_DIR@,$C_INCLUDE_DIR,;t t
106171 s,@GLIBCXX_C_HEADERS_C_TRUE@,$GLIBCXX_C_HEADERS_C_TRUE,;t t
106172 s,@GLIBCXX_C_HEADERS_C_FALSE@,$GLIBCXX_C_HEADERS_C_FALSE,;t t
106173 s,@GLIBCXX_C_HEADERS_C_STD_TRUE@,$GLIBCXX_C_HEADERS_C_STD_TRUE,;t t
106174 s,@GLIBCXX_C_HEADERS_C_STD_FALSE@,$GLIBCXX_C_HEADERS_C_STD_FALSE,;t t
106175 s,@GLIBCXX_C_HEADERS_COMPATIBILITY_TRUE@,$GLIBCXX_C_HEADERS_COMPATIBILITY_TRUE,;t t
106176 s,@GLIBCXX_C_HEADERS_COMPATIBILITY_FALSE@,$GLIBCXX_C_HEADERS_COMPATIBILITY_FALSE,;t t
106177 s,@DEBUG_FLAGS@,$DEBUG_FLAGS,;t t
106178 s,@GLIBCXX_BUILD_DEBUG_TRUE@,$GLIBCXX_BUILD_DEBUG_TRUE,;t t
106179 s,@GLIBCXX_BUILD_DEBUG_FALSE@,$GLIBCXX_BUILD_DEBUG_FALSE,;t t
106180 s,@EXTRA_CXX_FLAGS@,$EXTRA_CXX_FLAGS,;t t
106181 s,@glibcxx_thread_h@,$glibcxx_thread_h,;t t
106182 s,@WERROR@,$WERROR,;t t
106183 s,@SECTION_FLAGS@,$SECTION_FLAGS,;t t
106184 s,@SECTION_LDFLAGS@,$SECTION_LDFLAGS,;t t
106185 s,@OPT_LDFLAGS@,$OPT_LDFLAGS,;t t
106186 s,@LIBMATHOBJS@,$LIBMATHOBJS,;t t
106187 s,@SYMVER_FILE@,$SYMVER_FILE,;t t
106188 s,@port_specific_symbol_files@,$port_specific_symbol_files,;t t
106189 s,@ENABLE_SYMVERS_TRUE@,$ENABLE_SYMVERS_TRUE,;t t
106190 s,@ENABLE_SYMVERS_FALSE@,$ENABLE_SYMVERS_FALSE,;t t
106191 s,@ENABLE_SYMVERS_GNU_TRUE@,$ENABLE_SYMVERS_GNU_TRUE,;t t
106192 s,@ENABLE_SYMVERS_GNU_FALSE@,$ENABLE_SYMVERS_GNU_FALSE,;t t
106193 s,@ENABLE_SYMVERS_GNU_NAMESPACE_TRUE@,$ENABLE_SYMVERS_GNU_NAMESPACE_TRUE,;t t
106194 s,@ENABLE_SYMVERS_GNU_NAMESPACE_FALSE@,$ENABLE_SYMVERS_GNU_NAMESPACE_FALSE,;t t
106195 s,@ENABLE_SYMVERS_DARWIN_TRUE@,$ENABLE_SYMVERS_DARWIN_TRUE,;t t
106196 s,@ENABLE_SYMVERS_DARWIN_FALSE@,$ENABLE_SYMVERS_DARWIN_FALSE,;t t
106197 s,@ENABLE_VISIBILITY_TRUE@,$ENABLE_VISIBILITY_TRUE,;t t
106198 s,@ENABLE_VISIBILITY_FALSE@,$ENABLE_VISIBILITY_FALSE,;t t
106199 s,@GLIBCXX_LDBL_COMPAT_TRUE@,$GLIBCXX_LDBL_COMPAT_TRUE,;t t
106200 s,@GLIBCXX_LDBL_COMPAT_FALSE@,$GLIBCXX_LDBL_COMPAT_FALSE,;t t
106201 s,@baseline_dir@,$baseline_dir,;t t
106202 s,@ATOMICITY_SRCDIR@,$ATOMICITY_SRCDIR,;t t
106203 s,@ATOMIC_WORD_SRCDIR@,$ATOMIC_WORD_SRCDIR,;t t
106204 s,@CPU_DEFINES_SRCDIR@,$CPU_DEFINES_SRCDIR,;t t
106205 s,@ABI_TWEAKS_SRCDIR@,$ABI_TWEAKS_SRCDIR,;t t
106206 s,@OS_INC_SRCDIR@,$OS_INC_SRCDIR,;t t
106207 s,@glibcxx_prefixdir@,$glibcxx_prefixdir,;t t
106208 s,@gxx_include_dir@,$gxx_include_dir,;t t
106209 s,@glibcxx_toolexecdir@,$glibcxx_toolexecdir,;t t
106210 s,@glibcxx_toolexeclibdir@,$glibcxx_toolexeclibdir,;t t
106211 s,@GLIBCXX_INCLUDES@,$GLIBCXX_INCLUDES,;t t
106212 s,@TOPLEVEL_INCLUDES@,$TOPLEVEL_INCLUDES,;t t
106213 s,@OPTIMIZE_CXXFLAGS@,$OPTIMIZE_CXXFLAGS,;t t
106214 s,@WARN_FLAGS@,$WARN_FLAGS,;t t
106215 s,@LIBSUPCXX_PICFLAGS@,$LIBSUPCXX_PICFLAGS,;t t
106216 s,@LIBOBJS@,$LIBOBJS,;t t
106217 s,@LTLIBOBJS@,$LTLIBOBJS,;t t
106218 CEOF
106219
106220 _ACEOF
106221
106222   cat >>$CONFIG_STATUS <<\_ACEOF
106223   # Split the substitutions into bite-sized pieces for seds with
106224   # small command number limits, like on Digital OSF/1 and HP-UX.
106225   ac_max_sed_lines=48
106226   ac_sed_frag=1 # Number of current file.
106227   ac_beg=1 # First line for current file.
106228   ac_end=$ac_max_sed_lines # Line after last line for current file.
106229   ac_more_lines=:
106230   ac_sed_cmds=
106231   while $ac_more_lines; do
106232     if test $ac_beg -gt 1; then
106233       sed "1,${ac_beg}d; ${ac_end}q" $tmp/subs.sed >$tmp/subs.frag
106234     else
106235       sed "${ac_end}q" $tmp/subs.sed >$tmp/subs.frag
106236     fi
106237     if test ! -s $tmp/subs.frag; then
106238       ac_more_lines=false
106239     else
106240       # The purpose of the label and of the branching condition is to
106241       # speed up the sed processing (if there are no `@' at all, there
106242       # is no need to browse any of the substitutions).
106243       # These are the two extra sed commands mentioned above.
106244       (echo ':t
106245   /@[a-zA-Z_][a-zA-Z_0-9]*@/!b' && cat $tmp/subs.frag) >$tmp/subs-$ac_sed_frag.sed
106246       if test -z "$ac_sed_cmds"; then
106247         ac_sed_cmds="sed -f $tmp/subs-$ac_sed_frag.sed"
106248       else
106249         ac_sed_cmds="$ac_sed_cmds | sed -f $tmp/subs-$ac_sed_frag.sed"
106250       fi
106251       ac_sed_frag=`expr $ac_sed_frag + 1`
106252       ac_beg=$ac_end
106253       ac_end=`expr $ac_end + $ac_max_sed_lines`
106254     fi
106255   done
106256   if test -z "$ac_sed_cmds"; then
106257     ac_sed_cmds=cat
106258   fi
106259 fi # test -n "$CONFIG_FILES"
106260
106261 _ACEOF
106262 cat >>$CONFIG_STATUS <<\_ACEOF
106263 for ac_file in : $CONFIG_FILES; do test "x$ac_file" = x: && continue
106264   # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
106265   case $ac_file in
106266   - | *:- | *:-:* ) # input from stdin
106267         cat >$tmp/stdin
106268         ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
106269         ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
106270   *:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
106271         ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
106272   * )   ac_file_in=$ac_file.in ;;
106273   esac
106274
106275   # Compute @srcdir@, @top_srcdir@, and @INSTALL@ for subdirectories.
106276   ac_dir=`(dirname "$ac_file") 2>/dev/null ||
106277 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
106278          X"$ac_file" : 'X\(//\)[^/]' \| \
106279          X"$ac_file" : 'X\(//\)$' \| \
106280          X"$ac_file" : 'X\(/\)' \| \
106281          .     : '\(.\)' 2>/dev/null ||
106282 echo X"$ac_file" |
106283     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
106284           /^X\(\/\/\)[^/].*/{ s//\1/; q; }
106285           /^X\(\/\/\)$/{ s//\1/; q; }
106286           /^X\(\/\).*/{ s//\1/; q; }
106287           s/.*/./; q'`
106288   { if $as_mkdir_p; then
106289     mkdir -p "$ac_dir"
106290   else
106291     as_dir="$ac_dir"
106292     as_dirs=
106293     while test ! -d "$as_dir"; do
106294       as_dirs="$as_dir $as_dirs"
106295       as_dir=`(dirname "$as_dir") 2>/dev/null ||
106296 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
106297          X"$as_dir" : 'X\(//\)[^/]' \| \
106298          X"$as_dir" : 'X\(//\)$' \| \
106299          X"$as_dir" : 'X\(/\)' \| \
106300          .     : '\(.\)' 2>/dev/null ||
106301 echo X"$as_dir" |
106302     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
106303           /^X\(\/\/\)[^/].*/{ s//\1/; q; }
106304           /^X\(\/\/\)$/{ s//\1/; q; }
106305           /^X\(\/\).*/{ s//\1/; q; }
106306           s/.*/./; q'`
106307     done
106308     test ! -n "$as_dirs" || mkdir $as_dirs
106309   fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
106310 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
106311    { (exit 1); exit 1; }; }; }
106312
106313   ac_builddir=.
106314
106315 if test "$ac_dir" != .; then
106316   ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
106317   # A "../" for each directory in $ac_dir_suffix.
106318   ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
106319 else
106320   ac_dir_suffix= ac_top_builddir=
106321 fi
106322
106323 case $srcdir in
106324   .)  # No --srcdir option.  We are building in place.
106325     ac_srcdir=.
106326     if test -z "$ac_top_builddir"; then
106327        ac_top_srcdir=.
106328     else
106329        ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
106330     fi ;;
106331   [\\/]* | ?:[\\/]* )  # Absolute path.
106332     ac_srcdir=$srcdir$ac_dir_suffix;
106333     ac_top_srcdir=$srcdir ;;
106334   *) # Relative path.
106335     ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
106336     ac_top_srcdir=$ac_top_builddir$srcdir ;;
106337 esac
106338
106339 # Do not use `cd foo && pwd` to compute absolute paths, because
106340 # the directories may not exist.
106341 case `pwd` in
106342 .) ac_abs_builddir="$ac_dir";;
106343 *)
106344   case "$ac_dir" in
106345   .) ac_abs_builddir=`pwd`;;
106346   [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
106347   *) ac_abs_builddir=`pwd`/"$ac_dir";;
106348   esac;;
106349 esac
106350 case $ac_abs_builddir in
106351 .) ac_abs_top_builddir=${ac_top_builddir}.;;
106352 *)
106353   case ${ac_top_builddir}. in
106354   .) ac_abs_top_builddir=$ac_abs_builddir;;
106355   [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
106356   *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
106357   esac;;
106358 esac
106359 case $ac_abs_builddir in
106360 .) ac_abs_srcdir=$ac_srcdir;;
106361 *)
106362   case $ac_srcdir in
106363   .) ac_abs_srcdir=$ac_abs_builddir;;
106364   [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
106365   *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
106366   esac;;
106367 esac
106368 case $ac_abs_builddir in
106369 .) ac_abs_top_srcdir=$ac_top_srcdir;;
106370 *)
106371   case $ac_top_srcdir in
106372   .) ac_abs_top_srcdir=$ac_abs_builddir;;
106373   [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
106374   *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
106375   esac;;
106376 esac
106377
106378
106379   case $INSTALL in
106380   [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
106381   *) ac_INSTALL=$ac_top_builddir$INSTALL ;;
106382   esac
106383
106384   if test x"$ac_file" != x-; then
106385     { echo "$as_me:$LINENO: creating $ac_file" >&5
106386 echo "$as_me: creating $ac_file" >&6;}
106387     rm -f "$ac_file"
106388   fi
106389   # Let's still pretend it is `configure' which instantiates (i.e., don't
106390   # use $as_me), people would be surprised to read:
106391   #    /* config.h.  Generated by config.status.  */
106392   if test x"$ac_file" = x-; then
106393     configure_input=
106394   else
106395     configure_input="$ac_file.  "
106396   fi
106397   configure_input=$configure_input"Generated from `echo $ac_file_in |
106398                                      sed 's,.*/,,'` by configure."
106399
106400   # First look for the input files in the build tree, otherwise in the
106401   # src tree.
106402   ac_file_inputs=`IFS=:
106403     for f in $ac_file_in; do
106404       case $f in
106405       -) echo $tmp/stdin ;;
106406       [\\/$]*)
106407          # Absolute (can't be DOS-style, as IFS=:)
106408          test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
106409 echo "$as_me: error: cannot find input file: $f" >&2;}
106410    { (exit 1); exit 1; }; }
106411          echo "$f";;
106412       *) # Relative
106413          if test -f "$f"; then
106414            # Build tree
106415            echo "$f"
106416          elif test -f "$srcdir/$f"; then
106417            # Source tree
106418            echo "$srcdir/$f"
106419          else
106420            # /dev/null tree
106421            { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
106422 echo "$as_me: error: cannot find input file: $f" >&2;}
106423    { (exit 1); exit 1; }; }
106424          fi;;
106425       esac
106426     done` || { (exit 1); exit 1; }
106427 _ACEOF
106428 cat >>$CONFIG_STATUS <<_ACEOF
106429   sed "$ac_vpsub
106430 $extrasub
106431 _ACEOF
106432 cat >>$CONFIG_STATUS <<\_ACEOF
106433 :t
106434 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
106435 s,@configure_input@,$configure_input,;t t
106436 s,@srcdir@,$ac_srcdir,;t t
106437 s,@abs_srcdir@,$ac_abs_srcdir,;t t
106438 s,@top_srcdir@,$ac_top_srcdir,;t t
106439 s,@abs_top_srcdir@,$ac_abs_top_srcdir,;t t
106440 s,@builddir@,$ac_builddir,;t t
106441 s,@abs_builddir@,$ac_abs_builddir,;t t
106442 s,@top_builddir@,$ac_top_builddir,;t t
106443 s,@abs_top_builddir@,$ac_abs_top_builddir,;t t
106444 s,@INSTALL@,$ac_INSTALL,;t t
106445 " $ac_file_inputs | (eval "$ac_sed_cmds") >$tmp/out
106446   rm -f $tmp/stdin
106447   if test x"$ac_file" != x-; then
106448     mv $tmp/out $ac_file
106449   else
106450     cat $tmp/out
106451     rm -f $tmp/out
106452   fi
106453
106454   # Run the commands associated with the file.
106455   case $ac_file in
106456     scripts/testsuite_flags ) chmod +x scripts/testsuite_flags ;;
106457   esac
106458 done
106459 _ACEOF
106460 cat >>$CONFIG_STATUS <<\_ACEOF
106461
106462 #
106463 # CONFIG_HEADER section.
106464 #
106465
106466 # These sed commands are passed to sed as "A NAME B NAME C VALUE D", where
106467 # NAME is the cpp macro being defined and VALUE is the value it is being given.
106468 #
106469 # ac_d sets the value in "#define NAME VALUE" lines.
106470 ac_dA='s,^\([    ]*\)#\([        ]*define[       ][      ]*\)'
106471 ac_dB='[         ].*$,\1#\2'
106472 ac_dC=' '
106473 ac_dD=',;t'
106474 # ac_u turns "#undef NAME" without trailing blanks into "#define NAME VALUE".
106475 ac_uA='s,^\([    ]*\)#\([        ]*\)undef\([    ][      ]*\)'
106476 ac_uB='$,\1#\2define\3'
106477 ac_uC=' '
106478 ac_uD=',;t'
106479
106480 for ac_file in : $CONFIG_HEADERS; do test "x$ac_file" = x: && continue
106481   # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
106482   case $ac_file in
106483   - | *:- | *:-:* ) # input from stdin
106484         cat >$tmp/stdin
106485         ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
106486         ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
106487   *:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
106488         ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
106489   * )   ac_file_in=$ac_file.in ;;
106490   esac
106491
106492   test x"$ac_file" != x- && { echo "$as_me:$LINENO: creating $ac_file" >&5
106493 echo "$as_me: creating $ac_file" >&6;}
106494
106495   # First look for the input files in the build tree, otherwise in the
106496   # src tree.
106497   ac_file_inputs=`IFS=:
106498     for f in $ac_file_in; do
106499       case $f in
106500       -) echo $tmp/stdin ;;
106501       [\\/$]*)
106502          # Absolute (can't be DOS-style, as IFS=:)
106503          test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
106504 echo "$as_me: error: cannot find input file: $f" >&2;}
106505    { (exit 1); exit 1; }; }
106506          # Do quote $f, to prevent DOS paths from being IFS'd.
106507          echo "$f";;
106508       *) # Relative
106509          if test -f "$f"; then
106510            # Build tree
106511            echo "$f"
106512          elif test -f "$srcdir/$f"; then
106513            # Source tree
106514            echo "$srcdir/$f"
106515          else
106516            # /dev/null tree
106517            { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
106518 echo "$as_me: error: cannot find input file: $f" >&2;}
106519    { (exit 1); exit 1; }; }
106520          fi;;
106521       esac
106522     done` || { (exit 1); exit 1; }
106523   # Remove the trailing spaces.
106524   sed 's/[       ]*$//' $ac_file_inputs >$tmp/in
106525
106526 _ACEOF
106527
106528 # Transform confdefs.h into two sed scripts, `conftest.defines' and
106529 # `conftest.undefs', that substitutes the proper values into
106530 # config.h.in to produce config.h.  The first handles `#define'
106531 # templates, and the second `#undef' templates.
106532 # And first: Protect against being on the right side of a sed subst in
106533 # config.status.  Protect against being in an unquoted here document
106534 # in config.status.
106535 rm -f conftest.defines conftest.undefs
106536 # Using a here document instead of a string reduces the quoting nightmare.
106537 # Putting comments in sed scripts is not portable.
106538 #
106539 # `end' is used to avoid that the second main sed command (meant for
106540 # 0-ary CPP macros) applies to n-ary macro definitions.
106541 # See the Autoconf documentation for `clear'.
106542 cat >confdef2sed.sed <<\_ACEOF
106543 s/[\\&,]/\\&/g
106544 s,[\\$`],\\&,g
106545 t clear
106546 : clear
106547 s,^[     ]*#[    ]*define[       ][      ]*\([^  (][^    (]*\)\(([^)]*)\)[       ]*\(.*\)$,${ac_dA}\1${ac_dB}\1\2${ac_dC}\3${ac_dD},gp
106548 t end
106549 s,^[     ]*#[    ]*define[       ][      ]*\([^  ][^     ]*\)[   ]*\(.*\)$,${ac_dA}\1${ac_dB}\1${ac_dC}\2${ac_dD},gp
106550 : end
106551 _ACEOF
106552 # If some macros were called several times there might be several times
106553 # the same #defines, which is useless.  Nevertheless, we may not want to
106554 # sort them, since we want the *last* AC-DEFINE to be honored.
106555 uniq confdefs.h | sed -n -f confdef2sed.sed >conftest.defines
106556 sed 's/ac_d/ac_u/g' conftest.defines >conftest.undefs
106557 rm -f confdef2sed.sed
106558
106559 # This sed command replaces #undef with comments.  This is necessary, for
106560 # example, in the case of _POSIX_SOURCE, which is predefined and required
106561 # on some systems where configure will not decide to define it.
106562 cat >>conftest.undefs <<\_ACEOF
106563 s,^[     ]*#[    ]*undef[        ][      ]*[a-zA-Z_][a-zA-Z_0-9]*,/* & */,
106564 _ACEOF
106565
106566 # Break up conftest.defines because some shells have a limit on the size
106567 # of here documents, and old seds have small limits too (100 cmds).
106568 echo '  # Handle all the #define templates only if necessary.' >>$CONFIG_STATUS
106569 echo '  if grep "^[      ]*#[    ]*define" $tmp/in >/dev/null; then' >>$CONFIG_STATUS
106570 echo '  # If there are no defines, we may have an empty if/fi' >>$CONFIG_STATUS
106571 echo '  :' >>$CONFIG_STATUS
106572 rm -f conftest.tail
106573 while grep . conftest.defines >/dev/null
106574 do
106575   # Write a limited-size here document to $tmp/defines.sed.
106576   echo '  cat >$tmp/defines.sed <<CEOF' >>$CONFIG_STATUS
106577   # Speed up: don't consider the non `#define' lines.
106578   echo '/^[      ]*#[    ]*define/!b' >>$CONFIG_STATUS
106579   # Work around the forget-to-reset-the-flag bug.
106580   echo 't clr' >>$CONFIG_STATUS
106581   echo ': clr' >>$CONFIG_STATUS
106582   sed ${ac_max_here_lines}q conftest.defines >>$CONFIG_STATUS
106583   echo 'CEOF
106584   sed -f $tmp/defines.sed $tmp/in >$tmp/out
106585   rm -f $tmp/in
106586   mv $tmp/out $tmp/in
106587 ' >>$CONFIG_STATUS
106588   sed 1,${ac_max_here_lines}d conftest.defines >conftest.tail
106589   rm -f conftest.defines
106590   mv conftest.tail conftest.defines
106591 done
106592 rm -f conftest.defines
106593 echo '  fi # grep' >>$CONFIG_STATUS
106594 echo >>$CONFIG_STATUS
106595
106596 # Break up conftest.undefs because some shells have a limit on the size
106597 # of here documents, and old seds have small limits too (100 cmds).
106598 echo '  # Handle all the #undef templates' >>$CONFIG_STATUS
106599 rm -f conftest.tail
106600 while grep . conftest.undefs >/dev/null
106601 do
106602   # Write a limited-size here document to $tmp/undefs.sed.
106603   echo '  cat >$tmp/undefs.sed <<CEOF' >>$CONFIG_STATUS
106604   # Speed up: don't consider the non `#undef'
106605   echo '/^[      ]*#[    ]*undef/!b' >>$CONFIG_STATUS
106606   # Work around the forget-to-reset-the-flag bug.
106607   echo 't clr' >>$CONFIG_STATUS
106608   echo ': clr' >>$CONFIG_STATUS
106609   sed ${ac_max_here_lines}q conftest.undefs >>$CONFIG_STATUS
106610   echo 'CEOF
106611   sed -f $tmp/undefs.sed $tmp/in >$tmp/out
106612   rm -f $tmp/in
106613   mv $tmp/out $tmp/in
106614 ' >>$CONFIG_STATUS
106615   sed 1,${ac_max_here_lines}d conftest.undefs >conftest.tail
106616   rm -f conftest.undefs
106617   mv conftest.tail conftest.undefs
106618 done
106619 rm -f conftest.undefs
106620
106621 cat >>$CONFIG_STATUS <<\_ACEOF
106622   # Let's still pretend it is `configure' which instantiates (i.e., don't
106623   # use $as_me), people would be surprised to read:
106624   #    /* config.h.  Generated by config.status.  */
106625   if test x"$ac_file" = x-; then
106626     echo "/* Generated by configure.  */" >$tmp/config.h
106627   else
106628     echo "/* $ac_file.  Generated by configure.  */" >$tmp/config.h
106629   fi
106630   cat $tmp/in >>$tmp/config.h
106631   rm -f $tmp/in
106632   if test x"$ac_file" != x-; then
106633     if diff $ac_file $tmp/config.h >/dev/null 2>&1; then
106634       { echo "$as_me:$LINENO: $ac_file is unchanged" >&5
106635 echo "$as_me: $ac_file is unchanged" >&6;}
106636     else
106637       ac_dir=`(dirname "$ac_file") 2>/dev/null ||
106638 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
106639          X"$ac_file" : 'X\(//\)[^/]' \| \
106640          X"$ac_file" : 'X\(//\)$' \| \
106641          X"$ac_file" : 'X\(/\)' \| \
106642          .     : '\(.\)' 2>/dev/null ||
106643 echo X"$ac_file" |
106644     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
106645           /^X\(\/\/\)[^/].*/{ s//\1/; q; }
106646           /^X\(\/\/\)$/{ s//\1/; q; }
106647           /^X\(\/\).*/{ s//\1/; q; }
106648           s/.*/./; q'`
106649       { if $as_mkdir_p; then
106650     mkdir -p "$ac_dir"
106651   else
106652     as_dir="$ac_dir"
106653     as_dirs=
106654     while test ! -d "$as_dir"; do
106655       as_dirs="$as_dir $as_dirs"
106656       as_dir=`(dirname "$as_dir") 2>/dev/null ||
106657 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
106658          X"$as_dir" : 'X\(//\)[^/]' \| \
106659          X"$as_dir" : 'X\(//\)$' \| \
106660          X"$as_dir" : 'X\(/\)' \| \
106661          .     : '\(.\)' 2>/dev/null ||
106662 echo X"$as_dir" |
106663     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
106664           /^X\(\/\/\)[^/].*/{ s//\1/; q; }
106665           /^X\(\/\/\)$/{ s//\1/; q; }
106666           /^X\(\/\).*/{ s//\1/; q; }
106667           s/.*/./; q'`
106668     done
106669     test ! -n "$as_dirs" || mkdir $as_dirs
106670   fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
106671 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
106672    { (exit 1); exit 1; }; }; }
106673
106674       rm -f $ac_file
106675       mv $tmp/config.h $ac_file
106676     fi
106677   else
106678     cat $tmp/config.h
106679     rm -f $tmp/config.h
106680   fi
106681 # Compute $ac_file's index in $config_headers.
106682 _am_stamp_count=1
106683 for _am_header in $config_headers :; do
106684   case $_am_header in
106685     $ac_file | $ac_file:* )
106686       break ;;
106687     * )
106688       _am_stamp_count=`expr $_am_stamp_count + 1` ;;
106689   esac
106690 done
106691 echo "timestamp for $ac_file" >`(dirname $ac_file) 2>/dev/null ||
106692 $as_expr X$ac_file : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
106693          X$ac_file : 'X\(//\)[^/]' \| \
106694          X$ac_file : 'X\(//\)$' \| \
106695          X$ac_file : 'X\(/\)' \| \
106696          .     : '\(.\)' 2>/dev/null ||
106697 echo X$ac_file |
106698     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
106699           /^X\(\/\/\)[^/].*/{ s//\1/; q; }
106700           /^X\(\/\/\)$/{ s//\1/; q; }
106701           /^X\(\/\).*/{ s//\1/; q; }
106702           s/.*/./; q'`/stamp-h$_am_stamp_count
106703 done
106704 _ACEOF
106705 cat >>$CONFIG_STATUS <<\_ACEOF
106706
106707 #
106708 # CONFIG_COMMANDS section.
106709 #
106710 for ac_file in : $CONFIG_COMMANDS; do test "x$ac_file" = x: && continue
106711   ac_dest=`echo "$ac_file" | sed 's,:.*,,'`
106712   ac_source=`echo "$ac_file" | sed 's,[^:]*:,,'`
106713   ac_dir=`(dirname "$ac_dest") 2>/dev/null ||
106714 $as_expr X"$ac_dest" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
106715          X"$ac_dest" : 'X\(//\)[^/]' \| \
106716          X"$ac_dest" : 'X\(//\)$' \| \
106717          X"$ac_dest" : 'X\(/\)' \| \
106718          .     : '\(.\)' 2>/dev/null ||
106719 echo X"$ac_dest" |
106720     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
106721           /^X\(\/\/\)[^/].*/{ s//\1/; q; }
106722           /^X\(\/\/\)$/{ s//\1/; q; }
106723           /^X\(\/\).*/{ s//\1/; q; }
106724           s/.*/./; q'`
106725   { if $as_mkdir_p; then
106726     mkdir -p "$ac_dir"
106727   else
106728     as_dir="$ac_dir"
106729     as_dirs=
106730     while test ! -d "$as_dir"; do
106731       as_dirs="$as_dir $as_dirs"
106732       as_dir=`(dirname "$as_dir") 2>/dev/null ||
106733 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
106734          X"$as_dir" : 'X\(//\)[^/]' \| \
106735          X"$as_dir" : 'X\(//\)$' \| \
106736          X"$as_dir" : 'X\(/\)' \| \
106737          .     : '\(.\)' 2>/dev/null ||
106738 echo X"$as_dir" |
106739     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
106740           /^X\(\/\/\)[^/].*/{ s//\1/; q; }
106741           /^X\(\/\/\)$/{ s//\1/; q; }
106742           /^X\(\/\).*/{ s//\1/; q; }
106743           s/.*/./; q'`
106744     done
106745     test ! -n "$as_dirs" || mkdir $as_dirs
106746   fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
106747 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
106748    { (exit 1); exit 1; }; }; }
106749
106750   ac_builddir=.
106751
106752 if test "$ac_dir" != .; then
106753   ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
106754   # A "../" for each directory in $ac_dir_suffix.
106755   ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
106756 else
106757   ac_dir_suffix= ac_top_builddir=
106758 fi
106759
106760 case $srcdir in
106761   .)  # No --srcdir option.  We are building in place.
106762     ac_srcdir=.
106763     if test -z "$ac_top_builddir"; then
106764        ac_top_srcdir=.
106765     else
106766        ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
106767     fi ;;
106768   [\\/]* | ?:[\\/]* )  # Absolute path.
106769     ac_srcdir=$srcdir$ac_dir_suffix;
106770     ac_top_srcdir=$srcdir ;;
106771   *) # Relative path.
106772     ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
106773     ac_top_srcdir=$ac_top_builddir$srcdir ;;
106774 esac
106775
106776 # Do not use `cd foo && pwd` to compute absolute paths, because
106777 # the directories may not exist.
106778 case `pwd` in
106779 .) ac_abs_builddir="$ac_dir";;
106780 *)
106781   case "$ac_dir" in
106782   .) ac_abs_builddir=`pwd`;;
106783   [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
106784   *) ac_abs_builddir=`pwd`/"$ac_dir";;
106785   esac;;
106786 esac
106787 case $ac_abs_builddir in
106788 .) ac_abs_top_builddir=${ac_top_builddir}.;;
106789 *)
106790   case ${ac_top_builddir}. in
106791   .) ac_abs_top_builddir=$ac_abs_builddir;;
106792   [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
106793   *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
106794   esac;;
106795 esac
106796 case $ac_abs_builddir in
106797 .) ac_abs_srcdir=$ac_srcdir;;
106798 *)
106799   case $ac_srcdir in
106800   .) ac_abs_srcdir=$ac_abs_builddir;;
106801   [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
106802   *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
106803   esac;;
106804 esac
106805 case $ac_abs_builddir in
106806 .) ac_abs_top_srcdir=$ac_top_srcdir;;
106807 *)
106808   case $ac_top_srcdir in
106809   .) ac_abs_top_srcdir=$ac_abs_builddir;;
106810   [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
106811   *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
106812   esac;;
106813 esac
106814
106815
106816   { echo "$as_me:$LINENO: executing $ac_dest commands" >&5
106817 echo "$as_me: executing $ac_dest commands" >&6;}
106818   case $ac_dest in
106819     default-1 )
106820 # Only add multilib support code if we just rebuilt the top-level
106821 # Makefile.
106822 case " $CONFIG_FILES " in
106823  *" Makefile "*)
106824    ac_file=Makefile . ${multi_basedir}/config-ml.in
106825    ;;
106826 esac ;;
106827     default ) if test -n "$CONFIG_FILES"; then
106828    # Multilibs need MULTISUBDIR defined correctly in certain makefiles so
106829    # that multilib installs will end up installed in the correct place.
106830    # The testsuite needs it for multilib-aware ABI baseline files.
106831    # To work around this not being passed down from config-ml.in ->
106832    # srcdir/Makefile.am -> srcdir/{src,libsupc++,...}/Makefile.am, manually
106833    # append it here.  Only modify Makefiles that have just been created.
106834    #
106835    # Also, get rid of this simulated-VPATH thing that automake does.
106836    cat > vpsed << \_EOF
106837 s!`test -f '$<' || echo '$(srcdir)/'`!!
106838 _EOF
106839    for i in $SUBDIRS; do
106840     case $CONFIG_FILES in
106841      *${i}/Makefile*)
106842        #echo "Adding MULTISUBDIR to $i/Makefile"
106843        sed -f vpsed $i/Makefile > tmp
106844        grep '^MULTISUBDIR =' Makefile >> tmp
106845        mv tmp $i/Makefile
106846        ;;
106847     esac
106848    done
106849    rm vpsed
106850  fi
106851  (cd include && ${MAKE-make})
106852  ;;
106853   esac
106854 done
106855 _ACEOF
106856
106857 cat >>$CONFIG_STATUS <<\_ACEOF
106858
106859 { (exit 0); exit 0; }
106860 _ACEOF
106861 chmod +x $CONFIG_STATUS
106862 ac_clean_files=$ac_clean_files_save
106863
106864
106865 # configure is writing to config.log, and then calls config.status.
106866 # config.status does its own redirection, appending to config.log.
106867 # Unfortunately, on DOS this fails, as config.log is still kept open
106868 # by configure, so config.status won't be able to write to it; its
106869 # output is simply discarded.  So we exec the FD to /dev/null,
106870 # effectively closing config.log, so it can be properly (re)opened and
106871 # appended to by config.status.  When coming back to configure, we
106872 # need to make the FD available again.
106873 if test "$no_create" != yes; then
106874   ac_cs_success=:
106875   ac_config_status_args=
106876   test "$silent" = yes &&
106877     ac_config_status_args="$ac_config_status_args --quiet"
106878   exec 5>/dev/null
106879   $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
106880   exec 5>>config.log
106881   # Use ||, not &&, to avoid exiting from the if with $? = 1, which
106882   # would make configure fail if this is the last instruction.
106883   $ac_cs_success || { (exit 1); exit 1; }
106884 fi
106885